summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
Commit message (Collapse)AuthorAgeFilesLines
* EGL: Plumb HDR metadataCourtney Goeltzenleuchter2018-03-101-0/+36
| | | | | | | | | | | | | | | | | | HDR metadata comes in bit by bit via eglSurfaceAttribute. Don't want to call native_window_set_buffers_smpte2086_metadata for every piece, instead wait until eglSwapBuffers and call native_window_set_buffers_smpte2086_metadata then. Does require changing the state of the surface, so some const goes away. Bug: 63710530 Test: adb -d shell am start -n \ com.drawelements.deqp/android.app.NativeActivity \ -e cmdLine '"deqp --deqp-case=dEQP-EGL.functional.hdr_metadata.* \ --deqp-log-filename=/sdcard/dEQP-Log.qpa"' Test: adb shell /data/nativetest/test-opengl-gl2_basic/test-opengl-gl2_basic Test: adb shell /data/nativetest/test-opengl-gl_basic/test-opengl-gl_basic Change-Id: I2e428ec18737f6caa8c0e1893705b7796fd77272
* Use -Werror in frameworks/native/opengl/testsChih-Hung Hsieh2017-11-151-7/+0
| | | | | | | | | | * Remove or comment out unused local variables. * Remove unused function. * Cast print argument type to fix format mismatch warning. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I81e80849ac36288932df235cb0d63bd870357d86
* Fix trivial compiler warningsChih-Hung Hsieh2017-11-071-1/+1
| | | | | | | Test: Compile & executed many of the tests on Marlin Change-Id: I2d88922c5dcc88de0394c5bfade02ca1dd9d7b60 Merged-In: I2d88922c5dcc88de0394c5bfade02ca1dd9d7b60 (cherry picked from commit 9c938487732de50adb46a2699ce930195c873ea1)
* Restore old OpenGL testsAndy McFadden2014-03-061-6/+7
| | | | | | | | | | | | | | | | | | 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 OpenGL version and extension information.Jack Palevich2009-12-241-144/+152
| | | | | | Something happened to the line endings, adding a blank line after most lines of text. I repaired the damage, but in the process some blank lines have been added / removed.
* Add a simple test of OpenGL ES 1.x.Jack Palevich2009-09-301-0/+357