/external/skia/src/sksl/ir/ |
H A D | SkSLFieldAccess.h | 30 , fBase(std::move(base)) 35 return fBase->hasSideEffects(); 39 return fBase->description() + "." + fBase->fType.fields()[fFieldIndex].fName; 42 std::unique_ptr<Expression> fBase; member in struct:SkSL::FieldAccess
|
H A D | SkSLSwizzle.h | 69 , fBase(std::move(base)) 76 if (fBase->fKind == Expression::kConstructor_Kind && fBase->isConstant()) { 78 ASSERT(fBase->fKind == Expression::kConstructor_Kind); 81 int64_t value = ((Constructor&) *fBase).getIVecComponent(fComponents[0]); 87 double value = ((Constructor&) *fBase).getFVecComponent(fComponents[0]); 97 return fBase->hasSideEffects(); 101 String result = fBase->description() + "."; 108 std::unique_ptr<Expression> fBase; member in struct:SkSL::Swizzle
|
H A D | SkSLIndexExpression.h | 49 , fBase(std::move(base)) 55 return fBase->hasSideEffects() || fIndex->hasSideEffects(); 59 return fBase->description() + "[" + fIndex->description() + "]"; 62 std::unique_ptr<Expression> fBase; member in struct:SkSL::IndexExpression
|
/external/skia/src/sksl/ast/ |
H A D | SkSLASTSuffixExpression.h | 22 , fBase(std::move(base)) 26 return fBase->description() + fSuffix->description(); 29 const std::unique_ptr<ASTExpression> fBase; member in struct:SkSL::ASTSuffixExpression
|
/external/skia/tools/skdiff/ |
H A D | skdiff_image.cpp | 28 drp->fBase.fFilename = baseFile; 29 drp->fBase.fFullPath = baseFile; 30 drp->fBase.fStatus = DiffResource::kSpecified_Status; 36 sk_sp<SkData> baseFileBits = read_file(drp->fBase.fFullPath.c_str()); 38 drp->fBase.fStatus = DiffResource::kRead_Status; 46 drp->fBase.fStatus = DiffResource::kCouldNotRead_Status; 60 get_bitmap(baseFileBits, drp->fBase, false); 62 if (DiffResource::kDecoded_Status != drp->fBase.fStatus || 70 //TODO: copy fBase.fFilename and fComparison.fFilename to outputDir 329 if (DiffResource::isStatusFailed(dr.fBase [all...] |
H A D | skdiff_main.cpp | 185 if (drp->fBase.fFilename.equals(drp->fComparison.fFilename)) { 186 fResultsOfType[drp->fResult].push(new SkString(drp->fBase.fFilename)); 189 blame->append(drp->fBase.fFilename); 218 fStatusOfType[drp->fBase.fStatus][drp->fComparison.fStatus].push( 219 new SkString(drp->fBase.fFilename)); 234 add_unique_basename(&fFailedBaseNames[drp->fResult], drp->fBase.fFilename); 333 fDrp->fBase.fBitmap.setPixelRef(nullptr, 0, 0); 356 get_bounds(drp.fBase, "base"); 430 drp->fBase.fFilename = *baseFiles[i]; 431 drp->fBase [all...] |
H A D | skdiff.h | 112 : fBase() 130 DiffResource fBase; member in struct:DiffRecord 179 return strcmp(lhs->fBase.fFilename.c_str(), rhs->fBase.fFilename.c_str()); 268 * dr->fBase.fBitmap and have a valid pixelref.
|
H A D | skdiff_html.cpp | 82 diff.fBase.fBitmap.width() * 83 diff.fBase.fBitmap.height())); 95 stream->writeText(diff.fBase.fFilename.c_str()); 103 stream->writeText(diff.fBase.fFilename.c_str()); 152 stream->writeText(DiffResource::getStatusDescription(diff.fBase.fStatus)); 218 print_diff_resource_cell(stream, diff.fBase, relativePath, false);
|
H A D | skdiff.cpp | 161 if (w != dr->fBase.fBitmap.width() || h != dr->fBase.fBitmap.height()) { 177 SkPMColor c0 = *dr->fBase.fBitmap.getAddr32(x, y);
|
H A D | skdiff_utils.cpp | 136 const int w = drp->fBase.fBitmap.width(); 137 const int h = drp->fBase.fBitmap.height();
|
/external/skia/src/core/ |
H A D | SkReader32.h | 23 SkReader32() : fCurr(nullptr), fStop(nullptr), fBase(nullptr) {} 32 fBase = fCurr = (const char*)data; 36 size_t size() const { return fStop - fBase; } 37 size_t offset() const { return fCurr - fBase; } 39 const void* base() const { return fBase; } 45 void rewind() { fCurr = fBase; } 50 fCurr = fBase + offset; 159 const char* fBase; // beginning of buffer member in class:SkReader32
|
/external/skia/gm/ |
H A D | simpleaaclip.cpp | 58 fBase.set(100.65f, 62 fRect = fBase; 66 fBasePath.addRoundRect(fBase, SkIntToScalar(5), SkIntToScalar(5)); 85 canvas->drawRect(fBase, paint); 114 canvas->clipRect(fBase, true); 188 SkRect fBase; member in class:skiagm::SimpleClipGM 191 SkPath fBasePath; // fBase as a round rect
|
/external/skia/tools/ |
H A D | ThermalManager.cpp | 96 fBase = GetTemp(fThermalZoneRoot); 98 fDisabled = fBase + fThreshold >= fPoint; // We disable any trip point which start off 108 fPointName.c_str(), fBase, currentTemp, fPoint, fThreshold);
|
H A D | ThermalManager.h | 47 int32_t fBase; member in struct:ThermalManager::TripPoint
|
/external/skia/experimental/DrawingBoard/ |
H A D | SampleDrawingClient.cpp | 182 SkCanvas bufferCanvas(fBase); 199 canvas->drawBitmap(fBase, 0, 0, NULL); 240 fBase.setConfig(SkBitmap::kARGB_8888_Config, this->width(), this->height()); 241 fBase.allocPixels(NULL); 255 fBase.eraseColor(fBGColor); 259 SkBitmap fBase; member in class:DrawingClientView
|
H A D | SampleDrawingServer.cpp | 142 SkCanvas bufferCanvas(fBase); 160 canvas->drawBitmap(fBase, 0, 0, NULL); 181 fBase.setConfig(SkBitmap::kARGB_8888_Config, 184 fBase.allocPixels(NULL); 198 fBase.eraseColor(fBGColor); 212 SkBitmap fBase; member in class:DrawingServerView
|
/external/skia/src/sksl/ |
H A D | SkSLCFGGenerator.cpp | 132 return this->tryRemoveLValueBefore(iter, ((Swizzle*) lvalue)->fBase.get()); 134 return this->tryRemoveLValueBefore(iter, ((FieldAccess*) lvalue)->fBase.get()); 136 if (!this->tryRemoveLValueBefore(iter, ((IndexExpression*) lvalue)->fBase.get())) { 170 if (!this->tryRemoveExpressionBefore(iter, f->fBase.get())) { 178 if (!this->tryRemoveExpressionBefore(iter, s->fBase.get())) { 186 if (!this->tryRemoveExpressionBefore(iter, idx->fBase.get())) { 352 this->addExpression(cfg, &((FieldAccess*) e->get())->fBase, constantPropagate); 357 this->addExpression(cfg, &((IndexExpression*) e->get())->fBase, constantPropagate); 377 this->addExpression(cfg, &((Swizzle*) e->get())->fBase, constantPropagate); 417 this->addLValue(cfg, &((FieldAccess&) **e).fBase); [all...] |
H A D | SkSLCompiler.cpp | 198 this->addDefinition(((Swizzle*) lvalue)->fBase.get(), 204 this->addDefinition(((IndexExpression*) lvalue)->fBase.get(), 210 this->addDefinition(((FieldAccess*) lvalue)->fBase.get(), 356 return is_dead(*((Swizzle&) lvalue).fBase); 358 return is_dead(*((FieldAccess&) lvalue).fBase); 361 return is_dead(*idx.fBase) && !idx.fIndex->hasSideEffects(); 574 clear_write(*((FieldAccess&) expr).fBase); 577 clear_write(*((Swizzle&) expr).fBase); 580 clear_write(*((IndexExpression&) expr).fBase);
|
H A D | SkSLGLSLCodeGenerator.cpp | 349 this->writeExpression(*expr.fBase, kPostfix_Precedence); 357 this->writeExpression(*f.fBase, kPostfix_Precedence); 360 switch (f.fBase->fType.fields()[f.fFieldIndex].fModifiers.fLayout.fBuiltin) { 365 this->write(f.fBase->fType.fields()[f.fFieldIndex].fName); 370 this->writeExpression(*swizzle.fBase, kPostfix_Precedence);
|
H A D | SkSLSPIRVCodeGenerator.cpp | 1703 return get_storage_class(*((FieldAccess&) expr).fBase); 1705 return get_storage_class(*((IndexExpression&) expr).fBase); 1716 chain = this->getAccessChain(*indexExpr.fBase, out); 1722 chain = this->getAccessChain(*fieldExpr.fBase, out); 1866 SpvId base = this->getLValue(*swizzle.fBase, out)->getPointer(); 1873 get_storage_class(*swizzle.fBase)), 1887 swizzle.fBase->fType, 1989 SpvId base = this->writeExpression(*swizzle.fBase, out);
|
H A D | SkSLCPPCodeGenerator.cpp | 77 const Expression& base = *i.fBase;
|
H A D | SkSLIRGenerator.cpp | 1793 std::unique_ptr<Expression> base = this->convertExpression(*expression.fBase); 1913 this->markWrittenTo(*((FieldAccess&) expr).fBase, readWrite); 1920 this->markWrittenTo(*((Swizzle&) expr).fBase, readWrite); 1923 this->markWrittenTo(*((IndexExpression&) expr).fBase, readWrite);
|
/external/skia/samplecode/ |
H A D | SampleRegion.cpp | 193 fBase.set(100, 100, 150, 150); 194 fRect = fBase; 201 rgn->setRect(fBase); 202 SkIRect r = fBase; 403 SkIRect fBase, fRect; member in class:RegionView
|
/external/skia/tests/ |
H A D | GrShapeTest.cpp | 252 SkScalar scale = SK_Scalar1) : fBase(geo.makeShape(paint)) { 258 : fBase(shapeArgs...) { 263 : fBase(shape) { 284 const GrShape& baseShape() const { return fBase; } 313 fAppliedPE = fBase.applyStyle(GrStyle::Apply::kPathEffectOnly, scale); 316 fAppliedFull = fBase.applyStyle(GrStyle::Apply::kPathEffectAndStrokeRec, scale); 318 make_key(&fBaseKey, fBase); 343 fBase.asPath(&path); 344 REPORTER_ASSERT(r, path.isEmpty() == fBase.isEmpty()); 345 REPORTER_ASSERT(r, path.getSegmentMasks() == fBase 405 GrShape fBase; member in class:__anon18465::TestCase [all...] |
/external/skia/src/pathops/ |
H A D | SkPathOpsDebug.cpp | 79 const SkOpSpanBase* fBase; member in struct:SpanGlitch 104 glitch->fBase = nullptr; 124 glitch->fBase = base; 131 glitch->fBase = base; 149 glitch->fBase = base; 158 glitch->fBase = base; 176 glitch->fBase = base; 205 glitch->fBase = span; 211 glitch->fBase = span; 379 if (glitch.fBase) { [all...] |