From 092759f6b438dc599b71a5d0557718cf4f5a2427 Mon Sep 17 00:00:00 2001 From: Takahiro Aizawa Date: Wed, 11 Dec 2013 19:22:26 +0900 Subject: EGL14.eglCreateWindowSurface should set producerControlledByApp Interface of Surface class changed. To reflect the change for EGL14, add producerControlledByApp flag. Similar change can be seen in 0fa257fe53bf520bdde93996a1901ce6bc3e1788 Bug 13226025 (cherry-pick from AOSP Ic8911d3131e033747cfdabe59ac2fea1e90bb4a0) Change-Id: I853484c38f065d71b365bb48b2a794ca4787e70a --- core/jni/android_opengl_EGL14.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/jni/android_opengl_EGL14.cpp b/core/jni/android_opengl_EGL14.cpp index 1fe4b08d9721..5b0a4b2e4039 100644 --- a/core/jni/android_opengl_EGL14.cpp +++ b/core/jni/android_opengl_EGL14.cpp @@ -630,7 +630,7 @@ not_valid_surface: if (producer == NULL) goto not_valid_surface; - window = new android::Surface(producer); + window = new android::Surface(producer, true); if (window == NULL) goto not_valid_surface; -- cgit v1.2.3-59-g8ed1b