Home
last modified time | relevance | path

Searched refs:localCoords (Results 1 – 20 of 20) sorted by relevance

/external/skia/src/gpu/
DGrDefaultGeoProcFactory.cpp300 const LocalCoords& localCoords, in Create() argument
305 flags |= localCoords.fType == LocalCoords::kHasExplicit_Type ? kLocalCoord_GPFlag : 0; in Create()
306 flags |= localCoords.fType == LocalCoords::kHasTransformed_Type ? in Create()
311 bool localCoordsWillBeRead = localCoords.fType != LocalCoords::kUnused_Type; in Create()
317 localCoords.fMatrix ? *localCoords.fMatrix : SkMatrix::I(), in Create()
326 const LocalCoords& localCoords, in CreateForDeviceSpace() argument
329 if (LocalCoords::kUnused_Type != localCoords.fType) { in CreateForDeviceSpace()
330 SkASSERT(LocalCoords::kUsePosition_Type == localCoords.fType); in CreateForDeviceSpace()
336 if (localCoords.hasLocalMatrix()) { in CreateForDeviceSpace()
337 invert.preConcat(*localCoords.fMatrix); in CreateForDeviceSpace()
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/
DActor.java747 public Vector2 localToStageCoordinates (Vector2 localCoords) { in localToStageCoordinates() argument
748 return localToAscendantCoordinates(null, localCoords); in localToStageCoordinates()
752 public Vector2 localToParentCoordinates (Vector2 localCoords) { in localToParentCoordinates() argument
760 localCoords.x += x; in localToParentCoordinates()
761 localCoords.y += y; in localToParentCoordinates()
765 localCoords.x = (localCoords.x - originX) * scaleX + originX + x; in localToParentCoordinates()
766 localCoords.y = (localCoords.y - originY) * scaleY + originY + y; in localToParentCoordinates()
773 final float tox = (localCoords.x - originX) * scaleX; in localToParentCoordinates()
774 final float toy = (localCoords.y - originY) * scaleY; in localToParentCoordinates()
775 localCoords.x = (tox * cos + toy * sin) + originX + x; in localToParentCoordinates()
[all …]
DGroup.java411 public Vector2 localToDescendantCoordinates (Actor descendant, Vector2 localCoords) { in localToDescendantCoordinates() argument
415 if (parent != this) localToDescendantCoordinates(parent, localCoords); in localToDescendantCoordinates()
417 descendant.parentToLocalCoordinates(localCoords); in localToDescendantCoordinates()
418 return localCoords; in localToDescendantCoordinates()
/external/skia/src/gpu/glsl/
DGrGLSLGeometryProcessor.h49 const char* localCoords, in emitTransforms() argument
53 posVar, localCoords, SkMatrix::I(), tin, tout); in emitTransforms()
61 const char* localCoords,
69 const char* localCoords,
DGrGLSLGeometryProcessor.cpp31 const char* localCoords, in emitTransforms() argument
91 vb->codeAppendf("%s = (%s * vec3(%s, 1)).xy;", v.vsOut(), uniName, localCoords); in emitTransforms()
93 vb->codeAppendf("%s = %s * vec3(%s, 1);", v.vsOut(), uniName, localCoords); in emitTransforms()
102 const char* localCoords, in emitTransforms() argument
120 vb->codeAppendf("%s = %s;", v.vsOut(), localCoords); in emitTransforms()
/external/skia/src/gpu/batches/
DGrDrawVerticesBatch.h37 const GrColor* colors, const SkPoint* localCoords, in Create() argument
40 indices, indexCount, colors, localCoords, bounds); in Create()
59 const GrColor* colors, const SkPoint* localCoords, const SkRect& bounds);
DGrNonAAFillRectBatch.cpp67 LocalCoords localCoords(hasExplicitLocalCoords ? LocalCoords::kHasExplicit_Type : in create_gp() local
70 return GrDefaultGeoProcFactory::Create(color, coverage, localCoords, viewMatrix); in create_gp()
72 LocalCoords localCoords(LocalCoords::kHasExplicit_Type); in create_gp() local
73 return GrDefaultGeoProcFactory::Create(color, coverage, localCoords, SkMatrix::I()); in create_gp()
75 LocalCoords localCoords(LocalCoords::kUsePosition_Type, localMatrix); in create_gp() local
76 return GrDefaultGeoProcFactory::CreateForDeviceSpace(color, coverage, localCoords, in create_gp()
DGrDrawVerticesBatch.cpp24 LocalCoords localCoords(hasLocalCoords ? LocalCoords::kHasExplicit_Type : in set_vertex_attributes() local
31 coverage, localCoords, viewMatrix); in set_vertex_attributes()
38 const GrColor* colors, const SkPoint* localCoords, in GrDrawVerticesBatch() argument
58 if (localCoords) { in GrDrawVerticesBatch()
59 installedGeo.fLocalCoords.append(vertexCount, localCoords); in GrDrawVerticesBatch()
DGrAAFillRectBatch.cpp67 LocalCoords localCoords(localCoordsType); in create_fill_rect_gp() local
68 return GrDefaultGeoProcFactory::Create(color, coverage, localCoords, SkMatrix::I()); in create_fill_rect_gp()
70 LocalCoords localCoords(overrides.readsLocalCoords() ? localCoordsType : in create_fill_rect_gp() local
72 return CreateForDeviceSpace(color, coverage, localCoords, viewMatrix); in create_fill_rect_gp()
DGrNinePatch.cpp22 LocalCoords localCoords(LocalCoords::kHasExplicit_Type); in create_gp() local
23 return GrDefaultGeoProcFactory::Create(color, coverage, localCoords, SkMatrix::I()); in create_gp()
DGrNonAAStrokeRectBatch.cpp114 LocalCoords localCoords(this->usesLocalCoords() ? LocalCoords::kUsePosition_Type : in onPrepareDraws() local
116 gp.reset(GrDefaultGeoProcFactory::Create(color, coverage, localCoords, in onPrepareDraws()
DGrDrawAtlasBatch.cpp50 LocalCoords localCoords(LocalCoords::kHasExplicit_Type); in set_vertex_attributes() local
51 return GrDefaultGeoProcFactory::Create(gpColor, coverage, localCoords, viewMatrix); in set_vertex_attributes()
DGrTessellatingPathRenderer.cpp181 LocalCoords localCoords(fPipelineInfo.readsLocalCoords() ? in onPrepareDraws() local
191 gp.reset(GrDefaultGeoProcFactory::Create(color, coverage, localCoords, in onPrepareDraws()
DGrAALinearizingConvexPathRenderer.cpp113 LocalCoords localCoords(usesLocalCoords ? LocalCoords::kUsePosition_Type : in create_fill_gp() local
115 return CreateForDeviceSpace(color, coverage, localCoords, viewMatrix); in create_fill_gp()
DGrAAHairLinePathRenderer.cpp816 LocalCoords localCoords(this->usesLocalCoords() ? LocalCoords::kUsePosition_Type : in onPrepareDraws() local
818 localCoords.fMatrix = geometryProcessorLocalM; in onPrepareDraws()
819 lineGP.reset(GrDefaultGeoProcFactory::Create(color, coverage, localCoords, in onPrepareDraws()
DGrDefaultPathRenderer.cpp263 LocalCoords localCoords(this->usesLocalCoords() ? LocalCoords::kUsePosition_Type : in onPrepareDraws() local
265 gp.reset(GrDefaultGeoProcFactory::Create(color, coverage, localCoords, in onPrepareDraws()
DGrAAStrokeRectBatch.cpp41 LocalCoords localCoords(usesLocalCoords ? LocalCoords::kUsePosition_Type : in create_stroke_rect_gp() local
43 return CreateForDeviceSpace(color, coverage, localCoords, viewMatrix); in create_stroke_rect_gp()
DGrAAConvexPathRenderer.cpp740 LocalCoords localCoords(usesLocalCoords ? LocalCoords::kUsePosition_Type : in create_fill_gp() local
742 return CreateForDeviceSpace(color, coverage, localCoords, viewMatrix); in create_fill_gp()
/external/skia/gm/
Dconvexpolyeffect.cpp173 LocalCoords localCoords(LocalCoords::kUnused_Type); in onDraw() local
175 GrDefaultGeoProcFactory::Create(color, coverage, localCoords, SkMatrix::I())); in onDraw()
/external/skia/src/gpu/effects/
DGrDashingEffect.cpp353 LocalCoords localCoords(this->usesLocalCoords() ? LocalCoords::kUsePosition_Type : in onPrepareDraws() local
355 gp.reset(CreateForDeviceSpace(color, coverage, localCoords, this->viewMatrix())); in onPrepareDraws()