/external/mesa3d/src/mesa/main/ |
D | viewport.c | 80 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 …]
|
D | state.c | 288 _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()
|
D | context.c | 1297 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/ |
D | st_atom_viewport.c | 65 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()
|
D | st_cb_viewport.c | 79 functions->Viewport = st_viewport; in st_init_viewport_functions()
|
/external/mesa3d/src/mesa/tnl/ |
D | t_rasterpos.c | 412 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/ |
D | ViewportTest1.java | 39 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()
|
D | ViewportTest2.java | 36 import com.badlogic.gdx.utils.viewport.Viewport; 40 Array<Viewport> viewports; 41 Viewport viewport;
|
D | ViewportTest3.java | 40 import com.badlogic.gdx.utils.viewport.Viewport; 44 Array<Viewport> viewports; 45 Viewport viewport;
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_common.c | 324 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/ |
D | radeon_common.c | 324 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/ |
D | i915_state.c | 406 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/ |
D | brw_cc.c | 52 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/ |
D | DebugDrawer.java | 29 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/ |
D | TiledMapPackerTestRender.java | 33 import com.badlogic.gdx.utils.viewport.Viewport; 55 private Viewport viewport;
|
/external/mesa3d/src/mesa/swrast/ |
D | s_depth.c | 174 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()
|
D | s_context.c | 78 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/ |
D | apple_xgl_api_viewport.c | 46 __ogl_framework_api->Viewport(x, y, width, height); in __applegl_glViewport()
|
D | apple_glapi.c | 78 __ogl_framework_api->Viewport(x, y, width, height); in apple_glapi_oglfw_viewport_scissor()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_util.h | 143 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/ |
D | ScreenViewport.java | 26 public class ScreenViewport extends Viewport {
|
D | ScalingViewport.java | 39 public class ScalingViewport extends Viewport {
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ |
D | Stage.java | 47 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/ |
D | GrGLIRect.h | 27 GR_GL_CALL(gl, Viewport(fLeft, fBottom, fWidth, fHeight)); in pushToGLViewport()
|
/external/mesa3d/src/mesa/swrast_setup/ |
D | ss_context.c | 170 ctx->Viewport._WindowMap.m, in setup_vertex_format() 268 const GLfloat *m = ctx->Viewport._WindowMap.m; in _swsetup_Translate()
|