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

/frameworks/native/opengl/libagl/
H A DTextureObjectManager.cpp146 status_t EGLTextureObject::setImage(ANativeWindowBuffer* native_buffer) argument
150 sur.width = native_buffer->width;
151 sur.height= native_buffer->height;
152 sur.stride= native_buffer->stride;
153 sur.format= native_buffer->format;
156 buffer = native_buffer;
H A Dtexture.cpp131 ANativeWindowBuffer* native_buffer = u.texture->buffer; local
132 if (native_buffer) {
137 mapper.lock(native_buffer->handle, GRALLOC_USAGE_SW_READ_OFTEN,
138 Rect(native_buffer->width, native_buffer->height),
153 ANativeWindowBuffer* native_buffer = u.texture->buffer; local
154 if (native_buffer) {
158 mapper.unlock(native_buffer->handle);
1604 ANativeWindowBuffer* native_buffer = (ANativeWindowBuffer*)image;
1605 if (native_buffer
[all...]
H A Degl.cpp2100 ANativeWindowBuffer* native_buffer = (ANativeWindowBuffer*)buffer; local
2102 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC)
2105 if (native_buffer->common.version != sizeof(ANativeWindowBuffer))
2108 switch (native_buffer->format) {
2119 native_buffer->common.incRef(&native_buffer->common);
2120 return (EGLImageKHR)native_buffer;
2129 ANativeWindowBuffer* native_buffer = (ANativeWindowBuffer*)img; local
2131 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC)
2134 if (native_buffer
[all...]

Completed in 1992 milliseconds