History log of /frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
34beb7a0ff0494b0c5ad81104171f8a49e599163 28-Mar-2018 Peiyong Lin <lpy@google.com> [SurfaceFlinger] Replace android_dataspace with Dataspace.

This patch replaces all android_dataspace in SurfaceFlinger with Dataspace
V1.1. 3 commands in sequence are used to do the conversion:

find ./ -type f -exec sed -i -e 's/android_dataspace_t/Dataspace/g' {} \;
find ./ -type f -exec sed -i -e 's/android_dataspace/Dataspace/g' {} \;
find ./ -type f -exec sed -i -e 's/HAL_DATASPACE_/Dataspace::/g' {} \;

With some minor tweak because most of the APIs in frameworks/native are still
accepting android_dataspace/android_dataspace_t.

Next step is to convert the rest of android_dataspace usage to Dataspace in
frameworks/native as well as frameworks/base.

BUG: 77156734
Test: Build and flash
Change-Id: I2304c7014cb49a1c9f67c4563603fb55e8dbd679
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
fd997e0969100418b4df8b8d97d21d497afa76c3 29-Mar-2018 Peiyong Lin <lpy@google.com> Add proper namespace to GraphicTypes.

Renamed GraphicsTypes.h to GraphicTypes.h and added proper namespace to avoid
naming conflict.

BUG: 77156734
Test: Build and flash
Change-Id: Ibd9f454b5b72d5f8c6d94a3869a60a1bf821f106
Merged-In: Ibd9f454b5b72d5f8c6d94a3869a60a1bf821f106
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
a52f0295622a42849f5ef81c44589b816b2ccacb 15-Mar-2018 Peiyong Lin <lpy@google.com> [Native] Replace android_color_mode usage with ColorMode.

To ease the pain when we add color mode v1.1, we replace all current
android_color_mode usage in framework native with ColorMode directly from HAL.

BUG: 73824924
Test: Build & flash
Change-Id: I4436fc225c7807506825c7148bc794cb99f278dc
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
3f05602a8c33a4b66a47dc077eaba95f9f1e3977 28-Jul-2017 David Hanna Jr <dhanna@google.com> test-hwc2: Added virtual Display tests

VirtualDisplay tests added.
Test: Ran on (heavily modified) ryu
Change-Id: I5cc92d11d4cde6c3407d71652f87ea3c3fb63228
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
0b8fd899576e7df72f0c18fdd83b95d1a840987b 16-Jun-2017 Arun Kumar K.R <akumarkr@codeaurora.org> test-hwc2: Fix hwc2-tests

Fix some basic checks in hwc2-tests

Test: run test-hwc2

