/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | Texture.cpp | 34 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 …]
|
D | Texture.h | 34 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 …]
|
D | PassResourceUsage.h | 33 class TextureBase; variable 45 std::vector<TextureBase*> textures; 68 std::set<TextureBase*> referencedTextures; 94 std::set<TextureBase*> topLevelTextures;
|
D | PassResourceUsageTracker.h | 30 class TextureBase; variable 39 void AddRenderBundleTextureUsage(TextureBase* texture, 50 std::map<TextureBase*, TextureSubresourceUsage> mTextureUsages;
|
D | CommandValidation.h | 76 MaybeError ValidateCanUseAs(const TextureBase* texture, wgpu::TextureUsage usage); 78 MaybeError ValidateInternalCanUseAs(const TextureBase* texture, wgpu::TextureUsage usage);
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | TextureGL.cpp | 90 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 …]
|
D | TextureGL.h | 27 class Texture final : public TextureBase { 45 MaybeError ClearTexture(const SubresourceRange& range, TextureBase::ClearValue clearValue); 53 TextureView(TextureBase* texture, const TextureViewDescriptor* descriptor);
|
D | DeviceGL.h | 56 TextureBase* CreateTextureWrappingEGLImage(const ExternalImageDescriptor* descriptor, 109 ResultOrError<Ref<TextureBase>> CreateTextureImpl( 112 TextureBase* texture,
|
D | SwapChainGL.cpp | 34 TextureBase* SwapChain::GetNextTextureImpl(const TextureDescriptor* descriptor) { in GetNextTextureImpl() 44 TextureBase::TextureState::OwnedExternal); in GetNextTextureImpl()
|
D | DeviceGL.cpp | 167 ResultOrError<Ref<TextureBase>> Device::CreateTextureImpl(const TextureDescriptor* descriptor) { in CreateTextureImpl() 171 TextureBase* texture, in CreateTextureViewImpl() 204 TextureBase* Device::CreateTextureWrappingEGLImage(const ExternalImageDescriptor* descriptor, in CreateTextureWrappingEGLImage() 237 return new Texture(this, textureDescriptor, tex, TextureBase::TextureState::OwnedInternal); in CreateTextureWrappingEGLImage()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/mocks/ |
D | TextureMock.h | 25 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/metal/ |
D | TextureMTL.h | 37 class Texture final : public TextureBase { 56 using TextureBase::TextureBase; 73 TextureBase::ClearValue clearValue); 81 static ResultOrError<Ref<TextureView>> Create(TextureBase* texture,
|
D | TextureMTL.mm | 86 bool RequiresCreatingNewTextureView(const TextureBase* texture, 466 TextureBase::ClearValue::NonZero)); 502 TextureBase::DestroyImpl(); 512 TextureBase::ClearValue clearValue) { 515 const uint8_t clearColor = (clearValue == TextureBase::ClearValue::Zero) ? 0 : 1; 516 const double dClearColor = (clearValue == TextureBase::ClearValue::Zero) ? 0.0 : 1.0; 530 if (clearValue == TextureBase::ClearValue::Zero && 546 if (clearValue == TextureBase::ClearValue::Zero && 595 if (clearValue == TextureBase::ClearValue::Zero && 678 if (clearValue == TextureBase::ClearValue::Zero && [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | TextureD3D12.h | 39 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);
|
D | TextureD3D12.cpp | 629 TextureBase::ClearValue::NonZero)); in InitializeAsInternalTexture() 649 : TextureBase(device, descriptor, state), in Texture() 661 TextureBase::DestroyImpl(); in DestroyImpl() 992 TextureBase::ClearValue clearValue) { in ClearTexture() 997 uint8_t clearColor = (clearValue == TextureBase::ClearValue::Zero) ? 0 : 1; in ClearTexture() 998 float fClearColor = (clearValue == TextureBase::ClearValue::Zero) ? 0.f : 1.f; in ClearTexture() 1010 if (clearValue == TextureBase::ClearValue::Zero && in ClearTexture() 1058 if (clearValue == TextureBase::ClearValue::Zero && in ClearTexture() 1115 if (clearValue == TextureBase::ClearValue::Zero && in ClearTexture() 1130 if (clearValue == TextureBase::ClearValue::Zero) { in ClearTexture() [all …]
|
/third_party/skia/third_party/externals/spirv-cross/shaders-msl/frag/ |
D | bitcasting.1d-as-2d.frag | 3 layout(binding = 0) uniform sampler1D TextureBase; 13 vec4 texSample0 = texture(TextureBase, VertGeom.x);
|
D | bitcasting.frag | 4 layout(binding = 0) uniform sampler2D TextureBase; 14 vec4 texSample0 = texture(TextureBase, VertGeom.xy);
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/ |
D | DestroyObjectTests.cpp | 55 AcquireRef(new TextureMock(&mDevice, TextureBase::TextureState::OwnedInternal)); in GetTexture() 471 TextureMock textureMock(&mDevice, TextureBase::TextureState::OwnedInternal); in TEST_F() 479 TextureMock textureMock(&mDevice, TextureBase::TextureState::OwnedExternal); in TEST_F() 493 new TextureMock(&mDevice, TextureBase::TextureState::OwnedInternal); in TEST_F() 497 Ref<TextureBase> texture; in TEST_F() 507 new TextureMock(&mDevice, TextureBase::TextureState::OwnedExternal); in TEST_F() 511 Ref<TextureBase> texture; in TEST_F() 562 new TextureMock(&mDevice, TextureBase::TextureState::OwnedInternal); in TEST_F() 721 Ref<TextureBase> texture; in TEST_F()
|
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/frag/ |
D | bitcasting.frag | 17 fragment main0_out main0(main0_in in [[stage_in]], texture2d<float> TextureBase [[texture(0)]], tex… 20 float4 _20 = TextureBase.sample(TextureBaseSmplr, in.VertGeom.xy);
|
D | bitcasting.1d-as-2d.frag | 17 fragment main0_out main0(main0_in in [[stage_in]], texture2d<float> TextureBase [[texture(0)]], tex… 20 float4 _22 = TextureBase.sample(TextureBaseSmplr, float2(in.VertGeom.x, 0.5));
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/frag/ |
D | bitcasting.frag | 17 fragment main0_out main0(main0_in in [[stage_in]], texture2d<float> TextureBase [[texture(0)]], tex… 20 float4 texSample0 = TextureBase.sample(TextureBaseSmplr, in.VertGeom.xy);
|
D | bitcasting.1d-as-2d.frag | 17 fragment main0_out main0(main0_in in [[stage_in]], texture2d<float> TextureBase [[texture(0)]], tex… 20 float4 texSample0 = TextureBase.sample(TextureBaseSmplr, float2(in.VertGeom.x, 0.5));
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | TextureVk.h | 43 class Texture final : public TextureBase { 113 TextureBase::ClearValue); 173 static ResultOrError<Ref<TextureView>> Create(TextureBase* texture,
|
D | DeviceVk.h | 73 TextureBase* CreateTextureWrappingVulkanImage( 133 ResultOrError<Ref<TextureBase>> CreateTextureImpl( 136 TextureBase* texture,
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/null/ |
D | DeviceNull.cpp | 167 ResultOrError<Ref<TextureBase>> Device::CreateTextureImpl(const TextureDescriptor* descriptor) { in CreateTextureImpl() 168 return AcquireRef(new Texture(this, descriptor, TextureBase::TextureState::OwnedInternal)); in CreateTextureImpl() 171 TextureBase* texture, in CreateTextureViewImpl() 423 new Texture(GetDevice(), &textureDesc, TextureBase::TextureState::OwnedInternal)); in GetCurrentTextureViewImpl() 452 TextureBase* OldSwapChain::GetNextTextureImpl(const TextureDescriptor* descriptor) { in GetNextTextureImpl()
|