/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_framebuffer.c | 58 update_framebuffer_size(struct pipe_framebuffer_state *framebuffer, in update_framebuffer_size() argument 64 framebuffer->width = MIN2(framebuffer->width, surface->width); in update_framebuffer_size() 65 framebuffer->height = MIN2(framebuffer->height, surface->height); in update_framebuffer_size() 110 struct pipe_framebuffer_state *framebuffer = &st->state.framebuffer; in update_framebuffer_state() local 131 framebuffer->width = _mesa_geometric_width(fb); in update_framebuffer_state() 132 framebuffer->height = _mesa_geometric_height(fb); in update_framebuffer_state() 133 framebuffer->samples = _mesa_geometric_samples(fb); in update_framebuffer_state() 134 framebuffer->layers = _mesa_geometric_layers(fb); in update_framebuffer_state() 139 framebuffer->nr_cbufs = fb->_NumColorDrawBuffers; in update_framebuffer_state() 142 pipe_surface_reference(&framebuffer->cbufs[i], NULL); in update_framebuffer_state() [all …]
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_surface.c | 60 if (sp->framebuffer.cbufs[i] != cb) { in softpipe_set_framebuffer_state() 65 pipe_surface_reference(&sp->framebuffer.cbufs[i], cb); in softpipe_set_framebuffer_state() 72 sp->framebuffer.nr_cbufs = fb->nr_cbufs; in softpipe_set_framebuffer_state() 75 if (sp->framebuffer.zsbuf != fb->zsbuf) { in softpipe_set_framebuffer_state() 80 pipe_surface_reference(&sp->framebuffer.zsbuf, fb->zsbuf); in softpipe_set_framebuffer_state() 91 (sp->framebuffer.zsbuf) ? in softpipe_set_framebuffer_state() 92 sp->framebuffer.zsbuf->format : PIPE_FORMAT_NONE); in softpipe_set_framebuffer_state() 95 sp->framebuffer.width = fb->width; in softpipe_set_framebuffer_state() 96 sp->framebuffer.height = fb->height; in softpipe_set_framebuffer_state() 97 sp->framebuffer.samples = fb->samples; in softpipe_set_framebuffer_state() [all …]
|
/external/autotest/client/cros/graphics/ |
D | gbm.py | 197 framebuffer = crtc.fb() 203 framebuffer.getFD(), framebuffer.width, 204 framebuffer.height, framebuffer.pitch, 206 map_void_p, stride_bytes = bo.map(0, 0, framebuffer.width, 207 framebuffer.height, 209 map_bytes = stride_bytes.value * framebuffer.height 227 'RGB', (framebuffer.width, framebuffer.height), buffer_bytes, 255 framebuffer = crtc.fb() 257 framebuffer.getFD(), framebuffer.width, 258 framebuffer.height, framebuffer.pitch,
|
/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() 70 if (lp->framebuffer.zsbuf && lp->framebuffer.zsbuf->context != pipe) { in llvmpipe_set_framebuffer_state() 75 if (lp->framebuffer.cbufs[i] && in llvmpipe_set_framebuffer_state() 76 lp->framebuffer.cbufs[i]->context != pipe) { in llvmpipe_set_framebuffer_state() 82 util_copy_framebuffer_state(&lp->framebuffer, fb); in llvmpipe_set_framebuffer_state() 85 pipe_surface_reference(&lp->framebuffer.zsbuf, NULL); in llvmpipe_set_framebuffer_state() 100 lp_setup_bind_framebuffer( lp->setup, &lp->framebuffer ); in llvmpipe_set_framebuffer_state()
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_emit.c | 316 … (ctx->framebuffer.GL_MULTI_SAMPLE_CONFIG & VIVS_GL_MULTI_SAMPLE_CONFIG_MSAA_SAMPLES__MASK)) { in etna_emit_state() 368 val |= ctx->framebuffer.GL_MULTI_SAMPLE_CONFIG; in etna_emit_state() 467 MAX2(ctx->framebuffer.SE_SCISSOR_LEFT, ctx->viewport.SE_SCISSOR_LEFT); in etna_emit_state() 469 MAX2(ctx->framebuffer.SE_SCISSOR_TOP, ctx->viewport.SE_SCISSOR_TOP); in etna_emit_state() 471 MIN2(ctx->framebuffer.SE_SCISSOR_RIGHT, ctx->viewport.SE_SCISSOR_RIGHT); in etna_emit_state() 473 MIN2(ctx->framebuffer.SE_SCISSOR_BOTTOM, ctx->viewport.SE_SCISSOR_BOTTOM); in etna_emit_state() 499 MIN2(ctx->framebuffer.SE_CLIP_RIGHT, ctx->viewport.SE_CLIP_RIGHT); in etna_emit_state() 501 MIN2(ctx->framebuffer.SE_CLIP_BOTTOM, ctx->viewport.SE_CLIP_BOTTOM); in etna_emit_state() 515 /*00E04*/ EMIT_STATE(RA_MULTISAMPLE_UNK00E04, ctx->framebuffer.RA_MULTISAMPLE_UNK00E04); in etna_emit_state() 517 … /*00E10*/ EMIT_STATE(RA_MULTISAMPLE_UNK00E10(x), ctx->framebuffer.RA_MULTISAMPLE_UNK00E10[x]); in etna_emit_state() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | fbobject.h | 197 _mesa_IsFramebuffer(GLuint framebuffer); 200 _mesa_BindFramebuffer(GLenum target, GLuint framebuffer); 203 _mesa_BindFramebufferEXT(GLenum target, GLuint framebuffer); 218 _mesa_CheckNamedFramebufferStatus(GLuint framebuffer, GLenum target); 238 _mesa_NamedFramebufferTextureLayer(GLuint framebuffer, GLenum attachment, 246 _mesa_NamedFramebufferTexture(GLuint framebuffer, GLenum attachment, 255 _mesa_NamedFramebufferRenderbuffer(GLuint framebuffer, GLenum attachment, 263 _mesa_GetNamedFramebufferAttachmentParameteriv(GLuint framebuffer, 268 _mesa_NamedFramebufferParameteri(GLuint framebuffer, GLenum pname, 272 _mesa_GetNamedFramebufferParameteriv(GLuint framebuffer, GLenum pname, [all …]
|
D | clear.h | 55 _mesa_ClearNamedFramebufferiv(GLuint framebuffer, GLenum buffer, 62 _mesa_ClearNamedFramebufferuiv(GLuint framebuffer, GLenum buffer, 69 _mesa_ClearNamedFramebufferfv(GLuint framebuffer, GLenum buffer, 77 _mesa_ClearNamedFramebufferfi(GLuint framebuffer, GLenum buffer,
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_clear.c | 61 struct pipe_surface *cbuf = i915->framebuffer.cbufs[0]; in i915_clear_emit() 86 struct pipe_surface *zbuf = i915->framebuffer.zsbuf; in i915_clear_emit() 107 struct pipe_surface *zbuf = i915->framebuffer.zsbuf; in i915_clear_emit() 223 struct pipe_framebuffer_state *framebuffer = in i915_clear_blitter() local 224 &i915_context(pipe)->framebuffer; in i915_clear_blitter() 227 for (i = 0; i < framebuffer->nr_cbufs; i++) { in i915_clear_blitter() 229 struct pipe_surface *ps = framebuffer->cbufs[i]; in i915_clear_blitter() 239 struct pipe_surface *ps = framebuffer->zsbuf; in i915_clear_blitter() 257 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() 199 struct pipe_surface *cbuf_surface = i915->framebuffer.cbufs[0]; in update_dst_buf_vars() 200 struct pipe_surface *depth_surface = i915->framebuffer.zsbuf; in update_dst_buf_vars()
|
/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() 229 pipe_surface_reference(&p->framebuffer.cbufs[0], NULL); in close_prog() 243 cso_set_framebuffer(p->cso, &p->framebuffer); in draw() 269 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 219 memset(&p->framebuffer, 0, sizeof(p->framebuffer)); in init_prog() 220 p->framebuffer.width = WIDTH; in init_prog() 221 p->framebuffer.height = HEIGHT; in init_prog() 222 p->framebuffer.nr_cbufs = 1; in init_prog() 223 p->framebuffer.cbufs[0] = p->pipe->create_surface(p->pipe, p->target, &surf_tmpl); in init_prog() 286 pipe_surface_reference(&p->framebuffer.cbufs[0], NULL); in close_prog() 304 cso_set_framebuffer(p->cso, &p->framebuffer); in draw() 336 debug_dump_surface_bmp(p->pipe, "result.bmp", p->framebuffer.cbufs[0]); in draw()
|
/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/gallium/auxiliary/postprocess/ |
D | pp_mlaa.c | 94 w = p->framebuffer.width; in pp_jimenezmlaa_run() 95 h = p->framebuffer.height; in pp_jimenezmlaa_run() 102 if (dimensions[0] != p->framebuffer.width || in pp_jimenezmlaa_run() 103 dimensions[1] != p->framebuffer.height) { in pp_jimenezmlaa_run() 104 constants[0] = 1.0f / p->framebuffer.width; in pp_jimenezmlaa_run() 105 constants[1] = 1.0f / p->framebuffer.height; in pp_jimenezmlaa_run() 108 dimensions[0] = p->framebuffer.width; in pp_jimenezmlaa_run() 109 dimensions[1] = p->framebuffer.height; in pp_jimenezmlaa_run() 124 p->framebuffer.zsbuf = ppq->stencils; in pp_jimenezmlaa_run() 195 w, h, 0, p->framebuffer.cbufs[0], in pp_jimenezmlaa_run() [all …]
|
D | pp_run.c | 97 if (in->width0 != ppq->p->framebuffer.width || in pp_run() 98 in->height0 != ppq->p->framebuffer.height) { in pp_run() 106 unsigned int w = ppq->p->framebuffer.width; in pp_run() 107 unsigned int h = ppq->p->framebuffer.height; in pp_run() 218 p->framebuffer.cbufs[0] = p->pipe->create_surface(p->pipe, out, &p->surf); in pp_filter_setup_out() 225 pipe_surface_reference(&p->framebuffer.cbufs[0], NULL); in pp_filter_end_pass() 295 cso_set_framebuffer(p->cso, &p->framebuffer); in pp_filter_set_fb() 302 cso_set_framebuffer(p->cso, &p->framebuffer); in pp_filter_set_clear_fb()
|
/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
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Context.cpp | 752 Framebuffer *framebuffer = getReadFramebuffer(); in setFramebufferReadBuffer() local 754 if(framebuffer) in setFramebufferReadBuffer() 756 framebuffer->setReadBuffer(buf); in setFramebufferReadBuffer() 1011 void Context::deleteFramebuffer(GLuint framebuffer) in deleteFramebuffer() argument 1013 detachFramebuffer(framebuffer); in deleteFramebuffer() 1015 Framebuffer *framebufferObject = mFramebufferNameSpace.remove(framebuffer); in deleteFramebuffer() 1183 void Context::bindReadFramebuffer(GLuint framebuffer) in bindReadFramebuffer() argument 1185 if(!getFramebuffer(framebuffer)) in bindReadFramebuffer() 1187 if(framebuffer == 0) in bindReadFramebuffer() 1189 mFramebufferNameSpace.insert(framebuffer, new DefaultFramebuffer()); in bindReadFramebuffer() [all …]
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_draw.c | 113 job->draw_width = vc4->framebuffer.width; in vc4_start_draw() 114 job->draw_height = vc4->framebuffer.height; in vc4_start_draw() 452 if (vc4->zsa && vc4->framebuffer.zsbuf) { in vc4_draw_vbo() 454 vc4_resource(vc4->framebuffer.zsbuf->texture); in vc4_draw_vbo() 509 vc4_resource(vc4->framebuffer.cbufs[0]->texture); in vc4_clear() 512 if (vc4_rt_format_is_565(vc4->framebuffer.cbufs[0]->format)) { in vc4_clear() 523 pack_rgba(vc4->framebuffer.cbufs[0]->format, in vc4_clear() 532 vc4_resource(vc4->framebuffer.zsbuf->texture); in vc4_clear() 542 util_format_is_depth_and_stencil(vc4->framebuffer.zsbuf->format)) { in vc4_clear() 547 vc4->framebuffer.width, in vc4_clear() [all …]
|
/external/skqp/src/gpu/gl/ |
D | GrGLCreateNullInterface.cpp | 300 Framebuffer* framebuffer = fFramebufferManager.create(); in genFramebuffers() local 301 framebuffers[i] = framebuffer->id(); in genFramebuffers() 305 GrGLvoid bindFramebuffer(GrGLenum target, GrGLuint framebuffer) override { in bindFramebuffer() argument 309 fCurrDrawFramebuffer = framebuffer; in bindFramebuffer() 312 fCurrReadFramebuffer = framebuffer; in bindFramebuffer() 326 Framebuffer* framebuffer = fFramebufferManager.lookUp(ids[i]); in deleteFramebuffers() local 327 fFramebufferManager.free(framebuffer); in deleteFramebuffers() 403 Framebuffer* framebuffer = fFramebufferManager.lookUp(id); in framebufferRenderbuffer() local 409 framebuffer->setAttachment(attachment, renderbuffer); in framebufferRenderbuffer() 412 GrGLvoid namedFramebufferRenderbuffer(GrGLuint framebuffer, GrGLenum attachment, in namedFramebufferRenderbuffer() argument [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLCreateNullInterface.cpp | 300 Framebuffer* framebuffer = fFramebufferManager.create(); in genFramebuffers() local 301 framebuffers[i] = framebuffer->id(); in genFramebuffers() 305 GrGLvoid bindFramebuffer(GrGLenum target, GrGLuint framebuffer) override { in bindFramebuffer() argument 309 fCurrDrawFramebuffer = framebuffer; in bindFramebuffer() 312 fCurrReadFramebuffer = framebuffer; in bindFramebuffer() 326 Framebuffer* framebuffer = fFramebufferManager.lookUp(ids[i]); in deleteFramebuffers() local 327 fFramebufferManager.free(framebuffer); in deleteFramebuffers() 403 Framebuffer* framebuffer = fFramebufferManager.lookUp(id); in framebufferRenderbuffer() local 409 framebuffer->setAttachment(attachment, renderbuffer); in framebufferRenderbuffer() 412 GrGLvoid namedFramebufferRenderbuffer(GrGLuint framebuffer, GrGLenum attachment, in namedFramebufferRenderbuffer() argument [all …]
|
/external/swiftshader/src/Main/ |
D | FrameBufferAndroid.cpp | 70 if(framebuffer) in blit() 72 framebuffer = nullptr; in blit() 89 0, 0, buffer->width, buffer->height, &framebuffer) != 0) in lock() 123 return framebuffer; in lock() 134 framebuffer = nullptr; in unlock()
|
/external/deqp/external/openglcts/docs/specs/ |
D | CTS_ARB_post_depth_coverage.txt | 55 Prepare multisample framebuffer with integer color and depth attachments 58 Prepare framebuffer with integer color attachment 1x(number of samples) 71 Use multisample framebuffer. 88 Use second framebuffer. 95 Copy data from the multisample framebuffer to the second framebuffer 97 from the second framebuffer using ReadPixels. Expect that for all
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Context.cpp | 868 return mState.framebuffer; in getFramebufferName() 974 void Context::deleteFramebuffer(GLuint framebuffer) in deleteFramebuffer() argument 976 detachFramebuffer(framebuffer); in deleteFramebuffer() 978 Framebuffer *framebufferObject = mFramebufferNameSpace.remove(framebuffer); in deleteFramebuffer() 1003 return getFramebuffer(mState.framebuffer); in getFramebuffer() 1027 void Context::bindFramebuffer(GLuint framebuffer) in bindFramebuffer() argument 1029 if(!getFramebuffer(framebuffer)) in bindFramebuffer() 1031 mFramebufferNameSpace.insert(framebuffer, new Framebuffer()); in bindFramebuffer() 1034 mState.framebuffer = framebuffer; in bindFramebuffer() 1217 case GL_FRAMEBUFFER_BINDING_OES: *params = mState.framebuffer; break; in getIntegerv() [all …]
|
/external/mesa3d/src/glx/ |
D | dri_glx.c | 339 __DRIframebuffer framebuffer; in CallCreateNewScreen() local 357 framebuffer.base = MAP_FAILED; in CallCreateNewScreen() 358 framebuffer.dev_priv = NULL; in CallCreateNewScreen() 359 framebuffer.size = 0; in CallCreateNewScreen() 418 &framebuffer.size, &framebuffer.stride, in CallCreateNewScreen() 419 &framebuffer.dev_priv_size, in CallCreateNewScreen() 420 &framebuffer.dev_priv)) { in CallCreateNewScreen() 425 framebuffer.width = DisplayWidth(dpy, scrn); in CallCreateNewScreen() 426 framebuffer.height = DisplayHeight(dpy, scrn); in CallCreateNewScreen() 429 status = drmMap(fd, hFB, framebuffer.size, in CallCreateNewScreen() [all …]
|