/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_state_validate.c | 10 struct pipe_framebuffer_state *fb = &nvc0->framebuffer; local 11 struct nv50_surface *sf = nv50_surface(fb->zsbuf); 22 height = align(fb->height, 32); 23 width = fb->width % 224; 25 width = fb->width + (224 - width); 27 width = fb->width; 59 struct pipe_framebuffer_state *fb = &nvc0->framebuffer; local 67 PUSH_DATA (push, (076543210 << 4) | fb->nr_cbufs); 69 PUSH_DATA (push, fb->width << 16); 70 PUSH_DATA (push, fb->height << 16) [all...] |
/external/mesa3d/src/gallium/drivers/r300/ |
r300_blit.c | 123 struct pipe_framebuffer_state *fb = local 127 if (clear_buffers != PIPE_CLEAR_COLOR || fb->nr_cbufs != 1) 130 return r300_surface(fb->cbufs[0])->cbzb_allowed; 135 struct pipe_framebuffer_state *fb = local 138 return r300_resource(fb->zsbuf->texture)->tex.zmask_dwords[fb->zsbuf->u.tex.level] != 0; 143 struct pipe_framebuffer_state *fb = local 146 return r300_resource(fb->zsbuf->texture)->tex.hiz_dwords[fb->zsbuf->u.tex.level] != 0; 225 struct pipe_framebuffer_state *fb local 373 struct pipe_framebuffer_state *fb = local 391 struct pipe_framebuffer_state *fb = local 412 struct pipe_framebuffer_state fb; local 457 struct pipe_framebuffer_state *fb = local [all...] |
/external/mesa3d/src/gallium/drivers/radeonsi/ |
r600_blit.c | 199 struct pipe_framebuffer_state *fb = &rctx->framebuffer; local 202 util_blitter_clear(rctx->blitter, fb->width, fb->height, 203 fb->nr_cbufs, buffers, fb->nr_cbufs ? fb->cbufs[0]->format : PIPE_FORMAT_NONE,
|
/external/mesa3d/src/gallium/state_trackers/egl/drm/ |
modeset.c | 71 struct drm_framebuffer *fb; local 77 fb = &drmsurf->front_fb; 81 fb = &drmsurf->back_fb; 85 if (!fb->texture) { 88 fb->texture = 90 if (!fb->texture) 95 if (fb->buffer_id) 99 fb->is_passive = TRUE; 105 fb->texture, &whandle)) 111 &fb->buffer_id) [all...] |
/external/mesa3d/src/gallium/state_trackers/wgl/ |
stw_framebuffer.c | 53 struct stw_framebuffer *fb; local 55 for (fb = stw_dev->fb_head; fb != NULL; fb = fb->next) 56 if (fb->hWnd == hwnd) { 57 pipe_mutex_lock(fb->mutex); 61 return fb; 72 struct stw_framebuffer *fb ) 77 fb->refcnt-- 200 struct stw_framebuffer *fb; local 245 struct stw_framebuffer *fb; local 363 struct stw_framebuffer *fb; local 411 struct stw_framebuffer *fb; local 431 struct stw_framebuffer *fb; local 448 struct stw_framebuffer *fb; local 495 struct stw_framebuffer *fb; local 510 struct stw_framebuffer *fb; local 603 struct stw_framebuffer *fb; local [all...] |
/external/mesa3d/src/gallium/tests/graw/ |
fs-test.c | 425 struct pipe_framebuffer_state fb; local 477 memset(&fb, 0, sizeof fb); 478 fb.nr_cbufs = 1; 479 fb.width = WIDTH; 480 fb.height = HEIGHT; 481 fb.cbufs[0] = surf; 483 ctx->set_framebuffer_state(ctx, &fb);
|
quad-sample.c | 298 struct pipe_framebuffer_state fb; local 350 memset(&fb, 0, sizeof fb); 351 fb.nr_cbufs = 1; 352 fb.width = WIDTH; 353 fb.height = HEIGHT; 354 fb.cbufs[0] = surf; 356 ctx->set_framebuffer_state(ctx, &fb);
|
tri-instanced.c | 227 struct pipe_framebuffer_state fb; local 279 memset(&fb, 0, sizeof fb); 280 fb.nr_cbufs = 1; 281 fb.width = WIDTH; 282 fb.height = HEIGHT; 283 fb.cbufs[0] = surf; 285 ctx->set_framebuffer_state(ctx, &fb);
|
vs-test.c | 376 struct pipe_framebuffer_state fb; local 428 memset(&fb, 0, sizeof fb); 429 fb.nr_cbufs = 1; 430 fb.width = WIDTH; 431 fb.height = HEIGHT; 432 fb.cbufs[0] = surf; 434 ctx->set_framebuffer_state(ctx, &fb);
|
/external/mesa3d/src/mesa/drivers/dri/common/ |
dri_util.c | 617 struct gl_framebuffer *fb = (struct gl_framebuffer *) dPriv->driverPrivate; local 618 if (fb && (dPriv->w != fb->Width || dPriv->h != fb->Height)) { 619 ctx->Driver.ResizeBuffers(ctx, fb, dPriv->w, dPriv->h); 622 assert(fb->Width == dPriv->w); 623 assert(fb->Height == dPriv->h);
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i830_vtbl.c | 718 struct gl_framebuffer *fb = ctx->DrawBuffer; local 722 if (!fb) { 727 irbDepth = intel_get_renderbuffer(fb, BUFFER_DEPTH); 728 irbStencil = intel_get_renderbuffer(fb, BUFFER_STENCIL); 740 if (fb->_Status != GL_FRAMEBUFFER_COMPLETE_EXT) { 754 if ((fb->Width > ctx->Const.MaxRenderbufferSize) 755 || (fb->Height > ctx->Const.MaxRenderbufferSize) 756 || (fb->_NumColorDrawBuffers == 0)) { 760 else if (fb->_NumColorDrawBuffers > 1) { 764 for (i = 0; i < fb->_NumColorDrawBuffers; i++) [all...] |
i915_vtbl.c | 718 struct gl_framebuffer *fb = ctx->DrawBuffer; local 722 if (!fb) { 727 irbDepth = intel_get_renderbuffer(fb, BUFFER_DEPTH); 728 irbStencil = intel_get_renderbuffer(fb, BUFFER_STENCIL); 740 if (fb->_Status != GL_FRAMEBUFFER_COMPLETE_EXT) { 753 if ((fb->Width > ctx->Const.MaxRenderbufferSize) 754 || (fb->Height > ctx->Const.MaxRenderbufferSize)) { 756 } else if (fb->_NumColorDrawBuffers > 1) { 760 irb = intel_renderbuffer(fb->_ColorDrawBuffers[0]); 806 fb->_NumColorDrawBuffers) [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_draw.c | 335 struct gl_framebuffer *fb = ctx->DrawBuffer; local 338 struct intel_renderbuffer *back_irb = intel_get_renderbuffer(fb, BUFFER_BACK_LEFT); 339 struct intel_renderbuffer *depth_irb = intel_get_renderbuffer(fb, BUFFER_DEPTH); 342 front_irb = intel_get_renderbuffer(fb, BUFFER_FRONT_LEFT);
|
brw_misc_state.c | 207 struct gl_framebuffer *fb = ctx->DrawBuffer; local 208 struct intel_renderbuffer *drb = intel_get_renderbuffer(fb, BUFFER_DEPTH); 212 (srb = intel_get_renderbuffer(fb, BUFFER_STENCIL)) && 260 struct gl_framebuffer *fb = ctx->DrawBuffer; local 262 struct intel_renderbuffer *depth_irb = intel_get_renderbuffer(fb, BUFFER_DEPTH); 263 struct intel_renderbuffer *stencil_irb = intel_get_renderbuffer(fb, BUFFER_STENCIL);
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_blit.c | 231 struct gl_framebuffer *fb = ctx->DrawBuffer; local 243 clear_depth_value = (GLuint) (fb->_DepthMax * ctx->Depth.Clear); 251 cx = fb->_Xmin; 252 if (_mesa_is_winsys_fbo(fb)) 253 cy = ctx->DrawBuffer->Height - fb->_Ymax; 255 cy = fb->_Ymin; 256 cw = fb->_Xmax - fb->_Xmin; 257 ch = fb->_Ymax - fb->_Ymin [all...] |
intel_context.c | 255 struct gl_framebuffer *fb = drawable->driverPrivate; local 267 rb = intel_get_renderbuffer(fb, buffers[i]); 329 struct gl_framebuffer *fb = drawable->driverPrivate; local 363 rb = intel_get_renderbuffer(fb, BUFFER_FRONT_LEFT); 368 rb = intel_get_renderbuffer(fb, BUFFER_FRONT_LEFT); 373 rb = intel_get_renderbuffer(fb, BUFFER_BACK_LEFT); 874 struct gl_framebuffer *fb, *readFb; local 877 fb = _mesa_get_incomplete_framebuffer(); 880 fb = driDrawPriv->driverPrivate; 887 _mesa_make_current(&intel->ctx, fb, readFb) 926 struct gl_framebuffer *fb = drawable->driverPrivate; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_texture.c | 661 struct gl_framebuffer *fb = draw->driverPrivate; local 663 fb->Attachment[BUFFER_FRONT_LEFT].Renderbuffer;
|
/external/mesa3d/src/mesa/main/ |
framebuffer.c | 53 compute_depth_max(struct gl_framebuffer *fb) 55 if (fb->Visual.depthBits == 0) { 60 fb->_DepthMax = (1 << 16) - 1; 62 else if (fb->Visual.depthBits < 32) { 63 fb->_DepthMax = (1 << fb->Visual.depthBits) - 1; 69 fb->_DepthMax = 0xffffffff; 71 fb->_DepthMaxF = (GLfloat) fb->_DepthMax; 74 fb->_MRD = (GLfloat)1.0 / fb->_DepthMaxF 87 struct gl_framebuffer *fb = CALLOC_STRUCT(gl_framebuffer); local 106 struct gl_framebuffer *fb; local [all...] |
image.c | 717 const struct gl_framebuffer *fb = ctx->ReadBuffer; local 720 if (_mesa_clip_to_region(0, 0, fb->Width, fb->Height,
|
readpix.c | 60 struct gl_framebuffer *fb = ctx->ReadBuffer; local 61 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; 116 struct gl_framebuffer *fb = ctx->ReadBuffer; local 117 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; 178 struct gl_framebuffer *fb = ctx->ReadBuffer; local 179 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; 389 struct gl_framebuffer *fb = ctx->ReadBuffer; local 390 struct gl_renderbuffer *rb = fb->_ColorReadBuffer; 421 struct gl_framebuffer *fb = ctx->ReadBuffer; local 422 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer 465 struct gl_framebuffer *fb = ctx->ReadBuffer; local 526 struct gl_framebuffer *fb = ctx->ReadBuffer; local [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_clear.c | 198 const struct gl_framebuffer *fb = ctx->DrawBuffer; local 199 const GLfloat fb_width = (GLfloat) fb->Width; 200 const GLfloat fb_height = (GLfloat) fb->Height; 286 const GLboolean invert = (st_fb_orientation(fb) == Y_0_TOP);
|
st_cb_drawtex.c | 164 const struct gl_framebuffer *fb = st->ctx->DrawBuffer; local 165 const GLfloat fb_width = (GLfloat)fb->Width; 166 const GLfloat fb_height = (GLfloat)fb->Height; 253 const struct gl_framebuffer *fb = st->ctx->DrawBuffer; local 254 const GLboolean invert = (st_fb_orientation(fb) == Y_0_TOP); 255 const GLfloat width = (GLfloat)fb->Width; 256 const GLfloat height = (GLfloat)fb->Height;
|
st_cb_fbo.c | 373 struct gl_framebuffer *fb, struct gl_framebuffer *fbread) 384 struct gl_framebuffer *fb, 579 st_validate_framebuffer(struct gl_context *ctx, struct gl_framebuffer *fb) 584 &fb->Attachment[BUFFER_DEPTH]; 586 &fb->Attachment[BUFFER_STENCIL]; 594 fb->_Status = GL_FRAMEBUFFER_UNSUPPORTED_EXT; 601 fb->_Status = GL_FRAMEBUFFER_UNSUPPORTED_EXT; 607 fb->_Status = GL_FRAMEBUFFER_UNSUPPORTED_EXT; 616 fb->_Status = GL_FRAMEBUFFER_UNSUPPORTED_EXT; 623 fb->_Status = GL_FRAMEBUFFER_UNSUPPORTED_EXT 666 struct gl_framebuffer *fb = ctx->DrawBuffer; local 687 struct gl_framebuffer *fb = ctx->ReadBuffer; local [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_copypix.c | 247 struct gl_framebuffer *fb = ctx->ReadBuffer; local 248 struct gl_renderbuffer *readRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; 349 struct gl_framebuffer *fb = ctx->ReadBuffer; local 350 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; 583 struct gl_framebuffer *fb = ctx->ReadBuffer; local 589 rb = fb->Attachment[fb->_ColorReadBufferIndex].Renderbuffer; 593 rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; 596 rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer;
|
s_depth.c | 167 struct gl_framebuffer *fb = ctx->DrawBuffer; local 190 min = (GLint) (min_f * fb->_DepthMaxF); 191 max = (GLint) (max_f * fb->_DepthMaxF); 285 struct gl_framebuffer *fb = ctx->DrawBuffer; local 286 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; 413 struct gl_framebuffer *fb = ctx->DrawBuffer; local 414 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; 416 GLuint zMin = (GLuint) (ctx->Depth.BoundsMin * fb->_DepthMaxF + 0.5F); 417 GLuint zMax = (GLuint) (ctx->Depth.BoundsMax * fb->_DepthMaxF + 0.5F);
|