/third_party/skia/src/core/ |
H A D | SkBitmapCache.h | 28 SkIRect fSubset; // always set to a valid rect (entire or subset) member 32 SkASSERT(fSubset.fLeft >= 0 && fSubset.fTop >= 0); in validate() 33 SkASSERT(fSubset.width() > 0 && fSubset.height() > 0); in validate()
|
H A D | SkSpecialSurface.h | 37 int width() const { return fSubset.width(); } in width() 38 int height() const { return fSubset.height(); } in height() 89 const SkIRect& subset() const { return fSubset; } in subset() 93 const SkIRect fSubset; member in SkSpecialSurface
|
H A D | SkSpecialImage.h | 55 int width() const { return fSubset.width(); } in width() 56 int height() const { return fSubset.height(); } in height() 57 const SkIRect& subset() const { return fSubset; } in subset() 163 const SkIRect fSubset; member in SkSpecialImage
|
H A D | SkSpecialSurface.cpp | 47 , fSubset(subset) { in SkSpecialSurface() 48 SkASSERT(fSubset.width() > 0); in SkSpecialSurface() 49 SkASSERT(fSubset.height() > 0); in SkSpecialSurface()
|
H A D | SkBitmapCache.cpp | 179 SkASSERT(info.width() == desc.fSubset.width()); in Alloc() 180 SkASSERT(info.height() == desc.fSubset.height()); in Alloc()
|
/third_party/skia/src/codec/ |
H A D | SkSampledCodec.cpp | 76 const SkIRect* subset = options.fSubset; in onGetAndroidPixels() 102 // Copy so we can use a different fSubset. in onGetAndroidPixels() 110 subsetOptions.fSubset = &incrementalSubset; in onGetAndroidPixels() 129 // subsetOptions.fSubset will be reset below, so it will not continue to in onGetAndroidPixels() 136 subsetOptions.fSubset = &scanlineSubset; in onGetAndroidPixels() 178 if (options.fSubset) { in sampledDecode() 182 const SkIRect* subsetPtr = options.fSubset; in sampledDecode() 215 if (options.fSubset) { in sampledDecode() 220 incrementalOptions.fSubset = &incrementalSubset; in sampledDecode() 260 if (options.fSubset) { in sampledDecode() [all...] |
H A D | SkJpegCodec.cpp | 491 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); in readRows() 555 if (options.fSubset) { in onGetPixels() 626 if (options.fSubset) { in initializeSwizzler() 630 SkASSERT(!fSwizzlerSubset.isEmpty() && fSwizzlerSubset.x() <= options.fSubset->x() && in initializeSwizzler() 631 fSwizzlerSubset.width() == options.fSubset->width()); in initializeSwizzler() 632 swizzlerOptions.fSubset = &fSwizzlerSubset; in initializeSwizzler() 703 if (options.fSubset) { in onStartScanlineDecode() 704 uint32_t startX = options.fSubset->x(); in onStartScanlineDecode() 705 uint32_t width = options.fSubset in onStartScanlineDecode() [all...] |
H A D | SkCodec.cpp | 318 if (options.fSubset) { in handleFrameIndex() 409 if (options->fSubset) { in getPixels() 410 SkIRect subset(*options->fSubset); in getPixels() 411 if (!this->onGetValidSubset(&subset) || subset != *options->fSubset) { in getPixels() 450 fOptions.fSubset = nullptr; in getPixels() 498 if (options->fSubset) { in startIncrementalDecode() 500 if (!size.contains(*options->fSubset)) { in startIncrementalDecode() 504 const int top = options->fSubset->top(); in startIncrementalDecode() 505 const int bottom = options->fSubset->bottom(); in startIncrementalDecode() 551 } else if (options->fSubset) { in startScanlineDecode() [all...] |
H A D | SkAndroidCodec.cpp | 339 if (options->fSubset) { in getAndroidPixels() 340 if (!is_valid_subset(*options->fSubset, fCodec->dimensions())) { in getAndroidPixels() 344 if (SkIRect::MakeSize(fCodec->dimensions()) == *options->fSubset) { in getAndroidPixels() 349 defaultOptions.fSubset = nullptr; in getAndroidPixels()
|
H A D | SkWebpCodec.cpp | 350 SkASSERT(0 == index || !options.fSubset); in onGetPixels() 382 if (options.fSubset) { in onGetPixels() 383 SkIRect subset = *options.fSubset; in onGetPixels() 386 SkASSERT(this->getValidSubset(&subset) && subset == *options.fSubset); in onGetPixels() 419 SkISize srcSize = options.fSubset ? options.fSubset->size() : this->dimensions(); in onGetPixels()
|
H A D | SkWbmpCodec.cpp | 118 if (options.fSubset) { in onGetPixels() 182 if (options.fSubset) { in onStartScanlineDecode()
|
H A D | SkHeifCodec.cpp | 265 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); in readRows() 382 if (options.fSubset) { in onGetPixels() 486 if (options.fSubset) { in onStartScanlineDecode()
|
H A D | SkPngCodec.cpp | 1049 if (skipFormatConversion && !options.fSubset) { in initializeXforms() 1166 if (options.fSubset) { in onGetPixels() 1185 if (options.fSubset) { in onStartIncrementalDecode() 1186 firstRow = options.fSubset->top(); in onStartIncrementalDecode() 1187 lastRow = options.fSubset->bottom() - 1; in onStartIncrementalDecode()
|
H A D | SkMaskSwizzler.cpp | 524 if (options.fSubset) { in CreateMaskSwizzler() 525 srcOffset = options.fSubset->left(); in CreateMaskSwizzler() 526 srcWidth = options.fSubset->width(); in CreateMaskSwizzler()
|
H A D | SkBmpMaskCodec.cpp | 31 if (opts.fSubset) { in onGetPixels()
|
/third_party/skia/src/pdf/ |
H A D | SkBitmapKey.h | 13 SkIRect fSubset; member 16 return fID == rhs.fID && fSubset == rhs.fSubset; in operator ==()
|
H A D | SkKeyedImage.cpp | 38 img.fKey = {subset.makeOffset(fKey.fSubset.topLeft()), fKey.fID}; in subset()
|
/third_party/skia/tests/ |
H A D | SubsetPath.cpp | 14 , fSubset(1) { in SubsetPath() 18 int leadingZero = SkCLZ(fSubset); in range() 20 int partIndex = fSubset - parts; in range() 38 ++fSubset; in subset() 40 // SkDebugf("%d s=%d e=%d t=%d\n", fSubset, start, end, fTries); in subset()
|
H A D | SubsetPath.h | 47 int fSubset; member in SubsetPath
|
/third_party/skia/bench/ |
H A D | BitmapRegionDecoderBench.cpp | 21 , fSubset(subset) in BitmapRegionDecoderBench() 49 SkAssertResult(fBRD->decodeRegion(&bm, nullptr, fSubset, fSampleSize, ct, false, cs)); in onDraw()
|
H A D | BitmapRegionDecoderBench.h | 48 const SkIRect fSubset; member in BitmapRegionDecoderBench
|
/third_party/skia/src/gpu/effects/ |
H A D | GrTextureEffect.cpp | 679 const auto& s = te.fSubset; in onSetData() 749 if (fSubset != that.fSubset) { in onIsEqual() 771 , fSubset(sampling.fShaderSubset) in GrTextureEffect() 776 SkASSERT(fShaderModes[0] != ShaderMode::kNone || (fSubset.fLeft == 0 && fSubset.fRight == 0)); 777 SkASSERT(fShaderModes[1] != ShaderMode::kNone || (fSubset.fTop == 0 && fSubset.fBottom == 0)); 786 , fSubset(src.fSubset) in GrTextureEffect() [all...] |
/third_party/skia/src/shaders/ |
H A D | SkPictureShader.cpp | 57 , fSubset(subset) in ImageFromPictureKey() 63 sizeof(fSubset) + in ImageFromPictureKey() 76 SkRect fSubset; member
|
/third_party/skia/include/codec/ |
H A D | SkCodec.h | 289 , fSubset(nullptr) in Options() 302 * exact rectangular subset specified by fSubset. 312 const SkIRect* fSubset; member
|
/third_party/skia/src/gpu/ops/ |
H A D | TextureOp.cpp | 363 , fSubset(static_cast<uint16_t>(subset)) in Metadata() 376 uint16_t fSubset : 1; // bool member 388 Subset subset() const { return static_cast<Subset>(fSubset); } in subset() 464 fMetadata.fSubset = static_cast<uint16_t>(Subset::kNo); in TextureOpImpl() 630 fMetadata.fSubset = static_cast<uint16_t>(netSubset); in TextureOpImpl() 1047 fMetadata.fSubset |= that->fMetadata.fSubset; 1091 i, info.fColor.toBytes_RGBA(), fMetadata.fSubset, info.fSubsetRect.fLeft,
|