commit | 5c0c93a8c49b4053744efb8953b915fa7f0923a5 | [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 | 445ba1c3d421649c368af25e7212406a28fd1bbc | |
parent | f9a20d77fa921d6f3556e60217a67e5756f4ece4 [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