Lines Matching refs:native_buffer
131 ANativeWindowBuffer* native_buffer = u.texture->buffer; in ogles_lock_textures() local
132 if (native_buffer) { in ogles_lock_textures()
137 mapper.lock(native_buffer->handle, GRALLOC_USAGE_SW_READ_OFTEN, in ogles_lock_textures()
138 Rect(native_buffer->width, native_buffer->height), in ogles_lock_textures()
153 ANativeWindowBuffer* native_buffer = u.texture->buffer; in ogles_unlock_textures() local
154 if (native_buffer) { in ogles_unlock_textures()
158 mapper.unlock(native_buffer->handle); in ogles_unlock_textures()
1604 ANativeWindowBuffer* native_buffer = (ANativeWindowBuffer*)image; in glEGLImageTargetTexture2DOES() local
1605 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { in glEGLImageTargetTexture2DOES()
1609 if (native_buffer->common.version != sizeof(ANativeWindowBuffer)) { in glEGLImageTargetTexture2DOES()
1616 tex->setImage(native_buffer); in glEGLImageTargetTexture2DOES()
1632 ANativeWindowBuffer* native_buffer = (ANativeWindowBuffer*)image; in glEGLImageTargetRenderbufferStorageOES() local
1633 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { in glEGLImageTargetRenderbufferStorageOES()
1637 if (native_buffer->common.version != sizeof(ANativeWindowBuffer)) { in glEGLImageTargetRenderbufferStorageOES()