Home
last modified time | relevance | path

Searched refs:TextureType (Results 1 - 25 of 216) sorted by relevance

123456789

/third_party/skia/third_party/externals/angle2/src/common/
H A 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 in TextureTargetToType()
[all...]
H A 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 in FromGLenum()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A 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 in has3DLayer()
[all...]
H A 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);
H A 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, \
H A DImageIndexIterator_unittest.cpp35 EXPECT_EQ(TextureType::_2D, nextIndex.getType()); in TEST()
63 EXPECT_EQ(TextureType::CubeMap, nextIndex.getType()); in TEST()
87 EXPECT_EQ(TextureType::_3D, nextIndex.getType()); in TEST()
115 EXPECT_EQ(TextureType::_2DArray, nextIndex.getType()); in TEST()
145 EXPECT_EQ(TextureType::_2DArray, nextIndex.getType()); in TEST()
H A DvalidationES32_autogen.h165 TextureType targetPacked,
170 TextureType targetPacked,
250 TextureType targetPacked,
255 TextureType targetPacked,
262 TextureType targetPacked,
267 TextureType targetPacked,
272 TextureType targetPacked,
H A DState.cpp99 bool IsTextureCompatibleWithSampler(TextureType texture, TextureType sampler) in IsTextureCompatibleWithSampler()
106 if (sampler == TextureType::VideoImage) in IsTextureCompatibleWithSampler()
108 if (texture == TextureType::VideoImage || texture == TextureType::_2D) in IsTextureCompatibleWithSampler()
486 mSamplerTextures[TextureType::_2D].resize(mCaps.maxCombinedTextureImageUnits); in initialize()
487 mSamplerTextures[TextureType::CubeMap].resize(mCaps.maxCombinedTextureImageUnits); in initialize()
490 mSamplerTextures[TextureType::_3D].resize(mCaps.maxCombinedTextureImageUnits); in initialize()
494 mSamplerTextures[TextureType::_2DArray].resize(mCaps.maxCombinedTextureImageUnits); in initialize()
498 mSamplerTextures[TextureType in initialize()
[all...]
H A 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 targetPacke
[all...]
H A DTexture.cpp102 bool IsMipmapSupported(const TextureType &type) in IsMipmapSupported()
104 if (type == TextureType::_2DMultisample || type == TextureType::Buffer) in IsMipmapSupported()
136 TextureState::TextureState(TextureType type) in TextureState()
149 mImageDescs((IMPLEMENTATION_MAX_TEXTURE_LEVELS + 1) * (type == TextureType::CubeMap ? 6 : 1)), in TextureState()
195 if (mType == TextureType::_3D) in getMipmapMaxLevel()
237 ASSERT(mType == TextureType::CubeMap); in isCubeComplete()
264 ASSERT(mType != TextureType::CubeMap || isCubeComplete()); in getBaseLevelDesc()
270 ASSERT(mType != TextureType::CubeMap || isCubeComplete()); in getLevelZeroDesc()
325 if (mType == TextureType in computeSamplerCompleteness()
[all...]
H A DvalidationESEXT_autogen.h171 TextureType targetPacked,
183 TextureType targetPacked,
196 TextureType targetPacked,
209 TextureType targetPacked,
334 TextureType targetPacked,
341 TextureType targetPacked,
408 TextureType targetPacked,
414 TextureType targetPacked,
704 TextureType targetPacked,
710 TextureType targetPacke
[all...]
H A 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 in ValidTextureTarget()
[all...]
H A DvalidationES2.cpp196 TextureType textureType, in IsValidCopyTextureDestinationTarget()
202 bool IsValidCopyTextureSourceTarget(const Context *context, TextureType type) in IsValidCopyTextureSourceTarget()
206 case TextureType::_2D: in IsValidCopyTextureSourceTarget()
208 case TextureType::Rectangle: in IsValidCopyTextureSourceTarget()
210 case TextureType::External: in IsValidCopyTextureSourceTarget()
212 case TextureType::VideoImage: in IsValidCopyTextureSourceTarget()
219 bool IsValidCopyTextureSourceLevel(const Context *context, TextureType type, GLint level) in IsValidCopyTextureSourceLevel()
236 TextureType type, in IsValidCopyTextureDestinationLevel()
255 case TextureType::_2D: in IsValidCopyTextureDestinationLevel()
258 case TextureType in IsValidCopyTextureDestinationLevel()
[all...]
H A DContext_gles_2_0_autogen.h20 void bindTexture(TextureType targetPacked, TextureID texturePacked); \
79 void generateMipmap(TextureType targetPacked); \
106 void getTexParameterfv(TextureType targetPacked, GLenum pname, GLfloat *params); \
107 void getTexParameteriv(TextureType targetPacked, GLenum pname, GLint *params); \
146 void texParameterf(TextureType targetPacked, GLenum pname, GLfloat param); \
147 void texParameterfv(TextureType targetPacked, GLenum pname, const GLfloat *params); \
148 void texParameteri(TextureType targetPacked, GLenum pname, GLint param); \
149 void texParameteriv(TextureType targetPacked, GLenum pname, const GLint *params); \
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
H A 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 in OutputHLSLImage2DUniformGroup()
[all...]
H A DTextureD3D.h57 gl::TextureType type,
63 gl::TextureType type,
70 gl::TextureType type,
96 gl::TextureType type,
299 gl::TextureType type,
308 gl::TextureType type,
429 gl::TextureType type,
438 gl::TextureType type,
562 gl::TextureType type,
571 gl::TextureType typ
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A 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);
H A 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 in copySubTexture()
[all...]
H A Drenderergl_utils.cpp2276 gl::TextureType type, in SupportsNativeRendering()
2304 bool SupportsTexImage(gl::TextureType type) in SupportsTexImage()
2309 case gl::TextureType::_2DMultisample: in SupportsTexImage()
2310 case gl::TextureType::_2DMultisampleArray: in SupportsTexImage()
2318 bool UseTexImage2D(gl::TextureType textureType) in UseTexImage2D()
2320 return textureType == gl::TextureType::_2D || textureType == gl::TextureType::CubeMap || in UseTexImage2D()
2321 textureType == gl::TextureType::Rectangle || in UseTexImage2D()
2322 textureType == gl::TextureType::_2DMultisample || in UseTexImage2D()
2323 textureType == gl::TextureType in UseTexImage2D()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A 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 in GetImageType()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A 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/vk-gl-cts/modules/gles31/functional/
H A Des31fNegativeShaderImageLoadStoreTests.cpp118 std::string getShaderImageTypeDeclaration (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 std::string generateShaderSource (ImageOperation function, MemoryQualifier memory, glu::TextureTestUtil::TextureType imageType, const tcu::TextureFormat& format, glu::ShaderType shaderType) in generateShaderSource()
370 void testShader (NegativeTestContext& ctx, ImageOperation function, MemoryQualifier memory, glu::TextureTestUtil::TextureType imageType, const tcu::TextureFormat& format) 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)Typ in loadFuncWrapper()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
H A 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/skia/third_party/externals/angle2/src/libANGLE/capture/
H A Dcapture_gles_3_2_autogen.h169 TextureType targetPacked,
174 TextureType targetPacked,
255 TextureType targetPacked,
260 TextureType targetPacked,
267 TextureType targetPacked,
272 TextureType targetPacked,
277 TextureType targetPacked,
459 TextureType targetPacked,
465 TextureType targetPacked,
541 TextureType targetPacke
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/
H A DTextureNULL.h119 gl::TextureType type,
125 gl::TextureType type,
136 gl::TextureType type,
140 gl::TextureType type,
156 gl::TextureType type,

Completed in 31 milliseconds

123456789