/third_party/flutter/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/ |
D | CanvasMatrixUtil.java | 48 float[] viewPort = createViewportMatrix(viewPortWidth, viewPortHeight); in createPerspectiveMatrix() local 50 float[][] matrices = {planeStickRotation, model, view, projection, viewPort}; in createPerspectiveMatrix() 63 float[] viewPort = new float[16]; in createViewportMatrix() local 64 android.opengl.Matrix.setIdentityM(viewPort, 0); in createViewportMatrix() 65 android.opengl.Matrix.translateM(viewPort, 0, width / 2, height / 2, 0); in createViewportMatrix() 66 android.opengl.Matrix.scaleM(viewPort, 0, width / 2, -height / 2, 0); in createViewportMatrix() 67 return viewPort; in createViewportMatrix()
|
/third_party/skia/modules/svg/src/ |
D | SkSVGImage.cpp | 59 const SkRect& viewPort, in LoadImage() argument 73 const SkMatrix m = ComputeViewboxMatrix(viewBox, viewPort, par); in LoadImage() 74 const SkRect dst = m.mapRect(viewBox).makeOffset(viewPort.fLeft, viewPort.fTop); in LoadImage() 82 const SkRect viewPort = lctx.resolveRect(fX, fY, fWidth, fHeight); in onRender() local 84 const auto imgInfo = LoadImage(ctx.resourceProvider(), fHref, viewPort, fPreserveAspectRatio); in onRender()
|
D | SkSVGSVG.cpp | 20 auto viewPort = SkSize::Make(viewPortRect.width(), viewPortRect.height()); in onPrepareToRender() local 31 viewPort = SkSize::Make(viewBox.width(), viewBox.height()); in onPrepareToRender() 41 if (viewPort != ctx->lengthContext().viewPort()) { in onPrepareToRender() 42 ctx->writableLengthContext()->setViewPort(viewPort); in onPrepareToRender()
|
D | SkSVGNode.cpp | 133 const SkRect& viewPort, in ComputeViewboxMatrix() argument 136 SkASSERT(!viewPort.isEmpty()); in ComputeViewboxMatrix() 139 const auto sx = viewPort.width() / viewBox.width(), in ComputeViewboxMatrix() 140 sy = viewPort.height() / viewBox.height(); in ComputeViewboxMatrix() 169 dx = viewPort.width() - viewBox.width() * scale.x, in ComputeViewboxMatrix() 170 dy = viewPort.height() - viewBox.height() * scale.y; in ComputeViewboxMatrix()
|
/third_party/flutter/skia/experimental/svg/model/ |
D | SkSVGSVG.cpp | 18 auto viewPort = SkSize::Make(viewPortRect.width(), viewPortRect.height()); in onPrepareToRender() local 29 viewPort = SkSize::Make(viewBox.width(), viewBox.height()); in onPrepareToRender() 40 if (viewPort != ctx->lengthContext().viewPort()) { in onPrepareToRender() 41 ctx->writableLengthContext()->setViewPort(viewPort); in onPrepareToRender()
|
D | SkSVGRenderContext.h | 34 const SkSize& viewPort() const { return fViewport; } in viewPort() function
|
/third_party/flutter/skia/tools/skottie-wasm-perf/ |
D | skottie-wasm-perf.js | 119 const viewPort = {width: 1000, height: 1000}; variable 130 '--window-size=' + viewPort.width + ',' + viewPort.height, 140 await page.setViewport(viewPort);
|
/third_party/skia/tools/lottie-web-perf/ |
D | lottie-web-perf.js | 123 const viewPort = {width: 1000, height: 1000}; variable 134 '--window-size=' + viewPort.width + ',' + viewPort.height, 145 await page.setViewport(viewPort);
|
/third_party/flutter/skia/tools/lottie-web-perf/ |
D | lottie-web-perf.js | 123 const viewPort = {width: 1000, height: 1000}; variable 134 '--window-size=' + viewPort.width + ',' + viewPort.height, 144 await page.setViewport(viewPort);
|
/third_party/skia/tools/skottie-wasm-perf/ |
D | skottie-wasm-perf.js | 123 const viewPort = {width: 1000, height: 1000}; variable 134 '--window-size=' + viewPort.width + ',' + viewPort.height, 145 await page.setViewport(viewPort);
|
/third_party/skia/tools/perf-canvaskit-puppeteer/ |
D | perf-canvaskit-with-puppeteer.js | 197 const viewPort = {width: 1000, height: 1000}; variable 208 '--window-size=' + viewPort.width + ',' + viewPort.height, 231 await page.setViewport(viewPort);
|
/third_party/skia/tools/run-wasm-gm-tests/ |
D | run-wasm-gm-tests.js | 200 const viewPort = {width: 1000, height: 1000}; variable 208 '--window-size=' + viewPort.width + ',' + viewPort.height, 234 await page.setViewport(viewPort);
|
/third_party/skia/modules/svg/include/ |
D | SkSVGRenderContext.h | 37 const SkSize& viewPort() const { return fViewport; } in viewPort() function
|