/external/skia/src/gpu/gl/ |
D | GrGLCaps.h | 113 bool isConfigTexturable(GrPixelConfig config) const override { in isConfigTexturable() 117 int getRenderTargetSampleCount(int requestedCount, GrPixelConfig config) const override; 118 int maxRenderTargetSampleCount(GrPixelConfig config) const override; 120 bool isConfigCopyable(GrPixelConfig config) const override { in isConfigCopyable() 128 bool canConfigBeFBOColorAttachment(GrPixelConfig config) const { in canConfigBeFBOColorAttachment() 132 bool isConfigTexSupportEnabled(GrPixelConfig config) const { in isConfigTexSupportEnabled() 137 const GrSwizzle& configSwizzle(GrPixelConfig config) const { in configSwizzle() 141 GrGLenum configSizedInternalFormat(GrPixelConfig config) const { in configSizedInternalFormat() 145 bool getTexImageFormats(GrPixelConfig surfaceConfig, GrPixelConfig externalConfig, 149 bool getCompressedTexImageFormats(GrPixelConfig surfaceConfig, GrGLenum* internalFormat) const; [all …]
|
/external/skqp/src/gpu/gl/ |
D | GrGLCaps.h | 113 bool isConfigTexturable(GrPixelConfig config) const override { in isConfigTexturable() 117 int getRenderTargetSampleCount(int requestedCount, GrPixelConfig config) const override; 118 int maxRenderTargetSampleCount(GrPixelConfig config) const override; 120 bool isConfigCopyable(GrPixelConfig config) const override { in isConfigCopyable() 128 bool canConfigBeFBOColorAttachment(GrPixelConfig config) const { in canConfigBeFBOColorAttachment() 132 bool isConfigTexSupportEnabled(GrPixelConfig config) const { in isConfigTexSupportEnabled() 137 const GrSwizzle& configSwizzle(GrPixelConfig config) const { in configSwizzle() 141 GrGLenum configSizedInternalFormat(GrPixelConfig config) const { in configSizedInternalFormat() 145 bool getTexImageFormats(GrPixelConfig surfaceConfig, GrPixelConfig externalConfig, 149 bool getCompressedTexImageFormats(GrPixelConfig surfaceConfig, GrGLenum* internalFormat) const; [all …]
|
D | GrGLGpu.h | 203 int getCompatibleStencilIndex(GrPixelConfig config); 217 bool readPixelsSupported(GrRenderTarget* target, GrPixelConfig readConfig); 222 bool readPixelsSupported(GrPixelConfig renderTargetConfig, GrPixelConfig readConfig); 227 bool readPixelsSupported(GrSurface* surfaceForConfig, GrPixelConfig readConfig); 382 bool uploadTexData(GrPixelConfig texConfig, int texWidth, int texHeight, GrGLenum target, 384 GrPixelConfig dataConfig, const GrMipLevel texels[], int mipLevelCount, 389 bool uploadCompressedTexData(GrPixelConfig texConfig, int texWidth, int texHeight, 390 GrGLenum target, GrPixelConfig dataConfig,
|
/external/skia/src/gpu/vk/ |
D | GrVkCaps.h | 35 bool isConfigTexturable(GrPixelConfig config) const override { in isConfigTexturable() 39 bool isConfigCopyable(GrPixelConfig config) const override { in isConfigCopyable() 43 int getRenderTargetSampleCount(int requestedCount, GrPixelConfig config) const override; 44 int maxRenderTargetSampleCount(GrPixelConfig config) const override; 48 bool isConfigTexturableLinearly(GrPixelConfig config) const { in isConfigTexturableLinearly() 52 bool isConfigRenderableLinearly(GrPixelConfig config, bool withMSAA) const { in isConfigRenderableLinearly() 57 bool configCanBeDstofBlit(GrPixelConfig config, bool linearTiled) const { in configCanBeDstofBlit() 63 bool configCanBeSrcofBlit(GrPixelConfig config, bool linearTiled) const { in configCanBeSrcofBlit() 144 bool canCopyImage(GrPixelConfig dstConfig, int dstSampleCnt, GrSurfaceOrigin dstOrigin, 145 bool dstHasYcbcr, GrPixelConfig srcConfig, int srcSamplecnt, [all …]
|
D | GrVkCaps.cpp | 78 bool GrVkCaps::canCopyImage(GrPixelConfig dstConfig, int dstSampleCnt, GrSurfaceOrigin dstOrigin, in canCopyImage() 79 bool dstHasYcbcr, GrPixelConfig srcConfig, int srcSampleCnt, in canCopyImage() 103 bool GrVkCaps::canCopyAsBlit(GrPixelConfig dstConfig, int dstSampleCnt, bool dstIsLinear, in canCopyAsBlit() 104 bool dstHasYcbcr, GrPixelConfig srcConfig, int srcSampleCnt, in canCopyAsBlit() 131 bool GrVkCaps::canCopyAsResolve(GrPixelConfig dstConfig, int dstSampleCnt, in canCopyAsResolve() 133 GrPixelConfig srcConfig, int srcSampleCnt, in canCopyAsResolve() 162 bool GrVkCaps::canCopyAsDraw(GrPixelConfig dstConfig, bool dstIsRenderable, bool dstHasYcbcr, in canCopyAsDraw() 163 GrPixelConfig srcConfig, bool srcIsTextureable, in canCopyAsDraw() 188 GrPixelConfig dstConfig = dst->config(); in onCanCopySurface() 189 GrPixelConfig srcConfig = src->config(); in onCanCopySurface() [all …]
|
/external/skqp/src/gpu/vk/ |
D | GrVkCaps.h | 35 bool isConfigTexturable(GrPixelConfig config) const override { in isConfigTexturable() 39 bool isConfigCopyable(GrPixelConfig config) const override { in isConfigCopyable() 43 int getRenderTargetSampleCount(int requestedCount, GrPixelConfig config) const override; 44 int maxRenderTargetSampleCount(GrPixelConfig config) const override; 48 bool isConfigTexturableLinearly(GrPixelConfig config) const { in isConfigTexturableLinearly() 52 bool isConfigRenderableLinearly(GrPixelConfig config, bool withMSAA) const { in isConfigRenderableLinearly() 57 bool configCanBeDstofBlit(GrPixelConfig config, bool linearTiled) const { in configCanBeDstofBlit() 63 bool configCanBeSrcofBlit(GrPixelConfig config, bool linearTiled) const { in configCanBeSrcofBlit() 133 bool canCopyImage(GrPixelConfig dstConfig, int dstSampleCnt, GrSurfaceOrigin dstOrigin, 134 GrPixelConfig srcConfig, int srcSamplecnt, GrSurfaceOrigin srcOrigin) const; [all …]
|
D | GrVkCaps.cpp | 77 bool GrVkCaps::canCopyImage(GrPixelConfig dstConfig, int dstSampleCnt, GrSurfaceOrigin dstOrigin, in canCopyImage() 78 GrPixelConfig srcConfig, int srcSampleCnt, in canCopyImage() 98 bool GrVkCaps::canCopyAsBlit(GrPixelConfig dstConfig, int dstSampleCnt, bool dstIsLinear, in canCopyAsBlit() 99 GrPixelConfig srcConfig, int srcSampleCnt, bool srcIsLinear) const { in canCopyAsBlit() 121 bool GrVkCaps::canCopyAsResolve(GrPixelConfig dstConfig, int dstSampleCnt, in canCopyAsResolve() 122 GrSurfaceOrigin dstOrigin, GrPixelConfig srcConfig, in canCopyAsResolve() 147 bool GrVkCaps::canCopyAsDraw(GrPixelConfig dstConfig, bool dstIsRenderable, in canCopyAsDraw() 148 GrPixelConfig srcConfig, bool srcIsTextureable) const { in canCopyAsDraw() 168 GrPixelConfig dstConfig = dst->config(); in onCanCopySurface() 169 GrPixelConfig srcConfig = src->config(); in onCanCopySurface() [all …]
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlCaps.h | 29 bool isConfigTexturable(GrPixelConfig config) const override { in isConfigTexturable() 33 int getRenderTargetSampleCount(int requestedCount, GrPixelConfig) const override; 34 int maxRenderTargetSampleCount(GrPixelConfig) const override; in maxRenderTargetSampleCount() argument 38 bool isConfigCopyable(GrPixelConfig config) const override { in isConfigCopyable() 49 bool canCopyAsBlit(GrPixelConfig dstConfig, int dstSampleCount, GrSurfaceOrigin dstOrigin, 50 GrPixelConfig srcConfig, int srcSampleCount, GrSurfaceOrigin srcOrigin, 54 bool canCopyAsDraw(GrPixelConfig dstConfig, bool dstIsRenderable, 55 GrPixelConfig srcConfig, bool srcIsTextureable) const; 57 bool canCopyAsDrawThenBlit(GrPixelConfig dstConfig, GrPixelConfig srcConfig, 65 GrPixelConfig validateBackendRenderTarget(const GrBackendRenderTarget&, in validateBackendRenderTarget() [all …]
|
D | GrMtlCaps.mm | 117 bool GrMtlCaps::canCopyAsBlit(GrPixelConfig dstConfig, int dstSampleCount, 119 GrPixelConfig srcConfig, int srcSampleCount, 142 bool GrMtlCaps::canCopyAsDraw(GrPixelConfig dstConfig, bool dstIsRenderable, 143 GrPixelConfig srcConfig, bool srcIsTextureable) const { 156 bool GrMtlCaps::canCopyAsDrawThenBlit(GrPixelConfig dstConfig, GrPixelConfig srcConfig, 271 int GrMtlCaps::maxRenderTargetSampleCount(GrPixelConfig config) const { 280 int GrMtlCaps::getRenderTargetSampleCount(int requestedCount, GrPixelConfig config) const { 300 GrPixelConfig config = static_cast<GrPixelConfig>(i); 428 GrPixelConfig config = GrColorTypeToPixelConfig(ct, srgbEncoded);
|
/external/skia/src/gpu/mtl/ |
D | GrMtlCaps.h | 29 bool isConfigTexturable(GrPixelConfig config) const override { in isConfigTexturable() 33 int getRenderTargetSampleCount(int requestedCount, GrPixelConfig) const override; 34 int maxRenderTargetSampleCount(GrPixelConfig) const override; in maxRenderTargetSampleCount() argument 38 bool isConfigCopyable(GrPixelConfig config) const override { in isConfigCopyable() 49 bool canCopyAsBlit(GrPixelConfig dstConfig, int dstSampleCount, GrSurfaceOrigin dstOrigin, 50 GrPixelConfig srcConfig, int srcSampleCount, GrSurfaceOrigin srcOrigin, 54 bool canCopyAsDraw(GrPixelConfig dstConfig, bool dstIsRenderable, 55 GrPixelConfig srcConfig, bool srcIsTextureable) const; 57 bool canCopyAsDrawThenBlit(GrPixelConfig dstConfig, GrPixelConfig srcConfig, 65 GrPixelConfig validateBackendRenderTarget(const GrBackendRenderTarget&, [all …]
|
D | GrMtlCaps.mm | 117 bool GrMtlCaps::canCopyAsBlit(GrPixelConfig dstConfig, int dstSampleCount, 119 GrPixelConfig srcConfig, int srcSampleCount, 142 bool GrMtlCaps::canCopyAsDraw(GrPixelConfig dstConfig, bool dstIsRenderable, 143 GrPixelConfig srcConfig, bool srcIsTextureable) const { 156 bool GrMtlCaps::canCopyAsDrawThenBlit(GrPixelConfig dstConfig, GrPixelConfig srcConfig, 271 int GrMtlCaps::maxRenderTargetSampleCount(GrPixelConfig config) const { 280 int GrMtlCaps::getRenderTargetSampleCount(int requestedCount, GrPixelConfig config) const { 300 GrPixelConfig config = static_cast<GrPixelConfig>(i); 435 GrPixelConfig validate_sized_format(GrMTLPixelFormat grFormat, SkColorType ct) { 515 GrPixelConfig GrMtlCaps::validateBackendRenderTarget(const GrBackendRenderTarget& rt, [all …]
|
/external/skia/src/gpu/mock/ |
D | GrMockCaps.h | 37 bool isConfigTexturable(GrPixelConfig config) const override { in isConfigTexturable() 41 bool isConfigCopyable(GrPixelConfig config) const override { in isConfigCopyable() 45 int getRenderTargetSampleCount(int requestCount, GrPixelConfig config) const override { in getRenderTargetSampleCount() 58 int maxRenderTargetSampleCount(GrPixelConfig config) const override { in maxRenderTargetSampleCount() 77 GrPixelConfig validateBackendRenderTarget(const GrBackendRenderTarget&, in validateBackendRenderTarget() 82 GrPixelConfig getConfigFromBackendFormat(const GrBackendFormat& format, in getConfigFromBackendFormat() 84 const GrPixelConfig* mockFormat = format.getMockFormat(); in getConfigFromBackendFormat() 91 GrPixelConfig getYUVAConfigFromBackendFormat(const GrBackendFormat& format) const override { in getYUVAConfigFromBackendFormat() 92 const GrPixelConfig* mockFormat = format.getMockFormat(); in getYUVAConfigFromBackendFormat() 101 GrPixelConfig config = GrColorTypeToPixelConfig(ct, srgbEncoded); in getBackendFormatFromGrColorType()
|
/external/skqp/src/gpu/mock/ |
D | GrMockCaps.h | 37 bool isConfigTexturable(GrPixelConfig config) const override { in isConfigTexturable() 41 bool isConfigCopyable(GrPixelConfig config) const override { in isConfigCopyable() 45 int getRenderTargetSampleCount(int requestCount, GrPixelConfig config) const override { in getRenderTargetSampleCount() 58 int maxRenderTargetSampleCount(GrPixelConfig config) const override { in maxRenderTargetSampleCount() 77 GrPixelConfig validateBackendRenderTarget(const GrBackendRenderTarget&, in validateBackendRenderTarget() 82 GrPixelConfig getConfigFromBackendFormat(const GrBackendFormat& format, in getConfigFromBackendFormat() 84 const GrPixelConfig* mockFormat = format.getMockFormat(); in getConfigFromBackendFormat() 91 GrPixelConfig getYUVAConfigFromBackendFormat(const GrBackendFormat& format) const override { in getYUVAConfigFromBackendFormat() 92 const GrPixelConfig* mockFormat = format.getMockFormat(); in getYUVAConfigFromBackendFormat() 101 GrPixelConfig config = GrColorTypeToPixelConfig(ct, srgbEncoded); in getBackendFormatFromGrColorType()
|
/external/skia/src/gpu/ |
D | GrCaps.h | 162 virtual bool isConfigTexturable(GrPixelConfig) const = 0; 165 virtual bool isConfigCopyable(GrPixelConfig) const = 0; 169 virtual int maxRenderTargetSampleCount(GrPixelConfig) const = 0; 171 bool isConfigRenderable(GrPixelConfig config) const { in isConfigRenderable() 176 bool isConfigRenderable(GrPixelConfig config, bool withMSAA) const { in isConfigRenderable() 184 virtual int getRenderTargetSampleCount(int requestedCount, GrPixelConfig) const = 0; 186 int getSampleCount(int requestedCount, GrPixelConfig config) const { in getSampleCount() 209 virtual GrColorType supportedWritePixelsColorType(GrPixelConfig config, in supportedWritePixelsColorType() 218 virtual GrColorType supportedReadPixelsColorType(GrPixelConfig config, in supportedReadPixelsColorType() 291 virtual GrPixelConfig validateBackendRenderTarget(const GrBackendRenderTarget&, [all …]
|
D | GrPrimitiveProcessor.cpp | 57 GrPixelConfig config, in TextureSampler() 64 GrPixelConfig config, in TextureSampler() 71 GrPixelConfig config, in reset() 84 GrPixelConfig config, in reset()
|
D | GrColorSpaceInfo.h | 19 GrColorSpaceInfo(sk_sp<SkColorSpace>, GrPixelConfig); 32 GrPixelConfig config() const { return fConfig; } in config() 37 GrPixelConfig fConfig;
|
D | GrPrimitiveProcessor.h | 258 TextureSampler(GrTextureType, GrPixelConfig, const GrSamplerState&, uint32_t extraSamplerKey); 260 explicit TextureSampler(GrTextureType, GrPixelConfig, 267 void reset(GrTextureType, GrPixelConfig, const GrSamplerState&, uint32_t extraSamplerKey = 0); 268 void reset(GrTextureType, GrPixelConfig, 273 GrPixelConfig config() const { return fConfig; } in config() 284 GrPixelConfig fConfig = kUnknown_GrPixelConfig;
|
/external/skqp/src/gpu/ |
D | GrCaps.h | 164 virtual bool isConfigTexturable(GrPixelConfig) const = 0; 167 virtual bool isConfigCopyable(GrPixelConfig) const = 0; 171 virtual int maxRenderTargetSampleCount(GrPixelConfig) const = 0; 173 bool isConfigRenderable(GrPixelConfig config) const { in isConfigRenderable() 178 bool isConfigRenderable(GrPixelConfig config, bool withMSAA) const { in isConfigRenderable() 186 virtual int getRenderTargetSampleCount(int requestedCount, GrPixelConfig) const = 0; 188 int getSampleCount(int requestedCount, GrPixelConfig config) const { in getSampleCount() 211 virtual GrColorType supportedWritePixelsColorType(GrPixelConfig config, in supportedWritePixelsColorType() 220 virtual GrColorType supportedReadPixelsColorType(GrPixelConfig config, in supportedReadPixelsColorType() 293 virtual GrPixelConfig validateBackendRenderTarget(const GrBackendRenderTarget&, [all …]
|
D | GrPrimitiveProcessor.cpp | 57 GrPixelConfig config, in TextureSampler() 64 GrPixelConfig config, in TextureSampler() 71 GrPixelConfig config, in reset() 84 GrPixelConfig config, in reset()
|
D | GrColorSpaceInfo.h | 19 GrColorSpaceInfo(sk_sp<SkColorSpace>, GrPixelConfig); 32 GrPixelConfig config() const { return fConfig; } in config() 37 GrPixelConfig fConfig;
|
D | GrPrimitiveProcessor.h | 258 TextureSampler(GrTextureType, GrPixelConfig, const GrSamplerState&, uint32_t extraSamplerKey); 260 explicit TextureSampler(GrTextureType, GrPixelConfig, 267 void reset(GrTextureType, GrPixelConfig, const GrSamplerState&, uint32_t extraSamplerKey = 0); 268 void reset(GrTextureType, GrPixelConfig, 273 GrPixelConfig config() const { return fConfig; } in config() 284 GrPixelConfig fConfig = kUnknown_GrPixelConfig;
|
/external/skia/include/gpu/ |
D | GrBackendSurface.h | 65 static GrBackendFormat MakeMock(GrPixelConfig config) { in MakeMock() 94 const GrPixelConfig* getMockFormat() const; 113 GrBackendFormat(const GrPixelConfig config); 127 GrPixelConfig fMockFormat; 203 GrPixelConfig pixelConfig() const { return fConfig; } in pixelConfig() 204 void setPixelConfig(GrPixelConfig config) { fConfig = config; } in setPixelConfig() 226 GrPixelConfig config() const { return fConfig; } in config() 245 GrPixelConfig fConfig; 334 GrPixelConfig pixelConfig() const { return fConfig; } in pixelConfig() 335 void setPixelConfig(GrPixelConfig config) { fConfig = config; } in setPixelConfig() [all …]
|
/external/skqp/include/gpu/ |
D | GrBackendSurface.h | 65 static GrBackendFormat MakeMock(GrPixelConfig config) { in MakeMock() 94 const GrPixelConfig* getMockFormat() const; 111 GrBackendFormat(const GrPixelConfig config); 125 GrPixelConfig fMockFormat; 201 GrPixelConfig pixelConfig() const { return fConfig; } in pixelConfig() 202 void setPixelConfig(GrPixelConfig config) { fConfig = config; } in setPixelConfig() 224 GrPixelConfig config() const { return fConfig; } in config() 243 GrPixelConfig fConfig; 332 GrPixelConfig pixelConfig() const { return fConfig; } in pixelConfig() 333 void setPixelConfig(GrPixelConfig config) { fConfig = config; } in setPixelConfig() [all …]
|
/external/skqp/include/private/ |
D | GrTypesPriv.h | 37 enum GrPixelConfig { enum 72 static const GrPixelConfig kSkia8888_GrPixelConfig = kBGRA_8888_GrPixelConfig; 74 static const GrPixelConfig kSkia8888_GrPixelConfig = kRGBA_8888_GrPixelConfig; 179 GrPixelConfig fConfig; 952 static constexpr GrPixelConfig kAlpha_8_as_Alpha_GrPixelConfig = kPrivateConfig1_GrPixelConfig; 953 static constexpr GrPixelConfig kAlpha_8_as_Red_GrPixelConfig = kPrivateConfig2_GrPixelConfig; 954 static constexpr GrPixelConfig kAlpha_half_as_Red_GrPixelConfig = kPrivateConfig3_GrPixelConfig; 955 static constexpr GrPixelConfig kGray_8_as_Lum_GrPixelConfig = kPrivateConfig4_GrPixelConfig; 956 static constexpr GrPixelConfig kGray_8_as_Red_GrPixelConfig = kPrivateConfig5_GrPixelConfig; 978 static inline GrSRGBEncoded GrPixelConfigIsSRGBEncoded(GrPixelConfig config) { in GrPixelConfigIsSRGBEncoded() [all …]
|
/external/skia/include/private/ |
D | GrTypesPriv.h | 37 enum GrPixelConfig { enum 72 static const GrPixelConfig kSkia8888_GrPixelConfig = kBGRA_8888_GrPixelConfig; 74 static const GrPixelConfig kSkia8888_GrPixelConfig = kRGBA_8888_GrPixelConfig; 179 GrPixelConfig fConfig; 878 static inline GrSRGBEncoded GrPixelConfigIsSRGBEncoded(GrPixelConfig config) { in GrPixelConfigIsSRGBEncoded() 911 static inline bool GrPixelConfigIsSRGB(GrPixelConfig config) { in GrPixelConfigIsSRGB() 915 static inline size_t GrBytesPerPixel(GrPixelConfig config) { in GrBytesPerPixel() 953 static inline bool GrPixelConfigIsOpaque(GrPixelConfig config) { in GrPixelConfigIsOpaque() 986 static inline bool GrPixelConfigIsAlphaOnly(GrPixelConfig config) { in GrPixelConfigIsAlphaOnly() 1019 static inline bool GrPixelConfigIsFloatingPoint(GrPixelConfig config) { in GrPixelConfigIsFloatingPoint() [all …]
|