Home
last modified time | relevance | path

Searched refs:Viewport (Results 1 – 25 of 72) sorted by relevance

123

/external/mesa3d/src/mesa/main/
Dviewport.c80 ctx->Viewport.X = x; in _mesa_set_viewport()
81 ctx->Viewport.Width = width; in _mesa_set_viewport()
82 ctx->Viewport.Y = y; in _mesa_set_viewport()
83 ctx->Viewport.Height = height; in _mesa_set_viewport()
91 _math_matrix_viewport(&ctx->Viewport._WindowMap, in _mesa_set_viewport()
92 ctx->Viewport.X, ctx->Viewport.Y, in _mesa_set_viewport()
93 ctx->Viewport.Width, ctx->Viewport.Height, in _mesa_set_viewport()
94 ctx->Viewport.Near, ctx->Viewport.Far, in _mesa_set_viewport()
98 if (ctx->Driver.Viewport) { in _mesa_set_viewport()
102 ctx->Driver.Viewport(ctx, x, y, width, height); in _mesa_set_viewport()
[all …]
Dstate.c288 _math_matrix_viewport(&ctx->Viewport._WindowMap, in update_viewport_matrix()
289 ctx->Viewport.X, ctx->Viewport.Y, in update_viewport_matrix()
290 ctx->Viewport.Width, ctx->Viewport.Height, in update_viewport_matrix()
291 ctx->Viewport.Near, ctx->Viewport.Far, in update_viewport_matrix()
Dcontext.c1297 dst->Viewport.X = src->Viewport.X; in _mesa_copy_context()
1298 dst->Viewport.Y = src->Viewport.Y; in _mesa_copy_context()
1299 dst->Viewport.Width = src->Viewport.Width; in _mesa_copy_context()
1300 dst->Viewport.Height = src->Viewport.Height; in _mesa_copy_context()
1301 dst->Viewport.Near = src->Viewport.Near; in _mesa_copy_context()
1302 dst->Viewport.Far = src->Viewport.Far; in _mesa_copy_context()
1303 _math_matrix_copy(&dst->Viewport._WindowMap, &src->Viewport._WindowMap); in _mesa_copy_context()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_viewport.c65 GLfloat x = (GLfloat)ctx->Viewport.X; in update_viewport()
66 GLfloat y = (GLfloat)ctx->Viewport.Y; in update_viewport()
67 GLfloat z = ctx->Viewport.Near; in update_viewport()
68 GLfloat half_width = (GLfloat)ctx->Viewport.Width * 0.5f; in update_viewport()
69 GLfloat half_height = (GLfloat)ctx->Viewport.Height * 0.5f; in update_viewport()
70 GLfloat half_depth = (GLfloat)(ctx->Viewport.Far - ctx->Viewport.Near) * 0.5f; in update_viewport()
Dst_cb_viewport.c79 functions->Viewport = st_viewport; in st_init_viewport_functions()
/external/mesa3d/src/mesa/tnl/
Dt_rasterpos.c412 ctx->Current.RasterPos[0] = (ndc[0] * ctx->Viewport._WindowMap.m[MAT_SX] in _tnl_RasterPos()
413 + ctx->Viewport._WindowMap.m[MAT_TX]); in _tnl_RasterPos()
414 ctx->Current.RasterPos[1] = (ndc[1] * ctx->Viewport._WindowMap.m[MAT_SY] in _tnl_RasterPos()
415 + ctx->Viewport._WindowMap.m[MAT_TY]); in _tnl_RasterPos()
416 ctx->Current.RasterPos[2] = (ndc[2] * ctx->Viewport._WindowMap.m[MAT_SZ] in _tnl_RasterPos()
417 + ctx->Viewport._WindowMap.m[MAT_TZ]) in _tnl_RasterPos()
423 ctx->Viewport.Near, in _tnl_RasterPos()
424 ctx->Viewport.Far); in _tnl_RasterPos()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DViewportTest1.java39 import com.badlogic.gdx.utils.viewport.Viewport;
43 Array<Viewport> viewports;
75 Viewport viewport = viewports.get(index); in create()
112 static public Array<Viewport> getViewports (Camera camera) { in getViewports()
118 Array<Viewport> viewports = new Array(); in getViewports()
DViewportTest2.java36 import com.badlogic.gdx.utils.viewport.Viewport;
40 Array<Viewport> viewports;
41 Viewport viewport;
DViewportTest3.java40 import com.badlogic.gdx.utils.viewport.Viewport;
44 Array<Viewport> viewports;
45 Viewport viewport;
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_common.c324 if (ctx->Driver.Viewport) { in radeon_draw_buffer()
325 ctx->Driver.Viewport(ctx, ctx->Viewport.X, ctx->Viewport.Y, in radeon_draw_buffer()
326 ctx->Viewport.Width, ctx->Viewport.Height); in radeon_draw_buffer()
340 ctx->Viewport.Near, in radeon_draw_buffer()
341 ctx->Viewport.Far); in radeon_draw_buffer()
428 old_viewport = ctx->Driver.Viewport; in radeon_viewport()
429 ctx->Driver.Viewport = NULL; in radeon_viewport()
432 ctx->Driver.Viewport = old_viewport; in radeon_viewport()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_common.c324 if (ctx->Driver.Viewport) { in radeon_draw_buffer()
325 ctx->Driver.Viewport(ctx, ctx->Viewport.X, ctx->Viewport.Y, in radeon_draw_buffer()
326 ctx->Viewport.Width, ctx->Viewport.Height); in radeon_draw_buffer()
340 ctx->Viewport.Near, in radeon_draw_buffer()
341 ctx->Viewport.Far); in radeon_draw_buffer()
428 old_viewport = ctx->Driver.Viewport; in radeon_viewport()
429 ctx->Driver.Viewport = NULL; in radeon_viewport()
432 ctx->Driver.Viewport = old_viewport; in radeon_viewport()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_state.c406 ctx->Viewport.X, in intelCalcViewport()
407 ctx->DrawBuffer->Height - ctx->Viewport.Y, in intelCalcViewport()
408 ctx->Viewport.Width, in intelCalcViewport()
409 -ctx->Viewport.Height, in intelCalcViewport()
410 ctx->Viewport.Near, in intelCalcViewport()
411 ctx->Viewport.Far, in intelCalcViewport()
415 ctx->Viewport.X, in intelCalcViewport()
416 ctx->Viewport.Y, in intelCalcViewport()
417 ctx->Viewport.Width, in intelCalcViewport()
418 ctx->Viewport.Height, in intelCalcViewport()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_cc.c52 ccv->min_depth = MIN2(ctx->Viewport.Near, ctx->Viewport.Far); in brw_upload_cc_vp()
53 ccv->max_depth = MAX2(ctx->Viewport.Near, ctx->Viewport.Far); in brw_upload_cc_vp()
/external/libgdx/extensions/gdx-bullet/src/com/badlogic/gdx/physics/bullet/
DDebugDrawer.java29 import com.badlogic.gdx.utils.viewport.Viewport;
41 private Viewport viewport;
122 public void begin (Viewport viewport) { in begin()
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tiledmappacker/
DTiledMapPackerTestRender.java33 import com.badlogic.gdx.utils.viewport.Viewport;
55 private Viewport viewport;
/external/mesa3d/src/mesa/swrast/
Ds_depth.c174 if (ctx->Viewport.Near < ctx->Viewport.Far) { in _swrast_depth_clamp_span()
175 min_f = ctx->Viewport.Near; in _swrast_depth_clamp_span()
176 max_f = ctx->Viewport.Far; in _swrast_depth_clamp_span()
178 min_f = ctx->Viewport.Far; in _swrast_depth_clamp_span()
179 max_f = ctx->Viewport.Near; in _swrast_depth_clamp_span()
Ds_context.c78 if ( ctx->Viewport.X < 0 in _swrast_update_rasterflags()
79 || ctx->Viewport.X + ctx->Viewport.Width > (GLint) ctx->DrawBuffer->Width in _swrast_update_rasterflags()
80 || ctx->Viewport.Y < 0 in _swrast_update_rasterflags()
81 || ctx->Viewport.Y + ctx->Viewport.Height > (GLint) ctx->DrawBuffer->Height) { in _swrast_update_rasterflags()
/external/mesa3d/src/glx/apple/
Dapple_xgl_api_viewport.c46 __ogl_framework_api->Viewport(x, y, width, height); in __applegl_glViewport()
Dapple_glapi.c78 __ogl_framework_api->Viewport(x, y, width, height); in apple_glapi_oglfw_viewport_scissor()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_util.h143 struct gl_viewport_attrib *vp = &ctx->Viewport; in get_viewport_scale()
160 struct gl_viewport_attrib *vp = &ctx->Viewport; in get_viewport_translate()
/external/libgdx/gdx/src/com/badlogic/gdx/utils/viewport/
DScreenViewport.java26 public class ScreenViewport extends Viewport {
DScalingViewport.java39 public class ScalingViewport extends Viewport {
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/
DStage.java47 import com.badlogic.gdx.utils.viewport.Viewport;
68 private Viewport viewport;
98 public Stage (Viewport viewport) { in Stage()
106 public Stage (Viewport viewport, Batch batch) { in Stage()
671 public Viewport getViewport () { in getViewport()
675 public void setViewport (Viewport viewport) { in setViewport()
/external/skia/src/gpu/gl/
DGrGLIRect.h27 GR_GL_CALL(gl, Viewport(fLeft, fBottom, fWidth, fHeight)); in pushToGLViewport()
/external/mesa3d/src/mesa/swrast_setup/
Dss_context.c170 ctx->Viewport._WindowMap.m, in setup_vertex_format()
268 const GLfloat *m = ctx->Viewport._WindowMap.m; in _swsetup_Translate()

123