Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_framebuffer.c182 float fb_height = svga->curr.framebuffer.height; in emit_viewport() local
257 if (fy + fh > fb_height) { in emit_viewport()
258 prescale.scale[1] *= fh / (fb_height - fy); in emit_viewport()
260 float in = fb_height - fy; /* number of vp pixels inside view */ in emit_viewport()
261 float out = fy + fh - fb_height; /* number of vp pixels out of view */ in emit_viewport()
265 prescale.translate[1] -= fy * (fh / (fb_height - fy)); in emit_viewport()
268 fh = fb_height - fy; in emit_viewport()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_clear.c200 const GLfloat fb_height = (GLfloat) fb->Height; in clear_with_quad() local
203 const GLfloat y0 = (GLfloat) ctx->DrawBuffer->_Ymin / fb_height * 2.0f - 1.0f; in clear_with_quad()
204 const GLfloat y1 = (GLfloat) ctx->DrawBuffer->_Ymax / fb_height * 2.0f - 1.0f; in clear_with_quad()
289 vp.scale[1] = fb_height * (invert ? -0.5f : 0.5f); in clear_with_quad()
293 vp.translate[1] = 0.5f * fb_height; in clear_with_quad()
Dst_cb_drawtex.c166 const GLfloat fb_height = (GLfloat)fb->Height; in st_DrawTex() local
169 const GLfloat clip_y0 = (GLfloat)(y0 / fb_height * 2.0 - 1.0); in st_DrawTex()
171 const GLfloat clip_y1 = (GLfloat)(y1 / fb_height * 2.0 - 1.0); in st_DrawTex()
Dst_cb_bitmap.c339 const GLfloat fb_height = (GLfloat)st->state.framebuffer.height; in setup_bitmap_vertex_data() local
347 const GLfloat clip_y0 = (GLfloat)(y0 / fb_height * 2.0 - 1.0); in setup_bitmap_vertex_data()
349 const GLfloat clip_y1 = (GLfloat)(y1 / fb_height * 2.0 - 1.0); in setup_bitmap_vertex_data()
Dst_cb_drawpixels.c585 const GLfloat fb_height = (GLfloat) fb->Height; in draw_quad() local
587 const GLfloat clip_y0 = y0 / fb_height * 2.0f - 1.0f; in draw_quad()
589 const GLfloat clip_y1 = y1 / fb_height * 2.0f - 1.0f; in draw_quad()
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_renderer.h25 int fb_height; member
Dxorg_renderer.c355 r->fb_height != height) in renderer_bind_destination()
363 r->fb_height = height; in renderer_bind_destination()
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_priv.h99 unsigned int fb_height; member
Dxa_renderer.c355 if (r->fb_width != width || r->fb_height != height) { in renderer_bind_destination()
362 r->fb_height = height; in renderer_bind_destination()
/external/libvncserver/webclients/novnc/include/
Drfb.js1313 fbUpdateRequests: function (cleanDirty, fb_width, fb_height) { argument
1320 h = typeof cb.h === "undefined" ? fb_height : cb.h;
1329 h = typeof db.h === "undefined" ? fb_height : db.h;