Home
last modified time | relevance | path

Searched refs:fSubset (Results 1 - 25 of 37) sorted by relevance

12

/third_party/skia/src/core/
H A DSkBitmapCache.h28 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 DSkSpecialSurface.h37 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 DSkSpecialImage.h55 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 DSkSpecialSurface.cpp47 , fSubset(subset) { in SkSpecialSurface()
48 SkASSERT(fSubset.width() > 0); in SkSpecialSurface()
49 SkASSERT(fSubset.height() > 0); in SkSpecialSurface()
H A DSkBitmapCache.cpp179 SkASSERT(info.width() == desc.fSubset.width()); in Alloc()
180 SkASSERT(info.height() == desc.fSubset.height()); in Alloc()
/third_party/skia/src/codec/
H A DSkSampledCodec.cpp76 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 DSkJpegCodec.cpp491 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 DSkCodec.cpp318 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 DSkAndroidCodec.cpp339 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 DSkWebpCodec.cpp350 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 DSkWbmpCodec.cpp118 if (options.fSubset) { in onGetPixels()
182 if (options.fSubset) { in onStartScanlineDecode()
H A DSkHeifCodec.cpp265 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 DSkPngCodec.cpp1049 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 DSkMaskSwizzler.cpp524 if (options.fSubset) { in CreateMaskSwizzler()
525 srcOffset = options.fSubset->left(); in CreateMaskSwizzler()
526 srcWidth = options.fSubset->width(); in CreateMaskSwizzler()
H A DSkBmpMaskCodec.cpp31 if (opts.fSubset) { in onGetPixels()
/third_party/skia/src/pdf/
H A DSkBitmapKey.h13 SkIRect fSubset; member
16 return fID == rhs.fID && fSubset == rhs.fSubset; in operator ==()
H A DSkKeyedImage.cpp38 img.fKey = {subset.makeOffset(fKey.fSubset.topLeft()), fKey.fID}; in subset()
/third_party/skia/tests/
H A DSubsetPath.cpp14 , 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 DSubsetPath.h47 int fSubset; member in SubsetPath
/third_party/skia/bench/
H A DBitmapRegionDecoderBench.cpp21 , fSubset(subset) in BitmapRegionDecoderBench()
49 SkAssertResult(fBRD->decodeRegion(&bm, nullptr, fSubset, fSampleSize, ct, false, cs)); in onDraw()
H A DBitmapRegionDecoderBench.h48 const SkIRect fSubset; member in BitmapRegionDecoderBench
/third_party/skia/src/gpu/effects/
H A DGrTextureEffect.cpp679 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 DSkPictureShader.cpp57 , fSubset(subset) in ImageFromPictureKey()
63 sizeof(fSubset) + in ImageFromPictureKey()
76 SkRect fSubset; member
/third_party/skia/include/codec/
H A DSkCodec.h289 , fSubset(nullptr) in Options()
302 * exact rectangular subset specified by fSubset.
312 const SkIRect* fSubset; member
/third_party/skia/src/gpu/ops/
H A DTextureOp.cpp363 , 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,

Completed in 34 milliseconds

12