/third_party/skia/include/core/ |
H A 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 715 SkImageInfo fInfo; global() member in SkPixmap [all...] |
/third_party/skia/src/core/ |
H A 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 in trim() [all...] |
H A D | SkWritePixelsRec.h | 21 , fInfo(info) in SkWritePixelsRec() 29 , fInfo(pm.info()) in SkWritePixelsRec() 36 SkImageInfo fInfo; member 45 * is not valid (e.g. bad fInfo) for writePixels().
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkImage.cpp | 231 , fInfo(info) in GrVkImage() 262 , fInfo(info) in GrVkImage() 273 SkASSERT(fMutableState->getImageLayout() == fInfo.fImageLayout); in init() 274 SkASSERT(fMutableState->getQueueFamilyIndex() == fInfo.fCurrentQueueFamily); in init() 276 if (fInfo.fImageUsageFlags & VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT) { in init() 277 SkASSERT(SkToBool(fInfo.fImageUsageFlags & VK_IMAGE_USAGE_TRANSFER_DST_BIT)); in init() 279 if (fInfo.fAlloc.fFlags & GrVkAlloc::kLazilyAllocated_Flag) { in init() 280 SkASSERT(fInfo.fImageUsageFlags & VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT); in init() 281 SkASSERT(!SkToBool(fInfo.fImageUsageFlags & VK_IMAGE_USAGE_TRANSFER_DST_BIT) && in init() 282 !SkToBool(fInfo in init() [all...] |
H A D | GrVkImage.h | 72 return fInfo.fImage; in image() 78 return fInfo.fAlloc; in alloc() 80 const GrVkImageInfo& vkImageInfo() const { return fInfo; } in vkImageInfo() 81 VkFormat imageFormat() const { return fInfo.fFormat; } in imageFormat() 92 uint32_t mipLevels() const { return fInfo.fLevelCount; } in mipLevels() 97 return fInfo.fYcbcrConversionInfo; in ycbcrConversionInfo() 99 VkImageUsageFlags vkUsageFlags() { return fInfo.fImageUsageFlags; } in vkUsageFlags() 101 return fInfo.fImageUsageFlags & VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT; in supportsInputAttachmentUsage() 125 return SkToBool(VK_IMAGE_TILING_LINEAR == fInfo.fImageTiling); in isLinearTiled() 262 GrVkImageInfo fInfo; member in GrVkImage [all...] |
/third_party/mesa3d/src/gallium/targets/haiku-softpipe/ |
H A 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 in Display() [all...] |
/third_party/skia/src/gpu/ |
H A 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 in clip() 78 GrImageInfo fInfo; global() member in GrPixmapBase [all...] |
/third_party/skia/bench/ |
H A 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()
|
H A D | CodecBench.cpp | 43 fInfo = codec->getInfo().makeColorType(fColorType) in onDelayedSetup() 47 fPixelStorage.reset(fInfo.computeMinByteSize()); in onDelayedSetup() 61 codec->getPixels(fInfo, fPixelStorage.get(), fInfo.minRowBytes(), in onDraw()
|
/third_party/skia/src/effects/ |
H A 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 in flatten() [all...] |
/third_party/skia/src/pdf/ |
H A D | SkPDFGradientShader.h | 27 SkShader::GradientInfo fInfo; member 53 SkASSERT(u.fInfo.fColors == u.fColors.get()); in operator ==() 54 SkASSERT(u.fInfo.fColorOffsets == u.fStops.get()); in operator ==() 55 SkASSERT(v.fInfo.fColors == v.fColors.get()); in operator ==() 56 SkASSERT(v.fInfo.fColorOffsets == v.fStops.get()); in operator ==() 58 && u.fInfo == v.fInfo in operator ==()
|
H A D | SkPDFGradientShader.cpp | 35 hash(k.fInfo), in hash() 590 const SkShader::GradientInfo& info = state.fInfo; in make_function_shader() 603 // state.fInfo in make_function_shader() 789 for (int i = 0; i < key.fInfo.fColorCount; i++) { in gradient_has_alpha() 790 if ((SkAlpha)SkColorGetA(key.fInfo.fColors[i]) != SK_AlphaOPAQUE) { in gradient_has_alpha() 801 k.fInfo, // change pointers later. in clone_key() 802 std::unique_ptr<SkColor[]>(new SkColor[k.fInfo.fColorCount]), in clone_key() 803 std::unique_ptr<SkScalar[]>(new SkScalar[k.fInfo.fColorCount]), in clone_key() 807 clone.fInfo.fColors = clone.fColors.get(); in clone_key() 808 clone.fInfo in clone_key() [all...] |
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A 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 in dng_preview_tag_set() [all...] |
/third_party/skia/src/gpu/mock/ |
H A D | GrMockTexture.h | 45 return GrBackendTexture(this->width(), this->height(), this->mipmapped(), fInfo); 49 return fInfo.getBackendFormat(); 60 , fInfo(info) {} in GrMockTexture() 75 GrMockTextureInfo fInfo; member in GrMockTexture 90 , fInfo(info) { in GrMockRenderTarget() 99 , fInfo(info) { in GrMockRenderTarget() 128 return {this->width(), this->height(), this->numSamples(), numStencilBits, fInfo}; 132 return fInfo.getBackendFormat(); 144 , fInfo(info) {} in GrMockRenderTarget() 147 GrMockRenderTargetInfo fInfo; member in GrMockRenderTarget [all...] |
/third_party/skia/src/gpu/d3d/ |
H A 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; member in GrD3DTextureResource
|
/third_party/skia/experimental/graphite/src/ |
H A D | Texture.h | 21 int numSamples() const { return fInfo.numSamples(); } in numSamples() 22 Mipmapped mipmapped() const { return Mipmapped(fInfo.numMipLevels() > 1); } in mipmapped() 25 const TextureInfo& textureInfo() const { return fInfo; } in textureInfo() 32 TextureInfo fInfo; member in skgpu::Texture
|
H A D | TextureProxy.h | 26 int numSamples() const { return fInfo.numSamples(); } in numSamples() 27 Mipmapped mipmapped() const { return Mipmapped(fInfo.numMipLevels() > 1); } in mipmapped() 30 const TextureInfo& textureInfo() const { return fInfo; } in textureInfo() 42 TextureInfo fInfo; member in skgpu::TextureProxy
|
/third_party/icu/icu4c/source/tools/ctestfw/ |
H A D | testdata.cpp | 16 fInfo(NULL), in TestData() 28 if(fInfo != NULL) { in ~TestData() 29 delete fInfo; in ~TestData() 74 fInfo = new RBDataMap(info, status); in RBTestData() 95 if(fInfo) { in getInfo() 96 info = fInfo; in getInfo()
|
/third_party/skia/third_party/externals/icu/source/tools/ctestfw/ |
H A D | testdata.cpp | 16 fInfo(NULL), in TestData() 28 if(fInfo != NULL) { in ~TestData() 29 delete fInfo; in ~TestData() 74 fInfo = new RBDataMap(info, status); in RBTestData() 95 if(fInfo) { in getInfo() 96 info = fInfo; in getInfo()
|
/third_party/skia/modules/skottie/src/layers/shapelayer/ |
H A 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 in attachShape() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A 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) in operator ==() [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A 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) in operator ==() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A 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) in operator ==() [all...] |
/third_party/skia/experimental/graphite/include/ |
H A D | BackendTexture.h | 27 bool isValid() const { return fInfo.isValid(); } in isValid() 28 BackendApi backend() const { return fInfo.backend(); } in backend() 34 TextureInfo fInfo; member in skgpu::BackendTexture
|
/third_party/skia/src/image/ |
H A D | SkReadPixelsRec.h | 21 , fInfo(info) in SkReadPixelsRec() 29 , fInfo(pm.info()) in SkReadPixelsRec() 36 SkImageInfo fInfo; member 45 * is not valid (e.g. bad fInfo) for readPixels().
|