Blit framebuffers using screen aligned quads (buggy);

Implement asynchronous framebuffer readback for OpenGL and optional CPU-side pixel format conversion (needs optimization);
Add OpenGL ES support (untested).
This commit is contained in:
arnastia 2013-06-28 14:48:36 +01:00
parent 98b9acf0d3
commit ad5df976bd
4 changed files with 490 additions and 190 deletions

View file

@ -115,6 +115,8 @@ void Config::Load(const char *iniFileName)
graphics->Get("StretchToDisplay", &bStretchToDisplay, false);
graphics->Get("TrueColor", &bTrueColor, true);
graphics->Get("FramebuffersToMem", &bFramebuffersToMem, false);
graphics->Get("AsyncReadback", &bAsyncReadback, true);
graphics->Get("CPUConvert", &bCPUConvert, false);
graphics->Get("MipMap", &bMipMap, true);
graphics->Get("TexScalingLevel", &iTexScalingLevel, 1);
graphics->Get("TexScalingType", &iTexScalingType, 0);
@ -218,6 +220,8 @@ void Config::Save()
graphics->Set("StretchToDisplay", bStretchToDisplay);
graphics->Set("TrueColor", bTrueColor);
graphics->Set("FramebuffersToMem", bFramebuffersToMem);
graphics->Set("AsyncReadback", bAsyncReadback);
graphics->Set("CPUConvert", bCPUConvert);
graphics->Set("MipMap", bMipMap);
graphics->Set("TexScalingLevel", iTexScalingLevel);
graphics->Set("TexScalingType", iTexScalingType);