Lines Matching refs:native_buffer
128 ANativeWindowBuffer* native_buffer = u.texture->buffer; in ogles_lock_textures() local
129 if (native_buffer) { in ogles_lock_textures()
139 int err = module->lock(module, native_buffer->handle, in ogles_lock_textures()
141 0, 0, native_buffer->width, native_buffer->height, in ogles_lock_textures()
156 ANativeWindowBuffer* native_buffer = u.texture->buffer; in ogles_unlock_textures() local
157 if (native_buffer) { in ogles_unlock_textures()
166 module->unlock(module, native_buffer->handle); in ogles_unlock_textures()
1617 ANativeWindowBuffer* native_buffer = (ANativeWindowBuffer*)image; in glEGLImageTargetTexture2DOES() local
1618 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { in glEGLImageTargetTexture2DOES()
1622 if (native_buffer->common.version != sizeof(ANativeWindowBuffer)) { in glEGLImageTargetTexture2DOES()
1629 tex->setImage(native_buffer); in glEGLImageTargetTexture2DOES()
1645 ANativeWindowBuffer* native_buffer = (ANativeWindowBuffer*)image; in glEGLImageTargetRenderbufferStorageOES() local
1646 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { in glEGLImageTargetRenderbufferStorageOES()
1650 if (native_buffer->common.version != sizeof(ANativeWindowBuffer)) { in glEGLImageTargetRenderbufferStorageOES()