History log of /frameworks/native/opengl/tests/lib/WindowSurface.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f3ed9a21b83df1e1b4aa8d2cdd08114de3484b59 25-Mar-2014 Andy McFadden <fadden@android.com> Request RGBX rather than RGBA

Fixes San Angeles for certain devices.

Bug 13641473

Change-Id: Icb148e1fed15fe56297942475c095e7eb4a11549
/frameworks/native/opengl/tests/lib/WindowSurface.cpp
709d7dec790f046ae3f72e7ebe9046977a46ac65 12-Mar-2014 Andy McFadden <fadden@android.com> Adjust for device orientation

When the device is rotated, reverse the width/height values.

Change-Id: Idc2b80b1cb96d9379cd94192997580e1ade70bf6
/frameworks/native/opengl/tests/lib/WindowSurface.cpp
6ef57d7b368ebbac5f2b27c36a9032fee1cda8b1 06-Mar-2014 Andy McFadden <fadden@android.com> Restore old OpenGL tests

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
/frameworks/native/opengl/tests/lib/WindowSurface.cpp