Lines Matching refs:fFormat
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); 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()
166 bool isRenderable = caps->isFormatRenderable(combo.fFormat, 2); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
169 kDims, combo.fFormat, GrRenderable::kYes, 2, GrMipmapped::kNo, SkBudgeted::kNo, in DEF_GPUTEST_FOR_ALL_CONTEXTS()
173 GrColorTypeToStr(combo.fColorType), combo.fFormat.toStr().c_str(), in DEF_GPUTEST_FOR_ALL_CONTEXTS()
220 SkASSERT(combo.fFormat.isValid()); in DEF_GPUTEST()
222 if (!caps->isFormatTexturable(combo.fFormat)) { in DEF_GPUTEST()
238 GrColorTypeToStr(combo.fColorType), combo.fFormat.toStr().c_str(), in DEF_GPUTEST()
245 GrColorTypeToStr(combo.fColorType), combo.fFormat.toStr().c_str(), in DEF_GPUTEST()
255 !caps->isFormatAsColorTypeRenderable(combo.fColorType, combo.fFormat)) { in DEF_GPUTEST()
264 {kSize, kSize}, combo.fFormat, renderable, 1, fit, SkBudgeted::kYes, in DEF_GPUTEST()
267 GrSwizzle swizzle = caps->getReadSwizzle(combo.fFormat, in DEF_GPUTEST()
300 surfCtx = GrSurfaceContext::Make(dContext, info, combo.fFormat, fit); in DEF_GPUTEST()