Lines Matching refs:format
221 bool isFormatCompressed(const GrBackendFormat& format) const;
227 // Returns whether a texture of the given format can be copied to a texture of the same format.
230 // Returns the maximum supported sample count for a format. 0 means the format is not renderable
231 // 1 means the format is renderable but doesn't support MSAA.
236 int internalMultisampleCount(const GrBackendFormat& format) const {
237 return std::min(fInternalMultisampleCount, this->maxRenderTargetSampleCount(format));
240 virtual bool isFormatAsColorTypeRenderable(GrColorType ct, const GrBackendFormat& format,
243 virtual bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const = 0;
246 // render target of the given format or 0 if no such sample count is supported. If the requested
305 * Given a src surface's color type and its backend format as well as a color type the caller
425 bool areColorTypeAndFormatCompatible(GrColorType grCT, const GrBackendFormat& format) const;
442 GrSwizzle getReadSwizzle(const GrBackendFormat& format, GrColorType colorType) const;
504 * back along with the default format used for the color type. If not, provides an alternative
506 * along with it's default format or kUnknown if there no renderable fallback format.