Home
last modified time | relevance | path

Searched refs:fb_width (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen6_viewport_state.c38 uint32_t fb_width, uint32_t fb_height, in brw_calculate_guardband_size() argument
84 const float ss_ra_xmax = MAX3( fb_width, m30 + m00, m30 - m00); in brw_calculate_guardband_size()
132 const uint32_t fb_width = _mesa_geometric_width(ctx->DrawBuffer); in gen6_upload_sf_and_clip_viewports() local
164 brw_calculate_guardband_size(devinfo, fb_width, fb_height, in gen6_upload_sf_and_clip_viewports()
Dgen6_scissor_state.c42 const unsigned int fb_width= _mesa_geometric_width(ctx->DrawBuffer); in gen6_upload_scissor_state() local
65 bbox[1] = MIN2(bbox[0] + ctx->ViewportArray[i].Width, fb_width); in gen6_upload_scissor_state()
Dgen8_viewport_state.c45 const uint32_t fb_width = _mesa_geometric_width(ctx->DrawBuffer); in gen8_upload_sf_clip_viewport() local
79 brw_calculate_guardband_size(devinfo, fb_width, fb_height, in gen8_upload_sf_clip_viewport()
Dgen7_viewport_state.c46 const uint32_t fb_width = _mesa_geometric_width(ctx->DrawBuffer); in gen7_upload_sf_clip_viewport() local
76 brw_calculate_guardband_size(devinfo, fb_width, fb_height, in gen7_upload_sf_clip_viewport()
Dbrw_clip_state.c64 const float fb_width = (float)_mesa_geometric_width(fb); in brw_upload_clip_unit() local
133 ctx->ViewportArray[0].Width == fb_width && in brw_upload_clip_unit()
Dbrw_misc_state.c52 const unsigned int fb_width = _mesa_geometric_width(fb); in upload_drawing_rect() local
58 OUT_BATCH(((fb_width - 1) & 0xffff) | ((fb_height - 1) << 16)); in upload_drawing_rect()
Dbrw_state.h459 uint32_t fb_width, uint32_t fb_height,
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_clear.c181 const GLfloat fb_width = (GLfloat) fb->Width; in clear_with_quad() local
183 const GLfloat x0 = (GLfloat) ctx->DrawBuffer->_Xmin / fb_width * 2.0f - 1.0f; in clear_with_quad()
184 const GLfloat x1 = (GLfloat) ctx->DrawBuffer->_Xmax / fb_width * 2.0f - 1.0f; in clear_with_quad()
277 cso_set_viewport_dims(st->cso_context, fb_width, fb_height, in clear_with_quad()
Dst_cb_drawtex.c171 const GLfloat fb_width = (GLfloat)_mesa_geometric_width(fb); in st_DrawTex() local
174 const GLfloat clip_x0 = (GLfloat)(x0 / fb_width * 2.0 - 1.0); in st_DrawTex()
176 const GLfloat clip_x1 = (GLfloat)(x1 / fb_width * 2.0 - 1.0); in st_DrawTex()
Dst_atom_scissor.c50 const unsigned int fb_width = _mesa_geometric_width(fb); in update_scissor() local
59 scissor[i].maxx = fb_width; in update_scissor()
Dst_cb_bitmap.c307 const float fb_width = (float) st->state.framebuffer.width; in draw_bitmap_quad() local
315 const float clip_x0 = x0 / fb_width * 2.0f - 1.0f; in draw_bitmap_quad()
317 const float clip_x1 = x1 / fb_width * 2.0f - 1.0f; in draw_bitmap_quad()
Dst_cb_drawpixels.c569 const unsigned fb_width = _mesa_geometric_width(ctx->DrawBuffer); in draw_textured_quad() local
709 cso_set_viewport_dims(cso, fb_width, fb_height, TRUE); in draw_textured_quad()
732 const float clip_x0 = x0 / (float) fb_width * 2.0f - 1.0f; in draw_textured_quad()
734 const float clip_x1 = x1 / (float) fb_width * 2.0f - 1.0f; in draw_textured_quad()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_framebuffer.c361 float fb_width = (float) svga->curr.framebuffer.width; in emit_viewport() local
444 if (fx + fw > fb_width) { in emit_viewport()
445 prescale.scale[0] *= fw / (fb_width - fx); in emit_viewport()
446 prescale.translate[0] -= fx * (fw / (fb_width - fx)); in emit_viewport()
448 fw = fb_width - fx; in emit_viewport()
/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_context.c92 unsigned fb_width, fb_height; member
491 hud->fb_width = tex->width0; in hud_draw()
493 hud->constants.two_div_fb_width = 2.0f / hud->fb_width; in hud_draw()
538 fb.width = hud->fb_width; in hud_draw()
541 viewport.scale[0] = 0.5f * hud->fb_width; in hud_draw()
544 viewport.translate[0] = 0.5f * hud->fb_width; in hud_draw()
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_priv.h102 unsigned int fb_width; member
Dxa_renderer.c370 if (r->fb_width != width || r->fb_height != height) { in renderer_bind_destination()
376 r->fb_width = width; in renderer_bind_destination()
/external/libvncserver/webclients/novnc/include/
Drfb.js1313 fbUpdateRequests: function (cleanDirty, fb_width, fb_height) { argument
1319 w = typeof cb.w === "undefined" ? fb_width : cb.w;
1328 w = typeof db.w === "undefined" ? fb_width : db.w;