Searched refs:xforms (Results 1 - 8 of 8) sorted by relevance

/external/skia/src/gpu/batches/
H A DGrDrawPathBatch.cpp10 static void pre_translate_transform_values(const float* xforms,
164 inline void pre_translate_transform_values(const float* xforms, argument
168 memcpy(dst, xforms, count * GrPathRendering::PathTransformSize(type) * sizeof(float));
178 dst[i] = xforms[i] + x;
184 dst[i] = xforms[i] + y;
189 dst[i] = xforms[i] + x;
190 dst[i + 1] = xforms[i + 1] + y;
195 dst[i] = xforms[i];
196 dst[i + 1] = xforms[i + 1];
197 dst[i + 2] = xforms[
[all...]
H A DGrDrawAtlasBatch.h25 int spriteCount, const SkRSXform* xforms, const SkRect* rects,
27 return new GrDrawAtlasBatch(geometry, viewMatrix, spriteCount, xforms, rects, colors);
52 const SkRSXform* xforms, const SkRect* rects, const SkColor* colors);
24 Create(const Geometry& geometry, const SkMatrix& viewMatrix, int spriteCount, const SkRSXform* xforms, const SkRect* rects, const SkColor* colors) argument
H A DGrDrawAtlasBatch.cpp88 int spriteCount, const SkRSXform* xforms, const SkRect* rects,
91 SkASSERT(xforms);
120 xforms[spriteIndex].toQuad(currRect.width(), currRect.height(), quad);
232 SkTArray<SkRSXform>* xforms,
236 xforms->push_back(random_xform(random));
247 SkTArray<SkRSXform> xforms(spriteCount);
255 &xforms,
263 return GrDrawAtlasBatch::Create(geometry, viewMatrix, spriteCount, xforms.begin(),
87 GrDrawAtlasBatch(const Geometry& geometry, const SkMatrix& viewMatrix, int spriteCount, const SkRSXform* xforms, const SkRect* rects, const SkColor* colors) argument
231 randomize_params(uint32_t count, SkRandom* random, SkTArray<SkRSXform>* xforms, SkTArray<SkRect>* texRects, SkTArray<GrColor>* colors, bool hasColors) argument
/external/skia/gm/
H A Ddrawatlascolor.cpp125 SkRSXform xforms[numColors]; variable
133 xforms[i].set(1.0f, 0.0f, SkIntToScalar(kPad), i*(target.width()+kPad));
154 canvas->drawAtlas(fAtlas, xforms, rects, quadColors, numColors,
158 canvas->drawAtlas(fAtlas, xforms, rects, quadColors, numColors,
H A Dimagefilters.cpp156 } xforms[] = { local
168 for (const auto& xform : xforms) {
/external/skia/tests/
H A DSkResourceCacheTest.cpp309 const SkMatrix xforms[] = { local
314 for (size_t i = 0; i < SK_ARRAY_COUNT(xforms); ++i) {
315 test_discarded_image(reporter, xforms[i], []() {
321 test_discarded_image(reporter, xforms[i], []() {
/external/skia/include/private/
H A DSkRecords.h345 PODArray<SkRSXform> xforms;
/external/skia/src/core/
H A DSkRecordDraw.cpp117 DRAW(DrawAtlas, drawAtlas(r.atlas, r.xforms, r.texs, r.colors, r.count, r.mode, r.cull, r.paint));

Completed in 151 milliseconds