commit | bae716bc153962c3ac79660bf32e5c50f0de343d | [log] [tgz] |
---|---|---|
author | Jamie Gennis <jgennis@google.com> | Mon Mar 14 15:34:04 2011 -0700 |
committer | Jamie Gennis <jgennis@google.com> | Tue Mar 15 10:37:37 2011 -0700 |
tree | 2ee7aa6eddbd9789b1b561143927c274004e0977 | |
parent | 75597105e6e03f656bdc1e40acac44afb9a3b01b [diff] |
SurfaceTexture: disallow unsupported uses. This change makes the ANativeWindow_lock NDK function error out if it is passed an ANativeWindow with a concrete type that is not Surface. It also makes eglCreateWindowSurface fail if it is passed a SurfaceTextureClient as its 'window' argument. Bug: 4087277 Change-Id: Ie68c50c52d88f72d8a387f6c094908044c83a88c