Home
last modified time | relevance | path

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

12

/external/skia/src/sksl/ir/
DSkSLSwizzle.h105 , fBase(std::move(base)) in Swizzle()
112 if (fBase->fKind == Expression::kConstructor_Kind && fBase->isConstant()) { in constantPropagate()
114 SkASSERT(fBase->fKind == Expression::kConstructor_Kind); in constantPropagate()
117 int64_t value = ((Constructor&) *fBase).getIVecComponent(fComponents[0]); in constantPropagate()
123 double value = ((Constructor&) *fBase).getFVecComponent(fComponents[0]); in constantPropagate()
133 return fBase->hasSideEffects(); in hasSideEffects()
137 return std::unique_ptr<Expression>(new Swizzle(fType, fBase->clone(), fComponents)); in clone()
141 String result = fBase->description() + "."; in description()
148 std::unique_ptr<Expression> fBase; member
156 , 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/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/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/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/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/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/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/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/skia/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/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/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()
428 this->addLValue(cfg, &((FieldAccess&) **e).fBase); in addLValue()
[all …]
/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/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/modules/particles/include/
DSkReflected.h50 const Type* fBase; member
55 const Type* base = fBase; in isDerivedFrom()
60 base = base->fBase; in isDerivedFrom()

12