Lines Matching defs:native_buffer
2058 ANativeWindowBuffer* native_buffer = (ANativeWindowBuffer*)buffer;
2060 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC)
2063 if (native_buffer->common.version != sizeof(ANativeWindowBuffer))
2066 switch (native_buffer->format) {
2077 native_buffer->common.incRef(&native_buffer->common);
2078 return (EGLImageKHR)native_buffer;
2087 ANativeWindowBuffer* native_buffer = (ANativeWindowBuffer*)img;
2089 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC)
2092 if (native_buffer->common.version != sizeof(ANativeWindowBuffer))
2095 native_buffer->common.decRef(&native_buffer->common);