[PATCH] Android: Port eglretracer for Android (v4)

Juha-Pekka Heikkila juha-pekka.heikkila at linux.intel.com
Wed Jul 31 07:21:30 PDT 2013


V4 of the egl retracer patch. Again, thanks for Alexander for looking at
the v3 patch. :) This should have now those small bits ironed out Alexander
pointed out.

I am still thinking about removing Waffle from here though, maybe at later
stage. As Waffle is not used here for being Waffle but just to inititate
connection with SurfaceFlinger the special code what is needed from Waffle 
basically is as small as this:

...
sp<SurfaceComposerClient> pSClient = new SurfaceComposerClient;
sp<SurfaceControl> pSControl = pSClient->createSurface( String8("Surface"),
            width, height, PIXEL_FORMAT_RGB_888, 0 );

    pSClient->openGlobalTransaction();
    pSControl->setLayer( surface_z );
    pSControl->show();
    pSClient->closeGlobalTransaction();
...

/Juha-Pekka

Juha-Pekka Heikkila (1):
  Android: Port eglretracer for Android

 cmake/FindWaffle.cmake  |  38 +++++++++
 retrace/CMakeLists.txt  |  26 ++++++
 retrace/glws_waffle.cpp | 214 ++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 278 insertions(+)
 create mode 100644 cmake/FindWaffle.cmake
 create mode 100644 retrace/glws_waffle.cpp

-- 
1.8.1.2



More information about the apitrace mailing list