/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/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()
|
D | sp_context.c | 64 for (i = 0; i < sp->framebuffer.nr_cbufs; i++) { in softpipe_map_transfers() 80 for (i = 0; i < sp->framebuffer.nr_cbufs; i++) { in softpipe_unmap_transfers() 119 pipe_surface_reference(&softpipe->framebuffer.cbufs[i], NULL); in softpipe_destroy() 123 pipe_surface_reference(&softpipe->framebuffer.zsbuf, NULL); in softpipe_destroy() 171 for (i = 0; i < softpipe->framebuffer.nr_cbufs; i++) { in softpipe_is_resource_referenced() 172 if (softpipe->framebuffer.cbufs[i] && in softpipe_is_resource_referenced() 173 softpipe->framebuffer.cbufs[i]->texture == texture) { in softpipe_is_resource_referenced() 177 if (softpipe->framebuffer.zsbuf && in softpipe_is_resource_referenced() 178 softpipe->framebuffer.zsbuf->texture == texture) { in softpipe_is_resource_referenced()
|
/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/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
|
D | functional.rasterizer_discard.txt | 31 - Discard test for default framebuffer 32 - Discard test for default framebuffer with scissor test enabled 33 - Discard test for a framebuffer object 45 Finally, framebuffer pixels are read. If red color is present or blue 49 This procedure is performed for both the default framebuffer and an FBO 51 framebuffer discards are tested with scissor test enabled.
|
D | functional.fbo.srgb.txt | 19 sRGB framebuffer tests 25 + sRGB conversion when writing to framebuffer 26 + Blending with sRGB framebuffer 30 + All blend modes when rendering to sRGB framebuffer
|
D | functional.fbo.completeness.txt | 44 These tests check that the implementation reports framebuffer completeness 45 status correctly. Most test cases create a single framebuffer object, create 69 renderbuffers with suitable formats to none, some or all of the framebuffer's 88 The "size.zero" test case creates a framebuffer object with a single 93 The "size.distinct" test case creates a framebuffer object with two 99 array textures or 3D textures) and attach them to framebuffer objects with 100 glFramebufferTextureLayer. The framebuffer status is expected to be 106 numbers of samples. The framebuffer status is expected to be 112 requested, a framebuffer object whose attachments have requested a
|
/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()
|
D | quad-tex.c | 75 struct pipe_framebuffer_state framebuffer; member 223 memset(&p->framebuffer, 0, sizeof(p->framebuffer)); in init_prog() 224 p->framebuffer.width = WIDTH; in init_prog() 225 p->framebuffer.height = HEIGHT; in init_prog() 226 p->framebuffer.nr_cbufs = 1; in init_prog() 227 p->framebuffer.cbufs[0] = p->pipe->create_surface(p->pipe, p->target, &surf_tmpl); in init_prog() 293 pipe_surface_reference(&p->framebuffer.cbufs[0], NULL); in close_prog() 310 cso_set_framebuffer(p->cso, &p->framebuffer); in draw() 343 debug_dump_surface_bmp(p->pipe, "result.bmp", p->framebuffer.cbufs[0]); in draw()
|
/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/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/deqp/modules/gles31/functional/ |
D | es31fFboNoAttachmentTests.cpp | 67 bool checkFramebufferSize (TestLog& log, const glu::RenderContext& renderCtx, GLuint framebuffer, c… in checkFramebufferSize() argument 101 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer); in checkFramebufferSize() 174 …rRenderable (TestLog& log, const glu::RenderContext& renderCtx, GLuint framebuffer, const IVec2& s… in checkFramebufferRenderable() argument 203 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer); in checkFramebufferRenderable() 292 GLuint framebuffer = 0; in iterate() local 294 gl.genFramebuffers(1, &framebuffer); in iterate() 295 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer); in iterate() 308 gl.deleteFramebuffers(1, &framebuffer); in iterate() 364 GLuint framebuffer = 0; in iterate() local 369 gl.genFramebuffers(1, &framebuffer); in iterate() [all …]
|
/external/mesa3d/src/glx/ |
D | dri_glx.c | 328 __DRIframebuffer framebuffer; in CallCreateNewScreen() local 346 framebuffer.base = MAP_FAILED; in CallCreateNewScreen() 347 framebuffer.dev_priv = NULL; in CallCreateNewScreen() 348 framebuffer.size = 0; in CallCreateNewScreen() 407 &framebuffer.size, &framebuffer.stride, in CallCreateNewScreen() 408 &framebuffer.dev_priv_size, in CallCreateNewScreen() 409 &framebuffer.dev_priv)) { in CallCreateNewScreen() 414 framebuffer.width = DisplayWidth(dpy, scrn); in CallCreateNewScreen() 415 framebuffer.height = DisplayHeight(dpy, scrn); in CallCreateNewScreen() 418 status = drmMap(fd, hFB, framebuffer.size, in CallCreateNewScreen() [all …]
|
/external/skia/src/gpu/vk/ |
D | GrVkFramebuffer.h | 30 VkFramebuffer framebuffer() const { return fFramebuffer; } in framebuffer() function 33 GrVkFramebuffer(VkFramebuffer framebuffer) : INHERITED(), fFramebuffer(framebuffer) {} in GrVkFramebuffer() argument
|
D | GrVkFramebuffer.cpp | 46 VkFramebuffer framebuffer; in Create() local 50 &framebuffer)); in Create() 55 return new GrVkFramebuffer(framebuffer); in Create()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_clear.c | 62 struct pipe_surface *cbuf = i915->framebuffer.cbufs[0]; in i915_clear_emit() 87 struct pipe_surface *zbuf = i915->framebuffer.zsbuf; in i915_clear_emit() 108 struct pipe_surface *zbuf = i915->framebuffer.zsbuf; in i915_clear_emit() 224 util_clear(pipe, &i915_context(pipe)->framebuffer, buffers, color, depth, in i915_clear_blitter() 239 0, 0, i915->framebuffer.width, i915->framebuffer.height); in i915_clear_render()
|
D | i915_state_static.c | 97 struct pipe_surface *cbuf_surface = i915->framebuffer.cbufs[0]; in update_framebuffer() 98 struct pipe_surface *depth_surface = i915->framebuffer.zsbuf; in update_framebuffer() 142 draw_size = (i915->framebuffer.width - 1 + x) | in update_framebuffer() 143 ((i915->framebuffer.height - 1 + y) << 16); in update_framebuffer() 200 struct pipe_surface *cbuf_surface = i915->framebuffer.cbufs[0]; in update_dst_buf_vars() 201 struct pipe_surface *depth_surface = i915->framebuffer.zsbuf; in update_dst_buf_vars()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_misc.c | 53 struct pipe_framebuffer_state *curr = &svga->curr.framebuffer; in svga_cleanup_framebuffer() 54 struct pipe_framebuffer_state *hw = &svga->state.hw_clear.framebuffer; in svga_cleanup_framebuffer() 76 struct pipe_framebuffer_state *dst = &svga->curr.framebuffer; in svga_set_framebuffer_state() 117 if (svga->curr.framebuffer.zsbuf) in svga_set_framebuffer_state() 119 switch (svga->curr.framebuffer.zsbuf->format) { in svga_set_framebuffer_state()
|
D | svga_context.c | 167 memset(&svga->state.hw_clear.framebuffer, 0x0, in svga_context_create() 168 sizeof(svga->state.hw_clear.framebuffer)); in svga_context_create() 288 if (svga->curr.framebuffer.cbufs[i]) in svga_surfaces_flush() 289 svga_propagate_surface(svga, svga->curr.framebuffer.cbufs[i]); in svga_surfaces_flush() 292 if (svga->curr.framebuffer.zsbuf) in svga_surfaces_flush() 293 svga_propagate_surface(svga, svga->curr.framebuffer.zsbuf); in svga_surfaces_flush()
|
/external/deqp/doc/testspecs/GLES31/ |
D | functional.texture_buffers.txt | 50 framebuffer using the texture buffer as different data sources. The texture 56 default framebuffer using it as fragment texture. 59 to the default framebuffer. 62 framebuffer, modify it and render it again to default framebuffer as fragment
|
/external/deqp/doc/testspecs/GL3/ |
D | functional.texture_buffers.txt | 47 framebuffer using the texture buffer as different data sources. The texture 53 default framebuffer using it as fragment texture. 56 to the default framebuffer. 59 framebuffer, modify it and render it again to default framebuffer as fragment
|
/external/drm_hwcomposer/ |
D | glworker.h | 46 size_t num_regions, const sp<GraphicBuffer> &framebuffer); 67 const sp<GraphicBuffer> &framebuffer); 69 const sp<GraphicBuffer> &framebuffer);
|