summaryrefslogtreecommitdiffstats
path: root/opengl/tests/copybits
Commit message (Collapse)AuthorAgeFilesLines
* fix [2167050] glTexImage2D code path buggy in SurfaceFlingerMathias Agopian2009-10-062-744/+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-092-93/+65
|
* update surfaceflinger, libui and libagl to the new gralloc apiMathias Agopian2009-05-041-1/+1
| | | | | | | | | | | | | | - Currently the lock/unlock path is naive and is done for each drawing operation (glDrawElements and glDrawArrays). this should be improved eventually. - factor all the lock/unlock code in SurfaceBuffer. - fixed "showupdate" so it works even when we don't have preserving eglSwapBuffers(). - improved the situation with the dirty-region and fixed a problem that caused GL apps to not update. - make use of LightRefBase() where needed, instead of duplicating its implementation - add LightRefBase::getStrongCount() - renamed EGLNativeWindowSurface.cpp to FramebufferNativeWindow.cpp - disabled copybits test, since it clashes with the new gralloc api - Camera/Video will be fixed later when we rework the overlay apis
* 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-102-0/+770
SurfaceFlinger rework for new EGL driver model support.