/external/chromium_org/third_party/skia/tests/ |
BitmapGetColorTest.cpp | 18 } gRec[] = { 35 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) { 36 SkImageInfo info = SkImageInfo::Make(2, 2, gRec[i].fColorType, 43 bm.eraseArea(area, gRec[i].fInColor); 46 REPORTER_ASSERT(reporter, c == gRec[i].fOutColor);
|
DeviceLooperTest.cpp | 29 } gRec[] = { 42 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { 44 make_bm(&bitmap, gRec[i].fDevSize.width(), gRec[i].fDevSize.height()); 46 SkRasterClip rc(gRec[i].fRCBounds); 49 SkDeviceLooper looper(bitmap, rc, gRec[i].fRect, SkToBool(aa)); 103 } const gRec[] = { 108 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { 109 const int w = gRec[i].fSize.width(); 110 const int h = gRec[i].fSize.height() [all...] |
ParsePathTest.cpp | 33 } gRec[] = { 42 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) { 44 bool success = SkParsePath::FromSVGString(gRec[i].fStr, &path); 46 const SkRect& expectedBounds = gRec[i].fBounds;
|
PointTest.cpp | 127 } gRec[] = { 132 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { 133 test_length(reporter, gRec[i].fX, gRec[i].fY, gRec[i].fLength);
|
StringTest.cpp | 154 } gRec[] = { 167 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) { 169 a.appendScalar(gRec[i].fValue); 171 // SkDebugf(" received <%s> expected <%s>\n", a.c_str(), gRec[i].fString); 172 REPORTER_ASSERT(reporter, a.equals(gRec[i].fString));
|
/external/skia/tests/ |
BitmapGetColorTest.cpp | 18 } gRec[] = { 35 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) { 36 SkImageInfo info = SkImageInfo::Make(2, 2, gRec[i].fColorType, 43 bm.eraseArea(area, gRec[i].fInColor); 46 REPORTER_ASSERT(reporter, c == gRec[i].fOutColor);
|
DeviceLooperTest.cpp | 29 } gRec[] = { 42 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { 44 make_bm(&bitmap, gRec[i].fDevSize.width(), gRec[i].fDevSize.height()); 46 SkRasterClip rc(gRec[i].fRCBounds); 49 SkDeviceLooper looper(bitmap, rc, gRec[i].fRect, SkToBool(aa)); 103 } const gRec[] = { 108 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { 109 const int w = gRec[i].fSize.width(); 110 const int h = gRec[i].fSize.height() [all...] |
ParsePathTest.cpp | 33 } gRec[] = { 42 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) { 44 bool success = SkParsePath::FromSVGString(gRec[i].fStr, &path); 46 const SkRect& expectedBounds = gRec[i].fBounds;
|
PointTest.cpp | 127 } gRec[] = { 132 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { 133 test_length(reporter, gRec[i].fX, gRec[i].fY, gRec[i].fLength);
|
/external/chromium_org/third_party/skia/gm/ |
shadows.cpp | 95 } gRec[] = { 109 setup(&paint, gRec[0].fColor, gRec[0].fStrokeWidth); 113 setup(&paint, gRec[1].fColor, gRec[1].fStrokeWidth); 117 setup(&paint, gRec[2].fColor, gRec[2].fStrokeWidth);
|
alphagradients.cpp | 45 } gRec[] = { 66 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { 67 draw_grad(canvas, r, gRec[i].fColor0, gRec[i].fColor1, SkToBool(doPreMul));
|
gmmain.cpp | 480 static void setup_bitmap(const ConfigData& gRec, SkISize& size, 483 gRec.fColorType, kPremul_SkAlphaType)); 561 static ErrorCombination generate_image(GM* gm, const ConfigData& gRec, 566 setup_bitmap(gRec, size, bitmap); 572 if (gRec.fBackend == kRaster_Backend) { 604 static void generate_image_from_picture(GM* gm, const ConfigData& gRec, 609 setup_bitmap(gRec, size, bitmap); 620 setup_bitmap(gRec, tileSize, &tileBM); [all...] |
/external/skia/gm/ |
shadows.cpp | 95 } gRec[] = { 109 setup(&paint, gRec[0].fColor, gRec[0].fStrokeWidth); 113 setup(&paint, gRec[1].fColor, gRec[1].fStrokeWidth); 117 setup(&paint, gRec[2].fColor, gRec[2].fStrokeWidth);
|
alphagradients.cpp | 45 } gRec[] = { 66 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { 67 draw_grad(canvas, r, gRec[i].fColor0, gRec[i].fColor1, SkToBool(doPreMul));
|
gmmain.cpp | 480 static void setup_bitmap(const ConfigData& gRec, SkISize& size, 483 gRec.fColorType, kPremul_SkAlphaType)); 561 static ErrorCombination generate_image(GM* gm, const ConfigData& gRec, 566 setup_bitmap(gRec, size, bitmap); 572 if (gRec.fBackend == kRaster_Backend) { 604 static void generate_image_from_picture(GM* gm, const ConfigData& gRec, 609 setup_bitmap(gRec, size, bitmap); 620 setup_bitmap(gRec, tileSize, &tileBM); [all...] |
/external/chromium_org/third_party/skia/samplecode/ |
SampleAAClip.cpp | 30 } gRec[] = { 37 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { 38 testop(gRec[i].r0, gRec[i].r1, gRec[i].op, gRec[i].expectedR);
|
SampleStrokePath.cpp | 91 } gRec[] = { 140 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) { 141 paint->setStyle(gRec[i].fStyle); 142 paint->setStrokeJoin(gRec[i].fJoin); 143 paint->setStrokeWidth(SkIntToScalar(gRec[i].fStrokeWidth));
|
/external/skia/samplecode/ |
SampleAAClip.cpp | 30 } gRec[] = { 37 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { 38 testop(gRec[i].r0, gRec[i].r1, gRec[i].op, gRec[i].expectedR);
|
SampleStrokePath.cpp | 91 } gRec[] = { 140 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) { 141 paint->setStyle(gRec[i].fStyle); 142 paint->setStrokeJoin(gRec[i].fJoin); 143 paint->setStrokeWidth(SkIntToScalar(gRec[i].fStrokeWidth));
|
/external/chromium_org/third_party/skia/bench/ |
FontCacheBench.cpp | 81 } gRec[] = { 132 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { 138 collisions += count_collisions(array, count, gRec[i].fHasher, hashMask); 143 collisions * 100.0 / glyphs, gRec[i].fName);
|
SortBench.cpp | 57 } gRec[] = { 107 fName.printf("sort_%s_%s", gSorts[s].fName, gRec[t].fName); 122 gRec[fType].fProc(fUnsorted.get());
|
/external/chromium_org/third_party/skia/tools/ |
skhello.cpp | 91 } gRec[] = { 96 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { 98 file.printf("%s%s", path.c_str(), gRec[i].fSuffix); 99 if (!gRec[i].fProc(w, h, file.c_str(), text.c_str(), paint)) {
|
/external/skia/bench/ |
FontCacheBench.cpp | 81 } gRec[] = { 132 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { 138 collisions += count_collisions(array, count, gRec[i].fHasher, hashMask); 143 collisions * 100.0 / glyphs, gRec[i].fName);
|
SortBench.cpp | 57 } gRec[] = { 107 fName.printf("sort_%s_%s", gSorts[s].fName, gRec[t].fName); 122 gRec[fType].fProc(fUnsorted.get());
|
/external/skia/tools/ |
skhello.cpp | 91 } gRec[] = { 96 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { 98 file.printf("%s%s", path.c_str(), gRec[i].fSuffix); 99 if (!gRec[i].fProc(w, h, file.c_str(), text.c_str(), paint)) {
|