commit | 74bed55fff0132be319bcd1703970516ae28b3a9 | [log] [tgz] |
---|---|---|
author | Jamie Gennis <jgennis@google.com> | Wed Mar 28 19:05:54 2012 -0700 |
committer | Jamie Gennis <jgennis@google.com> | Fri Mar 30 16:47:28 2012 -0700 |
tree | 3fb8424f159644813f9ee0594e39e59f52dad205 | |
parent | 1bb69f015c0fda0227e36d7ce39826409c9a0e8d [diff] |
SurfaceTexture: add context attach & detach This change adds the detachFromContext and attachToContext methods to SurfaceTexture. These methods allow the SurfaceTexture to switch from one consumer GLES context to another. This change also includes a few cleanups to the error return codes in updateTexImage. Change-Id: I0df1eb599aa7b6f58f07431f242f8f09269559ed