summaryrefslogtreecommitdiffstats
path: root/opengl/tests/gl2_basic/gl2_basic.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Restore old OpenGL testsAndy McFadden2014-03-061-3/+4
| | | | | | | | | | | | | | | | | | These tests call android_createDisplaySurface() to get a FramebufferNativeWindow that is passed to EGL. This relies on the existence of the framebuffer HAL, which is not supported on many recent devices. This change adds a new "window surface" object that the tests can use to get a window from SurfaceFlinger instead. All tests except for the HWC tests now appear to do things. The HWC tests don't do anything useful, but they no longer depend on the android_createDisplaySurface() function. Bug 13323813 Change-Id: I2cbfbacb3452fb658c29e945b0c7ae7c94c1a4ba
* remove libui dependency on libEGLMathias Agopian2012-02-241-1/+1
| | | | Change-Id: I1194f04085637d5c384e134967249430cc43b6ee
* update EGL headers to the latestMathias Agopian2010-06-091-1/+0
| | | | | | note that this doesn't update the EGL stubs. Change-Id: I00274431a490249d93eb6b5ba13f274b7f2682ae
* Print out EGL configuration info for the config we've chosen.Jack Palevich2009-09-281-53/+57
| | | | | Don't ask for PBuffer support, since we don't actually use pbuffers, and some drivers might not support them.
* Print out all available EGL configurations.Jack Palevich2009-09-281-8/+82
|
* Use EGLUtils to simplify choosing a configuration.Jack Palevich2009-09-251-55/+36
| | | | Doesn't actually select anything, possibly due to device driver errors.
* Create samples showing how to call OpenGL from JNI libraries.Jack Palevich2009-09-231-0/+1
|
* Draw a green triangle using OpenGL 2.0 APIs.Jack Palevich2009-09-181-112/+235
|
* Add additional error checking, exit early if errors occur.Jack Palevich2009-09-171-18/+59
|
* Add EGL call error checking.Jack Palevich2009-09-161-4/+52
|
* Simple app to create a gl2 context and dump the strings.Jason Sams2009-09-011-0/+85