Searched refs:native_buffer (Results 1 – 5 of 5) sorted by relevance
66 android_native_buffer_t* native_buffer = image->native_buffer; in glEGLImageTargetTexture2DOES() local68 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { in glEGLImageTargetTexture2DOES()72 if (native_buffer->common.version != sizeof(android_native_buffer_t)) { in glEGLImageTargetTexture2DOES()81 grallocHelper->getHostHandle(native_buffer->handle)); in glEGLImageTargetTexture2DOES()103 android_native_buffer_t* native_buffer = ((EGLImage_t*)image)->native_buffer; in glEGLImageTargetRenderbufferStorageOES() local105 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { in glEGLImageTargetRenderbufferStorageOES()109 if (native_buffer->common.version != sizeof(android_native_buffer_t)) { in glEGLImageTargetRenderbufferStorageOES()115 grallocHelper->getHostHandle(native_buffer->handle)); in glEGLImageTargetRenderbufferStorageOES()
68 android_native_buffer_t* native_buffer = image->native_buffer; in glEGLImageTargetTexture2DOES() local70 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { in glEGLImageTargetTexture2DOES()74 if (native_buffer->common.version != sizeof(android_native_buffer_t)) { in glEGLImageTargetTexture2DOES()84 grallocHelper->getHostHandle(native_buffer->handle)); in glEGLImageTargetTexture2DOES()106 android_native_buffer_t* native_buffer = ((EGLImage_t*)image)->native_buffer; in glEGLImageTargetRenderbufferStorageOES() local108 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { in glEGLImageTargetRenderbufferStorageOES()112 if (native_buffer->common.version != sizeof(android_native_buffer_t)) { in glEGLImageTargetRenderbufferStorageOES()118 grallocHelper->getHostHandle(native_buffer->handle)); in glEGLImageTargetRenderbufferStorageOES()
42 android_native_buffer_t *native_buffer; member
2109 android_native_buffer_t* native_buffer = (android_native_buffer_t*)buffer; in eglCreateImageKHR() local2111 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) in eglCreateImageKHR()2114 if (native_buffer->common.version != sizeof(android_native_buffer_t)) in eglCreateImageKHR()2118 int format = grallocHelper->getFormat(native_buffer->handle); in eglCreateImageKHR()2142 native_buffer->common.incRef(&native_buffer->common); in eglCreateImageKHR()2147 image->native_buffer = native_buffer; in eglCreateImageKHR()2181 android_native_buffer_t* native_buffer = image->native_buffer; in eglDestroyImageKHR() local2183 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) in eglDestroyImageKHR()2186 if (native_buffer->common.version != sizeof(android_native_buffer_t)) in eglDestroyImageKHR()2189 native_buffer->common.decRef(&native_buffer->common); in eglDestroyImageKHR()
156 auto native_buffer = const_cast<native_handle_t*>(buffer); in Release() local157 auto ret = gralloc3_->freeBuffer(native_buffer); in Release()