Home
last modified time | relevance | path

Searched refs:TextureType (Results 1 – 25 of 361) sorted by relevance

12345678910>>...15

/third_party/skia/third_party/externals/angle2/src/common/
DPackedEnums.cpp16 TextureType TextureTargetToType(TextureTarget target) in TextureTargetToType()
26 return TextureType::CubeMap; in TextureTargetToType()
28 return TextureType::CubeMapArray; in TextureTargetToType()
30 return TextureType::External; in TextureTargetToType()
32 return TextureType::Rectangle; in TextureTargetToType()
34 return TextureType::_2D; in TextureTargetToType()
36 return TextureType::_2DArray; in TextureTargetToType()
38 return TextureType::_2DMultisample; in TextureTargetToType()
40 return TextureType::_2DMultisampleArray; in TextureTargetToType()
42 return TextureType::_3D; in TextureTargetToType()
[all …]
DPackedGLEnums_autogen.cpp2137 TextureType FromGLenum<TextureType>(GLenum from) in FromGLenum()
2142 return TextureType::_2D; in FromGLenum()
2144 return TextureType::_2DArray; in FromGLenum()
2146 return TextureType::_2DMultisample; in FromGLenum()
2148 return TextureType::_2DMultisampleArray; in FromGLenum()
2150 return TextureType::_3D; in FromGLenum()
2152 return TextureType::External; in FromGLenum()
2154 return TextureType::Rectangle; in FromGLenum()
2156 return TextureType::CubeMap; in FromGLenum()
2158 return TextureType::CubeMapArray; in FromGLenum()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/common/
DPackedEnums.cpp16 TextureType TextureTargetToType(TextureTarget target) in TextureTargetToType()
26 return TextureType::CubeMap; in TextureTargetToType()
28 return TextureType::External; in TextureTargetToType()
30 return TextureType::Rectangle; in TextureTargetToType()
32 return TextureType::_2D; in TextureTargetToType()
34 return TextureType::_2DArray; in TextureTargetToType()
36 return TextureType::_2DMultisample; in TextureTargetToType()
38 return TextureType::_2DMultisampleArray; in TextureTargetToType()
40 return TextureType::_3D; in TextureTargetToType()
42 return TextureType::InvalidEnum; in TextureTargetToType()
[all …]
DPackedGLEnums_autogen.cpp2074 TextureType FromGLenum<TextureType>(GLenum from) in FromGLenum()
2079 return TextureType::_2D; in FromGLenum()
2081 return TextureType::_2DArray; in FromGLenum()
2083 return TextureType::_2DMultisample; in FromGLenum()
2085 return TextureType::_2DMultisampleArray; in FromGLenum()
2087 return TextureType::_3D; in FromGLenum()
2089 return TextureType::External; in FromGLenum()
2091 return TextureType::Rectangle; in FromGLenum()
2093 return TextureType::CubeMap; in FromGLenum()
2095 return TextureType::InvalidEnum; in FromGLenum()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DImageIndex.cpp68 TextureTarget TextureTypeToTarget(TextureType type, GLint layerIndex) in TextureTypeToTarget()
70 if (type == TextureType::CubeMap) in TextureTypeToTarget()
84 : mType(TextureType::InvalidEnum), mLevelIndex(0), mLayerIndex(0), mLayerCount(kEntireLevel) in ImageIndex()
100 case TextureType::_2DArray: in isLayered()
101 case TextureType::_2DMultisampleArray: in isLayered()
102 case TextureType::CubeMap: in isLayered()
103 case TextureType::_3D: in isLayered()
104 case TextureType::CubeMapArray: in isLayered()
115 ASSERT(!hasLayer() || ((mType != TextureType::CubeMap) == usesTex3D())); in has3DLayer()
116 return (hasLayer() && mType != TextureType::CubeMap); in has3DLayer()
[all …]
DImageIndex.h29 TextureType getType() const { return mType; } in getType()
55 static ImageIndex MakeFromType(TextureType type,
75 ImageIndex(TextureType type, GLint leveIndex, GLint layerIndex, GLint layerCount);
77 TextureType mType;
102 static ImageIndexIterator MakeGeneric(TextureType type,
113 ImageIndexIterator(TextureType type,
127 TextureTarget TextureTypeToTarget(TextureType type, GLint layerIndex);
DContext_gles_3_2_autogen.h53 void getTexParameterIiv(TextureType targetPacked, GLenum pname, GLint *params); \
54 void getTexParameterIuiv(TextureType targetPacked, GLenum pname, GLuint *params); \
74 void texBuffer(TextureType targetPacked, GLenum internalformat, BufferID bufferPacked); \
75 void texBufferRange(TextureType targetPacked, GLenum internalformat, BufferID bufferPacked, \
77 void texParameterIiv(TextureType targetPacked, GLenum pname, const GLint *params); \
78 void texParameterIuiv(TextureType targetPacked, GLenum pname, const GLuint *params); \
79 void texStorage3DMultisample(TextureType targetPacked, GLsizei samples, GLenum internalformat, \
DvalidationES.cpp634 bool ValidTextureTarget(const Context *context, TextureType type) in ValidTextureTarget()
638 case TextureType::_2D: in ValidTextureTarget()
639 case TextureType::CubeMap: in ValidTextureTarget()
642 case TextureType::Rectangle: in ValidTextureTarget()
645 case TextureType::_3D: in ValidTextureTarget()
649 case TextureType::_2DArray: in ValidTextureTarget()
652 case TextureType::_2DMultisample: in ValidTextureTarget()
655 case TextureType::_2DMultisampleArray: in ValidTextureTarget()
658 case TextureType::CubeMapArray: in ValidTextureTarget()
662 case TextureType::VideoImage: in ValidTextureTarget()
[all …]
DContext_gles_ext_autogen.h116 void bufferStorageMem(TextureType targetPacked, GLsizeiptr size, MemoryObjectID memoryPacked, \
127 void texStorageMem2D(TextureType targetPacked, GLsizei levels, GLenum internalFormat, \
130 void texStorageMem2DMultisample(TextureType targetPacked, GLsizei samples, \
134 void texStorageMem3D(TextureType targetPacked, GLsizei levels, GLenum internalFormat, \
137 void texStorageMem3DMultisample(TextureType targetPacked, GLsizei samples, \
240 void eGLImageTargetTexture2D(TextureType targetPacked, GLeglImageOES image); \
338 void texStorageMemFlags2D(TextureType targetPacked, GLsizei levels, GLenum internalFormat, \
343 TextureType targetPacked, GLsizei samples, GLenum internalFormat, GLsizei width, \
348 TextureType targetPacked, GLsizei levels, GLenum internalFormat, GLsizei width, \
352 TextureType targetPacked, GLsizei samples, GLenum internalFormat, GLsizei width, \
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DImageIndex.cpp57 TextureTarget TextureTypeToTarget(TextureType type, GLint layerIndex) in TextureTypeToTarget()
59 if (type == TextureType::CubeMap) in TextureTypeToTarget()
86 : mType(TextureType::InvalidEnum), mLevelIndex(0), mLayerIndex(0), mLayerCount(kEntireLevel) in ImageIndex()
102 case TextureType::_2DArray: in isLayered()
103 case TextureType::_2DMultisampleArray: in isLayered()
104 case TextureType::CubeMap: in isLayered()
105 case TextureType::_3D: in isLayered()
116 ASSERT(!hasLayer() || ((mType != TextureType::CubeMap) == usesTex3D())); in has3DLayer()
117 return (hasLayer() && mType != TextureType::CubeMap); in has3DLayer()
122 return mType == TextureType::_3D || mType == TextureType::_2DArray || in usesTex3D()
[all …]
DImageIndex.h29 TextureType getType() const { return mType; } in getType()
55 static ImageIndex MakeFromType(TextureType type,
75 ImageIndex(TextureType type, GLint leveIndex, GLint layerIndex, GLint layerCount);
77 TextureType mType;
102 static ImageIndexIterator MakeGeneric(TextureType type,
113 ImageIndexIterator(TextureType type,
DvalidationES.cpp493 bool ValidTextureTarget(const Context *context, TextureType type) in ValidTextureTarget()
497 case TextureType::_2D: in ValidTextureTarget()
498 case TextureType::CubeMap: in ValidTextureTarget()
501 case TextureType::Rectangle: in ValidTextureTarget()
504 case TextureType::_3D: in ValidTextureTarget()
508 case TextureType::_2DArray: in ValidTextureTarget()
511 case TextureType::_2DMultisample: in ValidTextureTarget()
514 case TextureType::_2DMultisampleArray: in ValidTextureTarget()
522 bool ValidTexture2DTarget(const Context *context, TextureType type) in ValidTexture2DTarget()
526 case TextureType::_2D: in ValidTexture2DTarget()
[all …]
DTexture.cpp96 TextureState::TextureState(TextureType type) in TextureState()
105 mImageDescs((IMPLEMENTATION_MAX_TEXTURE_LEVELS + 1) * (type == TextureType::CubeMap ? 6 : 1)), in TextureState()
151 if (mType == TextureType::_3D) in getMipmapMaxLevel()
193 ASSERT(mType == TextureType::CubeMap); in isCubeComplete()
220 ASSERT(mType != TextureType::CubeMap || isCubeComplete()); in getBaseLevelDesc()
288 if (mType == TextureType::CubeMap && baseImageDesc.size.width != baseImageDesc.size.height) in computeSamplerCompleteness()
316 if (mType != TextureType::_2DMultisample && IsMipmapFiltered(samplerState)) in computeSamplerCompleteness()
333 if (mType == TextureType::CubeMap && !isCubeComplete()) in computeSamplerCompleteness()
347 if (mType == TextureType::External) in computeSamplerCompleteness()
413 if (mType == TextureType::CubeMap) in computeMipmapCompleteness()
[all …]
DContext_gles_ext_autogen.h76 void getTexParameterfvRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize, \
78 void getTexParameterivRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize, \
96 void texParameterfvRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize, \
98 void texParameterivRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize, \
178 void texParameterIivRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize, \
180 void texParameterIuivRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize, \
182 void getTexParameterIivRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize, \
184 void getTexParameterIuivRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize, \
204 void invalidateTexture(TextureType targetPacked); \
327 void bufferStorageMem(TextureType targetPacked, GLsizeiptr size, GLuint memory, \
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_utils.cpp412 gl::TextureType Get2DTextureType(uint32_t layerCount, GLint samples) in Get2DTextureType()
418 return gl::TextureType::_2DMultisampleArray; in Get2DTextureType()
422 return gl::TextureType::_2DArray; in Get2DTextureType()
429 return gl::TextureType::_2DMultisample; in Get2DTextureType()
433 return gl::TextureType::_2D; in Get2DTextureType()
813 VkImageType GetImageType(gl::TextureType textureType) in GetImageType()
817 case gl::TextureType::_2D: in GetImageType()
818 case gl::TextureType::_2DArray: in GetImageType()
819 case gl::TextureType::_2DMultisample: in GetImageType()
820 case gl::TextureType::_2DMultisampleArray: in GetImageType()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DDynamicImage2DHLSL.cpp135 std::string Image2DHLSLTextureString(Image2DHLSLGroup group, gl::TextureType type) in Image2DHLSLTextureString()
161 case gl::TextureType::_2D: in Image2DHLSLTextureString()
164 case gl::TextureType::_3D: in Image2DHLSLTextureString()
167 case gl::TextureType::_2DArray: in Image2DHLSLTextureString()
728 case gl::TextureType::_2D: in OutputHLSLImage2DUniformGroup()
731 case gl::TextureType::_3D: in OutputHLSLImage2DUniformGroup()
734 case gl::TextureType::_2DArray: in OutputHLSLImage2DUniformGroup()
735 case gl::TextureType::CubeMap: in OutputHLSLImage2DUniformGroup()
760 out << "uniform " << Image2DHLSLTextureString(textureGroup, gl::TextureType::_2D) << " " in OutputHLSLImage2DUniformGroup()
767 out << "uniform " << Image2DHLSLTextureString(textureGroup, gl::TextureType::_3D) << " " in OutputHLSLImage2DUniformGroup()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DDynamicImage2DHLSL.cpp135 std::string Image2DHLSLTextureString(Image2DHLSLGroup group, gl::TextureType type) in Image2DHLSLTextureString()
161 case gl::TextureType::_2D: in Image2DHLSLTextureString()
164 case gl::TextureType::_3D: in Image2DHLSLTextureString()
167 case gl::TextureType::_2DArray: in Image2DHLSLTextureString()
728 case gl::TextureType::_2D: in OutputHLSLImage2DUniformGroup()
731 case gl::TextureType::_3D: in OutputHLSLImage2DUniformGroup()
734 case gl::TextureType::_2DArray: in OutputHLSLImage2DUniformGroup()
735 case gl::TextureType::CubeMap: in OutputHLSLImage2DUniformGroup()
760 out << "uniform " << Image2DHLSLTextureString(textureGroup, gl::TextureType::_2D) << " " in OutputHLSLImage2DUniformGroup()
767 out << "uniform " << Image2DHLSLTextureString(textureGroup, gl::TextureType::_3D) << " " in OutputHLSLImage2DUniformGroup()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
Drenderergl_utils.h122 gl::TextureType type,
124 bool SupportsTexImage(gl::TextureType type);
125 bool UseTexImage2D(gl::TextureType textureType);
126 bool UseTexImage3D(gl::TextureType textureType);
127 GLenum GetTextureBindingQuery(gl::TextureType textureType);
128 GLenum GetTextureBindingTarget(gl::TextureType textureType);
132 gl::TextureType GetNativeTextureType(gl::TextureType type);
DBlitGL.cpp269 gl::TextureType textureType, in copyImageToLUMAWorkaroundTexture()
298 gl::TextureType textureType, in copySubImageToLUMAWorkaroundTexture()
309 ANGLE_TRY(getBlitProgram(context, gl::TextureType::_2D, GL_FLOAT, GL_FLOAT, &blitProgram)); in copySubImageToLUMAWorkaroundTexture()
321 mStateManager->bindTexture(gl::TextureType::_2D, mScratchTextures[0]); in copySubImageToLUMAWorkaroundTexture()
340 mStateManager->bindTexture(gl::TextureType::_2D, mScratchTextures[1]); in copySubImageToLUMAWorkaroundTexture()
360 mStateManager->bindTexture(gl::TextureType::_2D, mScratchTextures[0]); in copySubImageToLUMAWorkaroundTexture()
449 ANGLE_TRY(getBlitProgram(context, gl::TextureType::_2D, GL_FLOAT, GL_FLOAT, &blitProgram)); in blitColorBufferWithShader()
490 mStateManager->bindTexture(gl::TextureType::_2D, textureId); in blitColorBufferWithShader()
539 mStateManager->bindTexture(gl::TextureType::_2D, textureId); in blitColorBufferWithShader()
577 ASSERT(source->getType() == gl::TextureType::_2D || in copySubTexture()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
DTextureImpl_mock.h22 MockTextureImpl() : TextureImpl(mMockState), mMockState(gl::TextureType::_2D) {} in MockTextureImpl()
94 angle::Result(const gl::Context *, gl::TextureType, size_t, GLenum, const gl::Extents &));
97 gl::TextureType,
105 gl::TextureType,
109 angle::Result(const gl::Context *, gl::TextureType, egl::Image *));
122 gl::TextureType,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DTextureImpl_mock.h22 MockTextureImpl() : TextureImpl(mMockState), mMockState(gl::TextureType::_2D) {} in MockTextureImpl()
95 angle::Result(const gl::Context *, gl::TextureType, size_t, GLenum, const gl::Extents &));
98 gl::TextureType,
109 gl::TextureType,
113 angle::Result(const gl::Context *, gl::TextureType, egl::Image *));
127 gl::TextureType,
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
Drenderergl_utils.h78 gl::TextureType type,
80 bool SupportsTexImage(gl::TextureType type);
81 bool UseTexImage2D(gl::TextureType textureType);
82 bool UseTexImage3D(gl::TextureType textureType);
83 GLenum GetTextureBindingQuery(gl::TextureType textureType);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_utils.cpp774 gl::TextureType Get2DTextureType(uint32_t layerCount, GLint samples) in Get2DTextureType()
780 return gl::TextureType::_2DMultisampleArray; in Get2DTextureType()
784 return gl::TextureType::_2DArray; in Get2DTextureType()
791 return gl::TextureType::_2DMultisample; in Get2DTextureType()
795 return gl::TextureType::_2D; in Get2DTextureType()
1460 VkImageType GetImageType(gl::TextureType textureType) in GetImageType()
1464 case gl::TextureType::_2D: in GetImageType()
1465 case gl::TextureType::_2DArray: in GetImageType()
1466 case gl::TextureType::_2DMultisample: in GetImageType()
1467 case gl::TextureType::_2DMultisampleArray: in GetImageType()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DSampler.hpp68 enum TextureType ENUM_UNDERLYING_TYPE_UNSIGNED_INT
149 TextureType textureType : BITS(TEXTURE_LAST);
175 void setTextureLevel(int face, int level, Surface *surface, TextureType type);
212 TextureType getTextureType() const;
221 TextureType textureType;
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fNegativeShaderImageLoadStoreTests.cpp118 …mageTypeDeclaration (const tcu::TextureFormat& format, glu::TextureTestUtil::TextureType imageType) in getShaderImageTypeDeclaration()
160 std::string getShaderImageTypeExtensionString (glu::TextureTestUtil::TextureType imageType) in getShaderImageTypeExtensionString()
189 std::string getShaderImageParamP (glu::TextureTestUtil::TextureType imageType) in getShaderImageParamP()
342 …ImageOperation function, MemoryQualifier memory, glu::TextureTestUtil::TextureType imageType, cons… in generateShaderSource()
370 …ImageOperation function, MemoryQualifier memory, glu::TextureTestUtil::TextureType imageType, cons… in testShader()
393 void image_store (NegativeTestContext& ctx, glu::TextureTestUtil::TextureType imageType) in image_store()
431 void image_load (NegativeTestContext& ctx, glu::TextureTestUtil::TextureType imageType) in image_load()
469 void image_atomic (NegativeTestContext& ctx, glu::TextureTestUtil::TextureType imageType) in image_atomic()
516 void image_atomic_exchange (NegativeTestContext& ctx, glu::TextureTestUtil::TextureType imageType) in image_atomic_exchange()
561 image_load(ctx, (glu::TextureTestUtil::TextureType)Type); in loadFuncWrapper()
[all …]

12345678910>>...15