Home | History | Annotate | Download | only in libagl

Lines Matching refs:native_buffer

2040     ANativeWindowBuffer* native_buffer = (ANativeWindowBuffer*)buffer;
2042 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC)
2045 if (native_buffer->common.version != sizeof(ANativeWindowBuffer))
2048 switch (native_buffer->format) {
2061 native_buffer->common.incRef(&native_buffer->common);
2062 return (EGLImageKHR)native_buffer;
2071 ANativeWindowBuffer* native_buffer = (ANativeWindowBuffer*)img;
2073 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC)
2076 if (native_buffer->common.version != sizeof(ANativeWindowBuffer))
2079 native_buffer->common.decRef(&native_buffer->common);