/third_party/mesa3d/src/mesa/main/ |
H A D | texstate.c | 28 * Texture state handling. 76 dst->Texture.CurrentUnit = src->Texture.CurrentUnit; in _mesa_copy_texture_state() 80 dst->Texture.Unit[u].LodBias = src->Texture.Unit[u].LodBias; in _mesa_copy_texture_state() 81 dst->Texture.Unit[u].LodBiasQuantized = src->Texture.Unit[u].LodBiasQuantized; in _mesa_copy_texture_state() 94 _mesa_reference_texobj(&dst->Texture.Unit[u].CurrentTex[tex], in _mesa_copy_texture_state() 95 src->Texture.Unit[u].CurrentTex[tex]); in _mesa_copy_texture_state() 96 if (src->Texture in _mesa_copy_texture_state() [all...] |
/third_party/skia/third_party/externals/tint/src/sem/ |
H A D | texture_type.cc | 17 TINT_INSTANTIATE_TYPEINFO(tint::sem::Texture); variable 22 Texture::Texture(ast::TextureDimension dim) : dim_(dim) {} in Texture() function in tint::sem::Texture 24 Texture::Texture(Texture&&) = default; 26 Texture::~Texture() = default;
|
H A D | texture_type.h | 25 class Texture : public Castable<Texture, Type> { class 29 explicit Texture(ast::TextureDimension dim); 31 Texture(Texture&&); 32 ~Texture() override;
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Texture.cpp | 7 // Texture.cpp: Implements the gl::Texture class. [OpenGL ES 2.0.24] section 3.7 page 63. 9 #include "libANGLE/Texture.h" 232 // According to [OpenGL ES 3.0.5] section 3.8.13 Texture Completeness page 160 any 743 Texture::Texture(rx::GLImplFactory *factory, TextureID id, TextureType type) in Texture() function in Texture 758 void Texture::onDestroy(const Context *context) in onDestroy() 782 Texture::~Texture() in ~Texture() 787 void Texture [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/white_box/ |
H A D | VulkanImageWrappingTestsDmaBuf.cpp | 111 wgpu::Texture WrapVulkanImage(wgpu::Device dawnDevice, in WrapVulkanImage() 125 wgpu::Texture WrapVulkanImage(wgpu::Device dawnDevice, in WrapVulkanImage() 156 return wgpu::Texture::Acquire(texture); in WrapVulkanImage() 162 void IgnoreSignalSemaphore(wgpu::Texture wrappedTexture) { in IgnoreSignalSemaphore() 187 wgpu::Texture texture = WrapVulkanImage(device, &defaultDescriptor, defaultFd, in TEST_P() 200 wgpu::Texture texture = WrapVulkanImage(device, &defaultDescriptor, defaultFd, in TEST_P() 212 ASSERT_DEVICE_ERROR(wgpu::Texture texture = in TEST_P() 223 ASSERT_DEVICE_ERROR(wgpu::Texture texture = in TEST_P() 234 ASSERT_DEVICE_ERROR(wgpu::Texture texture = in TEST_P() 245 ASSERT_DEVICE_ERROR(wgpu::Texture textur in TEST_P() [all...] |
H A D | VulkanImageWrappingTestsOpaqueFD.cpp | 159 wgpu::Texture WrapVulkanImage(wgpu::Device dawnDevice, in WrapVulkanImage() 173 wgpu::Texture WrapVulkanImage(wgpu::Device dawnDevice, in WrapVulkanImage() 204 return wgpu::Texture::Acquire(texture); in WrapVulkanImage() 210 void IgnoreSignalSemaphore(wgpu::Texture wrappedTexture) { in IgnoreSignalSemaphore() 266 wgpu::Texture texture = in TEST_P() 280 wgpu::Texture texture = in TEST_P() 293 ASSERT_DEVICE_ERROR(wgpu::Texture texture = WrapVulkanImage( in TEST_P() 303 ASSERT_DEVICE_ERROR(wgpu::Texture texture = WrapVulkanImage( in TEST_P() 313 ASSERT_DEVICE_ERROR(wgpu::Texture texture = WrapVulkanImage( in TEST_P() 323 ASSERT_DEVICE_ERROR(wgpu::Texture textur in TEST_P() [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | CopyTextureForBrowserTests.cpp | 25 wgpu::Texture Create2DTexture(uint32_t width, in Create2DTexture() 41 wgpu::Texture tex = device.CreateTexture(&descriptor); in Create2DTexture() 46 wgpu::Texture srcTexture, in TestCopyTextureForBrowser() 49 wgpu::Texture dstTexture, in TestCopyTextureForBrowser() 72 wgpu::Texture source = in TEST_F() 75 wgpu::Texture destination = in TEST_F() 128 wgpu::Texture validSource = in TEST_F() 131 wgpu::Texture validDestination = in TEST_F() 134 wgpu::Texture noSampledUsageSource = in TEST_F() 136 wgpu::Texture noRenderAttachmentUsageDestinatio in TEST_F() [all...] |
H A D | QueueWriteTextureValidationTests.cpp | 32 wgpu::Texture Create2DTexture(wgpu::Extent3D size, in Create2DTexture() 46 wgpu::Texture tex = device.CreateTexture(&descriptor); in Create2DTexture() 54 wgpu::Texture texture, in TestWriteTexture() 74 wgpu::Texture texture, in TestWriteTextureExactDataSize() 96 wgpu::Texture destination = Create2DTexture({16, 16, 4}, 5, wgpu::TextureFormat::RGBA8Unorm, in TEST_F() 157 wgpu::Texture destination = Create2DTexture({16, 16, 1}, 5, wgpu::TextureFormat::RGBA8Unorm, in TEST_F() 187 wgpu::Texture destination = Create2DTexture({16, 16, 2}, 5, wgpu::TextureFormat::RGBA8Unorm, in TEST_F() 215 wgpu::Texture destination = Create2DTexture({16, 16, 1}, 5, wgpu::TextureFormat::RGBA8Unorm, in TEST_F() 227 wgpu::Texture sampled = Create2DTexture({16, 16, 1}, 5, wgpu::TextureFormat::RGBA8Unorm, in TEST_F() 237 wgpu::Texture destinatio in TEST_F() [all...] |
H A D | CopyCommandsValidationTests.cpp | 33 wgpu::Texture Create2DTexture(uint32_t width, in Create2DTexture() 49 wgpu::Texture tex = device.CreateTexture(&descriptor); in Create2DTexture() 53 wgpu::Texture Create3DTexture(uint32_t width, in Create3DTexture() 67 wgpu::Texture tex = device.CreateTexture(&descriptor); in Create3DTexture() 94 wgpu::Texture destTexture, in TestB2TCopy() 111 wgpu::Texture srcTexture, in TestT2BCopy() 132 wgpu::Texture srcTexture, in TestT2TCopy() 135 wgpu::Texture dstTexture, in TestT2TCopy() 156 wgpu::Texture texture, in TestBothTBCopies() 167 wgpu::Texture texture in TestBothT2TCopies() [all...] |
/third_party/skia/third_party/externals/tint/src/ast/ |
H A D | texture.cc | 17 TINT_INSTANTIATE_TYPEINFO(tint::ast::Texture); variable 81 Texture::Texture(ProgramID pid, const Source& src, TextureDimension d) in Texture() function in tint::ast::Texture 84 Texture::Texture(Texture&&) = default; 86 Texture::~Texture() = default;
|
H A D | texture.h | 65 class Texture : public Castable<Texture, Type> { class 71 Texture(ProgramID pid, const Source& src, TextureDimension dim); 73 Texture(Texture&&); 74 ~Texture() override;
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageTexture.cpp | 21 * \brief Texture utility class 31 void Texture::checkInvariants (void) const in checkInvariants() 84 Texture::Texture (const ImageType imageType, const tcu::IVec3& imageLayerSize, const int layers, const int samples, const int levels) in Texture() function in vkt::image::Texture 94 Texture::Texture (const Texture& other, const int samples) in Texture() function in vkt::image::Texture 109 tcu::IVec3 Texture::layerSize (const int mipmapLevel) const in layerSize() 139 tcu::IVec3 Texture::size (const int mipmapLevel) const 166 int Texture [all...] |
H A D | vktImageSizeTests.cpp | 58 Texture getTexture (const ImageType imageType, const tcu::IVec3& size) in getTexture() 64 return Texture(imageType, tcu::IVec3(size.x(), 1, 1), 1); in getTexture() 67 return Texture(imageType, tcu::IVec3(size.x(), 1, 1), size.y()); in getTexture() 70 return Texture(imageType, tcu::IVec3(size.x(), size.y(), 1), 1); in getTexture() 73 return Texture(imageType, tcu::IVec3(size.x(), size.y(), 1), size.z()); in getTexture() 76 return Texture(imageType, tcu::IVec3(size.x(), size.x(), 1), 6); in getTexture() 79 return Texture(imageType, tcu::IVec3(size.x(), size.x(), 1), 2*6); in getTexture() 82 return Texture(imageType, size, 1); in getTexture() 86 return Texture(IMAGE_TYPE_LAST, tcu::IVec3(), 0); in getTexture() 90 inline VkImageCreateInfo makeImageCreateInfo (const Texture [all...] |
H A D | vktImageTexture.hpp | 23 * \brief Texture utility class 34 //! Texture buffer/image abstraction. Helps managing size, number of layers and number of mipmap levels. 35 class Texture class 38 Texture (const ImageType imageType, const tcu::IVec3& imageLayerSize, const int layers, const int samples = 1, const int levels = 1); 39 Texture (const Texture& other, const int samples); 41 ImageType type (void) const { return m_type; } //!< Texture type in type() 62 inline bool isCube (const Texture& texture) in isCube()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
H A D | vktImageTexture.cpp | 21 * \brief Texture utility class 31 void Texture::checkInvariants (void) const in checkInvariants() 84 Texture::Texture (const ImageType imageType, const tcu::IVec3& imageLayerSize, const int layers, const int samples, const int levels) in Texture() function in vkt::image::Texture 94 Texture::Texture (const Texture& other, const int samples) in Texture() function in vkt::image::Texture 109 tcu::IVec3 Texture::layerSize (const int mipmapLevel) const in layerSize() 139 tcu::IVec3 Texture::size (const int mipmapLevel) const 166 int Texture [all...] |
H A D | vktImageSizeTests.cpp | 58 Texture getTexture (const ImageType imageType, const tcu::IVec3& size) in getTexture() 64 return Texture(imageType, tcu::IVec3(size.x(), 1, 1), 1); in getTexture() 67 return Texture(imageType, tcu::IVec3(size.x(), 1, 1), size.y()); in getTexture() 70 return Texture(imageType, tcu::IVec3(size.x(), size.y(), 1), 1); in getTexture() 73 return Texture(imageType, tcu::IVec3(size.x(), size.y(), 1), size.z()); in getTexture() 76 return Texture(imageType, tcu::IVec3(size.x(), size.x(), 1), 6); in getTexture() 79 return Texture(imageType, tcu::IVec3(size.x(), size.x(), 1), 2*6); in getTexture() 82 return Texture(imageType, size, 1); in getTexture() 86 return Texture(IMAGE_TYPE_LAST, tcu::IVec3(), 0); in getTexture() 90 inline VkImageCreateInfo makeImageCreateInfo (const Texture [all...] |
H A D | vktImageTexture.hpp | 23 * \brief Texture utility class 34 //! Texture buffer/image abstraction. Helps managing size, number of layers and number of mipmap levels. 35 class Texture class 38 Texture (const ImageType imageType, const tcu::IVec3& imageLayerSize, const int layers, const int samples = 1, const int levels = 1); 39 Texture (const Texture& other, const int samples); 41 ImageType type (void) const { return m_type; } //!< Texture type in type() 62 inline bool isCube (const Texture& texture) in isCube()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | D3D12ResourceWrappingTests.cpp | 93 wgpu::Texture* dawnTexture, in WrapSharedHandle() 133 *dawnTexture = wgpu::Texture::Acquire( in WrapSharedHandle() 162 wgpu::Texture texture; in TEST_P() 178 wgpu::Texture texture; in TEST_P() 193 wgpu::Texture texture; in TEST_P() 206 wgpu::Texture texture; in TEST_P() 219 wgpu::Texture texture; in TEST_P() 232 wgpu::Texture texture; in TEST_P() 245 wgpu::Texture texture; in TEST_P() 258 wgpu::Texture textur in TEST_P() [all...] |
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | parser_impl_depth_texture_type_test.cc | 37 ASSERT_TRUE(t->Is<ast::Texture>()); in TEST_F() 39 EXPECT_EQ(t->As<ast::Texture>()->dim, ast::TextureDimension::k2d); in TEST_F() 50 ASSERT_TRUE(t->Is<ast::Texture>()); in TEST_F() 52 EXPECT_EQ(t->As<ast::Texture>()->dim, ast::TextureDimension::k2dArray); in TEST_F() 63 ASSERT_TRUE(t->Is<ast::Texture>()); in TEST_F() 65 EXPECT_EQ(t->As<ast::Texture>()->dim, ast::TextureDimension::kCube); in TEST_F() 76 ASSERT_TRUE(t->Is<ast::Texture>()); in TEST_F() 78 EXPECT_EQ(t->As<ast::Texture>()->dim, ast::TextureDimension::kCubeArray); in TEST_F() 89 ASSERT_TRUE(t->Is<ast::Texture>()); in TEST_F() 91 EXPECT_EQ(t->As<ast::Texture>() in TEST_F() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcRobustBufferAccessBehaviorTests.cpp | 240 * @param texture_id Texture id 242 * @param width Texture width 243 * @param height Texture height 587 /* Texture static fields */ 588 const GLuint Texture::m_invalid_id = -1; 594 Texture::Texture(const glw::Functions& gl) : m_id(m_invalid_id), m_gl(gl) in Texture() function in glcts::RobustBufferAccessBehavior::Texture 602 Texture::~Texture() in ~Texture() 610 void Texture [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | TextureVk.cpp | 167 VkImageMemoryBarrier BuildMemoryBarrier(const Texture* texture, in BuildMemoryBarrier() 190 void FillVulkanCreateInfoSizesAndType(const Texture& texture, VkImageCreateInfo* info) { in FillVulkanCreateInfoSizesAndType() 475 VkImageLayout VulkanImageLayout(const Texture* texture, wgpu::TextureUsage usage) { in VulkanImageLayout() 560 "Texture dimension (%s) is not %s.", descriptor->dimension, in ValidateVulkanImageCanBeWrapped() 592 ResultOrError<Ref<Texture>> Texture::Create(Device* device, in Create() 595 Ref<Texture> texture = in Create() 596 AcquireRef(new Texture(device, descriptor, TextureState::OwnedInternal)); in Create() 602 ResultOrError<Texture*> Texture 623 Texture::Texture(Device* device, const TextureDescriptor* descriptor, TextureState state) Texture() function in dawn_native::vulkan::Texture [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cSparseTextureTests.cpp | 100 * @param target Texture target 124 * @param target Texture target 125 * @param format Texture internal format 126 * @param pageSizeX Texture page size reference for X dimension 127 * @param pageSizeY Texture page size reference for X dimension 128 * @param pageSizeZ Texture page size reference for X dimension 146 * @param state Texture current state 147 * @param level Texture mipmap level 148 * @param width Texture output width 149 * @param height Texture outpu [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | TextureD3D12.cpp | 439 "Texture dimension (%s) is not %s.", descriptor->dimension, in ValidateTextureDescriptorCanBeWrapped() 505 ResultOrError<Ref<Texture>> Texture::Create(Device* device, in Create() 507 Ref<Texture> dawnTexture = in Create() 508 AcquireRef(new Texture(device, descriptor, TextureState::OwnedInternal)); in Create() 518 ResultOrError<Ref<Texture>> Texture::CreateExternalImage( in CreateExternalImage() 527 Ref<Texture> dawnTexture = in CreateExternalImage() 528 AcquireRef(new Texture(device, descriptor, TextureState::OwnedExternal)); in CreateExternalImage() 546 ResultOrError<Ref<Texture>> Textur 648 Texture::Texture(Device* device, const TextureDescriptor* descriptor, TextureState state) Texture() function in dawn_native::d3d12::Texture [all...] |
/third_party/skia/experimental/graphite/src/ |
H A D | TextureProxy.h | 18 class Texture; 33 sk_sp<Texture> refTexture() const; 34 const Texture* texture() const; 38 void validateTexture(const Texture*); 44 sk_sp<Texture> fTexture;
|
/third_party/skia/experimental/graphite/src/mtl/ |
H A D | MtlTexture.h | 11 #include "experimental/graphite/src/Texture.h" 19 class Texture : public skgpu::Texture { class 21 static sk_sp<Texture> Make(const Gpu* gpu, 25 ~Texture() override {} 30 Texture(SkISize dimensions,
|