a282f588692a04da05eceafa142a067c038da806 |
|
28-Mar-2017 |
Dan Stoza <stoza@google.com> |
SF: Fix warnings in tests and enable -Werror Fixes unused-parameter warnings in the vsync and waitforvsync tests, and enables -Werror in their respective Android.mks. Bug: 36678673 Test: mm -j, observe no compiler warnings/errors Change-Id: I6e2c5d2d2937b045794a53d90aeab7653b42e6c5
/frameworks/native/services/surfaceflinger/tests/waitforvsync/waitforvsync.cpp
|
ee9701744a01acb558cb1082de9cc1415d0dbaff |
|
13-Feb-2015 |
Nanik Tolaram <nanikjava@gmail.com> |
Error compiling waitforvsync.cpp The waitforvsync.cpp throws error when compiling. Following is the error log target thumb C++: test-waitforvsync <= frameworks/native/services/surfaceflinger/tests/waitforvsync/waitforvsync.cpp frameworks/native/services/surfaceflinger/tests/waitforvsync/waitforvsync.cpp: In function 'int main(int, char**)': frameworks/native/services/surfaceflinger/tests/waitforvsync/waitforvsync.cpp:43:17: error: 'close' was not declared in this scope close(fd); ^ .... .... make: *** [out/target/product/grouper/obj/EXECUTABLES/test-waitforvsync_intermediates/waitforvsync.o] Error 1 the file is missing #include <unistd.h> Change-Id: I57728dbde65641cd3138625f9a590f9db8648158 Signed-off-by: Nanik Tolaram <nanikjava@gmail.com>
/frameworks/native/services/surfaceflinger/tests/waitforvsync/waitforvsync.cpp
|
d0566bc26fcf6ca396118701fa11900b627f2c09 |
|
18-Nov-2011 |
Mathias Agopian <mathias@google.com> |
Add support for sending VSYNC events to the framework use gui/DisplayEvent to receive the events. Events are dispatched through a unix pipe, so the API is compatible with utils/Looper. see gui/DisplayEvent.h for more info. Bug: 1475048 Change-Id: Ia720f64d1b950328b47b22c6a86042e481d35f09
/frameworks/native/services/surfaceflinger/tests/waitforvsync/waitforvsync.cpp
|