Home
last modified time | relevance | path

Searched refs:fBase (Results 1 – 25 of 41) sorted by relevance

12

/external/skqp/src/sksl/ir/
DSkSLSwizzle.h99 , fBase(std::move(base)) in Swizzle()
106 if (fBase->fKind == Expression::kConstructor_Kind && fBase->isConstant()) { in constantPropagate()
108 SkASSERT(fBase->fKind == Expression::kConstructor_Kind); in constantPropagate()
111 int64_t value = ((Constructor&) *fBase).getIVecComponent(fComponents[0]); in constantPropagate()
117 double value = ((Constructor&) *fBase).getFVecComponent(fComponents[0]); in constantPropagate()
127 return fBase->hasSideEffects(); in hasSideEffects()
131 return std::unique_ptr<Expression>(new Swizzle(fType, fBase->clone(), fComponents)); in clone()
135 String result = fBase->description() + "."; in description()
142 std::unique_ptr<Expression> fBase; member
150 , fBase(std::move(base)) in Swizzle()
DSkSLFieldAccess.h30 , fBase(std::move(base))
35 return fBase->hasSideEffects(); in hasSideEffects()
39 return std::unique_ptr<Expression>(new FieldAccess(fBase->clone(), fFieldIndex, in clone()
44 return fBase->description() + "." + fBase->fType.fields()[fFieldIndex].fName; in description()
47 std::unique_ptr<Expression> fBase; member
DSkSLIndexExpression.h56 , fBase(std::move(base)) in IndexExpression()
62 return fBase->hasSideEffects() || fIndex->hasSideEffects(); in hasSideEffects()
66 return std::unique_ptr<Expression>(new IndexExpression(fBase->clone(), fIndex->clone(), in clone()
71 return fBase->description() + "[" + fIndex->description() + "]"; in description()
74 std::unique_ptr<Expression> fBase; member
83 , fBase(std::move(base)) in IndexExpression()
/external/skia/tools/skdiff/
Dskdiff_main.cpp185 if (drp->fBase.fFilename.equals(drp->fComparison.fFilename)) { in add()
186 fResultsOfType[drp->fResult].push_back(new SkString(drp->fBase.fFilename)); in add()
189 blame->append(drp->fBase.fFilename); in add()
218 fStatusOfType[drp->fBase.fStatus][drp->fComparison.fStatus].push_back( in add()
219 new SkString(drp->fBase.fFilename)); in add()
234 add_unique_basename(&fFailedBaseNames[drp->fResult], drp->fBase.fFilename); in add()
333 fDrp->fBase.fBitmap.setPixelRef(nullptr, 0, 0); in ~AutoReleasePixels()
356 get_bounds(drp.fBase, "base"); in get_bounds()
431 drp->fBase.fFilename = *baseFiles[i]; in create_diff_images()
432 drp->fBase.fFullPath = basePath; in create_diff_images()
[all …]
Dskdiff_html.cpp82 diff.fBase.fBitmap.width() * in print_pixel_count()
83 diff.fBase.fBitmap.height())); in print_pixel_count()
95 stream->writeText(diff.fBase.fFilename.c_str()); in print_checkbox_cell()
103 stream->writeText(diff.fBase.fFilename.c_str()); in print_label_cell()
152 stream->writeText(DiffResource::getStatusDescription(diff.fBase.fStatus)); in print_label_cell()
218 print_diff_resource_cell(stream, diff.fBase, relativePath, false); in print_diff_row()
Dskdiff.h112 : fBase() in DiffRecord()
130 DiffResource fBase; member
179 return strcmp(lhs->fBase.fFilename.c_str(), rhs->fBase.fFilename.c_str()); in compare()
Dskdiff.cpp161 if (w != dr->fBase.fBitmap.width() || h != dr->fBase.fBitmap.height()) { in compute_diff()
177 SkPMColor c0 = *dr->fBase.fBitmap.getAddr32(x, y); in compute_diff()
/external/skqp/tools/skdiff/
Dskdiff_main.cpp185 if (drp->fBase.fFilename.equals(drp->fComparison.fFilename)) { in add()
186 fResultsOfType[drp->fResult].push_back(new SkString(drp->fBase.fFilename)); in add()
189 blame->append(drp->fBase.fFilename); in add()
218 fStatusOfType[drp->fBase.fStatus][drp->fComparison.fStatus].push_back( in add()
219 new SkString(drp->fBase.fFilename)); in add()
234 add_unique_basename(&fFailedBaseNames[drp->fResult], drp->fBase.fFilename); in add()
333 fDrp->fBase.fBitmap.setPixelRef(nullptr, 0, 0); in ~AutoReleasePixels()
356 get_bounds(drp.fBase, "base"); in get_bounds()
431 drp->fBase.fFilename = *baseFiles[i]; in create_diff_images()
432 drp->fBase.fFullPath = basePath; in create_diff_images()
[all …]
Dskdiff_html.cpp82 diff.fBase.fBitmap.width() * in print_pixel_count()
83 diff.fBase.fBitmap.height())); in print_pixel_count()
95 stream->writeText(diff.fBase.fFilename.c_str()); in print_checkbox_cell()
103 stream->writeText(diff.fBase.fFilename.c_str()); in print_label_cell()
152 stream->writeText(DiffResource::getStatusDescription(diff.fBase.fStatus)); in print_label_cell()
218 print_diff_resource_cell(stream, diff.fBase, relativePath, false); in print_diff_row()
Dskdiff.h112 : fBase() in DiffRecord()
130 DiffResource fBase; member
179 return strcmp(lhs->fBase.fFilename.c_str(), rhs->fBase.fFilename.c_str()); in compare()
Dskdiff.cpp161 if (w != dr->fBase.fBitmap.width() || h != dr->fBase.fBitmap.height()) { in compute_diff()
177 SkPMColor c0 = *dr->fBase.fBitmap.getAddr32(x, y); in compute_diff()
/external/skqp/src/core/
DSkReader32.h24 SkReader32() : fCurr(nullptr), fStop(nullptr), fBase(nullptr) {} in SkReader32()
33 fBase = fCurr = (const char*)data; in setMemory()
37 size_t size() const { return fStop - fBase; } in size()
38 size_t offset() const { return fCurr - fBase; } in offset()
40 const void* base() const { return fBase; } in base()
46 void rewind() { fCurr = fBase; } in rewind()
51 fCurr = fBase + offset; in setOffset()
160 const char* fBase; // beginning of buffer variable
/external/skia/src/sksl/ir/
DSkSLSwizzle.h30 , fBase(std::move(base)) in Swizzle()
49 return fBase; in base()
53 return fBase; in base()
80 , fBase(std::move(base)) in Swizzle()
85 std::unique_ptr<Expression> fBase; member
DSkSLIndexExpression.h26 , fBase(std::move(base)) in IndexExpression()
45 return fBase; in base()
49 return fBase; in base()
80 , fBase(std::move(base)) in IndexExpression()
83 std::unique_ptr<Expression> fBase; member
DSkSLFieldAccess.h37 , fBase(std::move(base)) {}
51 return fBase; in base()
55 return fBase; in base()
84 std::unique_ptr<Expression> fBase; variable
/external/skia/gm/
Dsimpleaaclip.cpp73 fBase.setLTRB(100.65f, in onOnceBeforeDraw()
77 fRect = fBase; in onOnceBeforeDraw()
81 fBasePath.addRoundRect(fBase, SkIntToScalar(5), SkIntToScalar(5)); in onOnceBeforeDraw()
100 canvas->drawRect(fBase, paint); in drawOrig()
129 canvas->clipRect(fBase, true); in drawPathsOped()
195 SkRect fBase; member in skiagm::SimpleClipGM
/external/skqp/gm/
Dsimpleaaclip.cpp58 fBase.set(100.65f, in onOnceBeforeDraw()
62 fRect = fBase; in onOnceBeforeDraw()
66 fBasePath.addRoundRect(fBase, SkIntToScalar(5), SkIntToScalar(5)); in onOnceBeforeDraw()
85 canvas->drawRect(fBase, paint); in drawOrig()
114 canvas->clipRect(fBase, true); in drawPathsOped()
184 SkRect fBase; member in skiagm::SimpleClipGM
/external/skqp/src/sksl/ast/
DSkSLASTSuffixExpression.h22 , fBase(std::move(base)) in ASTSuffixExpression()
26 return fBase->description() + fSuffix->description(); in description()
29 const std::unique_ptr<ASTExpression> fBase; member
/external/skqp/src/sksl/
DSkSLCFGGenerator.cpp132 return this->tryRemoveLValueBefore(iter, ((Swizzle*) lvalue)->fBase.get()); in tryRemoveLValueBefore()
134 return this->tryRemoveLValueBefore(iter, ((FieldAccess*) lvalue)->fBase.get()); in tryRemoveLValueBefore()
136 if (!this->tryRemoveLValueBefore(iter, ((IndexExpression*) lvalue)->fBase.get())) { in tryRemoveLValueBefore()
179 if (!this->tryRemoveExpressionBefore(iter, f->fBase.get())) { in tryRemoveExpression()
187 if (!this->tryRemoveExpressionBefore(iter, s->fBase.get())) { in tryRemoveExpression()
195 if (!this->tryRemoveExpressionBefore(iter, idx->fBase.get())) { in tryRemoveExpression()
361 this->addExpression(cfg, &((FieldAccess*) e->get())->fBase, constantPropagate); in addExpression()
366 this->addExpression(cfg, &((IndexExpression*) e->get())->fBase, constantPropagate); in addExpression()
386 this->addExpression(cfg, &((Swizzle*) e->get())->fBase, constantPropagate); in addExpression()
427 this->addLValue(cfg, &((FieldAccess&) **e).fBase); in addLValue()
[all …]
/external/skia/modules/particles/include/
DSkReflected.h50 const Type* fBase; member
55 const Type* base = fBase; in isDerivedFrom()
60 base = base->fBase; in isDerivedFrom()
/external/skia/src/gpu/
DGrVertexChunkArray.h23 int fBase; // baseVertex or baseInstance, depending on the use case. member
79 &chunk->fBase, in allocChunk()
/external/skqp/samplecode/
DSampleRegion.cpp157 fBase.set(100, 100, 150, 150); in RegionView()
158 fRect = fBase; in RegionView()
165 rgn->setRect(fBase); in build_base_rgn()
166 SkIRect r = fBase; in build_base_rgn()
346 SkIRect fBase, fRect; member in RegionView
/external/skia/src/core/
DSkReadBuffer.h58 size_t size() const { return fStop - fBase; } in size()
59 size_t offset() const { return fCurr - fBase; } in offset()
219 const char* fBase = nullptr; // beginning of buffer variable
/external/skqp/tests/
DGrShapeTest.cpp520 : fBase(new GrShape(geo.makeShape(paint))) { in TestCase()
525 TestCase(skiatest::Reporter* r, ShapeArgs... shapeArgs) : fBase(new GrShape(shapeArgs...)) { in TestCase()
530 : fBase(new GrShape(shape)) { in TestCase()
551 const GrShape& baseShape() const { return *fBase; } in baseShape()
584 *fAppliedPE = fBase->applyStyle(GrStyle::Apply::kPathEffectOnly, scale); in init()
587 *fAppliedFull = fBase->applyStyle(GrStyle::Apply::kPathEffectAndStrokeRec, scale); in init()
589 make_key(&fBaseKey, *fBase); in init()
596 check_original_path_ids(r, *fBase, *fAppliedPE, *fAppliedPEThenStroke, *fAppliedFull); in init()
618 fBase->asPath(&path); in init()
619 REPORTER_ASSERT(r, path.isEmpty() == fBase->isEmpty()); in init()
[all …]
/external/skia/tests/
DGrStyledShapeTest.cpp527 : fBase(new GrStyledShape(geo.makeShape(paint))) { in TestCase()
533 : fBase(new GrStyledShape(shapeArgs...)) { in TestCase()
538 : fBase(new GrStyledShape(shape)) { in TestCase()
559 const GrStyledShape& baseShape() const { return *fBase; } in baseShape()
593 *fAppliedPE = fBase->applyStyle(GrStyle::Apply::kPathEffectOnly, scale); in init()
596 *fAppliedFull = fBase->applyStyle(GrStyle::Apply::kPathEffectAndStrokeRec, scale); in init()
598 make_key(&fBaseKey, *fBase); in init()
605 check_original_path_ids(r, *fBase, *fAppliedPE, *fAppliedPEThenStroke, *fAppliedFull); in init()
627 fBase->asPath(&path); in init()
628 REPORTER_ASSERT(r, path.isEmpty() == fBase->isEmpty()); in init()
[all …]

12