Home | History | Annotate | Download | only in libagl

Lines Matching defs:native_buffer

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