HomeSort by relevance Sort by last modified time
    Searched refs:gRec (Results 1 - 17 of 17) sorted by null

  /external/skia/tests/
BitmapGetColorTest.cpp 19 } gRec[] = {
36 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) {
39 bm.setConfig(gRec[i].fConfig, 2, 2);
43 bm.eraseArea(area, gRec[i].fInColor);
46 REPORTER_ASSERT(reporter, c == gRec[i].fOutColor);
PixelRefTest.cpp 13 } gRec[] = {
29 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
30 bool success = bitmap.setConfig(gRec[i].fConfig, 10, 10, 0, gRec[i].fAlphaType);
33 REPORTER_ASSERT(reporter, success == gRec[i].fExpectedSuccess);
34 if (gRec[i].fExpectedSuccess) {
35 REPORTER_ASSERT(reporter, info.fAlphaType == gRec[i].fAlphaType);
36 REPORTER_ASSERT(reporter, info.fColorType == gRec[i].fExpectedColorType);
DeviceLooperTest.cpp 30 } gRec[] = {
43 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
45 make_bm(&bitmap, gRec[i].fDevSize.width(), gRec[i].fDevSize.height());
47 SkRasterClip rc(gRec[i].fRCBounds);
50 SkDeviceLooper looper(bitmap, rc, gRec[i].fRect, SkToBool(aa));
104 } const gRec[] = {
109 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
110 const int w = gRec[i].fSize.width();
111 const int h = gRec[i].fSize.height()
    [all...]
ParsePathTest.cpp 34 } gRec[] = {
43 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) {
45 bool success = SkParsePath::FromSVGString(gRec[i].fStr, &path);
47 const SkRect& expectedBounds = gRec[i].fBounds;
PointTest.cpp 128 } gRec[] = {
133 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
134 test_length(reporter, gRec[i].fX, gRec[i].fY, gRec[i].fLength);
PaintTest.cpp 69 } gRec[] = {
88 for (size_t k = 0; k < SK_ARRAY_COUNT(gRec); ++k) {
89 paint.setTextEncoding(gRec[k].fEncoding);
91 size_t len = gRec[k].fSeedTextProc(src, dst, NGLYPHS);
StringTest.cpp 155 } gRec[] = {
170 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) {
172 a.appendScalar(gRec[i].fValue);
174 // SkDebugf(" received <%s> expected <%s>\n", a.c_str(), gRec[i].fString);
175 REPORTER_ASSERT(reporter, a.equals(gRec[i].fString));
PathTest.cpp     [all...]
  /external/skia/gm/
shadows.cpp 91 } gRec[] = {
105 setup(&paint, gRec[0].fColor, gRec[0].fStrokeWidth);
109 setup(&paint, gRec[1].fColor, gRec[1].fStrokeWidth);
113 setup(&paint, gRec[2].fColor, gRec[2].fStrokeWidth);
alphagradients.cpp 46 } gRec[] = {
67 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
68 draw_grad(canvas, r, gRec[i].fColor0, gRec[i].fColor1, SkToBool(doPreMul));
gmmain.cpp 455 static void setup_bitmap(const ConfigData& gRec, SkISize& size,
457 bitmap->setConfig(gRec.fConfig, size.width(), size.height());
536 static ErrorCombination generate_image(GM* gm, const ConfigData& gRec,
541 setup_bitmap(gRec, size, bitmap);
545 if (gRec.fBackend == kRaster_Backend) {
576 static void generate_image_from_picture(GM* gm, const ConfigData& gRec,
581 setup_bitmap(gRec, size, bitmap);
592 setup_bitmap(gRec, tileSize, &tileBM);
    [all...]
aaclip.cpp 47 } gRec[] = {
56 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
57 paint.setColor(gRec[i].fColor);
58 draw_conic(canvas, gRec[i].fWeight, paint);
techtalk1.cpp 317 } gRec[] = {
333 fProc = gRec[index].fProc;
334 fName.set(gRec[index].fName);
  /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());
MathBench.cpp 244 } gRec[] = {
283 fProc = gRec[index].fProc;
284 fName = gRec[index].fName;
  /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)) {

Completed in 203 milliseconds