Searched refs:native_buffer (Results 1 – 3 of 3) sorted by relevance
58 android_native_buffer_t* native_buffer = (android_native_buffer_t*)image; in glEGLImageTargetTexture2DOES() local60 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { in glEGLImageTargetTexture2DOES()64 if (native_buffer->common.version != sizeof(android_native_buffer_t)) { in glEGLImageTargetTexture2DOES()72 rcEnc->rcBindTexture(rcEnc, ((cb_handle_t *)(native_buffer->handle))->hostHandle); in glEGLImageTargetTexture2DOES()85 android_native_buffer_t* native_buffer = (android_native_buffer_t*)image; in glEGLImageTargetRenderbufferStorageOES() local87 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { in glEGLImageTargetRenderbufferStorageOES()91 if (native_buffer->common.version != sizeof(android_native_buffer_t)) { in glEGLImageTargetRenderbufferStorageOES()96 rcEnc->rcBindRenderbuffer(rcEnc, ((cb_handle_t *)(native_buffer->handle))->hostHandle); in glEGLImageTargetRenderbufferStorageOES()
57 android_native_buffer_t* native_buffer = (android_native_buffer_t*)image; in glEGLImageTargetTexture2DOES() local59 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { in glEGLImageTargetTexture2DOES()63 if (native_buffer->common.version != sizeof(android_native_buffer_t)) { in glEGLImageTargetTexture2DOES()72 ((cb_handle_t *)(native_buffer->handle))->hostHandle); in glEGLImageTargetTexture2DOES()86 android_native_buffer_t* native_buffer = (android_native_buffer_t*)image; in glEGLImageTargetRenderbufferStorageOES() local88 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { in glEGLImageTargetRenderbufferStorageOES()92 if (native_buffer->common.version != sizeof(android_native_buffer_t)) { in glEGLImageTargetRenderbufferStorageOES()98 ((cb_handle_t *)(native_buffer->handle))->hostHandle); in glEGLImageTargetRenderbufferStorageOES()
1188 android_native_buffer_t* native_buffer = (android_native_buffer_t*)buffer; in eglCreateImageKHR() local1190 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) in eglCreateImageKHR()1193 if (native_buffer->common.version != sizeof(android_native_buffer_t)) in eglCreateImageKHR()1196 cb_handle_t *cb = (cb_handle_t *)(native_buffer->handle); in eglCreateImageKHR()1209 native_buffer->common.incRef(&native_buffer->common); in eglCreateImageKHR()1210 return (EGLImageKHR)native_buffer; in eglCreateImageKHR()1216 android_native_buffer_t* native_buffer = (android_native_buffer_t*)img; in eglDestroyImageKHR() local1218 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) in eglDestroyImageKHR()1221 if (native_buffer->common.version != sizeof(android_native_buffer_t)) in eglDestroyImageKHR()1224 native_buffer->common.decRef(&native_buffer->common); in eglDestroyImageKHR()