/hardware/msm7k/libgralloc-qsd8k/ |
D | mapper.cpp | 57 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map() 58 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_map() 82 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap() 83 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_unmap() 108 if (private_handle_t::validate(handle) < 0) in gralloc_register_buffer() 121 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_register_buffer() 133 if (private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer() 142 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unregister_buffer() 144 LOGE_IF(hnd->lockState & private_handle_t::LOCK_STATE_READ_MASK, in gralloc_unregister_buffer() 150 if (hnd->lockState & private_handle_t::LOCK_STATE_MAPPED) { in gralloc_unregister_buffer() [all …]
|
D | gpu.cpp | 82 private_handle_t* hnd = new private_handle_t(dup(m->framebuffer->fd), size, in gralloc_alloc_framebuffer_locked() 83 private_handle_t::PRIV_FLAGS_USES_PMEM | in gralloc_alloc_framebuffer_locked() 84 private_handle_t::PRIV_FLAGS_FRAMEBUFFER); in gralloc_alloc_framebuffer_locked() 130 flags |= private_handle_t::PRIV_FLAGS_USES_PMEM; in gralloc_alloc_buffer() 134 flags |= private_handle_t::PRIV_FLAGS_USES_PMEM; in gralloc_alloc_buffer() 138 flags |= private_handle_t::PRIV_FLAGS_USES_PMEM_ADSP; in gralloc_alloc_buffer() 139 flags &= ~private_handle_t::PRIV_FLAGS_USES_PMEM; in gralloc_alloc_buffer() 144 if ((flags & private_handle_t::PRIV_FLAGS_USES_PMEM) != 0 || in gralloc_alloc_buffer() 145 (flags & private_handle_t::PRIV_FLAGS_USES_PMEM_ADSP) != 0) { in gralloc_alloc_buffer() 149 if ((flags & private_handle_t::PRIV_FLAGS_USES_PMEM) != 0) { in gralloc_alloc_buffer() [all …]
|
D | gralloc_priv.h | 59 struct private_handle_t; 65 struct private_handle_t* framebuffer; 88 struct private_handle_t : public native_handle { struct 90 struct private_handle_t { 128 private_handle_t(int fd, int size, int flags) : in private_handle_t() argument 136 ~private_handle_t() { in ~private_handle_t() argument 145 const private_handle_t* hnd = (const private_handle_t*)h; in validate() argument 156 static private_handle_t* dynamicCast(const native_handle* in) { in dynamicCast() argument 158 return (private_handle_t*) in; in dynamicCast()
|
D | gr.h | 37 struct private_handle_t; 44 int terminateBuffer(gralloc_module_t const* module, private_handle_t* hnd);
|
D | framebuffer.cpp | 94 if (private_handle_t::validate(buffer) < 0) in fb_post() 99 private_handle_t const* hnd = reinterpret_cast<private_handle_t const*>(buffer); in fb_post() 108 if (hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) { in fb_post() 329 module->framebuffer = new private_handle_t(dup(fd), fbSize, in mapFrameBufferLocked() 330 private_handle_t::PRIV_FLAGS_USES_PMEM); in mapFrameBufferLocked() 426 private_handle_t *priv = (private_handle_t*) handle; in msm_copy_buffer()
|
D | gpu.h | 49 private_handle_t* hnd) = 0; 60 int free_impl(private_handle_t const* hnd);
|
D | gralloc.cpp | 125 private_handle_t* hnd) { in terminateBuffer()
|
/hardware/msm7k/libgralloc/ |
D | mapper.cpp | 57 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map() 58 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_map() 82 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap() 83 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_unmap() 108 if (private_handle_t::validate(handle) < 0) in gralloc_register_buffer() 113 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_register_buffer() 116 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_USES_GPU)) { in gralloc_register_buffer() 127 if (private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer() 131 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unregister_buffer() 141 private_handle_t* hnd) in mapBuffer() [all …]
|
D | gralloc_priv.h | 35 struct private_handle_t; 40 struct private_handle_t* framebuffer; 63 struct private_handle_t : public native_handle { struct 65 struct private_handle_t { 94 private_handle_t(int fd, int size, int flags) : in private_handle_t() argument 102 ~private_handle_t() { in ~private_handle_t() argument 107 const private_handle_t* hnd = (const private_handle_t*)h; in validate() argument
|
D | gralloc.cpp | 162 private_handle_t* hnd = new private_handle_t(dup(m->framebuffer->fd), size, in gralloc_alloc_framebuffer_locked() 163 private_handle_t::PRIV_FLAGS_USES_PMEM | in gralloc_alloc_framebuffer_locked() 164 private_handle_t::PRIV_FLAGS_FRAMEBUFFER); in gralloc_alloc_framebuffer_locked() 330 flags |= private_handle_t::PRIV_FLAGS_USES_PMEM; in gralloc_alloc_buffer() 334 flags |= private_handle_t::PRIV_FLAGS_USES_PMEM; in gralloc_alloc_buffer() 337 if ((flags & private_handle_t::PRIV_FLAGS_USES_PMEM) == 0) { in gralloc_alloc_buffer() 383 flags &= ~private_handle_t::PRIV_FLAGS_USES_PMEM; in gralloc_alloc_buffer() 392 flags &= ~private_handle_t::PRIV_FLAGS_USES_PMEM; in gralloc_alloc_buffer() 393 flags |= private_handle_t::PRIV_FLAGS_USES_GPU; in gralloc_alloc_buffer() 428 flags &= ~private_handle_t::PRIV_FLAGS_USES_GPU; in gralloc_alloc_buffer() [all …]
|
D | gr.h | 37 struct private_handle_t; 44 int terminateBuffer(gralloc_module_t const* module, private_handle_t* hnd); 45 int mapBuffer(gralloc_module_t const* module, private_handle_t* hnd);
|
D | framebuffer.cpp | 90 if (private_handle_t::validate(buffer) < 0) in fb_post() 95 private_handle_t const* hnd = reinterpret_cast<private_handle_t const*>(buffer); in fb_post() 99 if (hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) { in fb_post() 293 module->framebuffer = new private_handle_t(dup(fd), fbSize, in mapFrameBufferLocked() 294 private_handle_t::PRIV_FLAGS_USES_PMEM); in mapFrameBufferLocked() 389 private_handle_t *priv = (private_handle_t*) handle; in msm_copy_buffer()
|
/hardware/libhardware/modules/gralloc/ |
D | mapper.cpp | 50 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map() 51 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_map() 70 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap() 71 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_unmap() 92 if (private_handle_t::validate(handle) < 0) in gralloc_register_buffer() 97 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_register_buffer() 108 if (private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer() 112 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unregister_buffer() 122 private_handle_t* hnd) in mapBuffer() 129 private_handle_t* hnd) in terminateBuffer() [all …]
|
D | gralloc_priv.h | 35 struct private_handle_t; 40 private_handle_t* framebuffer; 59 struct private_handle_t : public native_handle { struct 61 struct private_handle_t { 86 private_handle_t(int fd, int size, int flags) : in private_handle_t() argument 94 ~private_handle_t() { in ~private_handle_t() argument 99 const private_handle_t* hnd = (const private_handle_t*)h; in validate() argument
|
D | gralloc.cpp | 138 private_handle_t* hnd = new private_handle_t(dup(m->framebuffer->fd), size, in gralloc_alloc_framebuffer_locked() 139 private_handle_t::PRIV_FLAGS_FRAMEBUFFER); in gralloc_alloc_framebuffer_locked() 183 private_handle_t* hnd = new private_handle_t(fd, size, 0); in gralloc_alloc_buffer() 249 if (private_handle_t::validate(handle) < 0) in gralloc_free() 252 private_handle_t const* hnd = reinterpret_cast<private_handle_t const*>(handle); in gralloc_free() 253 if (hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) { in gralloc_free() 263 terminateBuffer(module, const_cast<private_handle_t*>(hnd)); in gralloc_free()
|
D | gr.h | 37 struct private_handle_t; 44 int terminateBuffer(gralloc_module_t const* module, private_handle_t* hnd); 45 int mapBuffer(gralloc_module_t const* module, private_handle_t* hnd);
|
D | framebuffer.cpp | 87 if (private_handle_t::validate(buffer) < 0) in fb_post() 92 private_handle_t const* hnd = reinterpret_cast<private_handle_t const*>(buffer); in fb_post() 96 if (hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) { in fb_post() 276 module->framebuffer = new private_handle_t(dup(fd), fbSize, 0); in mapFrameBufferLocked()
|
/hardware/msm7k/libcopybit/ |
D | copybit.cpp | 136 private_handle_t* hnd = (private_handle_t*)rhs->handle; in set_image() 142 if (hnd->flags & private_handle_t::PRIV_FLAGS_USES_GPU) { in set_image()
|