Home
last modified time | relevance | path

Searched refs:TextureBase (Results 1 – 25 of 104) sorted by relevance

12345

/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DTexture.cpp28 MaybeError ValidateTextureViewFormatCompatibility(const TextureBase* texture, in ValidateTextureViewFormatCompatibility()
117 const TextureBase* texture, in ValidateTextureViewDimensionCompatibility()
142 TextureViewDescriptor MakeDefaultTextureViewDescriptor(const TextureBase* texture) { in MakeDefaultTextureViewDescriptor()
239 const TextureBase* texture, in ValidateTextureViewDescriptor()
246 if (texture->GetTextureState() == TextureBase::TextureState::Destroyed) { in ValidateTextureViewDescriptor()
292 TextureBase::TextureBase(DeviceBase* device, in TextureBase() function in dawn_native::TextureBase
311 TextureBase::TextureBase(DeviceBase* device, ObjectBase::ErrorTag tag) in TextureBase() function in dawn_native::TextureBase
316 TextureBase* TextureBase::MakeError(DeviceBase* device) { in MakeError()
317 return new TextureBase(device, ObjectBase::kError); in MakeError()
320 dawn::TextureDimension TextureBase::GetDimension() const { in GetDimension()
[all …]
DTexture.h30 const TextureBase* texture,
43 class TextureBase : public ObjectBase {
47 TextureBase(DeviceBase* device, const TextureDescriptor* descriptor, TextureState state);
49 static TextureBase* MakeError(DeviceBase* device);
90 TextureBase(DeviceBase* device, ObjectBase::ErrorTag tag);
110 TextureViewBase(TextureBase* texture, const TextureViewDescriptor* descriptor);
114 const TextureBase* GetTexture() const;
115 TextureBase* GetTexture();
126 Ref<TextureBase> mTexture;
DSwapChain.h42 TextureBase* GetNextTexture();
43 void Present(TextureBase* texture);
49 virtual TextureBase* GetNextTextureImpl(const TextureDescriptor*) = 0;
50 virtual void OnBeforePresent(TextureBase* texture) = 0;
58 MaybeError ValidatePresent(TextureBase* texture) const;
65 TextureBase* mLastNextTexture = nullptr;
DSwapChain.cpp31 TextureBase* GetNextTextureImpl(const TextureDescriptor*) override { in GetNextTextureImpl()
35 void OnBeforePresent(TextureBase* texture) override { in OnBeforePresent()
102 TextureBase* SwapChainBase::GetNextTexture() { in GetNextTexture()
104 return TextureBase::MakeError(GetDevice()); in GetNextTexture()
124 void SwapChainBase::Present(TextureBase* texture) { in Present()
167 MaybeError SwapChainBase::ValidatePresent(TextureBase* texture) const { in ValidatePresent()
DPassResourceUsage.h26 class TextureBase; variable
35 std::vector<TextureBase*> textures;
42 std::set<TextureBase*> topLevelTextures;
DDevice.h132 TextureBase* CreateTexture(const TextureDescriptor* descriptor);
133 TextureViewBase* CreateTextureView(TextureBase* texture,
180 virtual ResultOrError<TextureBase*> CreateTextureImpl(
183 TextureBase* texture,
203 MaybeError CreateTextureInternal(TextureBase** result, const TextureDescriptor* descriptor);
205 TextureBase* texture,
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DTexture.cpp34 MaybeError ValidateTextureViewFormatCompatibility(const TextureBase* texture, in ValidateTextureViewFormatCompatibility()
135 const TextureBase* texture, in ValidateTextureViewDimensionCompatibility()
333 const TextureBase* texture, in ValidateTextureViewDescriptor()
378 const TextureBase* texture, in GetTextureViewDescriptorWithDefaults()
451 TextureBase::TextureBase(DeviceBase* device, in TextureBase() function in dawn_native::TextureBase
477 TextureBase::TextureBase(DeviceBase* device, TextureState state) in TextureBase() function in dawn_native::TextureBase
482 TextureBase::TextureBase(DeviceBase* device, ObjectBase::ErrorTag tag) in TextureBase() function in dawn_native::TextureBase
486 void TextureBase::DestroyImpl() { in DestroyImpl()
491 TextureBase* TextureBase::MakeError(DeviceBase* device) { in MakeError()
492 return new TextureBase(device, ObjectBase::kError); in MakeError()
[all …]
DTexture.h34 const TextureBase* texture,
37 const TextureBase* texture,
46 class TextureBase : public ApiObjectBase {
50 TextureBase(DeviceBase* device, const TextureDescriptor* descriptor, TextureState state);
52 static TextureBase* MakeError(DeviceBase* device);
100 TextureBase(DeviceBase* device, TextureState state);
104 TextureBase(DeviceBase* device, ObjectBase::ErrorTag tag);
122 TextureViewBase(TextureBase* texture, const TextureViewDescriptor* descriptor);
128 const TextureBase* GetTexture() const;
129 TextureBase* GetTexture();
[all …]
DPassResourceUsage.h33 class TextureBase; variable
45 std::vector<TextureBase*> textures;
68 std::set<TextureBase*> referencedTextures;
94 std::set<TextureBase*> topLevelTextures;
DPassResourceUsageTracker.h30 class TextureBase; variable
39 void AddRenderBundleTextureUsage(TextureBase* texture,
50 std::map<TextureBase*, TextureSubresourceUsage> mTextureUsages;
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/mocks/
DTextureMock.h25 class TextureMock : public TextureBase {
27 TextureMock(DeviceBase* device, TextureBase::TextureState state) in TextureMock()
28 : TextureBase(device, state) { in TextureMock()
30 this->TextureBase::DestroyImpl(); in TextureMock()
40 TextureViewMock(TextureBase* texture) : TextureViewBase(texture) { in TextureViewMock()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DTextureGL.cpp90 bool RequiresCreatingNewTextureView(const TextureBase* texture, in RequiresCreatingNewTextureView()
178 ClearTexture(GetAllSubresources(), TextureBase::ClearValue::NonZero)); in Texture()
186 : TextureBase(device, descriptor, state), mHandle(handle) { in Texture()
194 TextureBase::DestroyImpl(); in DestroyImpl()
214 TextureBase::ClearValue clearValue) { in ClearTexture()
223 uint8_t clearColor = (clearValue == TextureBase::ClearValue::Zero) ? 0 : 1; in ClearTexture()
224 float fClearColor = (clearValue == TextureBase::ClearValue::Zero) ? 0.f : 1.f; in ClearTexture()
271 if (clearValue == TextureBase::ClearValue::Zero && in ClearTexture()
294 if (clearValue == TextureBase::ClearValue::Zero && in ClearTexture()
330 clearColorData.fill((clearValue == TextureBase::ClearValue::Zero) ? 0u : 1u); in ClearTexture()
[all …]
DTextureGL.h27 class Texture final : public TextureBase {
45 MaybeError ClearTexture(const SubresourceRange& range, TextureBase::ClearValue clearValue);
53 TextureView(TextureBase* texture, const TextureViewDescriptor* descriptor);
DSwapChainGL.cpp34 TextureBase* SwapChain::GetNextTextureImpl(const TextureDescriptor* descriptor) { in GetNextTextureImpl()
44 TextureBase::TextureState::OwnedExternal); in GetNextTextureImpl()
DDeviceGL.h56 TextureBase* CreateTextureWrappingEGLImage(const ExternalImageDescriptor* descriptor,
109 ResultOrError<Ref<TextureBase>> CreateTextureImpl(
112 TextureBase* texture,
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DTextureMTL.h37 class Texture final : public TextureBase {
56 using TextureBase::TextureBase;
73 TextureBase::ClearValue clearValue);
81 static ResultOrError<Ref<TextureView>> Create(TextureBase* texture,
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DTextureD3D12.h39 class Texture final : public TextureBase {
93 using TextureBase::TextureBase;
112 TextureBase::ClearValue clearValue);
146 static Ref<TextureView> Create(TextureBase* texture,
158 TextureView(TextureBase* texture, const TextureViewDescriptor* descriptor);
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/
DSwapChainGL.cpp34 TextureBase* SwapChain::GetNextTextureImpl(const TextureDescriptor* descriptor) { in GetNextTextureImpl()
44 TextureBase::TextureState::OwnedExternal); in GetNextTextureImpl()
47 void SwapChain::OnBeforePresent(TextureBase*) { in OnBeforePresent() argument
DSwapChainGL.h32 TextureBase* GetNextTextureImpl(const TextureDescriptor* descriptor) override;
33 void OnBeforePresent(TextureBase* texture) override;
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/null/
DDeviceNull.h52 using Texture = TextureBase;
127 ResultOrError<TextureBase*> CreateTextureImpl(const TextureDescriptor* descriptor) override;
129 TextureBase* texture,
190 TextureBase* GetNextTextureImpl(const TextureDescriptor* descriptor) override;
191 void OnBeforePresent(TextureBase*) override;
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/
DSwapChainMTL.h30 TextureBase* GetNextTextureImpl(const TextureDescriptor* descriptor) override;
31 void OnBeforePresent(TextureBase* texture) override;
DDeviceMTL.h55 TextureBase* CreateTextureWrappingIOSurface(const TextureDescriptor* descriptor,
85 ResultOrError<TextureBase*> CreateTextureImpl(const TextureDescriptor* descriptor) override;
87 TextureBase* texture,
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DSwapChainD3D12.h30 TextureBase* GetNextTextureImpl(const TextureDescriptor* descriptor) override;
31 void OnBeforePresent(TextureBase* texture) override;
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DSwapChainVk.h32 TextureBase* GetNextTextureImpl(const TextureDescriptor* descriptor) override;
33 void OnBeforePresent(TextureBase* texture) override;
/third_party/skia/third_party/externals/spirv-cross/shaders-msl/frag/
Dbitcasting.1d-as-2d.frag3 layout(binding = 0) uniform sampler1D TextureBase;
13 vec4 texSample0 = texture(TextureBase, VertGeom.x);

12345