/external/chromium_org/third_party/mesa/src/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/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/chromium_org/ui/file_manager/gallery/js/image_editor/ |
D | viewport.js | 11 function Viewport() { class 102 Viewport.ZOOM_RATIOS = Object.freeze([1, 1.5, 2, 3]); 108 Viewport.prototype.setImageSize = function(width, height) { 117 Viewport.prototype.setScreenSize = function(width, height) { 126 Viewport.prototype.setZoom = function(zoom) { 127 var zoomMin = Viewport.ZOOM_RATIOS[0]; 128 var zoomMax = Viewport.ZOOM_RATIOS[Viewport.ZOOM_RATIOS.length - 1]; 138 Viewport.prototype.getZoom = function() { 145 Viewport.prototype.zoomIn = function() { 146 var zoom = Viewport.ZOOM_RATIOS[0]; [all …]
|
/external/chromium_org/chrome/browser/resources/pdf/ |
D | viewport.js | 31 function Viewport(window, class 47 this.fittingType_ = Viewport.FittingType.NONE; 57 Viewport.FittingType = { 69 Viewport.SCROLL_INCREMENT = 40; 76 Viewport.ZOOM_FACTORS = [0.25, 0.333, 0.5, 0.666, 0.75, 0.9, 1, 82 Viewport.ZOOM_FACTOR_RANGE = { 83 min: Viewport.ZOOM_FACTORS[0], 84 max: Viewport.ZOOM_FACTORS[Viewport.ZOOM_FACTORS.length - 1] 90 Viewport.PAGE_SHADOW = {top: 3, bottom: 7, left: 5, right: 5}; 92 Viewport.prototype = { [all …]
|
D | pdf.js | 52 this.viewport_ = new Viewport(window, 153 if (this.viewport_.fittingType == Viewport.FittingType.FIT_TO_PAGE) { 164 if (this.viewport_.fittingType == Viewport.FittingType.FIT_TO_PAGE) { 194 position.x -= Viewport.SCROLL_INCREMENT; 200 position.y -= Viewport.SCROLL_INCREMENT; 211 position.x += Viewport.SCROLL_INCREMENT; 217 position.y += Viewport.SCROLL_INCREMENT; 455 if (this.viewport_.fittingType == Viewport.FittingType.FIT_TO_PAGE) { 458 Viewport.FittingType.FIT_TO_WIDTH) {
|
/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()
|
/external/chromium_org/third_party/mesa/src/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()
|
/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/chromium_org/third_party/mesa/src/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/chromium-trace/trace-viewer/src/tracing/tracks/ |
D | object_instance_track_test.js | 17 var Viewport = tracing.TimelineViewport; 41 var viewport = new Viewport(div); 58 var track = ObjectInstanceTrack(new Viewport());
|
D | slice_track_test.js | 16 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);
|
D | cpu_track_test.js | 15 var Viewport = tracing.TimelineViewport; 27 var viewport = new Viewport(testEl);
|
D | counter_track_test.js | 12 var Viewport = tracing.TimelineViewport; 35 var viewport = new Viewport(testEl); 79 var viewport = new Viewport(div);
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | StyleRule.cpp | 79 case Viewport: in trace() 118 case Viewport: in finalizeGarbageCollectedObject() 157 case Viewport: in destroy() 191 case Viewport: in copy() 231 case Viewport: in createCSSOMWrapper() 418 : StyleRuleBase(Viewport) in StyleRuleViewport()
|
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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()
|