diff options
author | Takahiro Aizawa <takahiro.aizawa@sonymobile.com> | 2013-12-11 19:22:26 +0900 |
---|---|---|
committer | Takeshi Aimi <takeshi.aimi@sonymobile.com> | 2013-12-18 19:35:57 +0900 |
commit | f933737784bea4e27b70522cfd34ddaa45481d12 (patch) | |
tree | 96480c6421f9497db70c57361d53a0415eea2f21 | |
parent | c978799c4a7cc8339d560bb47a029861230fa2a6 (diff) | |
download | frameworks_base-f933737784bea4e27b70522cfd34ddaa45481d12.zip frameworks_base-f933737784bea4e27b70522cfd34ddaa45481d12.tar.gz frameworks_base-f933737784bea4e27b70522cfd34ddaa45481d12.tar.bz2 |
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
Change-Id: Ic8911d3131e033747cfdabe59ac2fea1e90bb4a0
-rw-r--r-- | core/jni/android_opengl_EGL14.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android_opengl_EGL14.cpp b/core/jni/android_opengl_EGL14.cpp index 1fe4b08..5b0a4b2 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; |