/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/ |
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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nouveau_texture.c | 661 struct gl_framebuffer *fb = draw->driverPrivate; local 663 fb->Attachment[BUFFER_FRONT_LEFT].Renderbuffer;
|
/external/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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);
|
s_stencil.c | 352 struct gl_framebuffer *fb = ctx->DrawBuffer; local 353 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; 497 struct gl_framebuffer *fb = ctx->DrawBuffer; local 498 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; 499 const GLuint stencilMax = (1 << fb->Visual.stencilBits) - 1;
|
/external/harfbuzz_ng/util/ |
helper-cairo.cc | 351 unsigned int fr, fg, fb, fa, br, bg, bb, ba; local 354 fr = fg = fb = 0; fa = 255; 355 sscanf (view_opts->fore + (*view_opts->fore=='#'), "%2x%2x%2x%2x", &fr, &fg, &fb, &fa); 358 if (!view_opts->annotate && ba == 255 && br == bg && bg == bb && fr == fg && fg == fb) 396 cairo_set_source_rgba (cr, fr / 255., fg / 255., fb / 255., fa / 255.);
|
/external/kernel-headers/original/uapi/linux/ |
media.h | 85 } fb; member in union:media_entity_desc::__anon6868
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_scene.h | 143 struct pipe_framebuffer_state fb; member in struct:lp_scene 385 struct pipe_framebuffer_state *fb );
|
lp_setup_context.h | 105 struct pipe_framebuffer_state fb; member in struct:lp_setup_context 108 struct u_rect draw_region; /* intersection of fb & scissor */
|
/external/mesa3d/src/gallium/drivers/nv30/ |
nv30_state_validate.c | 39 struct pipe_framebuffer_state *fb = &nv30->framebuffer; local 43 int h = fb->height; 44 int w = fb->width; 48 nv30->state.rt_enable = (NV30_3D_RT_ENABLE_COLOR0 << fb->nr_cbufs) - 1; 53 if (fb->nr_cbufs > 0) { 54 struct nv30_miptree *mt = nv30_miptree(fb->cbufs[0]->texture); 55 rt_format |= nv30_format(pscreen, fb->cbufs[0]->format)->hw; 62 if (fb->zsbuf && util_format_get_blocksize(fb->zsbuf->format) > 2) 68 if (fb->zsbuf) [all...] |
/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_state_validate.c | 9 struct pipe_framebuffer_state *fb = &nv50->framebuffer; local 16 PUSH_DATA (push, (076543210 << 4) | fb->nr_cbufs); 18 PUSH_DATA (push, fb->width << 16); 19 PUSH_DATA (push, fb->height << 16); 21 for (i = 0; i < fb->nr_cbufs; ++i) { 22 struct nv50_miptree *mt = nv50_miptree(fb->cbufs[i]->texture); 23 struct nv50_surface *sf = nv50_surface(fb->cbufs[i]); 47 assert(!fb->zsbuf); 59 BCTX_REFN(nv50->bufctx_3d, FB, &mt->base, WR); 62 if (fb->zsbuf) [all...] |
/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...] |