Home
last modified time | relevance | path

Searched refs:TextureInfo (Results 1 – 25 of 60) sorted by relevance

123

/external/skia/src/gpu/graphite/
DCaps.h34 class TextureInfo; variable
61 virtual TextureInfo getDefaultSampledTextureInfo(SkColorType,
66 virtual TextureInfo getDefaultMSAATextureInfo(const TextureInfo& singleSampledInfo,
69 virtual TextureInfo getDefaultDepthStencilTextureInfo(SkEnumBitMask<DepthStencilFlags>,
77 bool areColorTypeAndTextureInfoCompatible(SkColorType, const TextureInfo&) const;
79 bool isTexturable(const TextureInfo&) const;
80 virtual bool isRenderable(const TextureInfo&) const = 0;
85 const TextureInfo&,
115 virtual bool supportsWritePixels(const TextureInfo& textureInfo) const = 0;
123 virtual bool supportsReadPixels(const TextureInfo& textureInfo) const = 0;
[all …]
DResourceProvider.h45 class TextureInfo; variable
59 sk_sp<Texture> findOrCreateScratchTexture(SkISize, const TextureInfo&, skgpu::Budgeted);
63 const TextureInfo&);
66 const TextureInfo&);
76 BackendTexture createBackendTexture(SkISize dimensions, const TextureInfo&);
95 virtual sk_sp<Texture> createTexture(SkISize, const TextureInfo&, skgpu::Budgeted) = 0;
103 const TextureInfo& info,
107 virtual BackendTexture onCreateBackendTexture(SkISize dimensions, const TextureInfo&) = 0;
DTextureProxy.h29 TextureProxy(SkISize dimensions, const TextureInfo& info, skgpu::Budgeted budgeted);
40 const TextureInfo& textureInfo() const { return fInfo; } in textureInfo()
78 const TextureInfo&,
82 static sk_sp<TextureProxy> MakeFullyLazy(const TextureInfo&,
89 const TextureInfo&,
101 const TextureInfo fInfo;
DTextureInfo.cpp12 TextureInfo& TextureInfo::operator=(const TextureInfo& that) { in operator =()
46 bool TextureInfo::operator==(const TextureInfo& that) const { in operator ==()
DCaps.cpp45 bool Caps::isTexturable(const TextureInfo& info) const { in isTexturable()
52 bool Caps::areColorTypeAndTextureInfoCompatible(SkColorType ct, const TextureInfo& info) const { in areColorTypeAndTextureInfoCompatible()
59 skgpu::Swizzle Caps::getReadSwizzle(SkColorType ct, const TextureInfo& info) const { in getReadSwizzle()
72 skgpu::Swizzle Caps::getWriteSwizzle(SkColorType ct, const TextureInfo& info) const { in getWriteSwizzle()
DTexture.h32 const TextureInfo& textureInfo() const { return fInfo; } in textureInfo()
39 const TextureInfo& info,
48 TextureInfo fInfo;
DTextureProxy.cpp17 TextureProxy::TextureProxy(SkISize dimensions, const TextureInfo& info, skgpu::Budgeted budgeted) in TextureProxy()
32 const TextureInfo& textureInfo, in TextureProxy()
134 TextureInfo textureInfo = caps->getDefaultSampledTextureInfo(colorType, in Make()
146 const TextureInfo& textureInfo, in MakeLazy()
156 sk_sp<TextureProxy> TextureProxy::MakeFullyLazy(const TextureInfo& textureInfo, in MakeFullyLazy()
DResourceProvider.cpp81 const TextureInfo& info, in findOrCreateScratchTexture()
95 const TextureInfo& info) { in findOrCreateDepthStencilAttachment()
110 const TextureInfo& info) { in findOrCreateDiscardableMSAAAttachment()
126 const TextureInfo& info, in findOrCreateTextureWithKey()
255 BackendTexture ResourceProvider::createBackendTexture(SkISize dimensions, const TextureInfo& info) { in createBackendTexture()
DAttachmentTypes.h45 TextureInfo fTextureInfo;
52 const TextureInfo& targetInfo,
/external/skia/src/gpu/graphite/dawn/
DDawnCaps.h25 TextureInfo getDefaultSampledTextureInfo(SkColorType,
29 TextureInfo getDefaultMSAATextureInfo(const TextureInfo& singleSampledInfo,
31 TextureInfo getDefaultDepthStencilTextureInfo(SkEnumBitMask<DepthStencilFlags>,
37 bool isRenderable(const TextureInfo&) const override;
39 const TextureInfo&,
46 const ColorTypeInfo* getColorTypeInfo(SkColorType, const TextureInfo&) const override;
47 bool onIsTexturable(const TextureInfo&) const override;
48 bool supportsWritePixels(const TextureInfo& textureInfo) const override;
49 bool supportsReadPixels(const TextureInfo& textureInfo) const override;
51 const TextureInfo& dstTextureInfo,
[all …]
DDawnTexture.h23 const TextureInfo&);
27 const TextureInfo&,
32 const TextureInfo&,
37 const TextureInfo&,
48 const TextureInfo& info,
DDawnTexture.cpp22 const char* texture_info_to_label(const TextureInfo& info, in texture_info_to_label()
56 const TextureInfo& info) { in MakeDawnTexture()
104 const TextureInfo& info, in DawnTexture()
115 const TextureInfo& info, in Make()
133 const TextureInfo& info, in MakeWrapped()
151 const TextureInfo& info, in MakeWrapped()
DDawnCaps.cpp53 bool DawnCaps::onIsTexturable(const TextureInfo& info) const { in onIsTexturable()
65 bool DawnCaps::isRenderable(const TextureInfo& info) const { in isRenderable()
86 TextureInfo DawnCaps::getDefaultSampledTextureInfo(SkColorType colorType, in getDefaultSampledTextureInfo()
112 TextureInfo DawnCaps::getDefaultMSAATextureInfo(const TextureInfo& singleSampledInfo, in getDefaultMSAATextureInfo()
124 TextureInfo DawnCaps::getDefaultDepthStencilTextureInfo( in getDefaultDepthStencilTextureInfo()
137 const TextureInfo& textureInfo) const { in getColorTypeInfo()
156 bool DawnCaps::supportsWritePixels(const TextureInfo& textureInfo) const { in supportsWritePixels()
161 bool DawnCaps::supportsReadPixels(const TextureInfo& textureInfo) const { in supportsReadPixels()
167 const TextureInfo& dstTextureInfo, in supportedWritePixelsColorType()
174 const TextureInfo& srcTextureInfo, in supportedReadPixelsColorType()
[all …]
DDawnResourceProvider.h27 const TextureInfo& msaaInfo);
37 sk_sp<Texture> createTexture(SkISize, const TextureInfo&, skgpu::Budgeted) override;
44 BackendTexture onCreateBackendTexture(SkISize dimensions, const TextureInfo&) override;
/external/skia/src/gpu/graphite/mtl/
DMtlCaps.h25 TextureInfo getDefaultSampledTextureInfo(SkColorType,
30 TextureInfo getDefaultMSAATextureInfo(const TextureInfo& singleSampledInfo,
33 TextureInfo getDefaultDepthStencilTextureInfo(SkEnumBitMask<DepthStencilFlags>,
48 bool isRenderable(const TextureInfo&) const override;
51 const TextureInfo&,
76 const ColorTypeInfo* getColorTypeInfo(SkColorType, const TextureInfo&) const override;
78 bool onIsTexturable(const TextureInfo&) const override;
83 bool supportsWritePixels(const TextureInfo&) const override;
84 bool supportsReadPixels(const TextureInfo&) const override;
87 const TextureInfo& dstTextureInfo,
[all …]
DMtlTexture.h23 const TextureInfo&);
27 const TextureInfo&,
32 const TextureInfo&,
42 const TextureInfo& info,
DMtlTexture.mm22 const TextureInfo& info) {
89 const TextureInfo& info,
98 const TextureInfo& info,
114 const TextureInfo& info,
DMtlResourceProvider.h40 sk_sp<Texture> createTexture(SkISize, const TextureInfo&, skgpu::Budgeted) override;
47 BackendTexture onCreateBackendTexture(SkISize dimensions, const TextureInfo&) override;
/external/skia/include/gpu/graphite/
DTextureInfo.h27 class TextureInfo {
29 TextureInfo() {} in TextureInfo() function
31 TextureInfo(const DawnTextureInfo& dawnInfo) in TextureInfo() function
41 TextureInfo(const MtlTextureInfo& mtlInfo) in TextureInfo() function
51 TextureInfo(const VulkanTextureInfo& vkInfo) in TextureInfo() function
64 ~TextureInfo() {} in ~TextureInfo()
65 TextureInfo(const TextureInfo&) = default;
66 TextureInfo& operator=(const TextureInfo&);
68 bool operator==(const TextureInfo&) const;
69 bool operator!=(const TextureInfo& that) const { return !(*this == that); }
DRecorder.h49 class TextureInfo; variable
90 BackendTexture createBackendTexture(SkISize dimensions, const TextureInfo&);
126 SkCanvas* makeDeferredCanvas(const SkImageInfo&, const TextureInfo&);
DRecording.h26 class TextureInfo; variable
47 LazyProxyData(const TextureInfo&);
/external/skia/src/gpu/graphite/vk/
DVulkanCaps.h28 TextureInfo getDefaultSampledTextureInfo(SkColorType,
33 TextureInfo getDefaultMSAATextureInfo(const TextureInfo& singleSampledInfo,
36 TextureInfo getDefaultDepthStencilTextureInfo(SkEnumBitMask<DepthStencilFlags>,
44 bool isRenderable(const TextureInfo&) const override { return false; } in isRenderable() argument
47 const TextureInfo&, in buildKeyForTexture() argument
95 const ColorTypeInfo* getColorTypeInfo(SkColorType, const TextureInfo&) const override { in getColorTypeInfo() argument
99 bool onIsTexturable(const TextureInfo&) const override { return false; } in onIsTexturable() argument
101 bool supportsWritePixels(const TextureInfo&) const override { return false; } in supportsWritePixels() argument
102 bool supportsReadPixels(const TextureInfo&) const override { return false; } in supportsReadPixels() argument
105 const TextureInfo& dstTextureInfo, in supportedWritePixelsColorType()
[all …]
DVulkanTexture.h34 const TextureInfo&,
39 const TextureInfo&,
44 const TextureInfo&,
79 const TextureInfo& info,
DVulkanResourceProvider.cpp47 sk_sp<Texture> VulkanResourceProvider::createTexture(SkISize, const TextureInfo&, skgpu::Budgeted) { in createTexture() argument
64 const TextureInfo&) { in onCreateBackendTexture() argument
DVulkanResourceProvider.h35 sk_sp<Texture> createTexture(SkISize, const TextureInfo&, skgpu::Budgeted) override;
42 BackendTexture onCreateBackendTexture(SkISize dimensions, const TextureInfo&) override;

123