Lines Matching refs:GrBackendFormat
22 class GrBackendFormat; variable
213 virtual bool isFormatSRGB(const GrBackendFormat&) const = 0;
215 bool isFormatCompressed(const GrBackendFormat& format) const;
218 virtual bool isFormatTexturable(const GrBackendFormat&) const = 0;
221 virtual bool isFormatCopyable(const GrBackendFormat&) const = 0;
225 virtual int maxRenderTargetSampleCount(const GrBackendFormat&) const = 0;
229 int internalMultisampleCount(const GrBackendFormat& format) const { in internalMultisampleCount()
233 virtual bool isFormatAsColorTypeRenderable(GrColorType ct, const GrBackendFormat& format,
236 virtual bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const = 0;
242 virtual int getRenderTargetSampleCount(int requestedCount, const GrBackendFormat&) const = 0;
287 const GrBackendFormat& surfaceFormat,
306 const GrBackendFormat& srcFormat,
409 bool validateSurfaceParams(const SkISize&, const GrBackendFormat&, GrRenderable renderable,
412 bool areColorTypeAndFormatCompatible(GrColorType grCT, const GrBackendFormat& format) const;
415 GrBackendFormat getDefaultBackendFormat(GrColorType, GrRenderable) const;
417 virtual GrBackendFormat getBackendFormatFromCompressionType(SkImage::CompressionType) const = 0;
429 GrSwizzle getReadSwizzle(const GrBackendFormat& format, GrColorType colorType) const;
435 virtual GrSwizzle getWriteSwizzle(const GrBackendFormat&, GrColorType) const = 0;
437 virtual uint64_t computeFormatKey(const GrBackendFormat&) const = 0;
448 const GrBackendFormat&) const {} in addExtraSamplerKey() argument
486 GrBackendFormat fFormat;
583 virtual GrBackendFormat onGetDefaultBackendFormat(GrColorType) const = 0;
591 virtual bool onAreColorTypeAndFormatCompatible(GrColorType, const GrBackendFormat&) const = 0;
594 const GrBackendFormat& srcFormat,
597 virtual GrSwizzle onGetReadSwizzle(const GrBackendFormat&, GrColorType) const = 0;