summaryrefslogtreecommitdiffstats
path: root/opengl/libs/hooks.h
Commit message (Collapse)AuthorAgeFilesLines
* fix x86 buildMathias Agopian2011-05-231-70/+2
| | | | Change-Id: I03cfbfeaeb8b13842248856b14b4a23711036e10
* OpenGL tracing.Jack Palevich2010-10-261-0/+5
| | | | | | | | Enable with: adb shell setprop debug.egl.trace 1 Change-Id: Icfbc795f5260141510975228e72234e9aab56a85
* fix [2421247] implement eglGetProcAddress(), needed in the ndkMathias Agopian2010-08-021-2/+2
| | | | Change-Id: I5027a27b43c0dd449a404024087853ca05bb8e4e
* fix [2187212] add support for GLESv2 dispatch based on TLSMathias Agopian2009-10-141-15/+14
| | | | | | | | | | | | | Instead of using a different function pointer table for ES 1.x and ES 2.x, we use a single one that is the union (sort|uniq) of both tables. Two instances of this table are initialized with pointers to GL ES 1.x and GL ES 2.x entry-points. When a context is created, we store its version number and when it is bound to a thread we set the approruiate table based on the stored version. This introduce no penalty while dispatching gl calls to the right API version. [Pending Dr No approval for MR1]
* fix bug [2021677] egl driver unloaded after eglTerminate() is calledMathias Agopian2009-08-171-5/+1
| | | | | | | | | | refactored the code so that: - EGL APIs that can be called before or after eglInitialize() will work by loading the drivers first - make eglGetDisplay() a lot more efficient - make sure that EGL drivers are loaded in a thread-safe way - don't unload the drivers upon calling eglTerminate(), they're now never unloaded, since there is no safe way to do it (some thread could be running) - updated our EGL version to 1.4 - return better error codes if errors happen during initialization
* implement a real loader for EGL driversMathias Agopian2009-05-281-2/+9
| | | | | we now look for a config file in /system/lib/egl/egl.cfg that describes the association of a display to a driver. these drivers are named: /system/lib/egl/lib{[EGL|GLESv1_CM|GLESv2] | GLES}_$TAG.so
* Added most of the support needed for GLES 2.xMathias Agopian2009-05-271-3/+11
|
* use gl.h to generate the *.in files. we are now supporting the full gl.h and ↵Mathias Agopian2009-04-231-0/+1
| | | | glext.h apis.
* integrate some OpenGL ES changes back from master_gl in preparation of ↵Mathias Agopian2009-04-231-3/+7
| | | | opening GLES to the NDK.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+134
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-134/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-0/+134