Home
last modified time | relevance | path

Searched refs:SkRSXform (Results 1 – 25 of 29) sorted by relevance

12

/external/skia/include/core/
DSkRSXform.h20 struct SkRSXform { struct
21 static SkRSXform Make(SkScalar scos, SkScalar ssin, SkScalar tx, SkScalar ty) { in Make() argument
22 SkRSXform xform = { scos, ssin, tx, ty }; in Make()
32 static SkRSXform MakeFromRadians(SkScalar scale, SkScalar radians, SkScalar tx, SkScalar ty, in MakeFromRadians() argument
DSkCanvas.h35 struct SkRSXform;
1055 void drawAtlas(const SkImage* atlas, const SkRSXform xform[], const SkRect tex[],
1059 void drawAtlas(const SkImage* atlas, const SkRSXform xform[], const SkRect tex[], int count, in drawAtlas()
1257 virtual void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const SkColor[],
DSkMatrix.h15 struct SkRSXform;
250 SkMatrix& setRSXform(const SkRSXform&);
DSkDevice.h252 virtual void drawAtlas(const SkDraw&, const SkImage* atlas, const SkRSXform[], const SkRect[],
/external/skia/samplecode/
DSampleShip.cpp23 typedef void (*DrawAtlasProc)(SkCanvas*, SkImage*, const SkRSXform[], const SkRect[],
26 static void draw_atlas(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], in draw_atlas()
32 static void draw_atlas_sim(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], in draw_atlas_sim()
73 fXform[currIndex] = SkRSXform::MakeFromRadians(0.1f, SK_ScalarPI*0.5f, in DrawShipView()
81 fXform[currIndex] = SkRSXform::MakeFromRadians(0.5f, SK_ScalarPI*0.5f, in DrawShipView()
172 SkRSXform fXform[kGrid*kGrid+1];
DSampleAtlas.cpp18 typedef void (*DrawAtlasProc)(SkCanvas*, SkImage*, const SkRSXform[], const SkRect[],
21 static void draw_atlas(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], in draw_atlas()
27 static void draw_atlas_sim(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], in draw_atlas_sim()
122 SkRSXform asRSXform() const { in asRSXform()
123 return SkRSXform::MakeFromRadians(fScale, fRadian, fCenter.x(), fCenter.y(), in asRSXform()
175 SkRSXform xform[N]; in onDraw()
/external/skia/src/gpu/batches/
DGrDrawAtlasBatch.cpp88 int spriteCount, const SkRSXform* xforms, const SkRect* rects, in GrDrawAtlasBatch()
202 static SkRSXform random_xform(SkRandom* random) { in random_xform()
210 SkRSXform xform = SkRSXform::MakeFromRadians(random->nextRangeScalar(kMinScale, kMaxScale), in random_xform()
232 SkTArray<SkRSXform>* xforms, in randomize_params()
247 SkTArray<SkRSXform> xforms(spriteCount); in DRAW_BATCH_TEST_DEFINE()
DGrDrawAtlasBatch.h25 int spriteCount, const SkRSXform* xforms, const SkRect* rects, in Create()
52 const SkRSXform* xforms, const SkRect* rects, const SkColor* colors);
/external/skia/experimental/GLFWTest/
Dglfw_main.cpp80 SkRSXform xform[kGrid*kGrid+1]; in main()
106 xform[currIndex] = SkRSXform::MakeFromRadians(2.0f, SK_ScalarPI*0.5f, in main()
112 xform[currIndex] = SkRSXform::MakeFromRadians(2.0f, SK_ScalarPI*0.5f, in main()
/external/skia/gm/
Ddrawatlas.cpp65 void apply(SkRSXform* xform) const { in onDraw()
80 SkRSXform xform[N]; in onDraw()
Ddrawatlascolor.cpp125 SkRSXform xforms[numColors]; in onDraw()
/external/skia/include/gpu/
DGrDrawContext.h40 struct SkRSXform;
201 const SkRSXform xform[],
/external/skia/src/core/
DSkPicturePlayback.cpp183 const SkRSXform* xform = (const SkRSXform*)reader->skip(count * sizeof(SkRSXform)); in handleOp()
DSkRecorder.h114 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const SkColor[],
DSkPictureRecord.cpp745 void SkPictureRecord::onDrawAtlas(const SkImage* atlas, const SkRSXform xform[], const SkRect tex[], in onDrawAtlas()
749 size_t size = 5 * kUInt32Size + count * sizeof(SkRSXform) + count * sizeof(SkRect); in onDrawAtlas()
766 fWriter.write(xform, count * sizeof(SkRSXform)); in onDrawAtlas()
DSkPictureRecord.h176 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const SkColor[], int,
DSkRecorder.cpp322 void SkRecorder::onDrawAtlas(const SkImage* atlas, const SkRSXform xform[], const SkRect tex[], in onDrawAtlas()
DSkDevice.cpp185 void SkBaseDevice::drawAtlas(const SkDraw& draw, const SkImage* atlas, const SkRSXform xform[], in drawAtlas()
DSkMatrix.cpp454 SkMatrix& SkMatrix::setRSXform(const SkRSXform& xform) { in setRSXform()
1769 void SkRSXform::toQuad(SkScalar width, SkScalar height, SkPoint quad[4]) const { in toQuad()
/external/skia/tools/android/
DSkAndroidSDKCanvas.h76 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[],
DSkAndroidSDKCanvas.cpp251 const SkRSXform xform[], in onDrawAtlas()
/external/skia/tools/json/
DSkJSONCanvas.h203 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const SkColor[],
/external/skia/src/gpu/
DSkGpuDevice.h114 void drawAtlas(const SkDraw&, const SkImage* atlas, const SkRSXform[], const SkRect[],
DGrDrawContext.cpp454 const SkRSXform xform[], in drawAtlas()
/external/skia/include/private/
DSkRecords.h345 PODArray<SkRSXform> xforms;

12