/aosp12/frameworks/av/media/libstagefright/renderfright/tests/ |
H A D | RenderEngineThreadedTest.cpp | 97 std::unique_ptr<renderengine::Framebuffer> framebuffer; in TEST_F() local 98 EXPECT_CALL(*mRenderEngine, bindFrameBuffer(framebuffer.get())).WillOnce(Return(BAD_VALUE)); in TEST_F() 99 status_t result = mThreadedRE->bindFrameBuffer(framebuffer.get()); in TEST_F() 104 std::unique_ptr<renderengine::Framebuffer> framebuffer; in TEST_F() local 105 EXPECT_CALL(*mRenderEngine, bindFrameBuffer(framebuffer.get())).WillOnce(Return(NO_ERROR)); in TEST_F() 106 status_t result = mThreadedRE->bindFrameBuffer(framebuffer.get()); in TEST_F() 111 std::unique_ptr<renderengine::Framebuffer> framebuffer; in TEST_F() local 112 EXPECT_CALL(*mRenderEngine, unbindFrameBuffer(framebuffer.get())); in TEST_F() 113 mThreadedRE->unbindFrameBuffer(framebuffer.get()); in TEST_F()
|
/aosp12/hardware/google/gchips/gralloc3/src/ |
H A D | framebuffer_device.cpp | 111 if (ioctl(m->framebuffer->fb_fd, FBIOPUT_VSCREENINFO, &m->info) == -1) in fb_post() 113 AERR("FBIOPUT_VSCREENINFO failed for fd: %d", m->framebuffer->fb_fd); in fb_post() 120 AERR("Gralloc wait for vsync failed for fd: %d", m->framebuffer->fb_fd); in fb_post() 132 mali_gralloc_lock(m, m->framebuffer, GRALLOC_USAGE_SW_WRITE_RARELY, 0, 0, 0, 0, &fb_vaddr); in fb_post() 157 mali_gralloc_unlock(m, m->framebuffer); in fb_post() 166 if (module->framebuffer) in init_frame_buffer_locked() 408 res = ioctl(m->framebuffer->fb_fd, FBIOGET_DMABUF, &fb_dma_buf); in fb_alloc_framebuffer_dmabuf() 460 if (m->framebuffer == NULL) in fb_alloc_framebuffer_locked() 470 if (m->framebuffer == NULL) in fb_alloc_framebuffer_locked() 508 uintptr_t framebufferVaddr = (uintptr_t)m->framebuffer->base; in fb_alloc_framebuffer_locked() [all …]
|
H A D | mali_gralloc_module.h | 77 struct private_handle_t *framebuffer; member 139 framebuffer = NULL; in private_module_t()
|
/aosp12/hardware/libhardware/modules/gralloc/ |
H A D | framebuffer.cpp | 84 const size_t offset = hnd->base - m->framebuffer->base; in fb_post() 87 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 101 m->base.lock(&m->base, m->framebuffer, in fb_post() 114 m->base.unlock(&m->base, m->framebuffer); in fb_post() 125 if (module->framebuffer) { 282 module->framebuffer = new private_handle_t(dup(fd), fbSize, 0); 292 module->framebuffer->base = intptr_t(vaddr);
|
H A D | gralloc.cpp | 93 .framebuffer = 0, 110 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 136 intptr_t vaddr = intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 137 private_handle_t* hnd = new private_handle_t(dup(m->framebuffer->fd), size, in gralloc_alloc_framebuffer_locked() 150 hnd->offset = vaddr - intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 264 int index = (hnd->base - m->framebuffer->base) / bufferSize; in gralloc_free()
|
/aosp12/frameworks/av/media/libstagefright/renderfright/threaded/ |
H A D | RenderEngineThreaded.cpp | 242 status_t RenderEngineThreaded::bindFrameBuffer(Framebuffer* framebuffer) { in bindFrameBuffer() argument 247 mFunctionCalls.push([&resultPromise, &framebuffer](renderengine::RenderEngine& instance) { in bindFrameBuffer() 249 status_t status = instance.bindFrameBuffer(framebuffer); in bindFrameBuffer() 257 void RenderEngineThreaded::unbindFrameBuffer(Framebuffer* framebuffer) { in unbindFrameBuffer() argument 262 mFunctionCalls.push([&resultPromise, &framebuffer](renderengine::RenderEngine& instance) { in unbindFrameBuffer() 264 instance.unbindFrameBuffer(framebuffer); in unbindFrameBuffer() 355 Framebuffer* framebuffer = instance.getFramebufferForDrawing(); in getFramebufferForDrawing() local 356 resultPromise.set_value(framebuffer); in getFramebufferForDrawing()
|
H A D | RenderEngineThreaded.h | 57 status_t bindFrameBuffer(Framebuffer* framebuffer) override; 58 void unbindFrameBuffer(Framebuffer* framebuffer) override;
|
/aosp12/frameworks/rs/ |
H A D | rsFBOCache.cpp | 39 rsc->mHal.funcs.framebuffer.init(rsc, this); in init() 43 rsc->mHal.funcs.framebuffer.destroy(rsc, this); in deinit() 89 rsc->mHal.funcs.framebuffer.setActive(rsc, this); in setup()
|
/aosp12/hardware/qcom/display/msm8960/libgralloc/ |
H A D | framebuffer.cpp | 92 const size_t offset = hnd->base - m->framebuffer->base; in fb_post() 95 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 114 if (module->framebuffer) { in mapFrameBufferLocked() 318 module->framebuffer = new private_handle_t(fd, fbSize, in mapFrameBufferLocked() 327 module->framebuffer->base = intptr_t(vaddr); in mapFrameBufferLocked() 332 ioctl(module->framebuffer->fd, MSMFB_OVERLAY_VSYNC_CTRL, in mapFrameBufferLocked()
|
H A D | gpu.cpp | 185 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 212 intptr_t vaddr = intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 214 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked() 229 hnd->offset = vaddr - intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 317 int index = (hnd->base - m->framebuffer->base) / bufferSize; in free_impl()
|
/aosp12/hardware/qcom/display/msm8084/libgralloc/ |
H A D | framebuffer.cpp | 92 const size_t offset = hnd->base - m->framebuffer->base; in fb_post() 95 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 117 if (module->framebuffer) { in mapFrameBufferLocked() 333 module->framebuffer = new private_handle_t(fd, fbSize, in mapFrameBufferLocked() 343 module->framebuffer->base = uintptr_t(vaddr); in mapFrameBufferLocked() 347 ioctl(module->framebuffer->fd, MSMFB_OVERLAY_VSYNC_CTRL, in mapFrameBufferLocked()
|
H A D | gpu.cpp | 199 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 226 uintptr_t vaddr = uintptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 228 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked() 243 hnd->offset = vaddr - uintptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 330 size_t index = (hnd->base - m->framebuffer->base) / bufferSize; in free_impl()
|
/aosp12/hardware/qcom/display/msm8226/libgralloc/ |
H A D | framebuffer.cpp | 93 m->framebuffer->base); in fb_post() 96 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 118 if (module->framebuffer) { in mapFrameBufferLocked() 334 module->framebuffer = new private_handle_t(fd, fbSize, in mapFrameBufferLocked() 344 module->framebuffer->base = uint64_t(vaddr); in mapFrameBufferLocked() 348 ioctl(module->framebuffer->fd, MSMFB_OVERLAY_VSYNC_CTRL, in mapFrameBufferLocked()
|
H A D | gpu.cpp | 202 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 229 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 231 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked() 246 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 332 unsigned int index = (unsigned int) ((hnd->base - m->framebuffer->base) in free_impl()
|
/aosp12/frameworks/native/opengl/specs/ |
H A D | EGL_ANDROID_framebuffer_target.txt | 44 the HWComposer HAL as a framebuffer target layer. 68 framebuffer target layer is 83 which the buffers are to be passed to HWComposer as a framebuffer
|
/aosp12/hardware/qcom/display/msm8909w_3100/libgralloc/ |
H A D | gpu.cpp | 197 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 224 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 228 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked() 243 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 352 unsigned int index = (unsigned int) ((hnd->base - m->framebuffer->base) in free_impl()
|
H A D | framebuffer.cpp | 87 m->framebuffer->base); in fb_post() 117 if (module->framebuffer) { in mapFrameBufferLocked() 357 module->framebuffer = new private_handle_t(fd, fbSize, in mapFrameBufferLocked() 361 module->framebuffer->base = uint64_t(vaddr); in mapFrameBufferLocked()
|
/aosp12/hardware/qcom/display/msm8994/libgralloc/ |
H A D | gpu.cpp | 218 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 245 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 249 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked() 264 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 359 unsigned int index = (unsigned int) ((hnd->base - m->framebuffer->base) in free_impl()
|
H A D | framebuffer.cpp | 95 m->framebuffer->base); in fb_post() 123 if (module->framebuffer) { in mapFrameBufferLocked() 363 module->framebuffer = new private_handle_t(fd, fbSize, in mapFrameBufferLocked() 367 module->framebuffer->base = uint64_t(vaddr); in mapFrameBufferLocked()
|
/aosp12/hardware/qcom/display/msm8996/libgralloc/ |
H A D | gpu.cpp | 199 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 226 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 230 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked() 245 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 354 unsigned int index = (unsigned int) ((hnd->base - m->framebuffer->base) in free_impl()
|
H A D | framebuffer.cpp | 82 m->framebuffer->base); in fb_post() 110 if (module->framebuffer) { in mapFrameBufferLocked() 350 module->framebuffer = new private_handle_t(fd, fbSize, in mapFrameBufferLocked() 354 module->framebuffer->base = uint64_t(vaddr); in mapFrameBufferLocked()
|
/aosp12/hardware/qcom/display/msm8909/libgralloc/ |
H A D | gpu.cpp | 197 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 224 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 228 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked() 243 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 352 unsigned int index = (unsigned int) ((hnd->base - m->framebuffer->base) in free_impl()
|
H A D | framebuffer.cpp | 87 m->framebuffer->base); in fb_post() 117 if (module->framebuffer) { in mapFrameBufferLocked() 357 module->framebuffer = new private_handle_t(fd, fbSize, in mapFrameBufferLocked() 361 module->framebuffer->base = uint64_t(vaddr); in mapFrameBufferLocked()
|
/aosp12/packages/modules/adb/ |
H A D | SERVICES.TXT | 198 framebuffer: 199 This service is used to send snapshots of the framebuffer to a client. 205 depth: uint32_t: framebuffer depth 206 size: uint32_t: framebuffer size in bytes 207 width: uint32_t: framebuffer width in pixels 208 height: uint32_t: framebuffer height in pixels 215 to send it 'size' bytes of framebuffer data. 218 the framebuffer device, the connection is simply closed immediately.
|
/aosp12/frameworks/rs/driver/ |
H A D | rsdFrameBufferObj.cpp | 126 bool framebuffer = renderToFramebuffer(); in setActive() local 135 if (!framebuffer) { in setActive()
|