HomeSort by relevance Sort by last modified time
    Searched defs:gRec (Results 1 - 25 of 32) sorted by null

1 2

  /external/skia/gm/
alphagradients.cpp 44 } gRec[] = {
65 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
66 draw_grad(canvas, r, gRec[i].fColor0, gRec[i].fColor1, SkToBool(doPreMul));
shadows.cpp 81 } gRec[] = {
95 setup(&paint, gRec[0].fColor, gRec[0].fStrokeWidth);
99 setup(&paint, gRec[1].fColor, gRec[1].fStrokeWidth);
103 setup(&paint, gRec[2].fColor, gRec[2].fStrokeWidth);
  /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);
StringTest.cpp 143 } gRec[] = {
156 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) {
158 a.appendScalar(gRec[i].fValue);
160 if (!a.equals(gRec[i].fString)) {
161 ERRORF(reporter, "received <%s> expected <%s>\n", a.c_str(), gRec[i].fString);
ParsePathTest.cpp 33 } gRec[] = {
45 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) {
47 bool success = SkParsePath::FromSVGString(gRec[i].fStr, &path);
49 const SkRect& expectedBounds = gRec[i].fBounds;
DeviceLooperTest.cpp 29 } gRec[] = {
42 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
44 make_pm(&pmap, gRec[i].fDevSize.width(), gRec[i].fDevSize.height());
46 SkRasterClip rc(gRec[i].fRCBounds);
49 SkDeviceLooper looper(pmap, 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...]
Point3Test.cpp 119 } gRec[] = {
126 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
127 test_length(reporter, gRec[i].fX, gRec[i].fY, gRec[i].fZ, gRec[i].fLength);
128 test_normalize(reporter, gRec[i].fX, gRec[i].fY, gRec[i].fZ, gRec[i].fLength)
    [all...]
PointTest.cpp 126 } gRec[] = {
131 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
132 test_length(reporter, gRec[i].fX, gRec[i].fY, gRec[i].fLength);
  /external/skia/tools/
skhello.cpp 87 } gRec[] = {
92 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
94 file.printf("%s%s", path.c_str(), gRec[i].fSuffix);
95 if (!gRec[i].fProc(w, h, file.c_str(), text.c_str(), paint)) {
  /external/skqp/gm/
alphagradients.cpp 44 } gRec[] = {
65 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
66 draw_grad(canvas, r, gRec[i].fColor0, gRec[i].fColor1, SkToBool(doPreMul));
shadows.cpp 81 } gRec[] = {
95 setup(&paint, gRec[0].fColor, gRec[0].fStrokeWidth);
99 setup(&paint, gRec[1].fColor, gRec[1].fStrokeWidth);
103 setup(&paint, gRec[2].fColor, gRec[2].fStrokeWidth);
  /external/skqp/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);
StringTest.cpp 162 } gRec[] = {
175 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) {
177 a.appendScalar(gRec[i].fValue);
179 if (!a.equals(gRec[i].fString)) {
180 ERRORF(reporter, "received <%s> expected <%s>\n", a.c_str(), gRec[i].fString);
ParsePathTest.cpp 33 } gRec[] = {
45 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) {
47 bool success = SkParsePath::FromSVGString(gRec[i].fStr, &path);
49 const SkRect& expectedBounds = gRec[i].fBounds;
DeviceLooperTest.cpp 29 } gRec[] = {
42 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
44 make_pm(&pmap, gRec[i].fDevSize.width(), gRec[i].fDevSize.height());
46 SkRasterClip rc(gRec[i].fRCBounds);
49 SkDeviceLooper looper(pmap, 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...]
Point3Test.cpp 119 } gRec[] = {
126 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
127 test_length(reporter, gRec[i].fX, gRec[i].fY, gRec[i].fZ, gRec[i].fLength);
128 test_normalize(reporter, gRec[i].fX, gRec[i].fY, gRec[i].fZ, gRec[i].fLength)
    [all...]
  /external/skqp/tools/
skhello.cpp 87 } gRec[] = {
92 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
94 file.printf("%s%s", path.c_str(), gRec[i].fSuffix);
95 if (!gRec[i].fProc(w, h, file.c_str(), text.c_str(), paint)) {
  /external/skia/bench/
FontCacheBench.cpp 70 } gRec[] = {
121 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
127 collisions += count_collisions(array, count, gRec[i].fHasher, hashMask);
132 collisions * 100.0 / glyphs, gRec[i].fName);
SortBench.cpp 59 } gRec[] = {
109 fName.printf("sort_%s_%s", gSorts[s].fName, gRec[t].fName);
124 gRec[fType].fProc(fUnsorted.get());
  /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 90 } gRec[] = {
138 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) {
139 paint->setStyle(gRec[i].fStyle);
140 paint->setStrokeJoin(gRec[i].fJoin);
141 paint->setStrokeWidth(SkIntToScalar(gRec[i].fStrokeWidth));
  /external/skqp/bench/
FontCacheBench.cpp 70 } gRec[] = {
121 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
127 collisions += count_collisions(array, count, gRec[i].fHasher, hashMask);
132 collisions * 100.0 / glyphs, gRec[i].fName);
SortBench.cpp 59 } gRec[] = {
109 fName.printf("sort_%s_%s", gSorts[s].fName, gRec[t].fName);
124 gRec[fType].fProc(fUnsorted.get());
  /external/skqp/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 90 } gRec[] = {
138 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); i++) {
139 paint->setStyle(gRec[i].fStyle);
140 paint->setStrokeJoin(gRec[i].fJoin);
141 paint->setStrokeWidth(SkIntToScalar(gRec[i].fStrokeWidth));

Completed in 1063 milliseconds

1 2