Home
last modified time | relevance | path

Searched refs:fb_height (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_framebuffer.c404 float fb_height = (float) svga->curr.framebuffer.height; in emit_viewport() local
493 if (fy + fh > fb_height) { in emit_viewport()
494 prescale.scale[1] *= fh / (fb_height - fy); in emit_viewport()
496 float in = fb_height - fy; /* number of vp pixels inside view */ in emit_viewport()
497 float out = fy + fh - fb_height; /* number of vp pixels out of view */ in emit_viewport()
501 prescale.translate[1] -= fy * (fh / (fb_height - fy)); in emit_viewport()
504 fh = fb_height - fy; in emit_viewport()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_clear.c182 const GLfloat fb_height = (GLfloat) fb->Height; in clear_with_quad() local
188 const GLfloat y0 = (GLfloat) ctx->DrawBuffer->_Ymin / fb_height * 2.0f - 1.0f; in clear_with_quad()
189 const GLfloat y1 = (GLfloat) ctx->DrawBuffer->_Ymax / fb_height * 2.0f - 1.0f; in clear_with_quad()
279 cso_set_viewport_dims(st->cso_context, fb_width, fb_height, in clear_with_quad()
Dst_cb_bitmap.c253 st->state.fb_height, in setup_render_state()
287 const float fb_height = (float) st->state.fb_height; in draw_bitmap_quad() local
295 const float clip_y0 = y0 / fb_height * 2.0f - 1.0f; in draw_bitmap_quad()
297 const float clip_y1 = y1 / fb_height * 2.0f - 1.0f; in draw_bitmap_quad()
671 const float clip_y_scale = 2.0f / st->state.fb_height; in st_DrawAtlasBitmaps()
Dst_cb_drawtex.c172 const GLfloat fb_height = (GLfloat)_mesa_geometric_height(fb); in st_DrawTex() local
175 const GLfloat clip_y0 = (GLfloat)(y0 / fb_height * 2.0 - 1.0); in st_DrawTex()
177 const GLfloat clip_y1 = (GLfloat)(y1 / fb_height * 2.0 - 1.0); in st_DrawTex()
Dst_atom_scissor.c51 const unsigned int fb_height = _mesa_geometric_height(fb); in st_update_scissor() local
60 scissor[i].maxy = fb_height; in st_update_scissor()
Dst_atom_viewport.c60 translate[1] = st->state.fb_height - translate[1]; in st_update_viewport()
Dst_atom_framebuffer.c216 st->state.fb_height = framebuffer.height; in st_update_framebuffer_state()
Dst_cb_drawpixels.c570 const unsigned fb_height = _mesa_geometric_height(ctx->DrawBuffer); in draw_textured_quad() local
709 cso_set_viewport_dims(cso, fb_width, fb_height, TRUE); in draw_textured_quad()
719 y = fb_height - (int) (y + height * ctx->Pixel.ZoomY); in draw_textured_quad()
733 const float clip_y0 = y0 / (float) fb_height * 2.0f - 1.0f; in draw_textured_quad()
735 const float clip_y1 = y1 / (float) fb_height * 2.0f - 1.0f; in draw_textured_quad()
Dst_context.h150 unsigned fb_height; member
/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_private.h81 unsigned fb_width, fb_height; member
Dhud_context.c455 hud->fb_height = tex->height0; in hud_draw_results()
457 hud->constants.two_div_fb_height = 2.0f / hud->fb_height; in hud_draw_results()
502 fb.height = hud->fb_height; in hud_draw_results()
505 viewport.scale[1] = 0.5f * hud->fb_height; in hud_draw_results()
508 viewport.translate[1] = 0.5f * hud->fb_height; in hud_draw_results()
/external/mesa3d/src/mesa/drivers/dri/i965/
DgenX_state_upload.c290 const unsigned int fb_height = _mesa_geometric_height(fb); in genX() local
294 rect.ClippedDrawingRectangleYMax = fb_height - 1; in genX()
2241 bool render_to_fbo, unsigned fb_width, unsigned fb_height, argument
2249 bbox[3] = MIN2(bbox[2] + ctx->ViewportArray[i].Height, fb_height);
2273 sc->ScissorRectangleYMin = fb_height - bbox[3];
2274 sc->ScissorRectangleYMax = fb_height - bbox[2] - 1;
2287 const unsigned int fb_height = _mesa_geometric_height(ctx->DrawBuffer); local
2307 set_scissor_bits(ctx, i, render_to_fbo, fb_width, fb_height, &scissor);
2333 brw_calculate_guardband_size(uint32_t fb_width, uint32_t fb_height, argument
2381 const float ss_ra_ymax = MAX3(fb_height, m31 + m11, m31 - m11);
[all …]
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_priv.h103 unsigned int fb_height; member
Dxa_renderer.c370 if (r->fb_width != width || r->fb_height != height) { in renderer_bind_destination()
377 r->fb_height = height; in renderer_bind_destination()
/external/virglrenderer/src/
Dvrend_renderer.c493 uint32_t fb_height; member
2091 … if (ctx->sub->fb_height != (uint32_t)new_height || ctx->sub->inverted_fbo_content != new_ibf) { in vrend_set_framebuffer_state()
2092 ctx->sub->fb_height = new_height; in vrend_set_framebuffer_state()