Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix[2222341] Soft reset while going back from camcorder settings | Mathias Agopian | 2009-10-30 | 1 | -1/+1 |
| | | | | | | add a way to convert a mapped "pushbuffer" buffer to a gralloc handle which then can be safely used by surfaceflinger, without including gralloc_priv.h | ||||
* | return proper error code from eglCreateImageKHR | Mathias Agopian | 2009-10-29 | 1 | -4/+24 |
| | |||||
* | Use the TLS register if HAVE_ARM_TLS_REGISTER is defined | Mathias Agopian | 2009-10-19 | 3 | -6/+34 |
| | | | | | this will be needed for SMP, but would improve dispatching GL calls a bit on armv6 and above. | ||||
* | fix [2187212] add support for GLESv2 dispatch based on TLS | Mathias Agopian | 2009-10-14 | 13 | -565/+523 |
| | | | | | | | | | | | | | 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] | ||||
* | Revert "egl: temporarily also include eglTerminate->eglInitialize hack for 8k" | Dima Zavin | 2009-10-09 | 1 | -4/+0 |
| | | | | This reverts commit ed5ecdba36648973be3033a045e2ece8bf039e4a. | ||||
* | add a way to easily catch and log GL errors (compile time flag) | Mathias Agopian | 2009-10-08 | 1 | -3/+21 |
| | |||||
* | egl: temporarily also include eglTerminate->eglInitialize hack for 8k | Dima Zavin | 2009-09-26 | 1 | -0/+4 |
| | | | | | Change-Id: Id5c51e54e733b24e5d5d5de0dcca84ac53afd3a9 Signed-off-by: Dima Zavin <dima@android.com> | ||||
* | log an error when loading an existing GL driver fails | Mathias Agopian | 2009-09-20 | 1 | -5/+14 |
| | |||||
* | fix a bug recently introduced where EGL couldn't be initialized again after ↵ | Mathias Agopian | 2009-08-24 | 2 | -76/+120 |
| | | | | it had been terminated once | ||||
* | first step for fixing [2066786] EGL object lifetime management doesn't ↵ | Mathias Agopian | 2009-08-21 | 1 | -71/+243 |
| | | | | | | | | | | | | | | | | respect the EGL spec this change fixes the lifetime mgt of EGLSurface, EGLContext and EGLImageKHR in the EGL wrapper. EGLDisplay is still somewhat bogus and libagl's EGL is still incorrect. The idea of the change is that EGL objects are put in a list when created and removed when destroyed. Before each use, we first verify if the object is in the list and if so a reference is taken and kept for the scope of the whole EGL API being called, if not, an error is returned. Upon object destruction, the object is simply marked as "terminated" (this is not protected by a lock because it doesn't really matter). This flag is only used to deny access to the object by other APIs while it's still valid (for instance current or being used by another function in another thread). A reference is also removed and the object can then actually be destroyed when going out of scope. | ||||
* | fix a bug in ComponentSizeChooser where it could pick a software EGLConfig ↵ | Mathias Agopian | 2009-08-20 | 1 | -2/+2 |
| | | | | | | instead of a better h/w one. We now just try to honor the stencil / depth buffer "at least", while doing a "shortest distance" on the colors. | ||||
* | fix bug [2021677] egl driver unloaded after eglTerminate() is called | Mathias Agopian | 2009-08-17 | 3 | -105/+100 |
| | | | | | | | | | | 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 | ||||
* | Better error handling in EGL extensions | Mathias Agopian | 2009-08-12 | 1 | -11/+9 |
| | |||||
* | log opengl-call-with-no-context only once per thread, instead of for each ↵ | Mathias Agopian | 2009-07-31 | 1 | -2/+9 |
| | | | | function call | ||||
* | GLESv2 couldn't be loaded due to wrong path specification | Mathias Agopian | 2009-07-29 | 1 | -1/+1 |
| | |||||
* | am 46e28db8: Merge change 6713 into donut | Android (Google) Code Review | 2009-07-09 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | Merge commit '46e28db8818332e3cda4cc410cc89a1ed7ce4db6' * commit '46e28db8818332e3cda4cc410cc89a1ed7ce4db6': fix for [1969185] valgrind errors in new gl stuff | ||||
| * | fix for [1969185] valgrind errors in new gl stuff | Mathias Agopian | 2009-07-09 | 1 | -1/+1 |
| | | |||||
| * | fix [1942438] eglGetCurrentSurface() returns bogus value | Mathias Agopian | 2009-06-24 | 1 | -3/+5 |
| | | |||||
| * | make sure to fail to software when the h/w renderer cannot be initialized | Mathias Agopian | 2009-05-20 | 1 | -0/+5 |
| | | |||||
| * | libGLESv1_CM.so doesn't need to depend on libutils or libui | Mathias Agopian | 2009-05-18 | 1 | -1/+1 |
| | | |||||
* | | Make opengl loader use an absolute path. | Marco Nelissen | 2009-07-07 | 1 | -1/+1 |
| | | |||||
* | | Add eglGetRenderBufferANDROID() extension, which returns the current render ↵ | Mathias Agopian | 2009-06-25 | 2 | -0/+18 |
| | | | | | | | | buffer as an android_native_buffer_t* | ||||
* | | fix [1942438] eglGetCurrentSurface() returns bogus value | Mathias Agopian | 2009-06-25 | 1 | -3/+5 |
| | | |||||
* | | remove some spurious debuging LOGD | Mathias Agopian | 2009-06-03 | 1 | -1/+1 |
| | | |||||
* | | fix/clean these Android.mk following dbort and joeo's comments | Mathias Agopian | 2009-06-03 | 2 | -10/+8 |
| | | |||||
* | | implement a real loader for EGL drivers | Mathias Agopian | 2009-05-28 | 7 | -140/+476 |
| | | | | | | | | | | 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.x | Mathias Agopian | 2009-05-27 | 16 | -358/+962 |
| | | |||||
* | | remove libEGL and libGLESv1_CM dependencies on libutils and libui | Mathias Agopian | 2009-05-17 | 3 | -218/+3 |
| | | |||||
* | | Merge commit 'goog/master' into merge_master | Mathias Agopian | 2009-05-14 | 5 | -4/+18 |
|\ \ | |/ | | | | | | | | | | | Conflicts: opengl/libagl/Android.mk opengl/libs/Android.mk opengl/libs/egl_impl.h | ||||
| * | should help fix the Simulator build. | Mathias Agopian | 2009-05-13 | 1 | -2/+2 |
| | | |||||
| * | remove the gl{Vertex|Color|TexCoord|Normal}PointerBounds() "extension" fro ↵ | Mathias Agopian | 2009-05-08 | 1 | -0/+11 |
| | | | | | | | | eglext.h | ||||
| * | should fix the build. | Mathias Agopian | 2009-05-08 | 1 | -1/+1 |
| | | |||||
| * | only export the GL entry-points, hide everything else. | Mathias Agopian | 2009-05-08 | 2 | -0/+6 |
| | | | | | | | | | | | | | | | | Conflicts: opengl/libagl/Android.mk opengl/libs/Android.mk opengl/libs/egl_impl.h | ||||
* | | fix EGL extension string names | Mathias Agopian | 2009-05-07 | 1 | -2/+2 |
| | | |||||
* | | created an new EGL extension called ANDROID_swap_rectangle | Mathias Agopian | 2009-05-07 | 2 | -0/+25 |
| | | | | | | | | | | | | ANDROID_swap_rectangle allows to specify the rectangle affected by eglSwapBuffers(), anything outside of this rectangle is unchanged. in particular EGL_BUFFER_DESTROYED only applies to that rectangle. This extension as well as EGL_BUFFER_PRESERVED allow major optimizations on surfaceflinger, which can redraw only the dirty area during compositing. However, ANDROID_swap_rectangle allows further optimizations in EGL by reducing the amount of copy-back needed. ANDROID_swap_rectangle is particularily important for software implementations. | ||||
* | | Merge commit 'goog/master' into merge_master | Mathias Agopian | 2009-04-30 | 12 | -1922/+915 |
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | Conflicts: libs/surfaceflinger/Layer.cpp libs/surfaceflinger/SurfaceFlinger.cpp opengl/libagl/egl.cpp opengl/libs/EGL/egl.cpp opengl/libs/GLES_CM/gl.cpp opengl/libs/GLES_CM/gl_api.in opengl/libs/gl_entries.in opengl/libs/tools/glapigen | ||||
| * | oops forgot to remove a LOGD when loading an opengl driver | Mathias Agopian | 2009-04-24 | 1 | -1/+1 |
| | | |||||
| * | Make sure to map undefined OES functions to their non-OES counterpart if it ↵ | Mathias Agopian | 2009-04-23 | 1 | -3/+27 |
| | | | | | | | | exists. | ||||
| * | use gl.h to generate the *.in files. we are now supporting the full gl.h and ↵ | Mathias Agopian | 2009-04-23 | 11 | -861/+877 |
| | | | | | | | | glext.h apis. | ||||
| * | integrate some OpenGL ES changes back from master_gl in preparation of ↵ | Mathias Agopian | 2009-04-23 | 9 | -1491/+745 |
| | | | | | | | | opening GLES to the NDK. | ||||
| * | Automated import from //branches/donutburger/...@142484,142484 | Jack Palevich | 2009-03-24 | 1 | -15/+20 |
| | | |||||
* | | Integrate from //sandbox/mathias/donut/...@145728 | Mathias Agopian | 2009-04-10 | 9 | -478/+934 |
| | | | | | | | | SurfaceFlinger rework for new EGL driver model support. | ||||
* | | Automated import from //branches/master/...@142578,142578 | Jack Palevich | 2009-03-25 | 1 | -15/+20 |
|/ | |||||
* | auto import from //depot/cupcake/@135843 | The Android Open Source Project | 2009-03-03 | 13 | -0/+4110 |
| | |||||
* | auto import from //depot/cupcake/@135843 | The Android Open Source Project | 2009-03-03 | 13 | -4110/+0 |
| | |||||
* | auto import from //depot/cupcake/@132589 | The Android Open Source Project | 2009-03-03 | 1 | -4/+4 |
| | |||||
* | auto import from //depot/cupcake/@137055 | The Android Open Source Project | 2009-03-02 | 1 | -4/+4 |
| | |||||
* | auto import from //branches/cupcake/...@132276 | The Android Open Source Project | 2009-02-19 | 1 | -7/+1 |
| | |||||
* | auto import from //branches/cupcake/...@130745 | The Android Open Source Project | 2009-02-10 | 13 | -0/+4116 |