/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
D | st_atom_framebuffer.c | 102 struct pipe_framebuffer_state *framebuffer = &st->state.framebuffer; in update_framebuffer_state() local 110 framebuffer->width = fb->Width; in update_framebuffer_state() 111 framebuffer->height = fb->Height; in update_framebuffer_state() 118 framebuffer->nr_cbufs = 0; in update_framebuffer_state() 131 pipe_surface_reference(&framebuffer->cbufs[framebuffer->nr_cbufs], in update_framebuffer_state() 133 framebuffer->nr_cbufs++; in update_framebuffer_state() 138 for (i = framebuffer->nr_cbufs; i < PIPE_MAX_COLOR_BUFS; i++) { in update_framebuffer_state() 139 pipe_surface_reference(&framebuffer->cbufs[i], NULL); in update_framebuffer_state() 151 pipe_surface_reference(&framebuffer->zsbuf, strb->surface); in update_framebuffer_state() 157 pipe_surface_reference(&framebuffer->zsbuf, strb->surface); in update_framebuffer_state() [all …]
|
D | st_atom_msaa.c | 42 struct pipe_framebuffer_state *framebuffer = &st->state.framebuffer; in update_sample_mask() local 45 if (framebuffer->zsbuf) in update_sample_mask() 46 sample_count = framebuffer->zsbuf->texture->nr_samples; in update_sample_mask() 47 else if (framebuffer->cbufs[0]) in update_sample_mask() 48 sample_count = framebuffer->cbufs[0]->texture->nr_samples; in update_sample_mask()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_framebuffer.c | 102 struct pipe_framebuffer_state *framebuffer = &st->state.framebuffer; in update_framebuffer_state() local 110 framebuffer->width = fb->Width; in update_framebuffer_state() 111 framebuffer->height = fb->Height; in update_framebuffer_state() 118 framebuffer->nr_cbufs = 0; in update_framebuffer_state() 131 pipe_surface_reference(&framebuffer->cbufs[framebuffer->nr_cbufs], in update_framebuffer_state() 133 framebuffer->nr_cbufs++; in update_framebuffer_state() 138 for (i = framebuffer->nr_cbufs; i < PIPE_MAX_COLOR_BUFS; i++) { in update_framebuffer_state() 139 pipe_surface_reference(&framebuffer->cbufs[i], NULL); in update_framebuffer_state() 151 pipe_surface_reference(&framebuffer->zsbuf, strb->surface); in update_framebuffer_state() 157 pipe_surface_reference(&framebuffer->zsbuf, strb->surface); in update_framebuffer_state() [all …]
|
D | st_atom_msaa.c | 42 struct pipe_framebuffer_state *framebuffer = &st->state.framebuffer; in update_sample_mask() local 45 if (framebuffer->zsbuf) in update_sample_mask() 46 sample_count = framebuffer->zsbuf->texture->nr_samples; in update_sample_mask() 47 else if (framebuffer->cbufs[0]) in update_sample_mask() 48 sample_count = framebuffer->cbufs[0]->texture->nr_samples; in update_sample_mask()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
D | sp_state_surface.c | 58 if (sp->framebuffer.cbufs[i] != fb->cbufs[i]) { in softpipe_set_framebuffer_state() 63 pipe_surface_reference(&sp->framebuffer.cbufs[i], fb->cbufs[i]); in softpipe_set_framebuffer_state() 70 sp->framebuffer.nr_cbufs = fb->nr_cbufs; in softpipe_set_framebuffer_state() 73 if (sp->framebuffer.zsbuf != fb->zsbuf) { in softpipe_set_framebuffer_state() 78 pipe_surface_reference(&sp->framebuffer.zsbuf, fb->zsbuf); in softpipe_set_framebuffer_state() 84 if (sp->framebuffer.zsbuf) { in softpipe_set_framebuffer_state() 87 depth_bits = util_format_get_component_bits(sp->framebuffer.zsbuf->format, in softpipe_set_framebuffer_state() 100 sp->framebuffer.width = fb->width; in softpipe_set_framebuffer_state() 101 sp->framebuffer.height = fb->height; in softpipe_set_framebuffer_state()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_surface.c | 58 if (sp->framebuffer.cbufs[i] != fb->cbufs[i]) { in softpipe_set_framebuffer_state() 63 pipe_surface_reference(&sp->framebuffer.cbufs[i], fb->cbufs[i]); in softpipe_set_framebuffer_state() 70 sp->framebuffer.nr_cbufs = fb->nr_cbufs; in softpipe_set_framebuffer_state() 73 if (sp->framebuffer.zsbuf != fb->zsbuf) { in softpipe_set_framebuffer_state() 78 pipe_surface_reference(&sp->framebuffer.zsbuf, fb->zsbuf); in softpipe_set_framebuffer_state() 84 if (sp->framebuffer.zsbuf) { in softpipe_set_framebuffer_state() 87 depth_bits = util_format_get_component_bits(sp->framebuffer.zsbuf->format, in softpipe_set_framebuffer_state() 100 sp->framebuffer.width = fb->width; in softpipe_set_framebuffer_state() 101 sp->framebuffer.height = fb->height; in softpipe_set_framebuffer_state()
|
/external/chromium_org/third_party/angle/extensions/ |
D | ANGLE_framebuffer_blit.txt | 44 This extension modifies framebuffer objects by splitting the 45 framebuffer object binding point into separate DRAW and READ 46 bindings. This allows copying directly from one framebuffer to 86 to READ_FRAMEBUFFER_BINDING_ANGLE is not "framebuffer complete" 97 framebuffer is the destination for rendering operations, and the 98 read framebuffer is the source for readback operations. The same 99 framebuffer may be used for both drawing and reading. Section 100 4.4.1 describes the mechanism for controlling framebuffer usage." 104 "While an application-created framebuffer object is bound to 111 the object bound to READ_FRAMEBUFFER_BINDING_ANGLE is not "framebuffer [all …]
|
D | ANGLE_framebuffer_multisample.txt | 46 This extension extends the framebuffer object framework to 56 All of the framebuffer-attachable images attached to a framebuffer 57 object must have the same number of SAMPLES or else the framebuffer 58 object is not "framebuffer complete". If a framebuffer object with 59 multisample attachments is "framebuffer complete", then the 60 framebuffer object behaves as if SAMPLE_BUFFERS is one. 65 framebuffer object and the destination is a single-sample 66 framebuffer object (either application-created or window-system 104 READ_FRAMEBUFFER_BINDING_ANGLE is "framebuffer complete" and the value 114 (section 4.4) is non-zero, the read framebuffer is framebuffer [all …]
|
D | EXT_draw_buffers.txt | 52 This extension increases the number of available framebuffer object 123 window system-provided framebuffer. Pixel sample values, including 126 window system-provided framebuffer includes a multisample buffer, it 139 section 2.1.2 for framebuffer color components. 159 "The name of the color buffer of an application-created framebuffer 165 "A framebuffer object has an array of color buffer attachment points, 180 framebuffer object, and the buffers they indicate. <i> in 203 in <bufs> depend on whether the GL is using the default framebuffer 204 (i.e., DRAW_FRAMEBUFFER_BINDING is zero), or a framebuffer object 206 about framebuffer objects, see section 4.4. [all …]
|
/external/chromium_org/ui/ozone/platform/dri/ |
D | dri_wrapper.cc | 85 uint32_t framebuffer, in SetCrtc() argument 100 framebuffer, in SetCrtc() 146 uint32_t* framebuffer) { in AddFramebuffer() argument 157 framebuffer); in AddFramebuffer() 160 bool DriWrapper::RemoveFramebuffer(uint32_t framebuffer) { in RemoveFramebuffer() argument 163 "framebuffer", framebuffer); in RemoveFramebuffer() 164 return !drmModeRmFB(fd_, framebuffer); in RemoveFramebuffer() 168 uint32_t framebuffer, in PageFlip() argument 173 "framebuffer", framebuffer); in PageFlip() 176 framebuffer, in PageFlip() [all …]
|
D | dri_wrapper.h | 46 uint32_t framebuffer, 68 uint32_t* framebuffer); 71 virtual bool RemoveFramebuffer(uint32_t framebuffer); 74 virtual ScopedDrmFramebufferPtr GetFramebuffer(uint32_t framebuffer); 81 virtual bool PageFlip(uint32_t crtc_id, uint32_t framebuffer, void* data); 87 uint32_t framebuffer,
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_surface.c | 54 boolean changed = !util_framebuffer_state_equal(&lp->framebuffer, fb); in llvmpipe_set_framebuffer_state() 61 util_copy_framebuffer_state(&lp->framebuffer, fb); in llvmpipe_set_framebuffer_state() 64 pipe_surface_reference(&lp->framebuffer.zsbuf, NULL); in llvmpipe_set_framebuffer_state() 68 if (lp->framebuffer.zsbuf) { in llvmpipe_set_framebuffer_state() 71 depth_bits = util_format_get_component_bits(lp->framebuffer.zsbuf->format, in llvmpipe_set_framebuffer_state() 84 lp_setup_bind_framebuffer( lp->setup, &lp->framebuffer ); in llvmpipe_set_framebuffer_state()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
D | lp_state_surface.c | 54 boolean changed = !util_framebuffer_state_equal(&lp->framebuffer, fb); in llvmpipe_set_framebuffer_state() 61 util_copy_framebuffer_state(&lp->framebuffer, fb); in llvmpipe_set_framebuffer_state() 64 pipe_surface_reference(&lp->framebuffer.zsbuf, NULL); in llvmpipe_set_framebuffer_state() 68 if (lp->framebuffer.zsbuf) { in llvmpipe_set_framebuffer_state() 71 depth_bits = util_format_get_component_bits(lp->framebuffer.zsbuf->format, in llvmpipe_set_framebuffer_state() 84 lp_setup_bind_framebuffer( lp->setup, &lp->framebuffer ); in llvmpipe_set_framebuffer_state()
|
/external/chromium_org/ui/ozone/platform/dri/test/ |
D | mock_dri_wrapper.cc | 50 uint32_t framebuffer, in SetCrtc() argument 53 current_framebuffer_ = framebuffer; in SetCrtc() 74 uint32_t* framebuffer) { in AddFramebuffer() argument 76 *framebuffer = add_framebuffer_call_count_; in AddFramebuffer() 80 bool MockDriWrapper::RemoveFramebuffer(uint32_t framebuffer) { in RemoveFramebuffer() argument 86 uint32_t framebuffer, in PageFlip() argument 89 current_framebuffer_ = framebuffer; in PageFlip() 95 uint32_t framebuffer, in PageFlipOverlay() argument
|
/external/deqp/doc/testspecs/GLES3/ |
D | functional.fbo.invalidate.txt | 25 + Invalidating whole and sub-framebuffer 27 + Default framebuffer and framebuffer objects 29 + Rendering to framebuffer after invalidate 31 + Invalidating multisample framebuffer objects 39 Test cases exercise framebuffer invalidate API in various ways. Results are
|
/external/mesa3d/src/gallium/tests/trivial/ |
D | tri.c | 72 struct pipe_framebuffer_state framebuffer; member 164 memset(&p->framebuffer, 0, sizeof(p->framebuffer)); in init_prog() 165 p->framebuffer.width = WIDTH; in init_prog() 166 p->framebuffer.height = HEIGHT; in init_prog() 167 p->framebuffer.nr_cbufs = 1; in init_prog() 168 p->framebuffer.cbufs[0] = p->pipe->create_surface(p->pipe, p->target, &surf_tmpl); in init_prog() 231 pipe_surface_reference(&p->framebuffer.cbufs[0], NULL); in close_prog() 246 cso_set_framebuffer(p->cso, &p->framebuffer); in draw() 272 debug_dump_surface_bmp(p->pipe, "result.bmp", p->framebuffer.cbufs[0]); in draw()
|
/external/chromium_org/third_party/mesa/src/src/gallium/tests/trivial/ |
D | tri.c | 72 struct pipe_framebuffer_state framebuffer; member 164 memset(&p->framebuffer, 0, sizeof(p->framebuffer)); in init_prog() 165 p->framebuffer.width = WIDTH; in init_prog() 166 p->framebuffer.height = HEIGHT; in init_prog() 167 p->framebuffer.nr_cbufs = 1; in init_prog() 168 p->framebuffer.cbufs[0] = p->pipe->create_surface(p->pipe, p->target, &surf_tmpl); in init_prog() 231 pipe_surface_reference(&p->framebuffer.cbufs[0], NULL); in close_prog() 246 cso_set_framebuffer(p->cso, &p->framebuffer); in draw() 272 debug_dump_surface_bmp(p->pipe, "result.bmp", p->framebuffer.cbufs[0]); in draw()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_clear.h | 42 struct pipe_framebuffer_state *framebuffer, unsigned buffers, in util_clear() argument 47 for (i = 0; i < framebuffer->nr_cbufs; i++) { in util_clear() 48 struct pipe_surface *ps = framebuffer->cbufs[i]; in util_clear() 54 struct pipe_surface *ps = framebuffer->zsbuf; in util_clear()
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
D | u_clear.h | 42 struct pipe_framebuffer_state *framebuffer, unsigned buffers, in util_clear() argument 47 for (i = 0; i < framebuffer->nr_cbufs; i++) { in util_clear() 48 struct pipe_surface *ps = framebuffer->cbufs[i]; in util_clear() 54 struct pipe_surface *ps = framebuffer->zsbuf; in util_clear()
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/postprocess/ |
D | pp_run.c | 48 if (in->width0 != ppq->p->framebuffer.width || in pp_run() 49 in->height0 != ppq->p->framebuffer.height) { in pp_run() 57 unsigned int w = ppq->p->framebuffer.width; in pp_run() 58 unsigned int h = ppq->p->framebuffer.height; in pp_run() 128 p->framebuffer.cbufs[0] = p->pipe->create_surface(p->pipe, out, &p->surf); in pp_filter_setup_out() 135 pipe_surface_reference(&p->framebuffer.cbufs[0], NULL); in pp_filter_end_pass() 190 cso_set_framebuffer(p->cso, &p->framebuffer); in pp_filter_set_fb() 197 cso_set_framebuffer(p->cso, &p->framebuffer); in pp_filter_set_clear_fb()
|
D | pp_mlaa.c | 84 unsigned int w = p->framebuffer.width; in pp_jimenezmlaa_run() 85 unsigned int h = p->framebuffer.height; in pp_jimenezmlaa_run() 92 if (dimensions[0] != p->framebuffer.width || in pp_jimenezmlaa_run() 93 dimensions[1] != p->framebuffer.height) { in pp_jimenezmlaa_run() 94 constants[0] = 1.0 / p->framebuffer.width; in pp_jimenezmlaa_run() 95 constants[1] = 1.0 / p->framebuffer.height; in pp_jimenezmlaa_run() 98 dimensions[0] = p->framebuffer.width; in pp_jimenezmlaa_run() 99 dimensions[1] = p->framebuffer.height; in pp_jimenezmlaa_run() 112 p->framebuffer.zsbuf = ppq->stencils; in pp_jimenezmlaa_run() 180 w, h, 0, p->framebuffer.cbufs[0], in pp_jimenezmlaa_run() [all …]
|
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
D | pp_run.c | 48 if (in->width0 != ppq->p->framebuffer.width || in pp_run() 49 in->height0 != ppq->p->framebuffer.height) { in pp_run() 57 unsigned int w = ppq->p->framebuffer.width; in pp_run() 58 unsigned int h = ppq->p->framebuffer.height; in pp_run() 128 p->framebuffer.cbufs[0] = p->pipe->create_surface(p->pipe, out, &p->surf); in pp_filter_setup_out() 135 pipe_surface_reference(&p->framebuffer.cbufs[0], NULL); in pp_filter_end_pass() 190 cso_set_framebuffer(p->cso, &p->framebuffer); in pp_filter_set_fb() 197 cso_set_framebuffer(p->cso, &p->framebuffer); in pp_filter_set_clear_fb()
|
D | pp_mlaa.c | 84 unsigned int w = p->framebuffer.width; in pp_jimenezmlaa_run() 85 unsigned int h = p->framebuffer.height; in pp_jimenezmlaa_run() 92 if (dimensions[0] != p->framebuffer.width || in pp_jimenezmlaa_run() 93 dimensions[1] != p->framebuffer.height) { in pp_jimenezmlaa_run() 94 constants[0] = 1.0 / p->framebuffer.width; in pp_jimenezmlaa_run() 95 constants[1] = 1.0 / p->framebuffer.height; in pp_jimenezmlaa_run() 98 dimensions[0] = p->framebuffer.width; in pp_jimenezmlaa_run() 99 dimensions[1] = p->framebuffer.height; in pp_jimenezmlaa_run() 112 p->framebuffer.zsbuf = ppq->stencils; in pp_jimenezmlaa_run() 180 w, h, 0, p->framebuffer.cbufs[0], in pp_jimenezmlaa_run() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fFboNoAttachmentTests.cpp | 66 bool checkFramebufferSize (TestLog& log, const glu::RenderContext& renderCtx, GLuint framebuffer, c… in checkFramebufferSize() argument 100 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer); in checkFramebufferSize() 173 …rRenderable (TestLog& log, const glu::RenderContext& renderCtx, GLuint framebuffer, const IVec2& s… in checkFramebufferRenderable() argument 202 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer); in checkFramebufferRenderable() 291 GLuint framebuffer = 0; in iterate() local 293 gl.genFramebuffers(1, &framebuffer); in iterate() 294 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer); in iterate() 307 gl.deleteFramebuffers(1, &framebuffer); in iterate() 363 GLuint framebuffer = 0; in iterate() local 368 gl.genFramebuffers(1, &framebuffer); in iterate() [all …]
|
/external/qemu/docs/ |
D | ANDROID-FRAMEBUFFER.TXT | 4 This document tries to explain how framebuffer emulation works in the 13 - let the kernel query the framebuffer's dimensions (both in pixels 16 - let the kernel control the physical base address for the framebuffer 28 checking the dirty bits of the framebuffer physical pages, in order to 33 2 - Framebuffer abstract interface (framebuffer.h): 36 The Android-specific header 'framebuffer.h' is used to provide a generic 37 interface between framebuffer 'producers' and 'clients'. Essentially, each 77 any animation in the emulated framebuffer will be displayed at the same 89 framebuffer client that uses the "generic" skin code under android/skin
|