| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* commit 'bceb29c83ea54d38b38e40d66402e56364cff56b':
Fix clang -Wc++11-narrowing warnings.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
| |
| |
| | |
* commit 'f8954c81a4ec43958867d1f6f497ef449bf091fd':
OpenGL tests: Fix unused variables
|
| |
| |
| |
| |
| |
| | |
For build-system CFLAGS clean-up, fix unused variables.
Change-Id: I1863418f7467412d7698dd0ce0c8e40d1bd0348e
|
|\ \
| |/
|/|
| |
| |
| |
| | |
lmp-mr1-dev
* commit '98d20f82ca8979b30c81df9639f54ab11e1951f9':
Add a BufferItem parameter to onFrameAvailable
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | |
| | |
| | | |
* commit 'd12586b8593cf0cb894d02104a9794ed9dd85d16':
Move hwc tests to libc++.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| |/ /
| | /
| |/
|/| |
* commit 'e1e3d278549eb6389eb0b5fa3f13a4ac079a55a2':
Clean cruft out of makefiles.
|
| |
| |
| |
| |
| |
| |
| | |
Cleans up manual uses of stlport and bionic (and removes uses of private
bionic headers).
Change-Id: I157309d702e59152adfa3450939082248ae4c043
|
|\ \
| |/
| |
| |
| | |
* commit '0cea0a22109ace7e3dfbb4913a1469f3f8480f6e':
Don't set LOCAL_MODULE_PATH for native tests.
|
| |
| |
| |
| |
| |
| | |
The build system will set it up automatically.
Change-Id: Id5ed9eff88dab2349c3b357ee09f7da9479d7d2d
|
| |
| |
| |
| |
| | |
Bug: 13415624
Change-Id: I153b5470b21832cebe3c617d28a4ab9c9bf3b362
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes San Angeles for certain devices.
Bug 13641473
Change-Id: Icb148e1fed15fe56297942475c095e7eb4a11549
|
| |
| |
| |
| | |
Change-Id: I767bcefd92899334e4769dd3495595f546133694
|
| |
| |
| |
| |
| |
| | |
When the device is rotated, reverse the width/height values.
Change-Id: Idc2b80b1cb96d9379cd94192997580e1ade70bf6
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
* cast 1u to size_t in max() argument lists
Change-Id: I02f711c89e96e4cfc348f1c7bac455339bec2fa1
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I39409103144c1ba09078c4ddc323a58987fb09ea
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| |
| | |
* commit 'f0dcff89acb998179757ca66b5c6a2c585a980e9':
gl_code.cpp: Remove a DOS style newline
|
| |
| |
| |
| |
| | |
Change-Id: Id3edd6e511371fa8b0afef2e90baed4662ed76c4
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
|
| |
| |
| |
| |
| | |
Bug: 8580410
Change-Id: I2ca4fa00dde0b574df3619134836bcb9315bd506
|
|\ \
| |/
| |
| |
| |
| |
| | |
gcc 4.8"
* commit '4194b3898df867a5c4377de49ddc72ad3e51122b':
frameworks/native/opengl: Fix build with gcc 4.8
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Change-Id: Ie0245db97170cca9a2cd8783b0fd512daf0d30a6
|
| |
| |
| |
| | |
Change-Id: Ifb186d2f157ad02f593bf9b681aab53575f183ce
|
| |
| |
| |
| | |
Change-Id: Ibed34175ae273608393aaa5f0a7df207dc40d709
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
| |
Change-Id: Id18b1e38672294b025bc26adb38aed0ac3e0fb45
|
|\
| |
| |
| |
| |
| |
| | |
glGetUniformLocation"
* commit 'a151a19db2fa07295837027fb5d84c02401cc78d':
Fix return type of glGetAttribLocation and glGetUniformLocation
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- testFramerate requires platform java API
while all other tests only need SDK support
Change-Id: Iaefe23c41b3ace87522b5deefd6db2f5d80ed872
|
|/ /
| |
| |
| | |
Change-Id: I07efff54f2980dcb013935747b03e099b8f1181b
|
| |
| |
| |
| |
| |
| | |
This reverts commit bddd724b178b1263c16e41b564165fcd0e93ff83
Change-Id: Ib7db20b5b3de4779b6e173473a33976ae398abd4
|
| |
| |
| |
| | |
Change-Id: I5efea78ac381c3e3118e6e92b508f336233ac319
|
|/
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
This tests if eglTerminate can succeed while objects
are leaked. Currently the test fails because of a deadlock.
Change-Id: Ibe26edfda28691284d0674e803e8d3114f3ce4c6
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I84adf53594cd4083a4a8ab475f175abb7414cda5
|
|
|
|
|
|
|
| |
- remove unneeded include deps
- remove some hardcoded include paths
Change-Id: Ifae0e2b2d738e0f94f8525c45be78f4227ce1673
|
|
|
|
| |
Change-Id: I1194f04085637d5c384e134967249430cc43b6ee
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/#/c/157220
Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/156801
Bug: 5449033
Change-Id: Ib08fe86d23db91ee153e9f91a99a35c42b9208ea
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
EGLConfig selection should now work on any device
Change-Id: I4d4580e891d1faf817fa853838406fb49d12e50a
|
|
|
|
| |
Change-Id: Icab48d71945bf94dd53f58b728a951d46380d945
|
|
|
|
|
|
| |
Bug: 5010576
Change-Id: I04d722f258951a3078fe07899f5bbe8aac02a8e8
|