Home | History | Annotate | Download | only in libagl

Lines Matching refs:native_buffer

2024     ANativeWindowBuffer* native_buffer = (ANativeWindowBuffer*)buffer;
2026 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC)
2029 if (native_buffer->common.version != sizeof(ANativeWindowBuffer))
2032 switch (native_buffer->format) {
2045 native_buffer->common.incRef(&native_buffer->common);
2046 return (EGLImageKHR)native_buffer;
2055 ANativeWindowBuffer* native_buffer = (ANativeWindowBuffer*)img;
2057 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC)
2060 if (native_buffer->common.version != sizeof(ANativeWindowBuffer))
2063 native_buffer->common.decRef(&native_buffer->common);