/third_party/skia/src/core/ |
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()
|
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; variable
|
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; variable
|
D | SkSpecialSurface.cpp | 47 , fSubset(subset) { in SkSpecialSurface() 48 SkASSERT(fSubset.width() > 0); in SkSpecialSurface() 49 SkASSERT(fSubset.height() > 0); in SkSpecialSurface()
|
/third_party/flutter/skia/src/core/ |
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()
|
D | SkSpecialSurface.h | 38 int width() const { return fSubset.width(); } in width() 39 int height() const { return fSubset.height(); } in height() 90 const SkIRect& subset() const { return fSubset; } in subset() 94 const SkIRect fSubset; variable
|
D | SkSpecialImage.h | 49 int width() const { return fSubset.width(); } in width() 50 int height() const { return fSubset.height(); } in height() 51 const SkIRect& subset() const { return fSubset; } in subset() 159 const SkIRect fSubset; variable
|
D | SkSpecialSurface.cpp | 46 , fSubset(subset) { in SkSpecialSurface() 47 SkASSERT(fSubset.width() > 0); in SkSpecialSurface() 48 SkASSERT(fSubset.height() > 0); in SkSpecialSurface()
|
/third_party/flutter/skia/src/codec/ |
D | SkSampledCodec.cpp | 80 SkIRect* subset = options.fSubset; in onGetAndroidPixels() 112 codecOptions.fSubset = &incrementalSubset; in onGetAndroidPixels() 138 codecOptions.fSubset = &scanlineSubset; in onGetAndroidPixels() 184 if (options.fSubset) { in sampledDecode() 188 const SkIRect* subsetPtr = options.fSubset; in sampledDecode() 201 sampledOptions.fSubset = ⊂ in sampledDecode() 222 if (sampledOptions.fSubset) { in sampledDecode() 225 incrementalSubset.fLeft = sampledOptions.fSubset->fLeft; in sampledDecode() 226 incrementalSubset.fRight = sampledOptions.fSubset->fRight; in sampledDecode() 227 incrementalOptions.fSubset = &incrementalSubset; in sampledDecode()
|
D | SkCodec.cpp | 269 if (options.fSubset) { in handleFrameIndex() 360 if (options->fSubset) { in getPixels() 361 SkIRect subset(*options->fSubset); in getPixels() 362 if (!this->onGetValidSubset(&subset) || subset != *options->fSubset) { in getPixels() 401 fOptions.fSubset = nullptr; in getPixels() 438 if (options->fSubset) { in startIncrementalDecode() 440 if (!size.contains(*options->fSubset)) { in startIncrementalDecode() 444 const int top = options->fSubset->top(); in startIncrementalDecode() 445 const int bottom = options->fSubset->bottom(); in startIncrementalDecode() 500 } else if (options->fSubset) { in startScanlineDecode() [all …]
|
D | SkJpegCodec.cpp | 515 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); in readRows() 579 if (options.fSubset) { in onGetPixels() 645 if (options.fSubset) { in initializeSwizzler() 649 SkASSERT(!fSwizzlerSubset.isEmpty() && fSwizzlerSubset.x() <= options.fSubset->x() && in initializeSwizzler() 650 fSwizzlerSubset.width() == options.fSubset->width()); in initializeSwizzler() 651 swizzlerOptions.fSubset = &fSwizzlerSubset; in initializeSwizzler() 720 if (options.fSubset) { in onStartScanlineDecode() 721 uint32_t startX = options.fSubset->x(); in onStartScanlineDecode() 722 uint32_t width = options.fSubset->width(); in onStartScanlineDecode() 731 SkASSERT(startX <= (uint32_t) options.fSubset->x()); in onStartScanlineDecode() [all …]
|
D | SkAndroidCodecAdapter.cpp | 28 codecOptions.fSubset = options.fSubset; in onGetAndroidPixels()
|
/third_party/flutter/skia/src/pdf/ |
D | SkBitmapKey.h | 13 SkIRect fSubset; member 16 return fID == rhs.fID && fSubset == rhs.fSubset;
|
D | SkKeyedImage.cpp | 38 img.fKey = {subset.makeOffset(fKey.fSubset.x(), fKey.fSubset.y()), fKey.fID}; in subset()
|
/third_party/skia/src/pdf/ |
D | SkBitmapKey.h | 13 SkIRect fSubset; member 16 return fID == rhs.fID && fSubset == rhs.fSubset;
|
/third_party/skia/src/codec/ |
D | SkSampledCodec.cpp | 76 const SkIRect* subset = options.fSubset; in onGetAndroidPixels() 110 subsetOptions.fSubset = &incrementalSubset; 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() 261 sampledOptions.fSubset = ⊂ in sampledDecode()
|
D | SkJpegCodec.cpp | 464 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); in readRows() 528 if (options.fSubset) { in onGetPixels() 599 if (options.fSubset) { in initializeSwizzler() 603 SkASSERT(!fSwizzlerSubset.isEmpty() && fSwizzlerSubset.x() <= options.fSubset->x() && in initializeSwizzler() 604 fSwizzlerSubset.width() == options.fSubset->width()); in initializeSwizzler() 605 swizzlerOptions.fSubset = &fSwizzlerSubset; in initializeSwizzler() 676 if (options.fSubset) { in onStartScanlineDecode() 677 uint32_t startX = options.fSubset->x(); in onStartScanlineDecode() 678 uint32_t width = options.fSubset->width(); in onStartScanlineDecode() 687 SkASSERT(startX <= (uint32_t) options.fSubset->x()); in onStartScanlineDecode() [all …]
|
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 …]
|
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()
|
/third_party/skia/tests/ |
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()
|
/third_party/flutter/skia/tests/ |
D | SubsetPath.cpp | 13 , fSubset(1) { in SubsetPath() 17 int leadingZero = SkCLZ(fSubset); in range() 19 int partIndex = fSubset - parts; in range() 37 ++fSubset; in subset()
|
/third_party/skia/bench/ |
D | BitmapRegionDecoderBench.cpp | 21 , fSubset(subset) in BitmapRegionDecoderBench() 49 SkAssertResult(fBRD->decodeRegion(&bm, nullptr, fSubset, fSampleSize, ct, false, cs)); in onDraw()
|
/third_party/flutter/skia/bench/ |
D | BitmapRegionDecoderBench.cpp | 19 , fSubset(subset) in BitmapRegionDecoderBench() 47 SkAssertResult(fBRD->decodeRegion(&bm, nullptr, fSubset, fSampleSize, ct, false, cs)); in onDraw()
|
/third_party/skia/src/gpu/effects/ |
D | GrTextureEffect.cpp | 679 const auto& s = te.fSubset; in onSetData() 742 if (fSubset != that.fSubset) { in onIsEqual() 764 , fSubset(sampling.fShaderSubset) in GrTextureEffect() 769 SkASSERT(fShaderModes[0] != ShaderMode::kNone || (fSubset.fLeft == 0 && fSubset.fRight == 0)); 770 SkASSERT(fShaderModes[1] != ShaderMode::kNone || (fSubset.fTop == 0 && fSubset.fBottom == 0)); 779 , fSubset(src.fSubset) in GrTextureEffect()
|
/third_party/flutter/skia/include/codec/ |
D | SkAndroidCodec.h | 194 , fSubset(nullptr) in AndroidOptions() 215 SkIRect* fSubset; member
|