/third_party/skia/include/gpu/dawn/ |
H A D | GrDawnTypes.h | 29 wgpu::TextureFormat fFormat; member 31 GrDawnTextureInfo() : fTexture(nullptr), fFormat(), fLevelCount(0) { in GrDawnTextureInfo() 35 , fFormat(other.fFormat) in GrDawnTextureInfo() 40 fFormat = other.fFormat; in operator =() 46 fFormat == other.fFormat && in operator ==() 57 wgpu::TextureFormat fFormat; member 59 GrDawnRenderTargetInfo() : fTextureView(nullptr), fFormat(), fLevelCoun 92 wgpu::TextureFormat fFormat; global() member [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | tsdate.cpp | 36 fFormat = DateFormat::createInstance(); in runIndexedTest() 82 fFormat = DateFormat::createTimeInstance(timeStyle, locale); in testLocale() 93 fFormat = DateFormat::createDateInstance(dateStyle, locale); in testLocale() 106 fFormat = DateFormat::createDateTimeInstance(dateStyle, timeStyle, locale); in testLocale() 114 if (fFormat == 0) in testFormat() 136 delete fFormat; in testFormat() 143 SimpleDateFormat *s = (SimpleDateFormat*)fFormat; in describeTest() 163 fFormat->format(theDate, string[0]); in tryDate() 167 Locale loc = fFormat->getCalendar()->getLocale(ULOC_VALID_LOCALE, status); in tryDate() 175 date[i] = fFormat in tryDate() [all...] |
H A D | tsnmfmt.cpp | 49 fFormat = NumberFormat::createInstance(fStatus); in runIndexedTest() 85 fFormat = NumberFormat::createInstance(locale, fStatus); in testLocale() 91 fFormat = NumberFormat::createCurrencyInstance(locale, fStatus); in testLocale() 97 fFormat = NumberFormat::createPercentInstance(locale, fStatus); in testLocale() 104 fFormat = NumberFormat::createScientificInstance(locale, fStatus); in testLocale() 165 if (fFormat != 0) in testFormat() 167 delete fFormat; in testFormat() 168 fFormat = 0; in testFormat() 172 if (fFormat == 0) in testFormat() 181 DecimalFormat *s = (DecimalFormat*)fFormat; in testFormat() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | IntlTestDateFormat.java | 51 private DateFormat fFormat = null; field in IntlTestDateFormat 62 fFormat = DateFormat.getInstance(); in init() 82 fFormat = DateFormat.getTimeInstance(timeStyle, locale); in localeTest() 96 fFormat = DateFormat.getDateInstance(dateStyle, locale); in localeTest() 109 fFormat = DateFormat.getDateTimeInstance(dateStyle, timeStyle, locale); in localeTest() 121 if (fFormat == null) { in testDates() 141 if (fFormat == null) { in describeTest() 147 SimpleDateFormat s = (SimpleDateFormat) fFormat; in describeTest() 165 date[i] = fFormat.parse(string[i-1].toString()); in tryDate() 169 errln("********** FAIL: Parse of " + string[i-1] + " failed for locale: "+fFormat in tryDate() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | IntlTestDateFormat.java | 54 private DateFormat fFormat = null; field in IntlTestDateFormat 65 fFormat = DateFormat.getInstance(); in init() 85 fFormat = DateFormat.getTimeInstance(timeStyle, locale); in localeTest() 99 fFormat = DateFormat.getDateInstance(dateStyle, locale); in localeTest() 112 fFormat = DateFormat.getDateTimeInstance(dateStyle, timeStyle, locale); in localeTest() 124 if (fFormat == null) { in testDates() 144 if (fFormat == null) { in describeTest() 150 SimpleDateFormat s = (SimpleDateFormat) fFormat; in describeTest() 168 date[i] = fFormat.parse(string[i-1].toString()); in tryDate() 172 errln("********** FAIL: Parse of " + string[i-1] + " failed for locale: "+fFormat in tryDate() [all...] |
/third_party/skia/include/gpu/vk/ |
H A D | GrVkTypes.h | 67 return this->fFormat == that.fFormat && in operator ==() 82 VkFormat fFormat = VK_FORMAT_UNDEFINED; member 111 VkFormat fFormat = VK_FORMAT_UNDEFINED; member 124 fFormat == that.fFormat && fImageUsageFlags == that.fImageUsageFlags && in operator ==() 166 VkFormat fFormat; member 177 VkFormat fFormat = VK_FORMAT_UNDEFINED; member
|
/third_party/skia/experimental/graphite/include/private/ |
H A D | MtlTypesPriv.h | 45 : fFormat(0) in TextureSpec() 50 : fFormat(info.fFormat) in TextureSpec() 56 return fFormat == that.fFormat && in operator ==() 62 PixelFormat fFormat; member
|
/third_party/skia/tests/ |
H A D | GrSurfaceTest.cpp | 116 SkASSERT(combo.fFormat.isValid()); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 128 bool isCompressed = caps->isFormatCompressed(combo.fFormat); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 129 bool isTexturable = caps->isFormatTexturable(combo.fFormat, GrTextureType::k2D); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 131 sk_sp<GrSurface> tex = createTexture(kDims, combo.fColorType, combo.fFormat, in DEF_GPUTEST_FOR_ALL_CONTEXTS() 135 GrColorTypeToStr(combo.fColorType), combo.fFormat.toStr().c_str(), in DEF_GPUTEST_FOR_ALL_CONTEXTS() 143 combo.fFormat, kDims, GrRenderable::kNo, 1, GrMipmapped::kYes, in DEF_GPUTEST_FOR_ALL_CONTEXTS() 147 GrColorTypeToStr(combo.fColorType), combo.fFormat.toStr().c_str(), in DEF_GPUTEST_FOR_ALL_CONTEXTS() 153 bool isRenderable = caps->isFormatRenderable(combo.fFormat, 1); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 156 kDims, combo.fFormat, GrTextureType::k2D, GrRenderable::kYes, 1, in DEF_GPUTEST_FOR_ALL_CONTEXTS() 160 GrColorTypeToStr(combo.fColorType), combo.fFormat in DEF_GPUTEST_FOR_ALL_CONTEXTS() [all...] |
/third_party/skia/include/gpu/gl/ |
H A D | GrGLTypes.h | 177 * textures are really const GrGLTexture*. The fFormat here should be a sized, internal format 184 GrGLenum fFormat = 0; member 187 return fTarget == that.fTarget && fID == that.fID && fFormat == that.fFormat; in operator ==() 193 GrGLenum fFormat = 0; member 196 return fFBOID == that.fFBOID && fFormat == that.fFormat; in operator ==() 206 GrGLenum fFormat = 0; member
|
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DTypesPriv.h | 15 : fFormat(DXGI_FORMAT_UNKNOWN) in GrD3DTextureResourceSpec() 19 : fFormat(info.fFormat), fSampleQualityPattern(info.fSampleQualityPattern) {} in GrD3DTextureResourceSpec() 21 DXGI_FORMAT fFormat; member
|
/third_party/skia/src/gpu/gl/ |
H A D | GrGLTexture.cpp | 55 if (GrGLFormatIsCompressed(desc.fFormat)) { in GrGLTexture() 87 SkASSERT(GrGLFormat::kUnknown != desc.fFormat); in init() 89 fFormat = desc.fFormat; in init() 117 info.fFormat = GrGLFormatToEnum(fFormat); in getBackendTexture() 122 return GrBackendFormat::MakeGL(GrGLFormatToEnum(fFormat), in backendFormat()
|
/third_party/skia/src/gpu/text/ |
H A D | GrSDFMaskFilter.cpp | 48 if (src.fFormat != SkMask::kA8_Format in filterMask() 49 && src.fFormat != SkMask::kBW_Format in filterMask() 50 && src.fFormat != SkMask::kLCD16_Format) { in filterMask() 55 dst->fFormat = SkMask::kSDF_Format; in filterMask() 69 if (src.fFormat == SkMask::kA8_Format) { in filterMask() 73 } else if (src.fFormat == SkMask::kLCD16_Format) { in filterMask()
|
/third_party/skia/include/private/ |
H A D | GrMtlTypesPriv.h | 55 : fFormat(0) in GrMtlTextureSpec() 59 : fFormat(info.fFormat) in GrMtlTextureSpec() 63 GrMTLPixelFormat fFormat; member
|
H A D | GrDawnTypesPriv.h | 15 GrDawnTextureSpec(const GrDawnSurfaceInfo& info) : fFormat(info.fFormat) {} in GrDawnTextureSpec() 17 wgpu::TextureFormat fFormat; member
|
H A D | GrVkTypesPriv.h | 84 , fFormat(VK_FORMAT_UNDEFINED) in GrVkImageSpec() 90 , fFormat(info.fFormat) in GrVkImageSpec() 96 VkFormat fFormat; member
|
H A D | GrGLTypesPriv.h | 95 GrGLTextureSpec() : fTarget(0), fFormat(0) {} in GrGLTextureSpec() 96 GrGLTextureSpec(const GrGLSurfaceInfo& info) : fTarget(info.fTarget), fFormat(info.fFormat) {} in GrGLTextureSpec() 99 GrGLenum fFormat; member
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkRenderPass.h | 55 VkFormat fFormat; member 60 : fFormat(VK_FORMAT_UNDEFINED) in AttachmentDesc() 64 return (fFormat == right.fFormat && in operator ==() 72 return (fFormat == desc.fFormat && fSamples == desc.fSamples); in isCompatible()
|
H A D | GrVkSamplerYcbcrConversion.cpp | 41 ycbcrCreateInfo.format = info.fFormat; in Create() 58 SkASSERT(info.fFormat == VK_FORMAT_UNDEFINED); in Create() 68 SkASSERT(info.fFormat == VK_FORMAT_UNDEFINED); in Create() 80 SkASSERT(info.fFormat != VK_FORMAT_UNDEFINED); in Create() 122 return Key{ycbcrInfo.fFormat, ycbcrInfo.fExternalFormat, ycbcrKey}; in GenerateKey()
|
H A D | GrVkRenderTarget.cpp | 170 info.fFormat = vkInfo.fFormat; in MakeSecondaryCBRenderTarget() 383 desc->fColor.fFormat = colorAttachment->imageFormat(); in getAttachmentsDescriptor() 389 desc->fResolve.fFormat = desc->fColor.fFormat; in getAttachmentsDescriptor() 400 desc->fStencil.fFormat = vkStencil->imageFormat(); in getAttachmentsDescriptor() 416 desc->fColor.fFormat = format; in ReconstructAttachmentsDescriptor() 422 desc->fResolve.fFormat = desc->fColor.fFormat; in ReconstructAttachmentsDescriptor() 431 desc->fStencil.fFormat in ReconstructAttachmentsDescriptor() [all...] |
/third_party/skia/include/gpu/d3d/ |
H A D | GrD3DTypes.h | 183 DXGI_FORMAT fFormat = DXGI_FORMAT_UNKNOWN; member 202 , fFormat(format) in GrD3DTextureResourceInfo() 213 , fFormat(info.fFormat) in GrD3DTextureResourceInfo() 222 fFormat == that.fFormat && fSampleCount == that.fSampleCount && in operator ==() 244 DXGI_FORMAT fFormat = DXGI_FORMAT_UNKNOWN; member
|
/third_party/skia/src/gpu/ |
H A D | GrSurfaceProxy.cpp | 52 , fFormat(format) in GrSurfaceProxy() 58 SkASSERT(fFormat.isValid()); in GrSurfaceProxy() 72 , fFormat(format) in GrSurfaceProxy() 79 SkASSERT(fFormat.isValid()); in GrSurfaceProxy() 90 , fFormat(fTarget->backendFormat()) in GrSurfaceProxy() 99 SkASSERT(fFormat.isValid()); in GrSurfaceProxy() 116 fFormat, in createSurfaceImpl() 117 fFormat.textureType(), in createSurfaceImpl() 123 fFormat, in createSurfaceImpl() 124 fFormat in createSurfaceImpl() [all...] |
H A D | GrBackendSurface.cpp | 119 return GrBackendFormat(ycbcrInfo.fFormat, ycbcrInfo, willUseDRMFormatModifiers); in MakeVk() 127 fVk.fFormat = vkFormat; in GrBackendFormat() 138 *format = fVk.fFormat; in asVkFormat() 226 return GrVkFormatChannels(fVk.fFormat); in channelMask() 259 return GrVkFormatDesc(fVk.fFormat); in desc() 333 copy.fVk.fFormat = VK_FORMAT_R8G8B8A8_UNORM; in makeTexture2D() 365 return fVk.fFormat == that.fVk.fFormat && in operator ==() 420 str.append(GrVkFormatToStr(fVk.fFormat)); in toStr() 826 return GrBackendFormat::MakeGL(fGLInfo.info().fFormat, fGLInf in getBackendFormat() [all...] |
/third_party/skia/src/core/ |
H A D | SkRasterPipelineBlitter.cpp | 411 mask.fFormat = SkMask::kA8_Format; in blitAntiH2() 424 mask.fFormat = SkMask::kA8_Format; in blitAntiV2() 436 mask.fFormat = SkMask::kA8_Format; in blitV() 442 if (mask.fFormat == SkMask::kBW_Format) { in blitMask() 448 SkASSERT(mask.fFormat == SkMask::kA8_Format in blitMask() 449 || mask.fFormat == SkMask::kLCD16_Format in blitMask() 450 || mask.fFormat == SkMask::k3D_Format); in blitMask() 454 size_t bpp = mask.fFormat == SkMask::kLCD16_Format ? 2 : 1; in blitMask() 470 if (mask.fFormat == SkMask::k3D_Format) { in blitMask() 476 if (mask.fFormat in blitMask() [all...] |
H A D | SkMask.h | 41 Format fFormat; variable 66 SkASSERT(kBW_Format == fFormat); in getAddr1() 77 SkASSERT(kA8_Format == fFormat || kSDF_Format == fFormat); in getAddr8() 89 SkASSERT(kLCD16_Format == fFormat); in getAddrLCD16() 102 SkASSERT(kARGB32_Format == fFormat); in getAddr32()
|
H A D | SkMask.cpp | 33 if (fFormat == SkMask::k3D_Format) { in computeTotalImageSize() 63 dst.fFormat = SkMask::kA8_Format; in PrepareDestination() 109 SkASSERT(kBW_Format != fFormat); in getAddr() 115 addr += (x - fBounds.fLeft) << maskFormatToShift(fFormat); in getAddr()
|