summaryrefslogtreecommitdiffstats
path: root/opengl/tests
Commit message (Collapse)AuthorAgeFilesLines
* am bceb29c8: Merge "Fix clang -Wc++11-narrowing warnings."Chih-Hung Hsieh2014-12-115-15/+20
|\ | | | | | | | | * commit 'bceb29c83ea54d38b38e40d66402e56364cff56b': Fix clang -Wc++11-narrowing warnings.
| * Fix clang -Wc++11-narrowing warnings.Chih-Hung Hsieh2014-12-115-15/+20
| | | | | | | | | | | | | | | | Clang compiler gives warning to implicit conversions of literal structure fields, although the compiler generated implicit conversions are what we want in these cases. Change-Id: I8f04e7f2fa1db0ed1d1937135d9091532eec3d5b
* | am f8954c81: Merge "OpenGL tests: Fix unused variables"Andreas Gampe2014-12-024-18/+0
|\ \ | |/ | | | | | | * commit 'f8954c81a4ec43958867d1f6f497ef449bf091fd': OpenGL tests: Fix unused variables
| * OpenGL tests: Fix unused variablesAndreas Gampe2014-11-244-18/+0
| | | | | | | | | | | | For build-system CFLAGS clean-up, fix unused variables. Change-Id: I1863418f7467412d7698dd0ce0c8e40d1bd0348e
* | am 98d20f82: Merge "Add a BufferItem parameter to onFrameAvailable" into ↵Dan Stoza2014-11-071-1/+1
|\ \ | |/ |/| | | | | | | | | lmp-mr1-dev * commit '98d20f82ca8979b30c81df9639f54ab11e1951f9': Add a BufferItem parameter to onFrameAvailable
| * Add a BufferItem parameter to onFrameAvailableDan Stoza2014-11-071-1/+1
| | | | | | | | | | | | | | | | | | | | Passes the BufferItem for the queued buffer to the onFrameAvailable callback so the consumer can track the BufferQueue's contents. Also adds an onFrameReplaced callback, which is necessary if the consumer wants to do anything more than simple queue length tracking. Bug: 18111837 Change-Id: If9d07229c9b586c668e5f99074e9b63b0468feb0
* | am d12586b8: Merge "Move hwc tests to libc++."Dan Albert2014-11-052-37/+32
|\ \ | | | | | | | | | | | | * commit 'd12586b8593cf0cb894d02104a9794ed9dd85d16': Move hwc tests to libc++.
| * | Move hwc tests to libc++.Dan Albert2014-11-042-37/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | Since these tests were pulling in a static library linked against stlport, the tests needed to be explicit about which STL they're using. Might as well be libc++. Bug: 15193147 Change-Id: I4e0fc4ea10f7982dd04e7baaf57139dd5d55543e
* | | am e1e3d278: Merge "Clean cruft out of makefiles."Dan Albert2014-09-123-23/+9
|\ \ \ | |/ / | | / | |/ |/| * commit 'e1e3d278549eb6389eb0b5fa3f13a4ac079a55a2': Clean cruft out of makefiles.
| * Clean cruft out of makefiles.Dan Albert2014-09-113-23/+9
| | | | | | | | | | | | | | Cleans up manual uses of stlport and bionic (and removes uses of private bionic headers). Change-Id: I157309d702e59152adfa3450939082248ae4c043
* | am 0cea0a22: am d284c4cd: Merge "Don\'t set LOCAL_MODULE_PATH for native tests."Ying Wang2014-06-111-4/+0
|\ \ | |/ | | | | | | * commit '0cea0a22109ace7e3dfbb4913a1469f3f8480f6e': Don't set LOCAL_MODULE_PATH for native tests.
| * Don't set LOCAL_MODULE_PATH for native tests.Ying Wang2014-06-091-4/+0
| | | | | | | | | | | | The build system will set it up automatically. Change-Id: Id5ed9eff88dab2349c3b357ee09f7da9479d7d2d
* | Remove deprecated BufferQueue constructorDan Stoza2014-04-071-3/+5
| | | | | | | | | | Bug: 13415624 Change-Id: I153b5470b21832cebe3c617d28a4ab9c9bf3b362
* | Request RGBX rather than RGBAAndy McFadden2014-03-251-1/+1
| | | | | | | | | | | | | | | | Fixes San Angeles for certain devices. Bug 13641473 Change-Id: Icb148e1fed15fe56297942475c095e7eb4a11549
* | Fix broken test buildJesse Hall2014-03-131-0/+1
| | | | | | | | Change-Id: I767bcefd92899334e4769dd3495595f546133694
* | Adjust for device orientationAndy McFadden2014-03-121-1/+12
| | | | | | | | | | | | When the device is rotated, reverse the width/height values. Change-Id: Idc2b80b1cb96d9379cd94192997580e1ade70bf6
* | Restore old OpenGL testsAndy McFadden2014-03-0637-73/+261
|/ | | | | | | | | | | | | | | | | | 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
* hwc test: 64-bit compilation errorMark Salyzyn2014-03-041-2/+2
| | | | | | * cast 1u to size_t in max() argument lists Change-Id: I02f711c89e96e4cfc348f1c7bac455339bec2fa1
* Binderize the consumer side of BufferQueueMathias Agopian2013-08-012-1/+2
| | | | | | | | | | While currently untested, this should allow to move the BuffereQueue in the consumer process and have everything work as usual. Bug: 9265647 Change-Id: I9ca8f099f7c65b9a27b7e7a3643b46d1b58eacfc
* get rid of HAL pixelformats 5551 and 4444Mathias Agopian2013-07-262-10/+0
| | | | Change-Id: I39409103144c1ba09078c4ddc323a58987fb09ea
* BufferQueue improvements and APIs changesMathias Agopian2013-07-181-2/+6
| | | | | | | | | | | | | | | | | | | | this is the first step of a series of improvements to BufferQueue. A few things happen in this change: - setSynchronousMode() goes away as well as the SynchronousModeAllowed flag - BufferQueue now defaults to (what used to be) synchronous mode - a new "controlled by app" flag is passed when creating consumers and producers those flags are used to put the BufferQueue in a mode where it will never block if both flags are set. This is achieved by: - returning an error from dequeueBuffer() if it would block - making sure a buffer is always available by replacing the previous buffer with the new one in queueBuffer() (note: this is similar to what asynchrnous mode used to be) Note: in this change EGL's swap-interval 0 is broken; this will be fixed in another change. Change-Id: I691f9507d6e2e158287e3039f2a79a4d4434211d
* am f0dcff89: Merge "gl_code.cpp: Remove a DOS style newline"Jesse Hall2013-05-131-1/+1
|\ | | | | | | | | * commit 'f0dcff89acb998179757ca66b5c6a2c585a980e9': gl_code.cpp: Remove a DOS style newline
| * gl_code.cpp: Remove a DOS style newlineBernhard Rosenkränzer2013-03-271-1/+1
| | | | | | | | | | Change-Id: Id3edd6e511371fa8b0afef2e90baed4662ed76c4 Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
* | Add liblogYing Wang2013-04-096-1/+10
| | | | | | | | | | Bug: 8580410 Change-Id: I2ca4fa00dde0b574df3619134836bcb9315bd506
* | am 4194b389: am 0b6c4157: Merge "frameworks/native/opengl: Fix build with ↵Jesse Hall2013-03-284-4/+4
|\ \ | |/ | | | | | | | | | | gcc 4.8" * commit '4194b3898df867a5c4377de49ddc72ad3e51122b': frameworks/native/opengl: Fix build with gcc 4.8
| * frameworks/native/opengl: Fix build with gcc 4.8Bernhard Rosenkränzer2013-03-274-4/+4
| | | | | | | | | | | | | | | | | | In gcc 4.8, the warning for unused parameters (such as JNIEnv* pointers in JNI functions that don't need it) is enabled by default - causing -Werror to break the build. Change-Id: Ib91721f2cb9912b79c2ac19b4210b1309b08304f Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
* | another attempt to fix the buildMathias Agopian2013-03-062-2/+4
| | | | | | | | Change-Id: Ie0245db97170cca9a2cd8783b0fd512daf0d30a6
* | attempt to fix buildMathias Agopian2013-03-061-0/+4
| | | | | | | | Change-Id: Ifb186d2f157ad02f593bf9b681aab53575f183ce
* | Refactoring: Rename SurfaceTextureClient to SurfaceMathias Agopian2013-02-141-2/+2
| | | | | | | | Change-Id: Ibed34175ae273608393aaa5f0a7df207dc40d709
* | Rename ISurfaceTexture and SurfaceTextureAndy McFadden2012-12-181-1/+1
| | | | | | | | | | | | | | | | | | | | The C++ class names don't match what the classes do, so rename ISurfaceTexture to IGraphicBufferProducer, and SurfaceTexture to GLConsumer. Bug 7736700 Change-Id: Ia03e468888025b5cae3c0ee1995434515dbea387
* | Disable ld --fatal-warnings because of using mktemp.Ben Cheng2012-11-061-0/+3
|/ | | | Change-Id: Id18b1e38672294b025bc26adb38aed0ac3e0fb45
* am a151a19d: Merge "Fix return type of glGetAttribLocation and ↵Andrew Hsieh2012-11-061-3/+3
|\ | | | | | | | | | | | | glGetUniformLocation" * commit 'a151a19db2fa07295837027fb5d84c02401cc78d': Fix return type of glGetAttribLocation and glGetUniformLocation
| * Fix return type of glGetAttribLocation and glGetUniformLocationAndrew Hsieh2012-11-061-3/+3
| | | | | | | | | | | | | | | | | | | | from int to GLint. See: http://www.khronos.org/opengles/sdk/docs/man/xhtml/glGetAttribLocation.xml http://www.khronos.org/opengles/sdk/docs/man/xhtml/glGetUniformLocation.xml Change-Id: I4a9f8e9e34b8c3cca239ae84bfe8f3cdfd94802a
* | Merge "enable java/jni build in PDK if supported" into jb-mr1-devKeun young Park2012-08-081-3/+8
|\ \
| * | enable java/jni build in PDK if supportedKeun young Park2012-08-071-3/+8
| | | | | | | | | | | | | | | | | | | | | - testFramerate requires platform java API while all other tests only need SDK support Change-Id: Iaefe23c41b3ace87522b5deefd6db2f5d80ed872
* | | Changes to support multi-display HWCJesse Hall2012-08-076-26/+32
|/ / | | | | | | Change-Id: I07efff54f2980dcb013935747b03e099b8f1181b
* | Revert "Minimal changes to support multi-display HWC"Jesse Hall2012-07-316-32/+26
| | | | | | | | | | | | This reverts commit bddd724b178b1263c16e41b564165fcd0e93ff83 Change-Id: Ib7db20b5b3de4779b6e173473a33976ae398abd4
* | Minimal changes to support multi-display HWCJesse Hall2012-07-276-26/+32
| | | | | | | | Change-Id: I5efea78ac381c3e3118e6e92b508f336233ac319
* | Add support for HWC_DEVICE_API_VERSION_1_0Jesse Hall2012-06-146-31/+31
|/ | | | | | | | The acquire and release fences aren't yet used; this is just support for the new version and temporary backwards compatibility for older versions. Change-Id: Ia5ccc05a97c86f649042b9a35e11042fa0187e84
* Added an EGLTest for eglTerminateDaniel Lam2012-04-162-0/+33
| | | | | | | This tests if eglTerminate can succeed while objects are leaked. Currently the test fails because of a deadlock. Change-Id: Ibe26edfda28691284d0674e803e8d3114f3ce4c6
* frameworks/native: prevent some opengl tests from building in pdkColin Cross2012-03-261-1/+39
| | | | | | | | Some of the tests in frameworks/native/opengl/tests depend on java or jni, and shouldn't be in frameworks/native. Prevent them from building in pdk builds for now. Change-Id: Ie7a012513dd03992ac1f093bd245aeca826c9cb9
* fix include pathMathias Agopian2012-03-071-2/+2
| | | | Change-Id: I84adf53594cd4083a4a8ab475f175abb7414cda5
* fixup include pathsMathias Agopian2012-03-0520-29/+24
| | | | | | | - remove unneeded include deps - remove some hardcoded include paths Change-Id: Ifae0e2b2d738e0f94f8525c45be78f4227ce1673
* remove libui dependency on libEGLMathias Agopian2012-02-2438-70/+189
| | | | Change-Id: I1194f04085637d5c384e134967249430cc43b6ee
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-084-10/+10
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGESteve Block2012-01-045-15/+15
| | | | | | | See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: Ib08fe86d23db91ee153e9f91a99a35c42b9208ea
* EGL: implement loading and saving the cacheJamie Gennis2011-11-082-0/+114
| | | | | | | This change adds support for saving and loading the contents of the EGL cache. It also adds some simple tests for the EGL cache. Change-Id: I18e5e789e0897a0783d29d1c1e64d26de2dd44c4
* fix test-opengl-swapintervalMathias Agopian2011-08-151-6/+10
| | | | | | EGLConfig selection should now work on any device Change-Id: I4d4580e891d1faf817fa853838406fb49d12e50a
* Add new OpenGL testRomain Guy2011-07-192-0/+486
| | | | Change-Id: Icab48d71945bf94dd53f58b728a951d46380d945
* Remove the simulator target from all makefiles.Jeff Brown2011-07-117-28/+0
| | | | | | Bug: 5010576 Change-Id: I04d722f258951a3078fe07899f5bbe8aac02a8e8