/external/skqp/src/gpu/ops/ |
D | GrDrawPathOp.cpp | 93 inline void pre_translate_transform_values(const float* xforms, in pre_translate_transform_values() argument 97 memcpy(dst, xforms, count * GrPathRendering::PathTransformSize(type) * sizeof(float)); in pre_translate_transform_values() 107 dst[i] = xforms[i] + x; in pre_translate_transform_values() 113 dst[i] = xforms[i] + y; in pre_translate_transform_values() 118 dst[i] = xforms[i] + x; in pre_translate_transform_values() 119 dst[i + 1] = xforms[i + 1] + y; in pre_translate_transform_values() 124 dst[i] = xforms[i]; in pre_translate_transform_values() 125 dst[i + 1] = xforms[i + 1]; in pre_translate_transform_values() 126 dst[i + 2] = xforms[i] * x + xforms[i + 1] * y + xforms[i + 2]; in pre_translate_transform_values() 127 dst[i + 3] = xforms[i + 3]; in pre_translate_transform_values() [all …]
|
D | GrDrawAtlasOp.cpp | 32 const SkRSXform* xforms, const SkRect* rects, const SkColor* colors) in GrDrawAtlasOp() argument 34 SkASSERT(xforms); in GrDrawAtlasOp() 64 xforms[spriteIndex].toTriStrip(currRect.width(), currRect.height(), strip); in GrDrawAtlasOp() 231 static void randomize_params(uint32_t count, SkRandom* random, SkTArray<SkRSXform>* xforms, in randomize_params() argument 235 xforms->push_back(random_xform(random)); in randomize_params() 246 SkTArray<SkRSXform> xforms(spriteCount); in GR_DRAW_OP_TEST_DEFINE() local 252 randomize_params(spriteCount, random, &xforms, &texRects, &colors, hasColors); in GR_DRAW_OP_TEST_DEFINE() 261 xforms.begin(), texRects.begin(), in GR_DRAW_OP_TEST_DEFINE()
|
D | GrDrawAtlasOp.h | 28 const SkRSXform* xforms, in Make() argument 32 spriteCount, xforms, rects, colors); in Make() 36 const SkMatrix& viewMatrix, GrAAType, int spriteCount, const SkRSXform* xforms,
|
/external/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() 271 const SkRSXform* xforms, in Make() argument 276 spriteCount, xforms, in Make() 311 static void randomize_params(uint32_t count, SkRandom* random, SkTArray<SkRSXform>* xforms, in randomize_params() argument 315 xforms->push_back(random_xform(random)); in randomize_params() 326 SkTArray<SkRSXform> xforms(spriteCount); in GR_DRAW_OP_TEST_DEFINE() local 332 randomize_params(spriteCount, random, &xforms, &texRects, &colors, hasColors); in GR_DRAW_OP_TEST_DEFINE() [all …]
|
D | GrDrawAtlasOp.h | 25 const SkRSXform* xforms,
|
/external/skqp/gm/ |
D | drawatlascolor.cpp | 118 SkRSXform xforms[numColors]; in onDraw() local 126 xforms[i].set(1.0f, 0.0f, SkIntToScalar(kPad), i*(target.width()+kPad)); in onDraw() 144 canvas->drawAtlas(atlas.get(), xforms, rects, quadColors, numColors, in onDraw() 148 canvas->drawAtlas(atlas.get(), xforms, rects, quadColors, numColors, in onDraw()
|
D | skbug_8664.cpp | 15 } xforms[] = { variable 34 for (const auto& xform : xforms) {
|
D | drawatlas.cpp | 221 SkRSXform xforms[len]; variable 226 xforms[i] = SkRSXform::Make(scale, 0, x, y); 230 auto blob = SkTextBlob::MakeFromRSXform(text, len, xforms, font);
|
D | imagefilters.cpp | 155 } xforms[] = { variable 167 for (const auto& xform : xforms) {
|
/external/skia/gm/ |
D | drawatlascolor.cpp | 118 SkRSXform xforms[numColors]; in onDraw() local 126 xforms[i].set(1.0f, 0.0f, SkIntToScalar(kPad), i*(target.width()+kPad)); in onDraw() 144 canvas->drawAtlas(atlas.get(), xforms, rects, quadColors, numColors, in onDraw() 148 canvas->drawAtlas(atlas.get(), xforms, rects, quadColors, numColors, in onDraw()
|
D | skbug_8664.cpp | 15 } xforms[] = { variable 34 for (const auto& xform : xforms) {
|
D | drawatlas.cpp | 221 SkRSXform xforms[len]; variable 226 xforms[i] = SkRSXform::Make(scale, 0, x, y); 230 auto blob = SkTextBlob::MakeFromRSXform(text, len, xforms, font);
|
D | imagefilters.cpp | 155 } xforms[] = { variable 167 for (const auto& xform : xforms) {
|
/external/skqp/tests/ |
D | SkResourceCacheTest.cpp | 186 const SkMatrix xforms[] = { in DEF_TEST() local 191 for (size_t i = 0; i < SK_ARRAY_COUNT(xforms); ++i) { in DEF_TEST() 192 test_discarded_image(reporter, xforms[i], []() { in DEF_TEST() 198 test_discarded_image(reporter, xforms[i], []() { in DEF_TEST()
|
/external/skia/tests/ |
D | SkResourceCacheTest.cpp | 186 const SkMatrix xforms[] = { in DEF_TEST() local 191 for (size_t i = 0; i < SK_ARRAY_COUNT(xforms); ++i) { in DEF_TEST() 192 test_discarded_image(reporter, xforms[i], []() { in DEF_TEST() 198 test_discarded_image(reporter, xforms[i], []() { in DEF_TEST()
|
/external/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()
|
/external/skqp/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()
|
/external/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()
|
/external/skia/src/core/ |
D | SkLiteRecorder.cpp | 174 const SkRSXform xforms[], in onDrawAtlas() argument 181 fDL->drawAtlas(atlas, xforms, texs, colors, count, bmode, cull, paint); in onDrawAtlas()
|
D | SkLiteDL.cpp | 448 auto xforms = pod<SkRSXform>(this, 0); in draw() local 453 c->drawAtlas(atlas.get(), xforms, texs, colors, count, xfermode, in draw() 631 void SkLiteDL::drawAtlas(const SkImage* atlas, const SkRSXform xforms[], const SkRect texs[], in drawAtlas() argument 640 copy_v(pod, xforms, count, in drawAtlas()
|
D | SkTextBlobPriv.h | 234 const SkRSXform* xforms() const { in xforms() function
|
/external/skqp/src/core/ |
D | SkLiteRecorder.cpp | 171 const SkRSXform xforms[], in onDrawAtlas() argument 178 fDL->drawAtlas(atlas, xforms, texs, colors, count, bmode, cull, paint); in onDrawAtlas()
|
D | SkLiteDL.cpp | 442 auto xforms = pod<SkRSXform>(this, 0); in draw() local 447 c->drawAtlas(atlas.get(), xforms, texs, colors, count, xfermode, in draw() 622 void SkLiteDL::drawAtlas(const SkImage* atlas, const SkRSXform xforms[], const SkRect texs[], in drawAtlas() argument 631 copy_v(pod, xforms, count, in drawAtlas()
|
/external/skqp/include/core/ |
D | SkTextBlob.h | 290 SkRSXform* xforms() const { return reinterpret_cast<SkRSXform*>(pos); } in xforms() function
|