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

  /external/chromium_org/third_party/skia/tests/
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));
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);
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;
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...]
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);
PaintTest.cpp 75 } gRec[] = {
94 for (size_t k = 0; k < SK_ARRAY_COUNT(gRec); ++k) {
95 paint.setTextEncoding(gRec[k].fEncoding);
97 size_t len = gRec[k].fSeedTextProc(src, dst, NGLYPHS);
SurfaceTest.cpp 124 } gRec[] = {
134 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
138 SkAutoTUnref<SkImage> image(createImage(gRec[i].fType, NULL, color));
144 REPORTER_ASSERT(reporter, gRec[i].fPeekShouldSucceed == success);
162 } gRec[] = {
194 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
198 SkAutoTUnref<SkSurface> surface(createSurface(gRec[i].fType, context,
204 REPORTER_ASSERT(reporter, gRec[i].fPeekShouldSucceed == success);
PathTest.cpp     [all...]
  /external/chromium_org/third_party/skia/gm/
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));
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);
techtalk1.cpp 317 } gRec[] = {
333 fProc = gRec[index].fProc;
334 fName.set(gRec[index].fName);
gmmain.cpp 481 static void setup_bitmap(const ConfigData& gRec, SkISize& size,
484 gRec.fColorType, kPremul_SkAlphaType));
562 static ErrorCombination generate_image(GM* gm, const ConfigData& gRec,
567 setup_bitmap(gRec, size, bitmap);
573 if (gRec.fBackend == kRaster_Backend) {
605 static void generate_image_from_picture(GM* gm, const ConfigData& gRec,
610 setup_bitmap(gRec, size, bitmap);
621 setup_bitmap(gRec, tileSize, &tileBM);
    [all...]
  /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/chromium_org/third_party/skia/bench/
FontCacheBench.cpp 71 } gRec[] = {
122 for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
128 collisions += count_collisions(array, count, gRec[i].fHasher, hashMask);
133 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/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));

Completed in 379 milliseconds