summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
AgeCommit message (Collapse)Author
2018-03-10EGL: Plumb HDR metadataCourtney Goeltzenleuchter
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
2017-11-15Use -Werror in frameworks/native/opengl/testsChih-Hung Hsieh
* 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
2017-11-07Fix trivial compiler warningsChih-Hung Hsieh
Test: Compile & executed many of the tests on Marlin Change-Id: I2d88922c5dcc88de0394c5bfade02ca1dd9d7b60 Merged-In: I2d88922c5dcc88de0394c5bfade02ca1dd9d7b60 (cherry picked from commit 9c938487732de50adb46a2699ce930195c873ea1)
2014-03-06Restore old OpenGL testsAndy McFadden
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
2012-02-24remove libui dependency on libEGLMathias Agopian
Change-Id: I1194f04085637d5c384e134967249430cc43b6ee
2010-06-09update EGL headers to the latestMathias Agopian
note that this doesn't update the EGL stubs. Change-Id: I00274431a490249d93eb6b5ba13f274b7f2682ae
2009-12-24Print OpenGL version and extension information.Jack Palevich
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.
2009-09-30Add a simple test of OpenGL ES 1.x.Jack Palevich