summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/GLExtensions.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Refactor SF. Move all GL operations in their own class.Mathias Agopian2013-07-031-138/+0
| | | | | | | | | | this is the first step to add support for GLES 2.x, this change breaks the dependency of SF on GLES 1.x by moving all operation into their own class. Bug: 8679321 Change-Id: I0d2741eca2cefe67dfd9cf837cac10c4d126928b
* don't use compile-time configuration of libgui as much as possibleMathias Agopian2013-03-291-1/+1
| | | | | | | | | | | | | | | | | | | We now detect at runtime which sync features to use, which allows us to remove a lot of the compile-time configuration options. There is still one option though, to disable KHR_fence_sync on some devices (which are more efficient without it). - added a backdoor to get the vendor's EGL strings the new logic is: - use always ANDROID_native_fence_sync if available - fallback to KHR_fence_sync if available and not disabled by the compile-time option - use KHR_wait_sync if available and either of the above is enabled Change-Id: I9c4b49d9ff1151faf902cc93bd53ea5f205aaabf
* fix uninitialized attribute in SurfaceFlingerMathias Agopian2013-03-281-1/+2
| | | | Change-Id: I8277f67e297a8b6a99195387060d03154a2cd929
* add support for [1974164] Be able to take a screen shot on the deviceMathias Agopian2010-09-241-0/+4
| | | | | | | | | | | screenshots are taken using ISurfaceComposer::captureScreen() which returns the size of the screenshot and an IMemoryHeap containing the data. screenshots have limitations: - they will always fail if a secure window is up on screen - require GL_OES_framebuffer_object extension - in some situation, video planes won't been captured Change-Id: I741c68a2d2984fb139039301c3349e6780e2cd58
* surfaceflinger / GL extensions cleanupMichael I. Gold2010-09-151-1/+1
| | | | | | | Add correct enumerants for OES_EGL_image_external to glext.h. SurfaceFlinger now checks for the correct extension name. Change-Id: I2ba2728a01fa2260bd086d2df4316c68f694a9b1
* move native services under services/Mathias Agopian2010-07-141-0/+133
moved surfaceflinger, audioflinger, cameraservice all native services should now reside in this location. Change-Id: Iee42b83dd2a94c3bf5107ab0895fe2dfcd5337a8