/third_party/mesa3d/src/mesa/main/ |
D | texstate.c | 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.Unit[u].CurrentTex[tex]) { in _mesa_copy_texture_state() 97 dst->Texture.NumCurrentTexUsed = in _mesa_copy_texture_state() 98 MAX2(dst->Texture.NumCurrentTexUsed, u + 1); in _mesa_copy_texture_state() 101 dst->Texture.Unit[u]._BoundTextures = src->Texture.Unit[u]._BoundTextures; in _mesa_copy_texture_state() 107 dst->Texture.FixedFuncUnit[u].Enabled = src->Texture.FixedFuncUnit[u].Enabled; in _mesa_copy_texture_state() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Texture.cpp | 743 Texture::Texture(rx::GLImplFactory *factory, TextureID id, TextureType type) in Texture() function in gl::Texture 758 void Texture::onDestroy(const Context *context) in onDestroy() 782 Texture::~Texture() in ~Texture() 787 void Texture::setLabel(const Context *context, const std::string &label) in setLabel() 797 const std::string &Texture::getLabel() const in getLabel() 802 void Texture::setSwizzleRed(const Context *context, GLenum swizzleRed) in setSwizzleRed() 808 GLenum Texture::getSwizzleRed() const in getSwizzleRed() 813 void Texture::setSwizzleGreen(const Context *context, GLenum swizzleGreen) in setSwizzleGreen() 819 GLenum Texture::getSwizzleGreen() const in getSwizzleGreen() 824 void Texture::setSwizzleBlue(const Context *context, GLenum swizzleBlue) in setSwizzleBlue() [all …]
|
D | queryutils.h | 31 class Texture; variable 52 void QueryTexLevelParameterfv(const Texture *texture, 57 void QueryTexLevelParameteriv(const Texture *texture, 63 const Texture *texture, 67 const Texture *texture, 71 const Texture *texture, 75 const Texture *texture, 79 const Texture *texture, 131 void SetTexParameterf(Context *context, Texture *texture, GLenum pname, GLfloat param); 132 void SetTexParameterfv(Context *context, Texture *texture, GLenum pname, const GLfloat *params); [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | mtl_resources.mm | 105 // Texture implemenetation 107 angle::Result Texture::Make2DTexture(ContextMtl *context, 128 angle::Result Texture::MakeMemoryLess2DTexture(ContextMtl *context, 146 angle::Result Texture::MakeCubeTexture(ContextMtl *context, 166 angle::Result Texture::Make2DMSTexture(ContextMtl *context, 190 angle::Result Texture::Make2DArrayTexture(ContextMtl *context, 217 angle::Result Texture::Make3DTexture(ContextMtl *context, 246 angle::Result Texture::MakeIOSurfaceTexture(ContextMtl *context, 265 angle::Result Texture::MakeTexture(ContextMtl *context, 277 angle::Result Texture::MakeTexture(ContextMtl *context, [all …]
|
D | mtl_resources.h | 37 class Texture; variable 41 using TextureRef = std::shared_ptr<Texture>; 42 using TextureWeakRef = std::weak_ptr<Texture>; 107 class Texture final : public Resource, 109 public std::enable_shared_from_this<Texture> 300 Texture(id<MTLTexture> metalTexture); 301 Texture(ContextMtl *context, 306 Texture(ContextMtl *context, 313 Texture(ContextMtl *context, 320 Texture(Texture *original, MTLPixelFormat format); [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
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 noRenderAttachmentUsageDestination = in TEST_F() [all …]
|
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 destination = Create2DTexture({3, 7, 2}, 1, wgpu::TextureFormat::RGBA8Unorm, in TEST_F() [all …]
|
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 texture1, in TestBothT2TCopies() [all …]
|
/third_party/skia/third_party/externals/tint/src/sem/ |
D | texture_type.cc | 17 TINT_INSTANTIATE_TYPEINFO(tint::sem::Texture); 22 Texture::Texture(ast::TextureDimension dim) : dim_(dim) {} in Texture() function in tint::sem::Texture 24 Texture::Texture(Texture&&) = default; 26 Texture::~Texture() = default;
|
D | texture_type.h | 25 class Texture : public Castable<Texture, Type> { 29 explicit Texture(ast::TextureDimension dim); 31 Texture(Texture&&); 32 ~Texture() override;
|
/third_party/skia/third_party/externals/dawn/src/tests/white_box/ |
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 texture = in TEST_P() [all …]
|
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 texture = WrapVulkanImage( in TEST_P() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcRobustBufferAccessBehaviorTests.cpp | 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::Release() in Release() 625 void Texture::Bind(const glw::Functions& gl, glw::GLuint id, glw::GLenum target) in Bind() 643 void Texture::CompressedImage(const glw::Functions& gl, glw::GLenum target, glw::GLint level, in CompressedImage() 689 void Texture::Generate(const glw::Functions& gl, glw::GLuint& out_id) in Generate() 712 void Texture::GetData(const glw::Functions& gl, glw::GLint level, glw::GLenum target, glw::GLenum f… in GetData() 730 void Texture::GetData(const glw::Functions& gl, glw::GLuint id, glw::GLint level, glw::GLuint width… in GetData() 755 void Texture::GetLevelParameter(const glw::Functions& gl, glw::GLenum target, glw::GLint level, glw… in GetLevelParameter() [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
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 texture; in TEST_P() [all …]
|
D | DepthStencilCopyTests.cpp | 45 wgpu::Texture CreateDepthStencilTexture(uint32_t width, in CreateDepthStencilTexture() 57 wgpu::Texture CreateDepthTexture(uint32_t width, in CreateDepthTexture() 88 void InitializeDepthTextureRegion(wgpu::Texture texture, in InitializeDepthTextureRegion() 117 void InitializeDepthStencilTextureRegion(wgpu::Texture texture, in InitializeDepthStencilTextureRegion() 150 wgpu::Texture CreateInitializeDepthStencilTextureAndCopyT2T(float clearDepth, in CreateInitializeDepthStencilTextureAndCopyT2T() 158 wgpu::Texture src = CreateDepthStencilTexture( in CreateInitializeDepthStencilTextureAndCopyT2T() 162 wgpu::Texture dst = CreateDepthStencilTexture( in CreateInitializeDepthStencilTextureAndCopyT2T() 193 wgpu::Texture depthTexture = CreateDepthTexture( in TEST_P() 218 wgpu::Texture depthStencilTexture = CreateDepthStencilTexture( in TEST_P() 243 wgpu::Texture depthStencilTexture = CreateDepthStencilTexture( in TEST_P() [all …]
|
/third_party/skia/third_party/externals/tint/src/ast/ |
D | texture.cc | 17 TINT_INSTANTIATE_TYPEINFO(tint::ast::Texture); 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;
|
D | texture.h | 65 class Texture : public Castable<Texture, Type> { 71 Texture(ProgramID pid, const Source& src, TextureDimension dim); 73 Texture(Texture&&); 74 ~Texture() override;
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
D | vktImageTexture.cpp | 31 void Texture::checkInvariants (void) const in checkInvariants() 84 …Texture::Texture (const ImageType imageType, const tcu::IVec3& imageLayerSize, const int layers, c… 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 in size() 166 int Texture::dimension (void) const in dimension() 190 int Texture::layerDimension (void) const in layerDimension()
|
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& texture, const VkFormat format, const … in makeImageCreateInfo() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageTexture.cpp | 31 void Texture::checkInvariants (void) const in checkInvariants() 84 …Texture::Texture (const ImageType imageType, const tcu::IVec3& imageLayerSize, const int layers, c… 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 in size() 166 int Texture::dimension (void) const in dimension() 190 int Texture::layerDimension (void) const in layerDimension()
|
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& texture, const VkFormat format, const … in makeImageCreateInfo() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cSparseTextureTests.cpp | 170 const GLuint Texture::m_invalid_id = -1; 178 void Texture::Bind(const Functions& gl, GLuint id, GLenum target) in Bind() 189 void Texture::Generate(const Functions& gl, GLuint& out_id) in Generate() 209 void Texture::Delete(const Functions& gl, GLuint& id) in Delete() 225 void Texture::Storage(const Functions& gl, GLenum target, GLsizei levels, GLenum internal_format, G… in Storage() 265 void Texture::GetData(const glw::Functions& gl, glw::GLint level, glw::GLenum target, glw::GLenum f… in GetData() 286 void Texture::SubImage(const glw::Functions& gl, glw::GLenum target, glw::GLint level, glw::GLint x… in SubImage() 376 Texture::Generate(gl, texture); in iterate() 377 Texture::Bind(gl, texture, target); in iterate() 382 Texture::Delete(gl, texture); in iterate() [all …]
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
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>()->dim, ast::TextureDimension::k2d); in TEST_F()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
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() 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::CreateFromExternal( in CreateFromExternal() 607 Ref<Texture> texture = in CreateFromExternal() 608 AcquireRef(new Texture(device, textureDescriptor, TextureState::OwnedInternal)); in CreateFromExternal() 614 Ref<Texture> Texture::CreateForSwapChain(Device* device, in CreateForSwapChain() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | TextureD3D12.cpp | 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>> Texture::Create(Device* device, in Create() 549 Ref<Texture> dawnTexture = in Create() 550 AcquireRef(new Texture(device, descriptor, TextureState::OwnedExternal)); in Create() 555 MaybeError Texture::InitializeAsExternalTexture( in InitializeAsExternalTexture() [all …]
|