History log of /frameworks/native/opengl/tests/EGLTest/EGL_test.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e4177264c73352b46de57fa9d5504799e2d455fa 11-Jul-2017 Courtney Goeltzenleuchter <courtneygo@google.com> Print "test skipped" for wide-color tests

Currently if EGL_test is run on non-wide color device the
test will print a status of "PASS". Which is correct, but
not as useful as it could be. Added a diagnostic message
in that case indicating that the device is not wide-color
so that I can tell which path was taken in the tests.
Bug: 63077212
Test: adb shell /data/nativetest/EGL_test/EGL_test

Change-Id: Ic65316893adb4273f3652a3613440ca02001079c
/frameworks/native/opengl/tests/EGLTest/EGL_test.cpp
d99694bb3ab32a98ae065cc353f3fe20d4adad28 11-Jul-2017 Courtney Goeltzenleuchter <courtneygo@google.com> Fix naming of test so it's printed properly

When run, I was seeing:
[ RUN ] EGLTest.1
[ OK ] EGLTest.1 (11 ms)

That was because the test name I was using EGL_KHR_no_config_context,
matched an EGL enum and was being replaced.
This changes test name so it does not conflict with the EGL enum.
Test: adb shell /data/nativetest/EGL_test/EGL_test
Bug: 63077212

Change-Id: I5a04e18ba53e855a3579025c14ee11eeddae2bcf
/frameworks/native/opengl/tests/EGLTest/EGL_test.cpp
3b746b36cf453ccd3fb6bc63ac7e69759162dfd4 02-May-2017 Jaesoo Lee <jaesoo@google.com> configstore: should import ISurfaceFlingerConfigs

This changes fixes a build error.

Bug: 37727469
Test: Built and tested on Sailfish
Change-Id: I9c8be953f906af3b541a437e8f445063a518bf29
/frameworks/native/opengl/tests/EGLTest/EGL_test.cpp
2c325e26ee690e51cac187f4bf8b2d7e07124a56 25-Apr-2017 Courtney Goeltzenleuchter <courtneygo@google.com> Add Display-P3 test

Test: adb shell /data/nativetest/EGL_test/EGL_test
Bug: 29940137
Change-Id: I5b8152a90fc90d1ea0e1b7d99581179723e661b4
/frameworks/native/opengl/tests/EGLTest/EGL_test.cpp
f7ed1b4296b28582de479af390abb773004b9701 18-Apr-2017 Courtney Goeltzenleuchter <courtneygo@google.com> Add test for EGL_KHR_no_config_context

Test: adb shell /data/nativetest/EGL_test/EGL_test
Bug: 29940137
Change-Id: I20275a42e0c7396933a3a6ad9b18222aa07be0c1
/frameworks/native/opengl/tests/EGLTest/EGL_test.cpp
d118ea9d4a98f1f1cb30148fb60539c8225eb1b5 18-Apr-2017 Courtney Goeltzenleuchter <courtneygo@google.com> Add test for 10:10:10:2 support in EGL

Test: adb shell /data/nativetest/EGL_test/EGL_test
Bug: 29940137
Change-Id: I38a8a0559fc2fdd833f8cdf6462ef233f8cb9d5d
/frameworks/native/opengl/tests/EGLTest/EGL_test.cpp
f29f2879ac0c52a8a706e5cd7a95a9bb23ff9597 29-Mar-2017 Courtney Goeltzenleuchter <courtneygo@google.com> Add test for FP16 surface support

Test: adb shell /data/nativetest/EGL_test/EGL_test
adb shell /system/bin/test-opengl-gl_basic # look for RED_SIZE: of 16.
Bug: 29940137

Change-Id: I9da985a7574d3582b06cf55bc02515db0869505a
/frameworks/native/opengl/tests/EGLTest/EGL_test.cpp
5ea5e5905170f32d5cf45ad35c552d64743892c3 02-Dec-2016 Brian Anderson <brianderson@google.com> Fix unexpected FrameEvents on BufferQueue reconnect

Helps reduce the number of ALOGE's being hit
when switching between apps.

* Notify Layer when the Producer disconnects.
* Avoid sending event deltas from a previous connection.
* Avoid releasing a frame more than once.

