Home
last modified time | relevance | path

Searched refs:fFormat (Results 1 – 25 of 197) sorted by relevance

12345678

/external/skia/include/gpu/dawn/
DGrDawnTypes.h27 wgpu::TextureFormat fFormat; member
29 GrDawnTextureInfo() : fTexture(nullptr), fFormat(), fLevelCount(0) { in GrDawnTextureInfo()
33 , fFormat(other.fFormat) in GrDawnTextureInfo()
38 fFormat = other.fFormat;
44 fFormat == other.fFormat &&
55 wgpu::TextureFormat fFormat; member
57 GrDawnRenderTargetInfo() : fTextureView(nullptr), fFormat(), fLevelCount(0) { in GrDawnRenderTargetInfo()
61 , fFormat(other.fFormat) in GrDawnRenderTargetInfo()
65 : fFormat(texInfo.fFormat) in GrDawnRenderTargetInfo()
68 desc.format = texInfo.fFormat; in GrDawnRenderTargetInfo()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDateFormat.java51 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 …rrln("********** FAIL: Parse of " + string[i-1] + " failed for locale: "+fFormat.getLocale(ULocale… in tryDate()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestDateFormat.java54 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 …rrln("********** FAIL: Parse of " + string[i-1] + " failed for locale: "+fFormat.getLocale(ULocale… in tryDate()
[all …]
/external/icu/icu4c/source/test/intltest/
Dtsnmfmt.cpp49 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 …]
Dtsdate.cpp38 fFormat = DateFormat::createInstance(); in runIndexedTest()
84 fFormat = DateFormat::createTimeInstance(timeStyle, locale); in testLocale()
95 fFormat = DateFormat::createDateInstance(dateStyle, locale); in testLocale()
108 fFormat = DateFormat::createDateTimeInstance(dateStyle, timeStyle, locale); in testLocale()
116 if (fFormat == 0) in testFormat()
138 delete fFormat; in testFormat()
145 SimpleDateFormat *s = (SimpleDateFormat*)fFormat; in describeTest()
165 fFormat->format(theDate, string[0]); in tryDate()
169 Locale loc = fFormat->getCalendar()->getLocale(ULOC_VALID_LOCALE, status); in tryDate()
177 date[i] = fFormat->parse(string[i-1], status); in tryDate()
[all …]
/external/skqp/include/gpu/gl/
DGrGLTypes.h110 GrGLenum fFormat = 0; member
113 return fTarget == that.fTarget && fID == that.fID && fFormat == that.fFormat;
119 GrGLenum fFormat = 0; member
122 return fFBOID == that.fFBOID && fFormat == that.fFormat;
/external/skia/tests/
DGrSurfaceTest.cpp116 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); 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, GrRenderable::kYes, 1, GrMipmapped::kNo, SkBudgeted::kNo, in DEF_GPUTEST_FOR_ALL_CONTEXTS()
160 GrColorTypeToStr(combo.fColorType), combo.fFormat.toStr().c_str(), in DEF_GPUTEST_FOR_ALL_CONTEXTS()
[all …]
/external/skia/src/gpu/text/
DGrSDFMaskFilter.cpp48 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()
/external/skqp/src/gpu/text/
DGrSDFMaskFilter.cpp48 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()
/external/skia/include/gpu/vk/
DGrVkTypes.h59 return this->fFormat == that.fFormat &&
74 VkFormat fFormat = VK_FORMAT_UNDEFINED; member
103 VkFormat fFormat = VK_FORMAT_UNDEFINED; member
116 fFormat == that.fFormat && fImageUsageFlags == that.fImageUsageFlags &&
158 VkFormat fFormat; member
/external/skqp/include/gpu/vk/
DGrVkTypes.h135 VkFormat fFormat; member
145 , fFormat(VK_FORMAT_UNDEFINED) in GrVkImageInfo()
158 , fFormat(format) in fImage()
168 , fFormat(info.fFormat) in GrVkImageInfo()
181 fFormat == that.fFormat && fLevelCount == that.fLevelCount &&
218 VkFormat fFormat; member
/external/skia/include/gpu/gl/
DGrGLTypes.h181 GrGLenum fFormat = 0; member
184 return fTarget == that.fTarget && fID == that.fID && fFormat == that.fFormat;
190 GrGLenum fFormat = 0; member
193 return fFBOID == that.fFBOID && fFormat == that.fFormat;
/external/skqp/src/gpu/vk/
DGrVkRenderPass.h62 VkFormat fFormat; member
67 : fFormat(VK_FORMAT_UNDEFINED) in AttachmentDesc()
71 return (fFormat == right.fFormat &&
79 return (fFormat == desc.fFormat && fSamples == desc.fSamples); in isCompatible()
/external/skia/src/gpu/gl/
DGrGLTexture.cpp54 if (GrGLFormatIsCompressed(desc.fFormat)) { in GrGLTexture()
86 SkASSERT(GrGLFormat::kUnknown != desc.fFormat); in init()
88 fFormat = desc.fFormat; in init()
116 info.fFormat = GrGLFormatToEnum(fFormat); in getBackendTexture()
121 return GrBackendFormat::MakeGL(GrGLFormatToEnum(fFormat), in backendFormat()
DGrGLAttachment.h26 , fFormat(format) in GrGLAttachment()
37 GrGLFormat format() const { return fFormat; } in format()
47 GrGLFormat fFormat;
/external/skia/src/gpu/vk/
DGrVkRenderPass.h52 VkFormat fFormat; member
57 : fFormat(VK_FORMAT_UNDEFINED) in AttachmentDesc()
61 return (fFormat == right.fFormat &&
69 return (fFormat == desc.fFormat && fSamples == desc.fSamples); in isCompatible()
/external/skqp/src/gpu/gl/
DGrGLTexture.cpp76 SkASSERT(0 != idDesc.fInfo.fFormat); in init()
79 fFormat = idDesc.fInfo.fFormat; in init()
108 info.fFormat = fFormat; in getBackendTexture()
113 return GrBackendFormat::MakeGL(fFormat, in backendFormat()
DGrGLStencilAttachment.h37 , fFormat(format) in GrGLStencilAttachment()
46 const Format& format() const { return fFormat; } in format()
58 Format fFormat; variable
/external/skia/include/gpu/d3d/
DGrD3DTypes.h183 DXGI_FORMAT fFormat = DXGI_FORMAT_UNKNOWN; member
202 , fFormat(format) in fResource()
213 , fFormat(info.fFormat) in GrD3DTextureResourceInfo()
222 fFormat == that.fFormat && fSampleCount == that.fSampleCount &&
/external/skqp/src/core/
DSkRasterPipelineBlitter.cpp355 mask.fFormat = SkMask::kA8_Format; in blitAntiH2()
368 mask.fFormat = SkMask::kA8_Format; in blitAntiV2()
380 mask.fFormat = SkMask::kA8_Format; in blitV()
386 if (mask.fFormat == SkMask::kBW_Format) { in blitMask()
392 SkASSERT(mask.fFormat == SkMask::kA8_Format in blitMask()
393 || mask.fFormat == SkMask::kLCD16_Format in blitMask()
394 || mask.fFormat == SkMask::k3D_Format); in blitMask()
398 size_t bpp = mask.fFormat == SkMask::kLCD16_Format ? 2 : 1; in blitMask()
414 if (mask.fFormat == SkMask::k3D_Format) { in blitMask()
420 if (mask.fFormat == SkMask::kA8_Format && !fBlitMaskA8) { in blitMask()
[all …]
DSkMask.h41 Format fFormat; member
64 SkASSERT(kBW_Format == fFormat); in getAddr1()
75 SkASSERT(kA8_Format == fFormat || kSDF_Format == fFormat); in getAddr8()
87 SkASSERT(kLCD16_Format == fFormat); in getAddrLCD16()
100 SkASSERT(kARGB32_Format == fFormat); in getAddr32()
/external/skia/src/gpu/
DGrSurfaceProxy.cpp54 , fFormat(format) in GrSurfaceProxy()
60 SkASSERT(fFormat.isValid()); in GrSurfaceProxy()
74 , fFormat(format) in GrSurfaceProxy()
81 SkASSERT(fFormat.isValid()); in GrSurfaceProxy()
92 , fFormat(fTarget->backendFormat()) in GrSurfaceProxy()
101 SkASSERT(fFormat.isValid()); in GrSurfaceProxy()
117 surface = resourceProvider->createApproxTexture(fDimensions, fFormat, renderable, sampleCnt, in createSurfaceImpl()
120 surface = resourceProvider->createTexture(fDimensions, fFormat, renderable, sampleCnt, in createSurfaceImpl()
468 SkASSERTF(surface->backendFormat() == fFormat, "%s != %s", in validateSurface()
469 surface->backendFormat().toStr().c_str(), fFormat.toStr().c_str()); in validateSurface()
DGrBackendSurface.cpp116 return GrBackendFormat(ycbcrInfo.fFormat, ycbcrInfo); in MakeVk()
127 fVk.fFormat = vkFormat; in GrBackendFormat()
137 *format = fVk.fFormat; in asVkFormat()
224 return GrVkFormatChannels(fVk.fFormat); in channelMask()
297 copy.fVk.fFormat = VK_FORMAT_R8G8B8A8_UNORM; in makeTexture2D()
328 return fVk.fFormat == that.fVk.fFormat && in operator ==()
383 str.append(GrVkFormatToStr(fVk.fFormat)); in toStr()
772 return GrBackendFormat::MakeGL(fGLInfo.info().fFormat, fGLInfo.info().fTarget); in getBackendFormat()
778 SkASSERT(info.fFormat == info.fYcbcrConversionInfo.fFormat); in getBackendFormat()
781 return GrBackendFormat::MakeVk(info.fFormat); in getBackendFormat()
[all …]
/external/skia/src/core/
DSkRasterPipelineBlitter.cpp403 mask.fFormat = SkMask::kA8_Format; in blitAntiH2()
416 mask.fFormat = SkMask::kA8_Format; in blitAntiV2()
428 mask.fFormat = SkMask::kA8_Format; in blitV()
434 if (mask.fFormat == SkMask::kBW_Format) { in blitMask()
440 SkASSERT(mask.fFormat == SkMask::kA8_Format in blitMask()
441 || mask.fFormat == SkMask::kLCD16_Format in blitMask()
442 || mask.fFormat == SkMask::k3D_Format); in blitMask()
446 size_t bpp = mask.fFormat == SkMask::kLCD16_Format ? 2 : 1; in blitMask()
462 if (mask.fFormat == SkMask::k3D_Format) { in blitMask()
468 if (mask.fFormat == SkMask::kA8_Format && !fBlitMaskA8) { in blitMask()
[all …]
DSkMask.h41 Format fFormat; member
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()

12345678