~mir-team/mir/trunk

« back to all changes in this revision

Viewing changes to tests/unit-tests/client/android/CMakeLists.txt

  • Committer: Tarmac
  • Author(s): Christopher James Halse Rogers, Alan Griffiths
  • Date: 2013-03-25 00:16:56 UTC
  • mfrom: (452.2.43 client-side-buffer-age)
  • Revision ID: tarmac-20130325001656-2k870l2edmx0v5hw
Add an “age” field to MirBufferPackage

This is the number of frames submitted by the client since the buffer 
has been rendered to; 0 indicates that the client has not rendered to it before.

This allows clients which have only small changes between frames to do
significantly less rendering, by only rendering the difference.

See also: http://www.khronos.org/registry/egl/extensions/EXT/EGL_EXT_buffer_age.txt.

Approved by Alan Griffiths, Alexandros Frantzis, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
  ${CMAKE_CURRENT_SOURCE_DIR}/test_client_android_buffer.cpp
20
20
  ${CMAKE_CURRENT_SOURCE_DIR}/test_client_android_registrar.cpp
21
21
  ${CMAKE_CURRENT_SOURCE_DIR}/test_android_native_window.cpp
22
 
  ${CMAKE_CURRENT_SOURCE_DIR}/test_android_client_depository.cpp
23
22
  ${CMAKE_CURRENT_SOURCE_DIR}/test_android_client_platform.cpp
24
23
  ${CMAKE_CURRENT_SOURCE_DIR}/test_client_surface_interpreter.cpp
25
24
  ${CMAKE_CURRENT_SOURCE_DIR}/test_android_syncfence.cpp