Home
last modified time | relevance | path

Searched refs:viewPort (Results 1 – 13 of 13) sorted by relevance

/third_party/flutter/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/
DCanvasMatrixUtil.java48 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/
DSkSVGImage.cpp59 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()
DSkSVGSVG.cpp20 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()
DSkSVGNode.cpp133 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/
DSkSVGSVG.cpp18 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()
DSkSVGRenderContext.h34 const SkSize& viewPort() const { return fViewport; } in viewPort() function
/third_party/flutter/skia/tools/skottie-wasm-perf/
Dskottie-wasm-perf.js119 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/
Dlottie-web-perf.js123 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/
Dlottie-web-perf.js123 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/
Dskottie-wasm-perf.js123 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/
Dperf-canvaskit-with-puppeteer.js197 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/
Drun-wasm-gm-tests.js200 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/
DSkSVGRenderContext.h37 const SkSize& viewPort() const { return fViewport; } in viewPort() function