/development/tools/emulator/opengl/system/OpenglSystemCommon/ |
gralloc_cb.h | 9 #define CB_HANDLE_NUM_INTS(nfds) (int)((sizeof(cb_handle_t) - (nfds)*sizeof(int)) / sizeof(int)) 14 struct cb_handle_t : public native_handle { struct in inherits:native_handle 16 cb_handle_t(int p_fd, int p_ashmemSize, int p_usage, function in struct:cb_handle_t 41 ~cb_handle_t() { 56 static bool validate(cb_handle_t * hnd) { 71 int magic; // magic number in order to validate a pointer to be a cb_handle_t
|
/development/tools/emulator/opengl/system/gralloc/ |
gralloc.cpp | 90 static int map_buffer(cb_handle_t *cb, void **vaddr) 217 cb_handle_t *cb = new cb_handle_t(fd, ashmem_size, usage, 274 const cb_handle_t *cb = (const cb_handle_t *)handle; 275 if (!cb_handle_t::validate((cb_handle_t*)cb)) { 351 cb_handle_t *cb = (cb_handle_t *)buffer; 353 if (!fbdev || !cb_handle_t::validate(cb) || !cb->canBePosted()) [all...] |
/development/tools/emulator/opengl/system/GLESv1/ |
gl.cpp | 51 rcEnc->rcBindTexture(rcEnc, ((cb_handle_t *)(native_buffer->handle))->hostHandle); 71 rcEnc->rcBindRenderbuffer(rcEnc, ((cb_handle_t *)(native_buffer->handle))->hostHandle);
|
/development/tools/emulator/opengl/system/GLESv2/ |
gl2.cpp | 51 rcEnc->rcBindTexture(rcEnc, ((cb_handle_t *)(native_buffer->handle))->hostHandle); 71 rcEnc->rcBindRenderbuffer(rcEnc, ((cb_handle_t *)(native_buffer->handle))->hostHandle);
|
/development/tools/emulator/opengl/system/egl/ |
egl.cpp | 317 rcEnc->rcSetWindowColorBuffer(rcEnc, rcSurface, ((cb_handle_t *)(buffer->handle))->hostHandle); 359 rcEnc->rcSetWindowColorBuffer(rcEnc, rcSurface, ((cb_handle_t *)(buffer->handle))->hostHandle); [all...] |