Searched refs:fb_height (Results 1 – 10 of 10) sorted by relevance
182 float fb_height = svga->curr.framebuffer.height; in emit_viewport() local257 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()
200 const GLfloat fb_height = (GLfloat) fb->Height; in clear_with_quad() local203 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()
166 const GLfloat fb_height = (GLfloat)fb->Height; in st_DrawTex() local169 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()
339 const GLfloat fb_height = (GLfloat)st->state.framebuffer.height; in setup_bitmap_vertex_data() local347 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()
585 const GLfloat fb_height = (GLfloat) fb->Height; in draw_quad() local587 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()
25 int fb_height; member
355 r->fb_height != height) in renderer_bind_destination()363 r->fb_height = height; in renderer_bind_destination()
99 unsigned int fb_height; member
355 if (r->fb_width != width || r->fb_height != height) { in renderer_bind_destination()362 r->fb_height = height; in renderer_bind_destination()
1313 fbUpdateRequests: function (cleanDirty, fb_width, fb_height) { argument1320 h = typeof cb.h === "undefined" ? fb_height : cb.h;1329 h = typeof db.h === "undefined" ? fb_height : db.h;