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);
1610 ANativeWindowBuffer* native_buffer = (ANativeWindowBuffer*)image;
1611 if (native_buffer
[all...]
H A Degl.cpp2099 ANativeWindowBuffer* native_buffer = (ANativeWindowBuffer*)buffer; local
2101 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC)
2104 if (native_buffer->common.version != sizeof(ANativeWindowBuffer))
2107 switch (native_buffer->format) {
2118 native_buffer->common.incRef(&native_buffer->common);
2119 return (EGLImageKHR)native_buffer;
2128 ANativeWindowBuffer* native_buffer = (ANativeWindowBuffer*)img; local
2130 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC)
2133 if (native_buffer
[all...]

Completed in 63 milliseconds