Test: adb shell /data/nativetest/libgui_test/libgui_test
--gtest_filter=*GetFrameTimestamps*

Change-Id: I64f314be72ddb154b584d726ac382cd468e345bf
/frameworks/native/opengl/tests/EGLTest/EGL_test.cpp
2b5dd4062dd951b2cafc4b80bd3a1813b013d71a 08-Feb-2017 Mathias Agopian <mathias@google.com> Fix include dependencies

Some headers included other headers they didn’t
need. This is trying to reduce the dependencies
of Surface.h / Surface.cpp on the rest of the
world.

Test: compiled
Bug: not applicable
Change-Id: Ibb5de1308a387394a1367638c3b7f26b5549ce6a
/frameworks/native/opengl/tests/EGLTest/EGL_test.cpp
4cf363703db8b36f03d05844acc048c92c53e355 13-Jan-2017 Kalle Raita <kraita@google.com> Fix signed vs. unsigned mismatch warnings

EGL header helpfully has EGLBoolean defined as unsigned and enums, including
EGL_TRUE, as signed. Khronos has not found a satisfactory way to amend
the headers, so we'll need to cast the warnings away.

Bug: 33214264
Test: Run EGLTest on Pixel XL
Change-Id: I63240c83a8a4097895d0731c763651fca89cfc55
/frameworks/native/opengl/tests/EGLTest/EGL_test.cpp
8dc55396fc9bc425b5e2c82e76a38080f2a655ff 04-Nov-2014 Dan Stoza <stoza@google.com> 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
/frameworks/native/opengl/tests/EGLTest/EGL_test.cpp
5603a2fbbd1aae74c4635e2f600819fb05d112e0 07-Apr-2014 Dan Stoza <stoza@google.com> Remove deprecated BufferQueue constructor

Bug: 13415624
Change-Id: I153b5470b21832cebe3c617d28a4ab9c9bf3b362
/frameworks/native/opengl/tests/EGLTest/EGL_test.cpp
85c0fee024384a7756a5eeb31592b6a0d7bacd91 13-Mar-2014 Jesse Hall <jessehall@google.com> Fix broken test build

Change-Id: I767bcefd92899334e4769dd3495595f546133694
/frameworks/native/opengl/tests/EGLTest/EGL_test.cpp
a4e19521ac4563f2ff6517bcfd63d9b8d33a6d0b 01-Aug-2013 Mathias Agopian <mathias@google.com> Binderize the consumer side of BufferQueue

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
/frameworks/native/opengl/tests/EGLTest/EGL_test.cpp
595264f1af12e25dce57d7c5b1d52ed86ac0d0c9 17-Jul-2013 Mathias Agopian <mathias@google.com> BufferQueue improvements and APIs changes

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
/frameworks/native/opengl/tests/EGLTest/EGL_test.cpp
e3c697fb929c856b59fa56a8e05a2a7eba187c3d 15-Feb-2013 Mathias Agopian <mathias@google.com> Refactoring: Rename SurfaceTextureClient to Surface

Change-Id: Ibed34175ae273608393aaa5f0a7df207dc40d709
/frameworks/native/opengl/tests/EGLTest/EGL_test.cpp
2adaf04fab35cf47c824d74d901b54094e01ccd3 18-Dec-2012 Andy McFadden <fadden@android.com> Rename ISurfaceTexture and SurfaceTexture

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
/frameworks/native/opengl/tests/EGLTest/EGL_test.cpp
1cbcb98a2528ea0d8ce34dc35513859c7ef957f3 17-Apr-2012 Daniel Lam <dalam@google.com> Added an EGLTest for eglTerminate

This tests if eglTerminate can succeed while objects
are leaked. Currently the test fails because of a deadlock.

Change-Id: Ibe26edfda28691284d0674e803e8d3114f3ce4c6
/frameworks/native/opengl/tests/EGLTest/EGL_test.cpp
2f739f8f0442f9c1bb42c47ab43d365fd9020008 07-Jul-2011 Mathias Agopian <mathias@google.com> Add a simple EGL test

currently it just tests EGLConfig selection

Change-Id: Id9d9971012d733147dd7dc02fa2054307960235e
/frameworks/native/opengl/tests/EGLTest/EGL_test.cpp