Home
last modified time | relevance | path

Searched refs:y_bias (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_viewport_state.c37 GLfloat y_scale, y_bias; in gen7_upload_sf_clip_viewport() local
58 y_bias = 0.0; in gen7_upload_sf_clip_viewport()
61 y_bias = (float)fb_height; in gen7_upload_sf_clip_viewport()
73 vp[i].viewport.m31 = translate[1] * y_scale + y_bias; in gen7_upload_sf_clip_viewport()
Dgen8_viewport_state.c37 float y_scale, y_bias; in gen8_upload_sf_clip_viewport() local
57 y_bias = 0; in gen8_upload_sf_clip_viewport()
60 y_bias = (float)fb_height; in gen8_upload_sf_clip_viewport()
72 vp[4] = translate[1] * y_scale + y_bias; /* m31 */ in gen8_upload_sf_clip_viewport()
Dgen6_viewport_state.c124 GLfloat y_scale, y_bias; in gen6_upload_sf_and_clip_viewports() local
146 y_bias = 0.0; in gen6_upload_sf_and_clip_viewports()
149 y_bias = (float)fb_height; in gen6_upload_sf_and_clip_viewports()
161 sfv[i].m31 = translate[1] * y_scale + y_bias; in gen6_upload_sf_and_clip_viewports()
Dbrw_sf_state.c47 GLfloat y_scale, y_bias; in upload_sf_vp() local
63 y_bias = 0; in upload_sf_vp()
67 y_bias = ctx->DrawBuffer->Height; in upload_sf_vp()
77 sfv->viewport.m31 = translate[1] * y_scale + y_bias; in upload_sf_vp()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_fbo.c158 int y_bias = (rb->Name == 0) ? (rb->Height - 1) : 0; in radeon_map_renderbuffer_s8z24() local
172 uint32_t flipped_y = y_flip * (int32_t)(y + pix_y) + y_bias; in radeon_map_renderbuffer_s8z24()
197 int y_bias = (rb->Name == 0) ? (rb->Height - 1) : 0; in radeon_map_renderbuffer_z16() local
212 uint32_t flipped_y = y_flip * (int32_t)(y + pix_y) + y_bias; in radeon_map_renderbuffer_z16()
356 int y_bias = (rb->Name == 0) ? (rb->Height - 1) : 0; in radeon_unmap_renderbuffer_s8z24() local
364 uint32_t flipped_y = y_flip * (int32_t)(pix_y + rrb->map_y) + y_bias; in radeon_unmap_renderbuffer_s8z24()
389 int y_bias = (rb->Name == 0) ? (rb->Height - 1) : 0; in radeon_unmap_renderbuffer_z16() local
397 uint32_t flipped_y = y_flip * (int32_t)(pix_y + rrb->map_y) + y_bias; in radeon_unmap_renderbuffer_z16()
Dr200_state.c1549 GLfloat y_scale, y_bias; in r200UpdateWindow() local
1553 y_bias = 0; in r200UpdateWindow()
1556 y_bias = yoffset; in r200UpdateWindow()
1564 float_ui32_type ty = { (translate[1] * y_scale) + y_bias }; in r200UpdateWindow()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_fbo.c158 int y_bias = (rb->Name == 0) ? (rb->Height - 1) : 0; in radeon_map_renderbuffer_s8z24() local
172 uint32_t flipped_y = y_flip * (int32_t)(y + pix_y) + y_bias; in radeon_map_renderbuffer_s8z24()
197 int y_bias = (rb->Name == 0) ? (rb->Height - 1) : 0; in radeon_map_renderbuffer_z16() local
212 uint32_t flipped_y = y_flip * (int32_t)(y + pix_y) + y_bias; in radeon_map_renderbuffer_z16()
356 int y_bias = (rb->Name == 0) ? (rb->Height - 1) : 0; in radeon_unmap_renderbuffer_s8z24() local
364 uint32_t flipped_y = y_flip * (int32_t)(pix_y + rrb->map_y) + y_bias; in radeon_unmap_renderbuffer_s8z24()
389 int y_bias = (rb->Name == 0) ? (rb->Height - 1) : 0; in radeon_unmap_renderbuffer_z16() local
397 uint32_t flipped_y = y_flip * (int32_t)(pix_y + rrb->map_y) + y_bias; in radeon_unmap_renderbuffer_z16()
Dradeon_state.c1357 GLfloat y_scale, y_bias; in radeonUpdateWindow() local
1361 y_bias = 0; in radeonUpdateWindow()
1364 y_bias = yoffset; in radeonUpdateWindow()
1372 float_ui32_type ty = { (translate[1] * y_scale) + y_bias + SUBPIXEL_Y }; in radeonUpdateWindow()