summaryrefslogtreecommitdiffstats
path: root/opengl/tests/copybits/copybits.cpp
Commit message (Collapse)AuthorAgeFilesLines
* fix [2167050] glTexImage2D code path buggy in SurfaceFlingerMathias Agopian2009-10-061-726/+0
| | | | | | | | | | | | | | When EGLImage extension is not available, SurfaceFlinger will fallback to using glTexImage2D and glTexSubImage2D instead, which requires 50% more memory and an extra copy. However this code path has never been exercised and had some bugs which this patch fix. Mainly the scale factor wasn't computed right when falling back on glDrawElements. We also fallback to this mode of operation if a buffer doesn't have the adequate usage bits for EGLImage usage. This changes only code that is currently not executed. Some refactoring was needed to keep the change clean. This doesn't change anything functionaly.
* workaround a bug in the SGX driver that would prevent eglGetConfig to work ↵Mathias Agopian2009-08-101-5/+9
| | | | properly
* fix a bug where copybit only renders in the first buffer when used with s/w GLMathias Agopian2009-06-101-9/+7
|
* revive the copybit test.Mathias Agopian2009-06-091-92/+64
|
* Add clarifying comment.Jack Palevich2009-04-131-1/+1
| | | | (Primarily as a test of the master_gl branch.)
* Integrate from //sandbox/mathias/donut/...@145728Mathias Agopian2009-04-101-0/+752
SurfaceFlinger rework for new EGL driver model support.