Home
last modified time | relevance | path

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

/external/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()
/external/skqp/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()
/external/skqp/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
/external/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