/third_party/flutter/skia/src/gpu/ops/ |
D | GrDrawPathOp.cpp | 105 inline void pre_translate_transform_values(const float* xforms, in pre_translate_transform_values() argument 109 memcpy(dst, xforms, count * GrPathRendering::PathTransformSize(type) * sizeof(float)); in pre_translate_transform_values() 119 dst[i] = xforms[i] + x; in pre_translate_transform_values() 125 dst[i] = xforms[i] + y; in pre_translate_transform_values() 130 dst[i] = xforms[i] + x; in pre_translate_transform_values() 131 dst[i + 1] = xforms[i + 1] + y; in pre_translate_transform_values() 136 dst[i] = xforms[i]; in pre_translate_transform_values() 137 dst[i + 1] = xforms[i + 1]; in pre_translate_transform_values() 138 dst[i + 2] = xforms[i] * x + xforms[i + 1] * y + xforms[i + 2]; in pre_translate_transform_values() 139 dst[i + 3] = xforms[i + 3]; in pre_translate_transform_values() [all …]
|
D | GrDrawAtlasOp.cpp | 32 const SkMatrix& viewMatrix, GrAAType, int spriteCount, const SkRSXform* xforms, 92 const SkRSXform* xforms, const SkRect* rects, const SkColor* colors) in DrawAtlasOp() argument 94 SkASSERT(xforms); in DrawAtlasOp() 124 xforms[spriteIndex].toTriStrip(currRect.width(), currRect.height(), strip); in DrawAtlasOp() 272 const SkRSXform* xforms, in Make() argument 277 spriteCount, xforms, in Make() 312 static void randomize_params(uint32_t count, SkRandom* random, SkTArray<SkRSXform>* xforms, in randomize_params() argument 316 xforms->push_back(random_xform(random)); in randomize_params() 327 SkTArray<SkRSXform> xforms(spriteCount); in GR_DRAW_OP_TEST_DEFINE() local 333 randomize_params(spriteCount, random, &xforms, &texRects, &colors, hasColors); in GR_DRAW_OP_TEST_DEFINE() [all …]
|
/third_party/skia/src/gpu/ops/ |
D | DrawAtlasOp.cpp | 33 const SkMatrix& viewMatrix, GrAAType, int spriteCount, const SkRSXform* xforms, 107 const SkRSXform* xforms, const SkRect* rects, in DrawAtlasOpImpl() argument 110 SkASSERT(xforms); in DrawAtlasOpImpl() 140 xforms[spriteIndex].toTriStrip(currRect.width(), currRect.height(), strip); in DrawAtlasOpImpl() 317 const SkRSXform* xforms, in Make() argument 322 spriteCount, xforms, in Make() 360 static void randomize_params(uint32_t count, SkRandom* random, SkTArray<SkRSXform>* xforms, in randomize_params() argument 364 xforms->push_back(random_xform(random)); in randomize_params() 375 SkTArray<SkRSXform> xforms(spriteCount); in GR_DRAW_OP_TEST_DEFINE() local 381 randomize_params(spriteCount, random, &xforms, &texRects, &colors, hasColors); in GR_DRAW_OP_TEST_DEFINE() [all …]
|
D | DrawAtlasOp.h | 26 const SkRSXform* xforms,
|
/third_party/flutter/skia/docs/examples/ |
D | Dst.cpp | 7 SkRSXform xforms[] = { { .5f, 0, 0, 0 }, {0, .5f, 125, 128 } }; in draw() local 10 canvas->drawAtlas(image.get(), xforms, tex, colors, 2, SkBlendMode::kSrc, nullptr, nullptr); in draw() 12 canvas->drawAtlas(image.get(), xforms, tex, colors, 2, SkBlendMode::kDst, nullptr, nullptr); in draw()
|
D | Canvas_drawAtlas_4.cpp | 8 SkRSXform xforms[] = { { 1, 0, 0, 0 }, {0, 1, 300, 100 } }; in draw() local 10 canvas->drawAtlas(image, xforms, tex, 2, nullptr, nullptr); in draw()
|
D | Canvas_drawAtlas_3.cpp | 8 SkRSXform xforms[] = { { .5f, 0, 0, 0 }, {0, .5f, 200, 100 } }; in draw() local 11 canvas->drawAtlas(imagePtr, xforms, tex, 2, nullptr, nullptr); in draw()
|
D | Canvas_drawAtlas_2.cpp | 8 SkRSXform xforms[] = { { .5f, 0, 0, 0 }, {0, .5f, 200, 100 } }; in draw() local 13 canvas->drawAtlas(image, xforms, tex, colors, 2, SkBlendMode::kPlus, nullptr, &paint); in draw()
|
D | Canvas_drawAtlas.cpp | 8 SkRSXform xforms[] = { { .5f, 0, 0, 0 }, {0, .5f, 200, 100 } }; in draw() local 12 canvas->drawAtlas(imagePtr, xforms, tex, colors, 2, SkBlendMode::kSrcOver, nullptr, nullptr); in draw()
|
/third_party/skia/docs/examples/ |
D | Dst.cpp | 7 SkRSXform xforms[] = { { .5f, 0, 0, 0 }, {0, .5f, 125, 128 } }; in draw() local 11 canvas->drawAtlas(image.get(), xforms, tex, colors, 2, SkBlendMode::kSrc, in draw() 14 canvas->drawAtlas(image.get(), xforms, tex, colors, 2, SkBlendMode::kDst, in draw()
|
D | Canvas_drawAtlas.cpp | 8 SkRSXform xforms[] = { { .5f, 0, 0, 0 }, {0, .5f, 200, 100 } }; in draw() local 13 canvas->drawAtlas(imagePtr, xforms, tex, colors, 2, SkBlendMode::kSrcOver, in draw()
|
D | Canvas_drawAtlas_2.cpp | 8 SkRSXform xforms[] = { { .5f, 0, 0, 0 }, {0, .5f, 200, 100 } }; in draw() local 14 canvas->drawAtlas(image.get(), xforms, tex, colors, 2, SkBlendMode::kPlus, in draw()
|
/third_party/flutter/skia/gm/ |
D | drawatlascolor.cpp | 131 SkRSXform xforms[numColors]; in onDraw() local 139 xforms[i].set(1.0f, 0.0f, SkIntToScalar(kPad), i*(target.width()+kPad)); in onDraw() 157 canvas->drawAtlas(atlas.get(), xforms, rects, quadColors, numColors, in onDraw() 161 canvas->drawAtlas(atlas.get(), xforms, rects, quadColors, numColors, in onDraw()
|
D | skbug_8664.cpp | 21 } xforms[] = { variable 40 for (const auto& xform : xforms) {
|
D | drawatlas.cpp | 243 SkRSXform xforms[len]; variable 248 xforms[i] = SkRSXform::Make(scale, 0, x, y); 252 auto blob = SkTextBlob::MakeFromRSXform(text, len, xforms, font);
|
D | imagefilters.cpp | 162 } xforms[] = { variable 174 for (const auto& xform : xforms) {
|
/third_party/skia/gm/ |
D | drawatlascolor.cpp | 131 SkRSXform xforms[numColors]; in onDraw() local 139 xforms[i].set(1.0f, 0.0f, SkIntToScalar(kPad), i*(target.width()+kPad)); in onDraw() 157 canvas->drawAtlas(atlas.get(), xforms, rects, quadColors, numColors, in onDraw() 161 canvas->drawAtlas(atlas.get(), xforms, rects, quadColors, numColors, in onDraw()
|
D | drawatlas.cpp | 245 SkRSXform xforms[len]; variable 250 xforms[i] = SkRSXform::Make(scale, 0, x, y); 254 auto blob = SkTextBlob::MakeFromRSXform(text, len, xforms, font); 283 SkRSXform xforms[len]; variable 288 xforms[i] = SkRSXform::Make(scale, 0, x, y); 292 auto blob = SkTextBlob::MakeFromRSXform(text, len, xforms, font);
|
D | skbug_8664.cpp | 20 } xforms[] = { variable 40 for (const auto& xform : xforms) {
|
/third_party/flutter/skia/tests/ |
D | SkResourceCacheTest.cpp | 184 const SkMatrix xforms[] = { in DEF_TEST() local 189 for (size_t i = 0; i < SK_ARRAY_COUNT(xforms); ++i) { in DEF_TEST() 190 test_discarded_image(reporter, xforms[i], []() { in DEF_TEST() 196 test_discarded_image(reporter, xforms[i], []() { in DEF_TEST()
|
/third_party/skia/tests/ |
D | SkResourceCacheTest.cpp | 184 const SkMatrix xforms[] = { in DEF_TEST() local 189 for (size_t i = 0; i < SK_ARRAY_COUNT(xforms); ++i) { in DEF_TEST() 190 test_discarded_image(reporter, xforms[i], []() { in DEF_TEST() 196 test_discarded_image(reporter, xforms[i], []() { in DEF_TEST()
|
/third_party/skia/src/core/ |
D | SkGlyphRun.cpp | 161 for (auto [xform, pos, sr] : SkMakeZip(buffer.xforms(), in makeBlob() 249 for (const SkRSXform& xform : SkMakeSpan(it.xforms(), runSize)) { in blobToGlyphRunList() 270 SkGlyphRunBuilder::convertRSXForm(SkSpan<const SkRSXform> xforms) { in convertRSXForm() argument 271 const int count = SkCount(xforms); in convertRSXForm() 275 for (auto [pos, sr, xform] : SkMakeZip(positions, scaledRotations, xforms)) { in convertRSXForm()
|
/third_party/flutter/skia/samplecode/ |
D | SampleLitAtlas.cpp | 85 SkRSXform xforms[kNumAsteroids+kNumShips]; in onDraw() local 90 xforms[i] = fAsteroids[i].asRSXform(); in onDraw() 97 xforms[kNumAsteroids] = fShip.asRSXform(); in onDraw() 116 canvas->drawLitAtlas(fAtlas, xforms, fDiffTex, fNormTex, colorsPtr, kNumAsteroids+1, in onDraw() 132 m.setRSXform(xforms[i]); in onDraw()
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/java/ |
D | TJExample.java | 294 TJTransform[] xforms = new TJTransform[1]; in main() local 295 xforms[0] = xform; in main() 296 xforms[0].options |= TJTransform.OPT_TRIM; in main() 297 TJDecompressor[] tjds = tjt.transform(xforms, 0); in main()
|
/third_party/libjpeg-turbo/java/ |
D | TJExample.java | 294 TJTransform[] xforms = new TJTransform[1]; in main() local 295 xforms[0] = xform; in main() 296 xforms[0].options |= TJTransform.OPT_TRIM; in main() 297 TJDecompressor[] tjds = tjt.transform(xforms, 0); in main()
|