Home
last modified time | relevance | path

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

1234567

/external/chromium_org/third_party/mesa/src/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/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/chromium_org/chrome/browser/resources/file_manager/foreground/js/image_editor/
Dviewport.js11 function Viewport() { class
33 Viewport.prototype.setScaleControl = function(scaleControl) {
41 Viewport.prototype.setImageSize = function(width, height) {
51 Viewport.prototype.setScreenSize = function(width, height) {
63 Viewport.prototype.sizeByFrame = function(frame) {
72 Viewport.prototype.sizeByFrameAndFit = function(frame) {
84 Viewport.prototype.getScale = function() { return this.scale_ };
90 Viewport.prototype.setScale = function(scale, notify) {
100 Viewport.prototype.getFittingScale = function() {
105 return Math.min(1 / Viewport.getDevicePixelRatio(), scaleX, scaleY);
[all …]
/external/chromium_org/third_party/mesa/src/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()
/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()
/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/chromium_org/third_party/mesa/src/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/chromium-trace/trace-viewer/src/tracing/tracks/
Dobject_instance_track_test.js17 var Viewport = tracing.TimelineViewport;
41 var viewport = new Viewport(div);
58 var track = ObjectInstanceTrack(new Viewport());
Dslice_track_test.js16 var Viewport = tracing.TimelineViewport;
22 var viewport = new Viewport(div);
44 var viewport = new Viewport(div);
80 var viewport = new Viewport(div);
124 var viewport = new Viewport(testEl);
168 var viewport = new Viewport(testEl);
Dcpu_track_test.js15 var Viewport = tracing.TimelineViewport;
27 var viewport = new Viewport(testEl);
Dcounter_track_test.js12 var Viewport = tracing.TimelineViewport;
35 var viewport = new Viewport(testEl);
79 var viewport = new Viewport(div);
/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/WebKit/Source/core/css/
DStyleRule.cpp84 case Viewport: in destroy()
120 case Viewport: in copy()
163 case Viewport: in createCSSOMWrapper()
334 : StyleRuleBase(Viewport) in StyleRuleViewport()
/external/chromium_org/ui/views/controls/
Dscroll_view.cc82 class ScrollView::Viewport : public View { class in views::ScrollView
84 Viewport() {} in Viewport() function in views::ScrollView::Viewport
85 virtual ~Viewport() {} in ~Viewport()
108 DISALLOW_COPY_AND_ASSIGN(Viewport);
113 contents_viewport_(new Viewport()), in ScrollView()
115 header_viewport_(new Viewport()), in ScrollView()

1234567