Home
last modified time | relevance | path

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

12345

/external/angle/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 …]
DPackedGLEnums_autogen.h505 enum class TextureTarget : uint8_t enum
529 TextureTarget FromGLenum<TextureTarget>(GLenum from);
530 GLenum ToGLenum(TextureTarget from);
531 std::ostream &operator<<(std::ostream &os, TextureTarget value);
/external/angle/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;
186 bool computeLevelCompleteness(TextureTarget target, size_t level) const;
189 TextureTarget getBaseImageTarget() const;
191 void setImageDesc(TextureTarget target, size_t level, const ImageDesc &desc);
203 void clearImageDesc(TextureTarget target, size_t level);
348 const Extents &getExtents(TextureTarget target, size_t level) const;
349 size_t getWidth(TextureTarget target, size_t level) const;
350 size_t getHeight(TextureTarget target, size_t level) const;
351 size_t getDepth(TextureTarget target, size_t level) const;
352 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.h180 TextureTarget textargetPacked, TextureID texturePacked, \
255 void framebufferTexture3D(GLenum target, GLenum attachment, TextureTarget textargetPacked, \
273 TextureTarget destTargetPacked, TextureID destIdPacked, GLint destLevel, \
277 TextureTarget destTargetPacked, TextureID destIdPacked, GLint destLevel, \
282 void getTexImage(TextureTarget targetPacked, GLint level, GLenum format, GLenum type, \
323 void texImage2DRobust(TextureTarget targetPacked, GLint level, GLint internalformat, \
330 void texSubImage2DRobust(TextureTarget targetPacked, GLint level, GLint xoffset, \
333 void texImage3DRobust(TextureTarget targetPacked, GLint level, GLint internalformat, \
336 void texSubImage3DRobust(TextureTarget targetPacked, GLint level, GLint xoffset, \
341 TextureTarget targetPacked, GLint level, GLenum internalformat, GLsizei width, \
[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.cpp38 size_t GetImageDescIndex(TextureTarget target, size_t level) in GetImageDescIndex()
237 angle::EnumIterator<TextureTarget> face = kCubeMapTextureTargetMin; in isCubeComplete()
475 for (TextureTarget face : AllCubeFaceTextureTargets()) in computeMipmapCompleteness()
495 bool TextureState::computeLevelCompleteness(TextureTarget target, size_t level) const in computeLevelCompleteness()
553 TextureTarget TextureState::getBaseImageTarget() const in getBaseImageTarget()
571 TextureTarget target = TextureTypeToTarget(mType, 0); in getEnabledLevelCount()
633 const ImageDesc &TextureState::getImageDesc(TextureTarget target, size_t level) const in getImageDesc()
640 void TextureState::setImageDesc(TextureTarget target, size_t level, const ImageDesc &desc) in setImageDesc()
705 for (TextureTarget face : AllCubeFaceTextureTargets()) in setImageDescChain()
728 void TextureState::clearImageDesc(TextureTarget target, size_t level) in clearImageDesc()
[all …]
DvalidationES2.cpp173 bool IsValidCopyTextureDestinationTargetEnum(const Context *context, TextureTarget target) in IsValidCopyTextureDestinationTargetEnum()
177 case TextureTarget::_2D: in IsValidCopyTextureDestinationTargetEnum()
178 case TextureTarget::CubeMapNegativeX: in IsValidCopyTextureDestinationTargetEnum()
179 case TextureTarget::CubeMapNegativeY: in IsValidCopyTextureDestinationTargetEnum()
180 case TextureTarget::CubeMapNegativeZ: in IsValidCopyTextureDestinationTargetEnum()
181 case TextureTarget::CubeMapPositiveX: in IsValidCopyTextureDestinationTargetEnum()
182 case TextureTarget::CubeMapPositiveY: in IsValidCopyTextureDestinationTargetEnum()
183 case TextureTarget::CubeMapPositiveZ: in IsValidCopyTextureDestinationTargetEnum()
186 case TextureTarget::Rectangle: in IsValidCopyTextureDestinationTargetEnum()
196 TextureTarget target) in IsValidCopyTextureDestinationTarget()
[all …]
DvalidationESEXT_autogen.h56 TextureTarget destTargetPacked,
67 TextureTarget destTargetPacked,
106 TextureTarget targetPacked,
119 TextureTarget targetPacked,
124 TextureTarget targetPacked,
333 TextureTarget targetPacked,
354 TextureTarget targetPacked,
365 TextureTarget targetPacked,
377 TextureTarget targetPacked,
390 TextureTarget targetPacked,
[all …]
DContext_gles_2_0_autogen.h38 void compressedTexImage2D(TextureTarget targetPacked, GLint level, GLenum internalformat, \
41 void compressedTexSubImage2D(TextureTarget targetPacked, GLint level, GLint xoffset, \
44 void copyTexImage2D(TextureTarget targetPacked, GLint level, GLenum internalformat, GLint x, \
46 void copyTexSubImage2D(TextureTarget targetPacked, GLint level, GLint xoffset, GLint yoffset, \
72 void framebufferTexture2D(GLenum target, GLenum attachment, TextureTarget textargetPacked, \
144 void texImage2D(TextureTarget targetPacked, GLint level, GLint internalformat, GLsizei width, \
150 void texSubImage2D(TextureTarget targetPacked, GLint level, GLint xoffset, GLint yoffset, \
DvalidationES2_autogen.h75 TextureTarget targetPacked,
84 TextureTarget targetPacked,
94 TextureTarget targetPacked,
103 TextureTarget targetPacked,
153 TextureTarget textargetPacked,
321 TextureTarget targetPacked,
347 TextureTarget targetPacked,
DContext_gles_3_0_autogen.h29 void compressedTexImage3D(TextureTarget targetPacked, GLint level, GLenum internalformat, \
32 void compressedTexSubImage3D(TextureTarget targetPacked, GLint level, GLint xoffset, \
38 void copyTexSubImage3D(TextureTarget targetPacked, GLint level, GLint xoffset, GLint yoffset, \
119 void texImage3D(TextureTarget targetPacked, GLint level, GLint internalformat, GLsizei width, \
126 void texSubImage3D(TextureTarget targetPacked, GLint level, GLint xoffset, GLint yoffset, \
/external/angle/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,
DTextureGL.h133 gl::TextureTarget target,
221 gl::TextureTarget target,
230 gl::TextureTarget target,
237 gl::TextureTarget target,
248 gl::TextureTarget target,
264 gl::TextureTarget target,
273 const LevelInfoGL &getLevelInfo(gl::TextureTarget target, size_t level) const;
Drenderergl_utils.h129 GLenum GetTextureBindingTarget(gl::TextureTarget textureTarget);
133 gl::TextureTarget GetNativeTextureTarget(gl::TextureTarget target);
/external/angle/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 …]
DTextureStorage9.h36 gl::TextureTarget target,
88 gl::TextureTarget target,
122 gl::TextureTarget target,
159 gl::TextureTarget target,
Drenderer9_utils.cpp241 D3DCUBEMAP_FACES ConvertCubeFace(gl::TextureTarget cubeFace) in ConvertCubeFace()
247 case gl::TextureTarget::CubeMapPositiveX: in ConvertCubeFace()
250 case gl::TextureTarget::CubeMapNegativeX: in ConvertCubeFace()
253 case gl::TextureTarget::CubeMapPositiveY: in ConvertCubeFace()
256 case gl::TextureTarget::CubeMapNegativeY: in ConvertCubeFace()
259 case gl::TextureTarget::CubeMapPositiveZ: in ConvertCubeFace()
262 case gl::TextureTarget::CubeMapNegativeZ: in ConvertCubeFace()
/external/angle/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()
DTextureImpl.h147 gl::TextureTarget target,
157 const gl::TextureTarget target,
217 virtual GLint getLevelMemorySize(gl::TextureTarget target, GLint level);
231 gl::TextureTarget target,
/external/mesa3d/src/egl/main/
Deglsurface.c297 surf->TextureTarget = val; in _eglParseSurfaceAttribList()
325 if ((surf->TextureTarget == EGL_NO_TEXTURE && surf->TextureFormat != EGL_NO_TEXTURE) || in _eglParseSurfaceAttribList()
326 (surf->TextureFormat == EGL_NO_TEXTURE && surf->TextureTarget != EGL_NO_TEXTURE)) { in _eglParseSurfaceAttribList()
327 attr = surf->TextureTarget == EGL_NO_TEXTURE ? EGL_TEXTURE_TARGET : EGL_TEXTURE_FORMAT; in _eglParseSurfaceAttribList()
386 surf->TextureTarget = EGL_NO_TEXTURE; in _eglInitSurface()
465 *value = surface->TextureTarget; in _eglQuerySurface()
752 if (surface->TextureTarget == EGL_NO_TEXTURE) in _eglBindTexImage()
/external/angle/src/libANGLE/capture/
Dcapture_gles_ext_autogen.h65 TextureTarget destTargetPacked,
77 TextureTarget destTargetPacked,
119 TextureTarget targetPacked,
134 TextureTarget targetPacked,
140 TextureTarget targetPacked,
386 TextureTarget targetPacked,
410 TextureTarget targetPacked,
422 TextureTarget targetPacked,
435 TextureTarget targetPacked,
449 TextureTarget targetPacked,
[all …]

12345