summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-06-28 21:38:20 -0700
committerMathias Agopian <mathias@google.com>2011-06-28 21:38:20 -0700
commit2365781e5aeae39ee01f5acd26fc01da2fa3f468 (patch)
treef81ccd6ed28a0c515444b2e8faa364372d72f76e
parent5821f80aef8fce08967212b18a473dd32b707a8b (diff)
use new SurfaceComposerClient transaction api
Change-Id: I1a6bad4a9083967624b75fd81e74a44614d4ffe1
-rw-r--r--test/egl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/egl.cpp b/test/egl.cpp
index 6eadaf5..76eaa77 100644
--- a/test/egl.cpp
+++ b/test/egl.cpp
@@ -1873,10 +1873,10 @@ extern "C" int SetupDrawingSurface(unsigned * width, unsigned * height, unsigned
s->client = new SurfaceComposerClient();
s->surfaceControl = s->client->createSurface(getpid(), 0, 640, 400, PIXEL_FORMAT_RGBA_8888);
- s->client->openTransaction();
+ SurfaceComposerClient::openGlobalTransaction();
s->surfaceControl->setLayer(25000);
s->surfaceControl->show();
- s->client->closeTransaction();
+ SurfaceComposerClient::closeGlobalTransaction();
s->surface = s->surfaceControl->getSurface();
window = s->surface.get();