Home
last modified time | relevance | path

Searched refs:TextureTarget (Results 1 – 25 of 197) sorted by relevance

12345678

/third_party/flutter/skia/third_party/externals/angle2/src/common/
DPackedEnums.cpp16 TextureType TextureTargetToType(TextureTarget target) in TextureTargetToType()
20 case TextureTarget::CubeMapNegativeX: in TextureTargetToType()
21 case TextureTarget::CubeMapNegativeY: in TextureTargetToType()
22 case TextureTarget::CubeMapNegativeZ: in TextureTargetToType()
23 case TextureTarget::CubeMapPositiveX: in TextureTargetToType()
24 case TextureTarget::CubeMapPositiveY: in TextureTargetToType()
25 case TextureTarget::CubeMapPositiveZ: in TextureTargetToType()
27 case TextureTarget::External: in TextureTargetToType()
29 case TextureTarget::Rectangle: in TextureTargetToType()
31 case TextureTarget::_2D: in TextureTargetToType()
[all …]
DPackedGLEnums_autogen.cpp1952 TextureTarget FromGLenum<TextureTarget>(GLenum from) in FromGLenum()
1957 return TextureTarget::_2D; in FromGLenum()
1959 return TextureTarget::_2DArray; in FromGLenum()
1961 return TextureTarget::_2DMultisample; in FromGLenum()
1963 return TextureTarget::_2DMultisampleArray; in FromGLenum()
1965 return TextureTarget::_3D; in FromGLenum()
1967 return TextureTarget::External; in FromGLenum()
1969 return TextureTarget::Rectangle; in FromGLenum()
1971 return TextureTarget::CubeMapPositiveX; in FromGLenum()
1973 return TextureTarget::CubeMapNegativeX; in FromGLenum()
[all …]
DPackedEnums.h166 TextureType TextureTargetToType(TextureTarget target);
167 TextureTarget NonCubeTextureTypeToTarget(TextureType type);
169 TextureTarget CubeFaceIndexToTextureTarget(size_t face);
170 size_t CubeMapTextureTargetToFaceIndex(TextureTarget target);
171 bool IsCubeMapFaceTarget(TextureTarget target);
173 constexpr TextureTarget kCubeMapTextureTargetMin = TextureTarget::CubeMapPositiveX;
174 constexpr TextureTarget kCubeMapTextureTargetMax = TextureTarget::CubeMapNegativeZ;
175 constexpr TextureTarget kAfterCubeMapTextureTargetMax =
176 static_cast<TextureTarget>(static_cast<uint8_t>(kCubeMapTextureTargetMax) + 1);
179 angle::EnumIterator<TextureTarget> begin() const { return kCubeMapTextureTargetMin; } in begin()
[all …]
/third_party/skia/third_party/externals/angle2/src/common/
DPackedEnums.cpp16 TextureType TextureTargetToType(TextureTarget target) in TextureTargetToType()
20 case TextureTarget::CubeMapNegativeX: in TextureTargetToType()
21 case TextureTarget::CubeMapNegativeY: in TextureTargetToType()
22 case TextureTarget::CubeMapNegativeZ: in TextureTargetToType()
23 case TextureTarget::CubeMapPositiveX: in TextureTargetToType()
24 case TextureTarget::CubeMapPositiveY: in TextureTargetToType()
25 case TextureTarget::CubeMapPositiveZ: in TextureTargetToType()
27 case TextureTarget::CubeMapArray: in TextureTargetToType()
29 case TextureTarget::External: in TextureTargetToType()
31 case TextureTarget::Rectangle: in TextureTargetToType()
[all …]
DPackedGLEnums_autogen.cpp1994 TextureTarget FromGLenum<TextureTarget>(GLenum from) in FromGLenum()
1999 return TextureTarget::_2D; in FromGLenum()
2001 return TextureTarget::_2DArray; in FromGLenum()
2003 return TextureTarget::_2DMultisample; in FromGLenum()
2005 return TextureTarget::_2DMultisampleArray; in FromGLenum()
2007 return TextureTarget::_3D; in FromGLenum()
2009 return TextureTarget::External; in FromGLenum()
2011 return TextureTarget::Rectangle; in FromGLenum()
2013 return TextureTarget::CubeMapPositiveX; in FromGLenum()
2015 return TextureTarget::CubeMapNegativeX; in FromGLenum()
[all …]
DPackedEnums.h183 TextureType TextureTargetToType(TextureTarget target);
184 TextureTarget NonCubeTextureTypeToTarget(TextureType type);
186 TextureTarget CubeFaceIndexToTextureTarget(size_t face);
187 size_t CubeMapTextureTargetToFaceIndex(TextureTarget target);
188 bool IsCubeMapFaceTarget(TextureTarget target);
190 constexpr TextureTarget kCubeMapTextureTargetMin = TextureTarget::CubeMapPositiveX;
191 constexpr TextureTarget kCubeMapTextureTargetMax = TextureTarget::CubeMapNegativeZ;
192 constexpr TextureTarget kAfterCubeMapTextureTargetMax =
193 static_cast<TextureTarget>(static_cast<uint8_t>(kCubeMapTextureTargetMax) + 1);
196 angle::EnumIterator<TextureTarget> begin() const { return kCubeMapTextureTargetMin; } in begin()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DImageIndex.cpp21 GLint TextureTargetToLayer(TextureTarget target) in TextureTargetToLayer()
25 case TextureTarget::CubeMapPositiveX: in TextureTargetToLayer()
27 case TextureTarget::CubeMapNegativeX: in TextureTargetToLayer()
29 case TextureTarget::CubeMapPositiveY: in TextureTargetToLayer()
31 case TextureTarget::CubeMapNegativeY: in TextureTargetToLayer()
33 case TextureTarget::CubeMapPositiveZ: in TextureTargetToLayer()
35 case TextureTarget::CubeMapNegativeZ: in TextureTargetToLayer()
37 case TextureTarget::External: in TextureTargetToLayer()
38 case TextureTarget::Rectangle: in TextureTargetToLayer()
39 case TextureTarget::_2D: in TextureTargetToLayer()
[all …]
DTexture.h139 const ImageDesc &getImageDesc(TextureTarget target, size_t level) const;
188 bool computeLevelCompleteness(TextureTarget target, size_t level) const;
191 TextureTarget getBaseImageTarget() const;
193 void setImageDesc(TextureTarget target, size_t level, const ImageDesc &desc);
205 void clearImageDesc(TextureTarget target, size_t level);
357 const Extents &getExtents(TextureTarget target, size_t level) const;
358 size_t getWidth(TextureTarget target, size_t level) const;
359 size_t getHeight(TextureTarget target, size_t level) const;
360 size_t getDepth(TextureTarget target, size_t level) const;
361 GLsizei getSamples(TextureTarget target, size_t level) const;
[all …]
DImageIndex.h41 TextureTarget getTarget() const;
43 TextureTarget getTargetOrFirstCubeFace() const;
50 static ImageIndex MakeCubeMapFace(TextureTarget target, GLint levelIndex);
54 static ImageIndex MakeFromTarget(TextureTarget target, GLint levelIndex, GLint depth = 0);
127 TextureTarget TextureTypeToTarget(TextureType type, GLint layerIndex);
DContext_gles_ext_autogen.h152 TextureTarget textargetPacked, TextureID texturePacked, \
278 void framebufferTexture3D(GLenum target, GLenum attachment, TextureTarget textargetPacked, \
320 TextureTarget destTargetPacked, TextureID destIdPacked, GLint destLevel, \
324 TextureTarget destTargetPacked, TextureID destIdPacked, GLint destLevel, \
330 void getTexImage(TextureTarget targetPacked, GLint level, GLenum format, GLenum type, \
332 void getCompressedTexImage(TextureTarget targetPacked, GLint level, void *pixels); \
414 void texImage2DRobust(TextureTarget targetPacked, GLint level, GLint internalformat, \
421 void texSubImage2DRobust(TextureTarget targetPacked, GLint level, GLint xoffset, \
424 void texImage3DRobust(TextureTarget targetPacked, GLint level, GLint internalformat, \
427 void texSubImage3DRobust(TextureTarget targetPacked, GLint level, GLint xoffset, \
[all …]
DImageIndexIterator_unittest.cpp36 EXPECT_EQ(TextureTarget::_2D, nextIndex.getTarget()); in TEST()
58 for (TextureTarget target : AllCubeFaceTextureTargets()) in TEST()
88 EXPECT_EQ(TextureTarget::_3D, nextIndex.getTarget()); in TEST()
116 EXPECT_EQ(TextureTarget::_2DArray, nextIndex.getTarget()); in TEST()
146 EXPECT_EQ(TextureTarget::_2DArray, nextIndex.getTarget()); in TEST()
DvalidationES2.cpp174 bool IsValidCopyTextureDestinationTargetEnum(const Context *context, TextureTarget target) in IsValidCopyTextureDestinationTargetEnum()
178 case TextureTarget::_2D: in IsValidCopyTextureDestinationTargetEnum()
179 case TextureTarget::CubeMapNegativeX: in IsValidCopyTextureDestinationTargetEnum()
180 case TextureTarget::CubeMapNegativeY: in IsValidCopyTextureDestinationTargetEnum()
181 case TextureTarget::CubeMapNegativeZ: in IsValidCopyTextureDestinationTargetEnum()
182 case TextureTarget::CubeMapPositiveX: in IsValidCopyTextureDestinationTargetEnum()
183 case TextureTarget::CubeMapPositiveY: in IsValidCopyTextureDestinationTargetEnum()
184 case TextureTarget::CubeMapPositiveZ: in IsValidCopyTextureDestinationTargetEnum()
187 case TextureTarget::Rectangle: in IsValidCopyTextureDestinationTargetEnum()
197 TextureTarget target) in IsValidCopyTextureDestinationTarget()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DImageIndex.cpp21 GLint TextureTargetToLayer(TextureTarget target) in TextureTargetToLayer()
25 case TextureTarget::CubeMapPositiveX: in TextureTargetToLayer()
27 case TextureTarget::CubeMapNegativeX: in TextureTargetToLayer()
29 case TextureTarget::CubeMapPositiveY: in TextureTargetToLayer()
31 case TextureTarget::CubeMapNegativeY: in TextureTargetToLayer()
33 case TextureTarget::CubeMapPositiveZ: in TextureTargetToLayer()
35 case TextureTarget::CubeMapNegativeZ: in TextureTargetToLayer()
37 case TextureTarget::External: in TextureTargetToLayer()
39 case TextureTarget::Rectangle: in TextureTargetToLayer()
41 case TextureTarget::_2D: in TextureTargetToLayer()
[all …]
DTexture.h129 const ImageDesc &getImageDesc(TextureTarget target, size_t level) const;
159 bool computeLevelCompleteness(TextureTarget target, size_t level) const;
162 TextureTarget getBaseImageTarget() const;
164 void setImageDesc(TextureTarget target, size_t level, const ImageDesc &desc);
176 void clearImageDesc(TextureTarget target, size_t level);
296 size_t getWidth(TextureTarget target, size_t level) const;
297 size_t getHeight(TextureTarget target, size_t level) const;
298 size_t getDepth(TextureTarget target, size_t level) const;
299 GLsizei getSamples(TextureTarget target, size_t level) const;
300 bool getFixedSampleLocations(TextureTarget target, size_t level) const;
[all …]
DImageIndexIterator_unittest.cpp36 EXPECT_EQ(TextureTarget::_2D, nextIndex.getTarget()); in TEST()
58 for (TextureTarget target : AllCubeFaceTextureTargets()) in TEST()
88 EXPECT_EQ(TextureTarget::_3D, nextIndex.getTarget()); in TEST()
116 EXPECT_EQ(TextureTarget::_2DArray, nextIndex.getTarget()); in TEST()
146 EXPECT_EQ(TextureTarget::_2DArray, nextIndex.getTarget()); in TEST()
DTexture.cpp34 size_t GetImageDescIndex(TextureTarget target, size_t level) in GetImageDescIndex()
195 angle::EnumIterator<TextureTarget> face = kCubeMapTextureTargetMin; in isCubeComplete()
415 for (TextureTarget face : AllCubeFaceTextureTargets()) in computeMipmapCompleteness()
435 bool TextureState::computeLevelCompleteness(TextureTarget target, size_t level) const in computeLevelCompleteness()
493 TextureTarget TextureState::getBaseImageTarget() const in getBaseImageTarget()
531 const ImageDesc &TextureState::getImageDesc(TextureTarget target, size_t level) const in getImageDesc()
538 void TextureState::setImageDesc(TextureTarget target, size_t level, const ImageDesc &desc) in setImageDesc()
582 for (TextureTarget face : AllCubeFaceTextureTargets()) in setImageDescChain()
605 void TextureState::clearImageDesc(TextureTarget target, size_t level) in clearImageDesc()
909 size_t Texture::getWidth(TextureTarget target, size_t level) const in getWidth()
[all …]
DImageIndex.h41 TextureTarget getTarget() const;
43 TextureTarget getTargetOrFirstCubeFace() const;
50 static ImageIndex MakeCubeMapFace(TextureTarget target, GLint levelIndex);
54 static ImageIndex MakeFromTarget(TextureTarget target, GLint levelIndex, GLint depth);
DvalidationESEXT_autogen.h56 TextureTarget destTargetPacked,
67 TextureTarget destTargetPacked,
252 TextureTarget targetPacked,
273 TextureTarget targetPacked,
284 TextureTarget targetPacked,
296 TextureTarget targetPacked,
309 TextureTarget targetPacked,
319 TextureTarget targetPacked,
330 TextureTarget targetPacked,
341 TextureTarget targetPacked,
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libGL/
Dentry_points_gl_1_2_autogen.cpp42 GLenumToString(GLenumGroup::TextureTarget, target), level, xoffset, yoffset, zoffset, x, y, in CopyTexSubImage3D()
48 TextureTarget targetPacked = FromGL<TextureTarget>(target); in CopyTexSubImage3D()
109 GLenumToString(GLenumGroup::TextureTarget, target), level, internalformat, width, height, in TexImage3D()
116 TextureTarget targetPacked = FromGL<TextureTarget>(target); in TexImage3D()
147 GLenumToString(GLenumGroup::TextureTarget, target), level, xoffset, yoffset, zoffset, width, in TexSubImage3D()
154 TextureTarget targetPacked = FromGL<TextureTarget>(target); in TexSubImage3D()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DBlitGL.h50 gl::TextureTarget target,
60 gl::TextureTarget target,
79 gl::TextureTarget destTarget,
97 gl::TextureTarget destTarget,
113 gl::TextureTarget destTarget,
130 gl::TextureTarget target,
DTextureGL.h132 gl::TextureTarget target,
211 gl::TextureTarget target,
220 gl::TextureTarget target,
227 gl::TextureTarget target,
237 gl::TextureTarget target,
253 gl::TextureTarget target,
262 const LevelInfoGL &getLevelInfo(gl::TextureTarget target, size_t level) const;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DBlitGL.h52 gl::TextureTarget target,
62 gl::TextureTarget target,
88 const gl::TextureTarget destTarget,
100 gl::TextureTarget destTarget,
118 gl::TextureTarget destTarget,
135 gl::TextureTarget destTarget,
156 gl::TextureTarget target,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DTextureImpl.cpp91 gl::TextureTarget target, in copy3DTexture()
106 const gl::TextureTarget target, in copy3DSubTexture()
142 GLint TextureImpl::getLevelMemorySize(gl::TextureTarget target, GLint level) in getLevelMemorySize()
168 gl::TextureTarget target, in getTexImage()
181 gl::TextureTarget target, in getCompressedTexImage()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DTextureStorage9.cpp159 gl::TextureTarget target, in getSurfaceLevel()
164 ASSERT(target == gl::TextureTarget::_2D); in getSurfaceLevel()
195 ANGLE_TRY(getSurfaceLevel(context, gl::TextureTarget::_2D, index.getLevelIndex(), false, in getRenderTarget()
218 ANGLE_TRY(getSurfaceLevel(context, gl::TextureTarget::_2D, sourceIndex.getLevelIndex(), false, in generateMipmap()
223 getSurfaceLevel(context, gl::TextureTarget::_2D, destIndex.getLevelIndex(), true, &lower)); in generateMipmap()
261 ANGLE_TRY(getSurfaceLevel(context, gl::TextureTarget::_2D, i, false, &srcSurf)); in copyToStorage()
264 ANGLE_TRY(dest9->getSurfaceLevel(context, gl::TextureTarget::_2D, i, true, &dstSurf)); in copyToStorage()
289 gl::TextureTarget target, in getSurfaceLevel()
294 ASSERT(target == gl::TextureTarget::_2D); in getSurfaceLevel()
408 gl::TextureTarget target, in getSurfaceLevel()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DTextureStorage9.cpp163 gl::TextureTarget target, in getSurfaceLevel()
168 ASSERT(target == gl::TextureTarget::_2D); in getSurfaceLevel()
212 ANGLE_TRY(getSurfaceLevel(context, gl::TextureTarget::_2D, index.getLevelIndex(), false, in getRenderTarget()
235 ANGLE_TRY(getSurfaceLevel(context, gl::TextureTarget::_2D, sourceIndex.getLevelIndex(), false, in generateMipmap()
240 getSurfaceLevel(context, gl::TextureTarget::_2D, destIndex.getLevelIndex(), true, &lower)); in generateMipmap()
278 ANGLE_TRY(getSurfaceLevel(context, gl::TextureTarget::_2D, i, false, &srcSurf)); in copyToStorage()
281 ANGLE_TRY(dest9->getSurfaceLevel(context, gl::TextureTarget::_2D, i, true, &dstSurf)); in copyToStorage()
308 gl::TextureTarget target, in getSurfaceLevel()
313 ASSERT(target == gl::TextureTarget::_2D); in getSurfaceLevel()
441 gl::TextureTarget target, in getSurfaceLevel()
[all …]

12345678