/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,
|
D | GrGLCaps.cpp | 851 bool GrGLCaps::readPixelsSupported(GrPixelConfig surfaceConfig, in readPixelsSupported() 852 GrPixelConfig readConfig, in readPixelsSupported() 1198 bool GrGLCaps::getTexImageFormats(GrPixelConfig surfaceConfig, GrPixelConfig externalConfig, in getTexImageFormats() 1209 bool GrGLCaps::getCompressedTexImageFormats(GrPixelConfig surfaceConfig, in getCompressedTexImageFormats() 1218 bool GrGLCaps::getReadPixelsFormat(GrPixelConfig surfaceConfig, GrPixelConfig externalConfig, in getReadPixelsFormat() 1227 void GrGLCaps::getRenderbufferFormat(GrPixelConfig config, GrGLenum* internalFormat) const { in getRenderbufferFormat() 1232 void GrGLCaps::getSizedInternalFormat(GrPixelConfig config, GrGLenum* internalFormat) const { in getSizedInternalFormat() 1236 bool GrGLCaps::getExternalFormat(GrPixelConfig surfaceConfig, GrPixelConfig memoryConfig, in getExternalFormat() 2028 GrPixelConfig config = static_cast<GrPixelConfig>(i); in initConfigTable() 2118 bool GrGLCaps::canCopyTexSubImage(GrPixelConfig dstConfig, bool dstHasMSAARenderBuffer, in canCopyTexSubImage() [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 static int get_compatible_format_class(GrPixelConfig config) { in get_compatible_format_class() 115 bool GrVkCaps::canCopyImage(GrPixelConfig dstConfig, int dstSampleCnt, GrSurfaceOrigin dstOrigin, in canCopyImage() 116 GrPixelConfig srcConfig, int srcSampleCnt, in canCopyImage() 137 bool GrVkCaps::canCopyAsBlit(GrPixelConfig dstConfig, int dstSampleCnt, bool dstIsLinear, in canCopyAsBlit() 138 GrPixelConfig srcConfig, int srcSampleCnt, bool srcIsLinear) const { in canCopyAsBlit() 160 bool GrVkCaps::canCopyAsResolve(GrPixelConfig dstConfig, int dstSampleCnt, in canCopyAsResolve() 161 GrSurfaceOrigin dstOrigin, GrPixelConfig srcConfig, in canCopyAsResolve() 186 bool GrVkCaps::canCopyAsDraw(GrPixelConfig dstConfig, bool dstIsRenderable, in canCopyAsDraw() 187 GrPixelConfig srcConfig, bool srcIsTextureable) const { in canCopyAsDraw() 207 GrPixelConfig dstConfig = dst->config(); in onCanCopySurface() [all …]
|
D | GrVkUtil.h | 34 bool GrPixelConfigToVkFormat(GrPixelConfig config, VkFormat* format); 42 bool GrVkFormatPixelConfigPairIsValid(VkFormat, GrPixelConfig);
|
/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);
|
D | GrMtlUtil.h | 22 bool GrPixelConfigToMTLFormat(GrPixelConfig config, MTLPixelFormat* format); 27 GrPixelConfig GrMTLFormatToPixelConfig(MTLPixelFormat format);
|
/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/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 | GrColorSpaceInfo.h | 19 GrColorSpaceInfo(sk_sp<SkColorSpace>, GrPixelConfig); 32 GrPixelConfig config() const { return fConfig; } in config() 37 GrPixelConfig fConfig;
|
D | GrPrimitiveProcessor.cpp | 57 GrPixelConfig config, in TextureSampler() 64 GrPixelConfig config, in TextureSampler() 71 GrPixelConfig config, in reset() 84 GrPixelConfig config, in reset()
|
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;
|
D | GrDrawOpAtlas.h | 96 GrPixelConfig, 249 GrDrawOpAtlas(GrProxyProvider*, const GrBackendFormat& format, GrPixelConfig, int width, 300 GrPixelConfig config); 339 const GrPixelConfig fConfig; 388 GrPixelConfig fPixelConfig;
|
D | SkGr.h | 127 GrPixelConfig SkColorType2GrPixelConfig(const SkColorType); 128 GrPixelConfig SkImageInfo2GrPixelConfig(const SkImageInfo& info); 130 bool GrPixelConfigToColorType(GrPixelConfig, SkColorType*);
|
D | GrCaps.cpp | 128 static const char* pixel_config_name(GrPixelConfig config) { in pixel_config_name() 246 GrPixelConfig config = static_cast<GrPixelConfig>(i); in dumpJSON()
|
/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 …]
|
D | GrSurface.h | 44 GrPixelConfig config() const { return fConfig; } in config() 65 static size_t ComputeSize(GrPixelConfig config, int width, int height, int colorSamplesPerPixel, 118 GrPixelConfig fConfig;
|
/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/skqp/include/core/ |
D | SkSurfaceCharacterization.h | 93 GrPixelConfig config() const { return fConfig; } in config() 99 GrPixelConfig config, in SkSurfaceCharacterization() 123 GrPixelConfig config, in set() 159 GrPixelConfig fConfig;
|
/external/skqp/include/gpu/mock/ |
D | GrMockTypes.h | 15 GrPixelConfig fConfig; 24 GrPixelConfig fConfig;
|
/external/skqp/src/image/ |
D | SkImage_GpuBase.h | 60 GrPixelConfig* config, SkColorType ct, SkAlphaType at, 86 GrContext*, int width, int height, GrSurfaceOrigin, GrPixelConfig, GrBackendFormat,
|
/external/skqp/src/core/ |
D | SkGpuBlurUtils.cpp | 94 static GrPixelConfig get_blur_config(GrTextureProxy* proxy) { in get_blur_config() 95 GrPixelConfig config = proxy->config(); in get_blur_config() 118 GrPixelConfig config = get_blur_config(proxy.get()); in convolve_gaussian_2d() 166 GrPixelConfig config = get_blur_config(proxy.get()); in convolve_gaussian() 274 GrPixelConfig config = get_blur_config(src.get()); in decimate() 401 GrPixelConfig config = get_blur_config(srcProxy.get()); in reexpand() 464 const GrPixelConfig config = get_blur_config(srcProxy.get()); in GaussianBlur()
|
/external/skqp/src/gpu/glsl/ |
D | GrGLSLProgramBuilder.h | 39 GrPixelConfig config() const { return fConfig; } in config() 87 const GrPixelConfig fConfig;
|