/third_party/flutter/skia/include/core/ |
D | SkPixmap.h | 41 : fPixels(nullptr), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0)) in SkPixmap() 63 : fPixels(addr), fRowBytes(rowBytes), fInfo(info) in SkPixmap() 119 const SkImageInfo& info() const { return fInfo; } in info() 144 int width() const { return fInfo.width(); } in width() 150 int height() const { return fInfo.height(); } in height() 155 SkISize dimensions() const { return fInfo.dimensions(); } in dimensions() 165 SkColorType colorType() const { return fInfo.colorType(); } in colorType() 173 SkAlphaType alphaType() const { return fInfo.alphaType(); } in alphaType() 181 SkColorSpace* colorSpace() const { return fInfo.colorSpace(); } in colorSpace() 191 sk_sp<SkColorSpace> refColorSpace() const { return fInfo.refColorSpace(); } in refColorSpace() [all …]
|
/third_party/skia/include/core/ |
D | SkPixmap.h | 41 : fPixels(nullptr), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0)) in SkPixmap() 63 : fPixels(addr), fRowBytes(rowBytes), fInfo(info) in SkPixmap() 125 const SkImageInfo& info() const { return fInfo; } in info() 150 int width() const { return fInfo.width(); } in width() 156 int height() const { return fInfo.height(); } in height() 161 SkISize dimensions() const { return fInfo.dimensions(); } in dimensions() 163 SkColorType colorType() const { return fInfo.colorType(); } in colorType() 165 SkAlphaType alphaType() const { return fInfo.alphaType(); } in alphaType() 173 SkColorSpace* colorSpace() const { return fInfo.colorSpace(); } in colorSpace() 183 sk_sp<SkColorSpace> refColorSpace() const { return fInfo.refColorSpace(); } in refColorSpace() [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkImageInfo.cpp | 105 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 108 if (0 >= fInfo.width() || 0 >= fInfo.height()) { in trim() 114 SkIRect srcR = SkIRect::MakeXYWH(x, y, fInfo.width(), fInfo.height()); in trim() 128 fPixels = ((char*)fPixels + -y*fRowBytes + -x*fInfo.bytesPerPixel()); in trim() 130 fInfo = fInfo.makeWH(srcR.width(), srcR.height()); in trim() 142 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 145 if (0 >= fInfo.width() || 0 >= fInfo.height()) { in trim() 151 SkIRect dstR = SkIRect::MakeXYWH(x, y, fInfo.width(), fInfo.height()); in trim() 165 fPixels = ((const char*)fPixels + -y*fRowBytes + -x*fInfo.bytesPerPixel()); in trim() 167 fInfo = fInfo.makeWH(dstR.width(), dstR.height()); in trim()
|
/third_party/skia/src/core/ |
D | SkImageInfo.cpp | 147 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 150 if (0 >= fInfo.width() || 0 >= fInfo.height()) { in trim() 156 SkIRect srcR = SkIRect::MakeXYWH(x, y, fInfo.width(), fInfo.height()); in trim() 170 fPixels = ((char*)fPixels + -y*fRowBytes + -x*fInfo.bytesPerPixel()); in trim() 172 fInfo = fInfo.makeDimensions(srcR.size()); in trim() 184 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 187 if (0 >= fInfo.width() || 0 >= fInfo.height()) { in trim() 193 SkIRect dstR = SkIRect::MakeXYWH(x, y, fInfo.width(), fInfo.height()); in trim() 207 fPixels = ((const char*)fPixels + -y*fRowBytes + -x*fInfo.bytesPerPixel()); in trim() 209 fInfo = fInfo.makeDimensions(dstR.size()); in trim()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkImage.cpp | 223 , fInfo(info) in GrVkImage() 249 , fInfo(info) in GrVkImage() 260 SkASSERT(fMutableState->getImageLayout() == fInfo.fImageLayout); in init() 261 SkASSERT(fMutableState->getQueueFamilyIndex() == fInfo.fCurrentQueueFamily); in init() 263 if (fInfo.fImageUsageFlags & VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT) { in init() 264 SkASSERT(SkToBool(fInfo.fImageUsageFlags & VK_IMAGE_USAGE_TRANSFER_DST_BIT)); in init() 266 if (fInfo.fAlloc.fFlags & GrVkAlloc::kLazilyAllocated_Flag) { in init() 267 SkASSERT(fInfo.fImageUsageFlags & VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT); in init() 268 SkASSERT(!SkToBool(fInfo.fImageUsageFlags & VK_IMAGE_USAGE_TRANSFER_DST_BIT) && in init() 269 !SkToBool(fInfo.fImageUsageFlags & VK_IMAGE_USAGE_TRANSFER_SRC_BIT)); in init() [all …]
|
D | GrVkImage.h | 69 return fInfo.fImage; in image() 75 return fInfo.fAlloc; in alloc() 77 const GrVkImageInfo& vkImageInfo() const { return fInfo; } in vkImageInfo() 78 VkFormat imageFormat() const { return fInfo.fFormat; } in imageFormat() 89 uint32_t mipLevels() const { return fInfo.fLevelCount; } in mipLevels() 94 return fInfo.fYcbcrConversionInfo; in ycbcrConversionInfo() 96 VkImageUsageFlags vkUsageFlags() { return fInfo.fImageUsageFlags; } in vkUsageFlags() 98 return fInfo.fImageUsageFlags & VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT; in supportsInputAttachmentUsage() 122 return SkToBool(VK_IMAGE_TILING_LINEAR == fInfo.fImageTiling); in isLinearTiled() 254 GrVkImageInfo fInfo; variable
|
/third_party/mesa3d/src/gallium/targets/haiku-softpipe/ |
D | SoftwareRenderer.cpp | 132 fInfo(NULL), in SoftwareRenderer() 191 if (fDirectModeEnabled && fInfo != NULL) { in LockGL() 192 fWidth = fInfo->window_bounds.right - fInfo->window_bounds.left; in LockGL() 193 fHeight = fInfo->window_bounds.bottom - fInfo->window_bounds.top; in LockGL() 230 if (fInfo != NULL) { in Display() 232 RasBuf32 dstBuf(fInfo); in Display() 233 for (uint32 i = 0; i < fInfo->clip_list_count; i++) { in Display() 234 clipping_rect *clip = &fInfo->clip_list[i]; in Display() 237 dstClip.Shift(-fInfo->window_bounds.left, -fInfo->window_bounds.top); in Display() 296 if (!fInfo) { in DirectConnected() [all …]
|
/third_party/skia/src/gpu/ |
D | GrPixmap.h | 17 const GrImageInfo& info() const { return fInfo; } in info() 18 const GrColorInfo& colorInfo() const { return fInfo.colorInfo(); } in colorInfo() 27 int width() const { return fInfo.width(); } in width() 28 int height() const { return fInfo.height(); } in height() 29 SkISize dimensions() const { return fInfo.dimensions(); } in dimensions() 30 GrColorType colorType() const { return fInfo.colorType(); } in colorType() 31 SkAlphaType alphaType() const { return fInfo.alphaType(); } in alphaType() 32 SkColorSpace* colorSpace() const { return fInfo.colorSpace(); } in colorSpace() 33 sk_sp<SkColorSpace> refColorSpace() const { return fInfo.refColorSpace(); } in refColorSpace() 50 (rect.fLeft - surfacePt->fX) * fInfo.bpp(); in clip() [all …]
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_preview.cpp | 70 preview.fInfo.fApplicationName, in dng_preview_tag_set() 74 preview.fInfo.fApplicationVersion, in dng_preview_tag_set() 78 preview.fInfo.fSettingsName, in dng_preview_tag_set() 81 , fSettingsDigest (preview.fInfo.fSettingsDigest) in dng_preview_tag_set() 88 preview.fInfo.fColorSpace) in dng_preview_tag_set() 91 preview.fInfo.fDateTime, in dng_preview_tag_set() 95 preview.fInfo.fRawToPreviewGain) in dng_preview_tag_set() 98 preview.fInfo.fCacheVersion) in dng_preview_tag_set() 102 if (preview.fInfo.fApplicationName.NotEmpty ()) in dng_preview_tag_set() 109 if (preview.fInfo.fApplicationVersion.NotEmpty ()) in dng_preview_tag_set() [all …]
|
/third_party/skia/bench/ |
D | AndroidCodecBench.cpp | 35 fInfo = codec->getInfo().makeDimensions(scaledSize).makeColorType(kN32_SkColorType); in onDelayedSetup() 36 if (kUnpremul_SkAlphaType == fInfo.alphaType()) { in onDelayedSetup() 37 fInfo = fInfo.makeAlphaType(kPremul_SkAlphaType); in onDelayedSetup() 40 fPixelStorage.reset(fInfo.computeMinByteSize()); in onDelayedSetup() 52 codec->getAndroidPixels(fInfo, fPixelStorage.get(), fInfo.minRowBytes(), &options); in onDraw()
|
/third_party/flutter/skia/src/effects/ |
D | SkLayerDrawLooper.cpp | 140 ApplyInfo(paint, fCurrRec->fPaint, fCurrRec->fInfo); in next() 143 info->fTranslate = fCurrRec->fInfo.fOffset; in next() 144 info->fApplyPostCTM = fCurrRec->fInfo.fPostTranslate; in next() 157 if ((rec->fInfo.fPaintBits & ~kMaskFilter_Bit)) { in asABlurShadow() 160 if (SkBlendMode::kSrc != (SkBlendMode)rec->fInfo.fColorMode) { in asABlurShadow() 174 if (rec->fInfo.fPaintBits) { in asABlurShadow() 177 if (SkBlendMode::kDst != (SkBlendMode)rec->fInfo.fColorMode) { in asABlurShadow() 180 if (!rec->fInfo.fOffset.equals(0, 0)) { in asABlurShadow() 186 bsRec->fOffset = fRecs->fInfo.fOffset; in asABlurShadow() 204 buffer.writeInt(rec->fInfo.fPaintBits); in flatten() [all …]
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkImage.cpp | 95 if (releaseFamilyQueue && fInfo.fCurrentQueueFamily == fInitialQueueFamily && in setImageLayout() 104 (fInfo.fCurrentQueueFamily == VK_QUEUE_FAMILY_IGNORED || in setImageLayout() 105 fInfo.fCurrentQueueFamily == gpu->queueIndex()) && in setImageLayout() 115 VkImageAspectFlags aspectFlags = vk_format_to_aspect_flags(fInfo.fFormat); in setImageLayout() 119 if (fInfo.fCurrentQueueFamily != VK_QUEUE_FAMILY_IGNORED && in setImageLayout() 120 gpu->queueIndex() != fInfo.fCurrentQueueFamily) { in setImageLayout() 124 SkASSERT(fInfo.fCurrentQueueFamily == fInitialQueueFamily); in setImageLayout() 126 srcQueueFamilyIndex = fInfo.fCurrentQueueFamily; in setImageLayout() 128 fInfo.fCurrentQueueFamily = gpu->queueIndex(); in setImageLayout() 132 srcQueueFamilyIndex = fInfo.fCurrentQueueFamily; in setImageLayout() [all …]
|
D | GrVkImage.h | 29 : fInfo(info) in fInfo() function 33 SkASSERT(fLayout->getImageLayout() == fInfo.fImageLayout); in fInfo() 49 return fInfo.fImage; in image() 55 return fInfo.fAlloc; in alloc() 57 VkFormat imageFormat() const { return fInfo.fFormat; } in imageFormat() 66 uint32_t mipLevels() const { return fInfo.fLevelCount; } in mipLevels() 71 return fInfo.fYcbcrConversionInfo; in ycbcrConversionInfo() 81 return SkToBool(VK_IMAGE_TILING_LINEAR == fInfo.fImageTiling); in isLinearTiled() 163 GrVkImageInfo fInfo; variable
|
/third_party/flutter/skia/bench/ |
D | AndroidCodecBench.cpp | 35 fInfo = codec->getInfo().makeWH(scaledSize.width(), scaledSize.height()) in onDelayedSetup() 37 if (kUnpremul_SkAlphaType == fInfo.alphaType()) { in onDelayedSetup() 38 fInfo = fInfo.makeAlphaType(kPremul_SkAlphaType); in onDelayedSetup() 41 fPixelStorage.reset(fInfo.computeMinByteSize()); in onDelayedSetup() 53 codec->getAndroidPixels(fInfo, fPixelStorage.get(), fInfo.minRowBytes(), &options); in onDraw()
|
/third_party/skia/src/effects/ |
D | SkLayerDrawLooper.cpp | 143 ApplyInfo(paint, fCurrRec->fPaint, fCurrRec->fInfo); in next() 146 info->fTranslate = fCurrRec->fInfo.fOffset; in next() 147 info->fApplyPostCTM = fCurrRec->fInfo.fPostTranslate; in next() 160 if ((rec->fInfo.fPaintBits & ~kMaskFilter_Bit)) { in asABlurShadow() 163 if (SkBlendMode::kSrc != (SkBlendMode)rec->fInfo.fColorMode) { in asABlurShadow() 177 if (rec->fInfo.fPaintBits) { in asABlurShadow() 180 if (SkBlendMode::kDst != (SkBlendMode)rec->fInfo.fColorMode) { in asABlurShadow() 183 if (!rec->fInfo.fOffset.equals(0, 0)) { in asABlurShadow() 189 bsRec->fOffset = fRecs->fInfo.fOffset; in asABlurShadow() 207 buffer.writeInt(rec->fInfo.fPaintBits); in flatten() [all …]
|
/third_party/skia/src/pdf/ |
D | SkPDFGradientShader.h | 27 SkShader::GradientInfo fInfo; member 53 SkASSERT(u.fInfo.fColors == u.fColors.get()); 54 SkASSERT(u.fInfo.fColorOffsets == u.fStops.get()); 55 SkASSERT(v.fInfo.fColors == v.fColors.get()); 56 SkASSERT(v.fInfo.fColorOffsets == v.fStops.get()); 58 && u.fInfo == v.fInfo
|
/third_party/flutter/skia/src/pdf/ |
D | SkPDFGradientShader.h | 27 SkShader::GradientInfo fInfo; member 53 SkASSERT(u.fInfo.fColors == u.fColors.get()); 54 SkASSERT(u.fInfo.fColorOffsets == u.fStops.get()); 55 SkASSERT(v.fInfo.fColors == v.fColors.get()); 56 SkASSERT(v.fInfo.fColorOffsets == v.fStops.get()); 58 && u.fInfo == v.fInfo
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | dtitvfmt.cpp | 123 : fInfo(NULL), in DateIntervalFormat() 136 fInfo(NULL), in DateIntervalFormat() 152 delete fInfo; in operator =() 176 if ( itvfmt.fInfo ) { in operator =() 177 fInfo = itvfmt.fInfo->clone(); in operator =() 179 fInfo = NULL; in operator =() 196 delete fInfo; in ~DateIntervalFormat() 218 if ((fInfo != fmt->fInfo) && (fInfo == NULL || fmt->fInfo == NULL)) {return FALSE;} in operator ==() 219 if (fInfo && fmt->fInfo && (*fInfo != *fmt->fInfo )) {return FALSE;} in operator ==() 274 if (fFromCalendar == NULL || fToCalendar == NULL || fDateFormat == NULL || fInfo == NULL) { in format() [all …]
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DTextureResource.h | 26 : fInfo(info) in GrD3DTextureResource() 28 , fResource(new Resource(fInfo.fResource, info.fAlloc)) { in GrD3DTextureResource() 36 return fInfo.fResource.get(); in d3dResource() 38 DXGI_FORMAT dxgiFormat() const { return fInfo.fFormat; } in dxgiFormat() 46 uint32_t mipLevels() const { return fInfo.fLevelCount; } in mipLevels() 60 unsigned int sampleQualityPattern() const { return fInfo.fSampleQualityPattern; } in sampleQualityPattern() 81 GrD3DTextureResourceInfo fInfo; variable
|
/third_party/skia/src/gpu/mock/ |
D | GrMockTexture.h | 45 return GrBackendTexture(this->width(), this->height(), this->mipmapped(), fInfo); in getBackendTexture() 49 return fInfo.getBackendFormat(); in backendFormat() 60 , fInfo(info) {} in GrMockTexture() 75 GrMockTextureInfo fInfo; 90 , fInfo(info) { in GrMockRenderTarget() 99 , fInfo(info) { in GrMockRenderTarget() 128 return {this->width(), this->height(), this->numSamples(), numStencilBits, fInfo}; in getBackendRenderTarget() 132 return fInfo.getBackendFormat(); in backendFormat() 144 , fInfo(info) {} in GrMockRenderTarget() 147 GrMockRenderTargetInfo fInfo;
|
/third_party/flutter/skia/src/gpu/mock/ |
D | GrMockTexture.h | 41 fInfo); in getBackendTexture() 45 return fInfo.getBackendFormat(); in backendFormat() 57 , fInfo(info) {} 72 GrMockTextureInfo fInfo; 83 , fInfo(info) { 92 , fInfo(info) { 115 return {this->width(), this->height(), this->numSamples(), numStencilBits, fInfo}; in getBackendRenderTarget() 119 return fInfo.getBackendFormat(); in backendFormat() 128 , fInfo(info) {} 131 GrMockRenderTargetInfo fInfo;
|
/third_party/skia/modules/skottie/src/layers/shapelayer/ |
D | ShapeLayer.cpp | 176 const ShapeInfo& fInfo; in attachShape() member 238 switch (rec->fInfo.fShapeType) { in attachShape() 240 SkASSERT(rec->fInfo.fAttacherIndex < SK_ARRAY_COUNT(gGeometryAttachers)); in attachShape() 241 if (auto geo = gGeometryAttachers[rec->fInfo.fAttacherIndex](rec->fJson, this)) { in attachShape() 247 SkASSERT(rec->fInfo.fAttacherIndex < SK_ARRAY_COUNT(gGeometryEffectAttachers)); in attachShape() 249 geos = gGeometryEffectAttachers[rec->fInfo.fAttacherIndex](rec->fJson, in attachShape() 256 gGeometryEffectAttachers[rec->fInfo.fAttacherIndex]); in attachShape() 271 SkASSERT(rec->fInfo.fAttacherIndex < SK_ARRAY_COUNT(gPaintAttachers)); in attachShape() 272 auto paint = gPaintAttachers[rec->fInfo.fAttacherIndex](rec->fJson, this); in attachShape() 285 SkASSERT(rec->fInfo.fAttacherIndex < SK_ARRAY_COUNT(gPaintGeometryAdjusters)); in attachShape() [all …]
|
/third_party/flutter/skia/src/codec/ |
D | SkAndroidCodec.cpp | 71 : fInfo(adjust_info(codec, orientationBehavior)) in SkAndroidCodec() 219 if (!desiredSize || *desiredSize == fInfo.dimensions()) { in computeSampleSize() 223 if (smaller_than(fInfo.dimensions(), *desiredSize)) { in computeSampleSize() 224 *desiredSize = fInfo.dimensions(); in computeSampleSize() 238 int sampleX = fInfo.width() / desiredSize->width(); in computeSampleSize() 239 int sampleY = fInfo.height() / desiredSize->height(); in computeSampleSize() 246 if (computedSize == fInfo.dimensions() || sampleSize == 1) { in computeSampleSize() 289 *desiredSize = fInfo.dimensions(); in computeSampleSize() 300 return fInfo.dimensions(); in getSampledDimensions() 313 if (!desiredSubset || !is_valid_subset(*desiredSubset, fInfo.dimensions())) { in getSupportedSubset() [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | dtitvfmt.cpp | 140 : fInfo(nullptr), in DateIntervalFormat() 154 fInfo(nullptr), in DateIntervalFormat() 171 delete fInfo; in operator =() 195 if ( itvfmt.fInfo ) { in operator =() 196 fInfo = itvfmt.fInfo->clone(); in operator =() 198 fInfo = nullptr; in operator =() 216 delete fInfo; in ~DateIntervalFormat() 238 if ((fInfo != fmt->fInfo) && (fInfo == nullptr || fmt->fInfo == nullptr)) {return FALSE;} in operator ==() 239 if (fInfo && fmt->fInfo && (*fInfo != *fmt->fInfo )) {return FALSE;} in operator ==() 295 if (fDateFormat == nullptr || fInfo == nullptr) { in format() [all …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | dtitvfmt.cpp | 140 : fInfo(nullptr), in DateIntervalFormat() 154 fInfo(nullptr), in DateIntervalFormat() 171 delete fInfo; in operator =() 195 if ( itvfmt.fInfo ) { in operator =() 196 fInfo = itvfmt.fInfo->clone(); in operator =() 198 fInfo = nullptr; in operator =() 216 delete fInfo; in ~DateIntervalFormat() 238 if ((fInfo != fmt->fInfo) && (fInfo == nullptr || fmt->fInfo == nullptr)) {return false;} in operator ==() 239 if (fInfo && fmt->fInfo && (*fInfo != *fmt->fInfo )) {return false;} in operator ==() 295 if (fDateFormat == nullptr || fInfo == nullptr) { in format() [all …]
|