Home
last modified time | relevance | path

Searched refs:native_buffer (Results 1 – 5 of 5) sorted by relevance

/device/generic/goldfish-opengl/system/GLESv1/
Dgl.cpp66 android_native_buffer_t* native_buffer = image->native_buffer; in glEGLImageTargetTexture2DOES() local
68 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() local
105 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()
/device/generic/goldfish-opengl/system/GLESv2/
Dgl2.cpp68 android_native_buffer_t* native_buffer = image->native_buffer; in glEGLImageTargetTexture2DOES() local
70 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() local
108 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()
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DEGLImage.h42 android_native_buffer_t *native_buffer; member
/device/generic/goldfish-opengl/system/egl/
Degl.cpp2109 android_native_buffer_t* native_buffer = (android_native_buffer_t*)buffer; in eglCreateImageKHR() local
2111 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() local
2183 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()
/device/google/cuttlefish/guest/hals/hwcomposer/common/
Dgralloc_utils.cpp156 auto native_buffer = const_cast<native_handle_t*>(buffer); in Release() local
157 auto ret = gralloc3_->freeBuffer(native_buffer); in Release()