Change-Id: Ib5e964425712cde81e081199ebfd38c0893c457b
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
ae7d324fcad6d561bc0ee460f296ff2ad8306b00 15-Dec-2016 Marissa Wall <marissaw@google.com> test-hwc2: dump

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: I0215fea464fd126b5f9041435bef7e00b46c6ac8
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
bad1bc78ef50648fadbe725a1fe1c28d62097351 21-Feb-2017 Marissa Wall <marissaw@google.com> test-hwc2: virtual displays

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: Ia10ec761712ee03f56782e3df2d6eabf7fb77760
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
35040c559d26d00d6123c894cfc9573b0a5aa860 15-Dec-2016 Marissa Wall <marissaw@google.com> test-hwc2: color and hdr requests

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: Id515de0fac7e842724ae8f27e865fad4933256e6
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
563030b4402f4b9aa08cece732f2a4a756a0f72c 21-Feb-2017 Marissa Wall <marissaw@google.com> test-hwc2: present display

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: I845320afdf635d1716310d1183bcb10515615517
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
f18cfb0a780c69f12439457ccc3f5272db767fdd 21-Feb-2017 Marissa Wall <marissaw@google.com> test-hwc2: add client target support

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: I94c86795b2e334df0570c6c5a3cbbcb5a8ca2826
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
706178db2a89e2bf44e95bfad74dc4451a277b3d 15-Dec-2016 Marissa Wall <marissaw@google.com> test-hwc2: get and accept display changes

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: Ia1d1a0ee5fce43e7904ee49f13a86df0e7adc428
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
1cd789cd2b300427467586f4ec721a8123f118b7 27-Jan-2017 Marissa Wall <marissaw@google.com> test-hwc2: validate display

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: I9a9df2902213d99d4f043e3bdea1e5e2fc77b01d
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
f7618ed1b4d806e06c872c0fccce57163cf93b6a 15-Dec-2016 Marissa Wall <marissaw@google.com> test-hwc2: set layer visible region

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: I0e620fa6763d258d7875da9bf85d41c182e015d2
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
5a240aaf0e3a1dd52be6a8d0811ec727369a210d 15-Dec-2016 Marissa Wall <marissaw@google.com> test-hwc2: set layer buffer

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: Ie42d1fd4c2d0248c4a3ecf09a9b5871d501f6172
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
ad761818a4426b4e6a0696ba90e05056aa35553c 15-Dec-2016 Marissa Wall <marissaw@google.com> test-hwc2: set layer surface damage

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: Ie30032c7285d76d26e51b36b0cfded909f4c3480
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
2a0aaf9f5a3daeb0525249eda40242bb63f56468 15-Dec-2016 Marissa Wall <marissaw@google.com> test-hwc2: set cursor position

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: I4b265826befcf33c3f71b52bfabc076c48efed5f
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
ee24278db26505369c0e917d2a83e7e9fda36e4c 15-Dec-2016 Marissa Wall <marissaw@google.com> test-hwc2: set layer color

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: Ic280f91189a4d6ddd67a33901244714f3c0a46dd
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
c57468f1f6dfc870bea10e814a686793e64f6cf3 15-Dec-2016 Marissa Wall <marissaw@google.com> test-hwc2: set layer source crop

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: If3079efd7a035d1d182f04c56dc55300cdcedc47
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
600a73b6110d6fdcebe072a9d8e2dbbe6de1c6b7 15-Dec-2016 Marissa Wall <marissaw@google.com> test-hwc2: set layer display frame

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: I4431ad0d207924b9fcde2c4c2f34382ec8ddc4d8
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
273b1dfa05287a0016ae1fc230cd3a5b1b7433fa 15-Dec-2016 Marissa Wall <marissaw@google.com> test-hwc2: set layer z order

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: I2c51df36d62f9d809583003b81c24dbd7a744301
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
ac10819373b1ed4901f26c822484a789a7ca4be0 15-Dec-2016 Marissa Wall <marissaw@google.com> test-hwc2: set layer transform

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: I55e318cbddf957d1728435488c6283f8ce77a3d6
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
2b1f53060ea8587a428f826cf7890354ff124722 15-Dec-2016 Marissa Wall <marissaw@google.com> test-hwc2: set layer plane alpha

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: I48146953f745dc650ead5a6e9d6f456cf5a9d7ef
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
b72b5c9ef4a6235c5bc2c4a3cceb23baf963815b 15-Dec-2016 Marissa Wall <marissaw@google.com> test-hwc2: set layer dataspace

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: Ia5bc9e53815d519e2016f3db12d69c6cc70a9b26
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
ffc67daf8b834ff2206d221ce15809cd5f21be55 15-Dec-2016 Marissa Wall <marissaw@google.com> test-hwc2: set layer blend mode

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: Id5a7a568fb81ac9aff388d04077a12765cc135a3
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
6bd8bfde4a965b743d3d4ebff5fdaa3db03a4bbc 15-Dec-2016 Marissa Wall <marissaw@google.com> test-hwc2: set layer composition type

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: I9e71d0c01daa70f28031dd8310f2a40d7162a68e
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
dd4087f4eab87607662b7ee87e9e7b1298f7a3fc 15-Dec-2016 Marissa Wall <marissaw@google.com> test-hwc2: get display name

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: I935329c0c572368f25aeefdbc913a7044f655aa5
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
572a1eedae1d15a8544c95f0284e5b1216a187d2 15-Dec-2016 Marissa Wall <marissaw@google.com> test-hwc2: enable vsync

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: I704fcf0ef097602440835981a47dc6c3785e332d
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
03c917316507dd1c12cdb15a84f5e41576ab4bde 15-Dec-2016 Marissa Wall <marissaw@google.com> test-hwc2: power mode support

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: I4439f8215bb8d0652e6f5ad40f0c4625f7e97f9b
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
93dc04fda8de625d780bcd9b3cef15ad7a4932a8 15-Dec-2016 Marissa Wall <marissaw@google.com> test-hwc2: get and set active config

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: I2ac012a27b31e34886e3ec7f04a8bfc3fd1b83c4
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
cf935cbfa66ec65a71485e91e63a5929dc2922a1 15-Dec-2016 Marissa Wall <marissaw@google.com> test-hwc2: get display configs and attributes

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: I7aa1200057d9fa3cc7988554e8efcf6db2674584
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
1db2e37295cd89946ec5280c1db2dc11bba45ee2 15-Dec-2016 Marissa Wall <marissaw@google.com> test-hwc2: create and destroy layers

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: I508174a871a74d4c4d2843fc0ded84c517553bce
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
cfb9a07ff9bcc36afc08cef5874344aec03f18fa 18-Feb-2017 Marissa Wall <marissaw@google.com> test-hwc2: display type support

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: I0b1be456e360ac5a218ca0cd0e9f297e178c8727
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
a4b01488e852c0c16df89d04914e6f060dd862e3 18-Feb-2017 Marissa Wall <marissaw@google.com> test-hwc2: register callback functions

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: Ic48431a830115f40e9e851bca8f7c730b06f6529
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
4d600057db0c977e75c5d6e2d5f01fa69d30b364 15-Dec-2016 Marissa Wall <marissaw@google.com> test-hwc2: open and close hwc2 device

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
frameworks/native/libs/gui/BufferQueueCore.cpp.
Recompile and flash.
Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
Push test-hwc2 to device.
Run "adb root && adb shell stop".
Run test case. Ex: "./test-hwc2"

Change-Id: Ie7d3963540b0c96db8251bd745f37beab8dd340b
/frameworks/native/services/surfaceflinger/tests/hwc2/Hwc2Test.cpp