/external/skia/src/gpu/ |
D | GrDefaultGeoProcFactory.cpp | 300 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/ |
D | Actor.java | 747 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 …]
|
D | Group.java | 411 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/ |
D | GrGLSLGeometryProcessor.h | 49 const char* localCoords, in emitTransforms() argument 53 posVar, localCoords, SkMatrix::I(), tin, tout); in emitTransforms() 61 const char* localCoords, 69 const char* localCoords,
|
D | GrGLSLGeometryProcessor.cpp | 31 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/ |
D | GrDrawVerticesBatch.h | 37 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);
|
D | GrNonAAFillRectBatch.cpp | 67 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()
|
D | GrDrawVerticesBatch.cpp | 24 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()
|
D | GrAAFillRectBatch.cpp | 67 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()
|
D | GrNinePatch.cpp | 22 LocalCoords localCoords(LocalCoords::kHasExplicit_Type); in create_gp() local 23 return GrDefaultGeoProcFactory::Create(color, coverage, localCoords, SkMatrix::I()); in create_gp()
|
D | GrNonAAStrokeRectBatch.cpp | 114 LocalCoords localCoords(this->usesLocalCoords() ? LocalCoords::kUsePosition_Type : in onPrepareDraws() local 116 gp.reset(GrDefaultGeoProcFactory::Create(color, coverage, localCoords, in onPrepareDraws()
|
D | GrDrawAtlasBatch.cpp | 50 LocalCoords localCoords(LocalCoords::kHasExplicit_Type); in set_vertex_attributes() local 51 return GrDefaultGeoProcFactory::Create(gpColor, coverage, localCoords, viewMatrix); in set_vertex_attributes()
|
D | GrTessellatingPathRenderer.cpp | 181 LocalCoords localCoords(fPipelineInfo.readsLocalCoords() ? in onPrepareDraws() local 191 gp.reset(GrDefaultGeoProcFactory::Create(color, coverage, localCoords, in onPrepareDraws()
|
D | GrAALinearizingConvexPathRenderer.cpp | 113 LocalCoords localCoords(usesLocalCoords ? LocalCoords::kUsePosition_Type : in create_fill_gp() local 115 return CreateForDeviceSpace(color, coverage, localCoords, viewMatrix); in create_fill_gp()
|
D | GrAAHairLinePathRenderer.cpp | 816 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()
|
D | GrDefaultPathRenderer.cpp | 263 LocalCoords localCoords(this->usesLocalCoords() ? LocalCoords::kUsePosition_Type : in onPrepareDraws() local 265 gp.reset(GrDefaultGeoProcFactory::Create(color, coverage, localCoords, in onPrepareDraws()
|
D | GrAAStrokeRectBatch.cpp | 41 LocalCoords localCoords(usesLocalCoords ? LocalCoords::kUsePosition_Type : in create_stroke_rect_gp() local 43 return CreateForDeviceSpace(color, coverage, localCoords, viewMatrix); in create_stroke_rect_gp()
|
D | GrAAConvexPathRenderer.cpp | 740 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/ |
D | convexpolyeffect.cpp | 173 LocalCoords localCoords(LocalCoords::kUnused_Type); in onDraw() local 175 GrDefaultGeoProcFactory::Create(color, coverage, localCoords, SkMatrix::I())); in onDraw()
|
/external/skia/src/gpu/effects/ |
D | GrDashingEffect.cpp | 353 LocalCoords localCoords(this->usesLocalCoords() ? LocalCoords::kUsePosition_Type : in onPrepareDraws() local 355 gp.reset(CreateForDeviceSpace(color, coverage, localCoords, this->viewMatrix())); in onPrepareDraws()
|