Searched refs:native_buffer (Results 1 - 3 of 3) sorted by relevance

/development/tools/emulator/opengl/system/GLESv1/
H A Dgl.cpp55 android_native_buffer_t* native_buffer = (android_native_buffer_t*)image; local
57 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) {
61 if (native_buffer->common.version != sizeof(android_native_buffer_t)) {
70 ((cb_handle_t *)(native_buffer->handle))->hostHandle);
81 android_native_buffer_t* native_buffer = (android_native_buffer_t*)image; local
83 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) {
87 if (native_buffer->common.version != sizeof(android_native_buffer_t)) {
93 ((cb_handle_t *)(native_buffer->handle))->hostHandle);
/development/tools/emulator/opengl/system/GLESv2/
H A Dgl2.cpp55 android_native_buffer_t* native_buffer = (android_native_buffer_t*)image; local
57 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) {
61 if (native_buffer->common.version != sizeof(android_native_buffer_t)) {
69 rcEnc->rcBindTexture(rcEnc, ((cb_handle_t *)(native_buffer->handle))->hostHandle);
79 android_native_buffer_t* native_buffer = (android_native_buffer_t*)image; local
81 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) {
85 if (native_buffer->common.version != sizeof(android_native_buffer_t)) {
90 rcEnc->rcBindRenderbuffer(rcEnc, ((cb_handle_t *)(native_buffer->handle))->hostHandle);
/development/tools/emulator/opengl/system/egl/
H A Degl.cpp1141 android_native_buffer_t* native_buffer = (android_native_buffer_t*)buffer; local
1143 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC)
1146 if (native_buffer->common.version != sizeof(android_native_buffer_t))
1149 cb_handle_t *cb = (cb_handle_t *)(native_buffer->handle);
1164 native_buffer->common.incRef(&native_buffer->common);
1165 return (EGLImageKHR)native_buffer;
1171 android_native_buffer_t* native_buffer = (android_native_buffer_t*)img; local
1173 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC)
1176 if (native_buffer
[all...]

Completed in 50 milliseconds