diff options
author | Adrian Marius Negreanu <adrian.m.negreanu@intel.com> | 2013-01-24 15:00:36 +0200 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2013-01-28 07:51:58 -0800 |
commit | d49cc713332b565ad4913ef859972b82a3bca358 (patch) | |
tree | b1bc69b64f745e0f7e8f17af1b14e3eab5432073 | |
parent | 0151ead4da498f4fd32897c129a9ba9885d339b6 (diff) |
android: Fix createSurface compiler error
It looks like createSurface changed signature:
waffle/src/waffle/android/droid_surfaceflingerlink.cpp:113:36:
error: no matching function for call to
android::SurfaceComposerClient::createSurface(
android::String8, int, const uint32_t&, const uint32_t&, android::<anonymous enum>, int)
Candidate is:
frameworks/native/include/gui/SurfaceComposerClient.h:80:24:
android::sp<android::SurfaceControl> android::SurfaceComposerClient::createSurface(
const android::String8&, uint32_t, uint32 _t, android::PixelFormat, uint32_t)
Reviewed-by: Tom Gall <tom.gall@linaro.org>
Signed-off-by: Adrian Marius Negreanu <adrian.m.negreanu@intel.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
-rw-r--r-- | src/waffle/android/droid_surfaceflingerlink.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waffle/android/droid_surfaceflingerlink.cpp b/src/waffle/android/droid_surfaceflingerlink.cpp index 7272c0d..5085c62 100644 --- a/src/waffle/android/droid_surfaceflingerlink.cpp +++ b/src/waffle/android/droid_surfaceflingerlink.cpp @@ -108,7 +108,7 @@ droid_setup_surface( pANWContainer->surface_control = pSFContainer->composer_client->createSurface( - String8("Waffle Surface"), 0, + String8("Waffle Surface"), droid_magic_surface_width, droid_magic_surface_height, PIXEL_FORMAT_RGB_888, 0); |