/external/skia/tests/ |
D | DeviceLooperTest.cpp | 29 } gRec[] = { variable 42 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { in test_simple() 44 make_bm(&bitmap, gRec[i].fDevSize.width(), gRec[i].fDevSize.height()); in test_simple() 46 SkRasterClip rc(gRec[i].fRCBounds); in test_simple() 49 SkDeviceLooper looper(bitmap, rc, gRec[i].fRect, SkToBool(aa)); in test_simple() 103 } const gRec[] = { in test_complex() local 108 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { in test_complex() 109 const int w = gRec[i].fSize.width(); in test_complex() 110 const int h = gRec[i].fSize.height(); in test_complex() 128 SkDeviceLooper looper(bitmap, rc, rect, gRec[i].fAA); in test_complex()
|
D | BitmapGetColorTest.cpp | 18 } gRec[] = { in DEF_TEST() local 35 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) { in DEF_TEST() 36 SkImageInfo info = SkImageInfo::Make(2, 2, gRec[i].fColorType, in DEF_TEST() 43 bm.eraseArea(area, gRec[i].fInColor); in DEF_TEST() 46 REPORTER_ASSERT(reporter, c == gRec[i].fOutColor); in DEF_TEST()
|
D | ParsePathTest.cpp | 33 } gRec[] = { variable 42 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) { in DEF_TEST() 44 bool success = SkParsePath::FromSVGString(gRec[i].fStr, &path); in DEF_TEST() 46 const SkRect& expectedBounds = gRec[i].fBounds; in DEF_TEST()
|
D | PointTest.cpp | 127 } gRec[] = { in DEF_TEST() local 132 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { in DEF_TEST() 133 test_length(reporter, gRec[i].fX, gRec[i].fY, gRec[i].fLength); in DEF_TEST()
|
D | SurfaceTest.cpp | 119 } gRec[] = { in test_imagepeek() local 129 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { in test_imagepeek() 133 SkAutoTUnref<SkImage> image(createImage(gRec[i].fType, NULL, color)); in test_imagepeek() 139 REPORTER_ASSERT(reporter, gRec[i].fPeekShouldSucceed == success); in test_imagepeek() 157 } gRec[] = { in test_canvaspeek() local 174 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { in test_canvaspeek() 178 SkAutoTUnref<SkSurface> surface(createSurface(gRec[i].fType, context, in test_canvaspeek() 184 REPORTER_ASSERT(reporter, gRec[i].fPeekShouldSucceed == success); in test_canvaspeek()
|
/external/chromium_org/third_party/skia/tests/ |
D | DeviceLooperTest.cpp | 29 } gRec[] = { variable 42 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { in test_simple() 44 make_bm(&bitmap, gRec[i].fDevSize.width(), gRec[i].fDevSize.height()); in test_simple() 46 SkRasterClip rc(gRec[i].fRCBounds); in test_simple() 49 SkDeviceLooper looper(bitmap, rc, gRec[i].fRect, SkToBool(aa)); in test_simple() 103 } const gRec[] = { in test_complex() local 108 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { in test_complex() 109 const int w = gRec[i].fSize.width(); in test_complex() 110 const int h = gRec[i].fSize.height(); in test_complex() 128 SkDeviceLooper looper(bitmap, rc, rect, gRec[i].fAA); in test_complex()
|
D | BitmapGetColorTest.cpp | 18 } gRec[] = { in DEF_TEST() local 35 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) { in DEF_TEST() 36 SkImageInfo info = SkImageInfo::Make(2, 2, gRec[i].fColorType, in DEF_TEST() 43 bm.eraseArea(area, gRec[i].fInColor); in DEF_TEST() 46 REPORTER_ASSERT(reporter, c == gRec[i].fOutColor); in DEF_TEST()
|
D | ParsePathTest.cpp | 33 } gRec[] = { variable 42 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) { in DEF_TEST() 44 bool success = SkParsePath::FromSVGString(gRec[i].fStr, &path); in DEF_TEST() 46 const SkRect& expectedBounds = gRec[i].fBounds; in DEF_TEST()
|
D | PointTest.cpp | 127 } gRec[] = { in DEF_TEST() local 132 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { in DEF_TEST() 133 test_length(reporter, gRec[i].fX, gRec[i].fY, gRec[i].fLength); in DEF_TEST()
|
D | BitmapCopyTest.cpp | 599 } gRec[] = { in DEF_TEST() local 607 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { in DEF_TEST() 610 dstInfo.fWidth = gRec[i].fRequestedDstSize.width(); in DEF_TEST() 611 dstInfo.fHeight = gRec[i].fRequestedDstSize.height(); in DEF_TEST() 613 gRec[i].fRequestedSrcLoc.x(), gRec[i].fRequestedSrcLoc.y()); in DEF_TEST() 615 REPORTER_ASSERT(reporter, gRec[i].fExpectedSuccess == success); in DEF_TEST() 617 const SkIRect srcR = gRec[i].fExpectedSrcR; in DEF_TEST() 618 const int dstX = gRec[i].fExpectedDstLoc.x(); in DEF_TEST() 619 const int dstY = gRec[i].fExpectedDstLoc.y(); in DEF_TEST()
|
D | SurfaceTest.cpp | 119 } gRec[] = { in test_imagepeek() local 129 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { in test_imagepeek() 133 SkAutoTUnref<SkImage> image(createImage(gRec[i].fType, NULL, color)); in test_imagepeek() 139 REPORTER_ASSERT(reporter, gRec[i].fPeekShouldSucceed == success); in test_imagepeek() 157 } gRec[] = { in test_canvaspeek() local 174 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { in test_canvaspeek() 178 SkAutoTUnref<SkSurface> surface(createSurface(gRec[i].fType, context, in test_canvaspeek() 184 REPORTER_ASSERT(reporter, gRec[i].fPeekShouldSucceed == success); in test_canvaspeek()
|
/external/chromium_org/third_party/skia/gm/ |
D | gmmain.cpp | 480 static void setup_bitmap(const ConfigData& gRec, SkISize& size, in setup_bitmap() argument 483 gRec.fColorType, kPremul_SkAlphaType)); in setup_bitmap() 561 static ErrorCombination generate_image(GM* gm, const ConfigData& gRec, in generate_image() argument 566 setup_bitmap(gRec, size, bitmap); in generate_image() 572 if (gRec.fBackend == kRaster_Backend) { in generate_image() 604 static void generate_image_from_picture(GM* gm, const ConfigData& gRec, in generate_image_from_picture() argument 609 setup_bitmap(gRec, size, bitmap); in generate_image_from_picture() 620 setup_bitmap(gRec, tileSize, &tileBM); in generate_image_from_picture() 925 GM* gm, const ConfigData& gRec, const char* configName, in compare_test_results_to_stored_expectations() argument 934 } else if (!(gRec.fFlags & kWrite_ConfigFlag)) { in compare_test_results_to_stored_expectations() [all …]
|
D | shadows.cpp | 95 } gRec[] = { in onDraw() local 109 setup(&paint, gRec[0].fColor, gRec[0].fStrokeWidth); in onDraw() 113 setup(&paint, gRec[1].fColor, gRec[1].fStrokeWidth); in onDraw() 117 setup(&paint, gRec[2].fColor, gRec[2].fStrokeWidth); in onDraw()
|
D | alphagradients.cpp | 45 } gRec[] = { in onDraw() local 66 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { in onDraw() 67 draw_grad(canvas, r, gRec[i].fColor0, gRec[i].fColor1, SkToBool(doPreMul)); in onDraw()
|
/external/skia/gm/ |
D | gmmain.cpp | 480 static void setup_bitmap(const ConfigData& gRec, SkISize& size, in setup_bitmap() argument 483 gRec.fColorType, kPremul_SkAlphaType)); in setup_bitmap() 561 static ErrorCombination generate_image(GM* gm, const ConfigData& gRec, in generate_image() argument 566 setup_bitmap(gRec, size, bitmap); in generate_image() 572 if (gRec.fBackend == kRaster_Backend) { in generate_image() 604 static void generate_image_from_picture(GM* gm, const ConfigData& gRec, in generate_image_from_picture() argument 609 setup_bitmap(gRec, size, bitmap); in generate_image_from_picture() 620 setup_bitmap(gRec, tileSize, &tileBM); in generate_image_from_picture() 925 GM* gm, const ConfigData& gRec, const char* configName, in compare_test_results_to_stored_expectations() argument 934 } else if (!(gRec.fFlags & kWrite_ConfigFlag)) { in compare_test_results_to_stored_expectations() [all …]
|
D | shadows.cpp | 95 } gRec[] = { in onDraw() local 109 setup(&paint, gRec[0].fColor, gRec[0].fStrokeWidth); in onDraw() 113 setup(&paint, gRec[1].fColor, gRec[1].fStrokeWidth); in onDraw() 117 setup(&paint, gRec[2].fColor, gRec[2].fStrokeWidth); in onDraw()
|
D | alphagradients.cpp | 45 } gRec[] = { in onDraw() local 66 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { in onDraw() 67 draw_grad(canvas, r, gRec[i].fColor0, gRec[i].fColor1, SkToBool(doPreMul)); in onDraw()
|
/external/skia/samplecode/ |
D | SampleAAClip.cpp | 30 } gRec[] = { variable 37 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { in testop() 38 testop(gRec[i].r0, gRec[i].r1, gRec[i].op, gRec[i].expectedR); in testop()
|
D | SampleStrokePath.cpp | 91 } gRec[] = { variable 140 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) { in drawSet() 141 paint->setStyle(gRec[i].fStyle); in drawSet() 142 paint->setStrokeJoin(gRec[i].fJoin); in drawSet() 143 paint->setStrokeWidth(SkIntToScalar(gRec[i].fStrokeWidth)); in drawSet()
|
/external/chromium_org/third_party/skia/samplecode/ |
D | SampleAAClip.cpp | 30 } gRec[] = { variable 37 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { in testop() 38 testop(gRec[i].r0, gRec[i].r1, gRec[i].op, gRec[i].expectedR); in testop()
|
D | SampleStrokePath.cpp | 91 } gRec[] = { variable 140 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) { in drawSet() 141 paint->setStyle(gRec[i].fStyle); in drawSet() 142 paint->setStrokeJoin(gRec[i].fJoin); in drawSet() 143 paint->setStrokeWidth(SkIntToScalar(gRec[i].fStrokeWidth)); in drawSet()
|
/external/skia/bench/ |
D | FontCacheBench.cpp | 81 } gRec[] = { variable 132 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { in onDraw() 138 collisions += count_collisions(array, count, gRec[i].fHasher, hashMask); in onDraw() 143 collisions * 100.0 / glyphs, gRec[i].fName); in onDraw()
|
/external/chromium_org/third_party/skia/tools/ |
D | skhello.cpp | 91 } gRec[] = { in tool_main() local 96 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { in tool_main() 98 file.printf("%s%s", path.c_str(), gRec[i].fSuffix); in tool_main() 99 if (!gRec[i].fProc(w, h, file.c_str(), text.c_str(), paint)) { in tool_main()
|
/external/chromium_org/third_party/skia/bench/ |
D | FontCacheBench.cpp | 81 } gRec[] = { variable 132 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { in onDraw() 138 collisions += count_collisions(array, count, gRec[i].fHasher, hashMask); in onDraw() 143 collisions * 100.0 / glyphs, gRec[i].fName); in onDraw()
|
/external/skia/tools/ |
D | skhello.cpp | 91 } gRec[] = { in tool_main() local 96 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { in tool_main() 98 file.printf("%s%s", path.c_str(), gRec[i].fSuffix); in tool_main() 99 if (!gRec[i].fProc(w, h, file.c_str(), text.c_str(), paint)) { in tool_main()
|