Home
last modified time | relevance | path

Searched refs:CubeMap (Results 1 – 25 of 40) sorted by relevance

12

/external/angle/src/libANGLE/
DImageIndex.cpp70 if (type == TextureType::CubeMap) in TextureTypeToTarget()
102 case TextureType::CubeMap: in isLayered()
115 ASSERT(!hasLayer() || ((mType != TextureType::CubeMap) == usesTex3D())); in has3DLayer()
116 return (hasLayer() && mType != TextureType::CubeMap); in has3DLayer()
144 ASSERT(mType == TextureType::CubeMap); in cubeMapFaceIndex()
156 return mType == TextureType::CubeMap && mLayerIndex == ImageIndex::kEntireLevel; in isEntireLevelCubeMap()
172 return ImageIndex(TextureType::CubeMap, levelIndex, TextureTargetToLayer(target), 1); in MakeCubeMapFace()
202 (type == TextureType::CubeMap && layerIndex == kEntireLevel ? kCubeFaceCount : layerCount); in MakeFromType()
266 return ImageIndexIterator(TextureType::CubeMap, Range<GLint>(minMip, maxMip), in MakeCube()
308 if (type == TextureType::CubeMap) in MakeGeneric()
DTexture.cpp147 mImageDescs((IMPLEMENTATION_MAX_TEXTURE_LEVELS + 1) * (type == TextureType::CubeMap ? 6 : 1)), in TextureState()
235 ASSERT(mType == TextureType::CubeMap); in isCubeComplete()
262 ASSERT(mType != TextureType::CubeMap || isCubeComplete()); in getBaseLevelDesc()
268 ASSERT(mType != TextureType::CubeMap || isCubeComplete()); in getLevelZeroDesc()
342 if (mType == TextureType::CubeMap && baseImageDesc.size.width != baseImageDesc.size.height) in computeSamplerCompleteness()
388 if (mType == TextureType::CubeMap && !isCubeComplete()) in computeSamplerCompleteness()
473 if (mType == TextureType::CubeMap) in computeMipmapCompleteness()
555 return mType == TextureType::CubeMap ? kCubeMapTextureTargetMin in getBaseImageTarget()
703 if (mType == TextureType::CubeMap) in setImageDescChain()
1458 ASSERT(source->getType() != TextureType::CubeMap); in copyTexture()
[all …]
DImageIndexIterator_unittest.cpp63 EXPECT_EQ(TextureType::CubeMap, nextIndex.getType()); in TEST()
DFramebufferAttachment.cpp193 return index.getType() == TextureType::CubeMap ? index.getTarget() : TextureTarget::InvalidEnum; in cubeMapFace()
DvalidationES2.cpp261 case TextureType::CubeMap: in IsValidCopyTextureDestinationLevel()
1003 case TextureType::CubeMap: in ValidateES2TexImageParametersBase()
1705 if (target != TextureType::_2D && target != TextureType::CubeMap && in ValidateES2TexStorageParametersBase()
1718 if (target == TextureType::CubeMap && width != height) in ValidateES2TexStorageParametersBase()
1766 case TextureType::CubeMap: in ValidateES2TexStorageParametersBase()
1907 case TextureType::CubeMap: in ValidateES2TexStorageParametersBase()
1943 case TextureType::CubeMap: in ValidateES2TexStorageParametersBase()
3345 ASSERT(sourceType != TextureType::CubeMap); in ValidateCopyTextureCHROMIUM()
3400 if (dest->getType() == TextureType::CubeMap && sourceWidth != sourceHeight) in ValidateCopyTextureCHROMIUM()
3451 ASSERT(sourceType != TextureType::CubeMap); in ValidateCopySubTextureCHROMIUM()
[all …]
DvalidationES.cpp619 case TextureType::CubeMap: in ValidTextureTarget()
659 case TextureType::CubeMap: in ValidTexture2DTarget()
897 case TextureType::CubeMap: in ValidTexLevelDestinationTarget()
951 case TextureType::CubeMap: in ValidMipLevel()
1820 TextureTarget baseTarget = (target == TextureType::CubeMap) in ValidateGenerateMipmapBase()
1864 target == TextureType::CubeMap); in ValidateGenerateMipmapBase()
1870 if (target == TextureType::CubeMap && !texture->getTextureState().isCubeComplete()) in ValidateGenerateMipmapBase()
3558 case TextureType::CubeMap: in ValidateCopyTexImageParametersBase()
3615 if ((texType == TextureType::CubeMap || texType == TextureType::CubeMapArray) && in ValidateCopyTexImageParametersBase()
DState.cpp435 mSamplerTextures[TextureType::CubeMap].resize(caps.maxCombinedTextureImageUnits); in initialize()
1276 mGLES1State.mTexUnitEnables[mActiveSampler].set(TextureType::CubeMap, enabled); in setEnableFeature()
1428 return mGLES1State.isTextureTargetEnabled(getActiveSampler(), TextureType::CubeMap); in getEnableFeature()
2840 getSamplerTextureId(static_cast<unsigned int>(mActiveSampler), TextureType::CubeMap) in getIntegerv()
DvalidationES3.cpp509 case TextureType::CubeMap: in ValidateES3TexImageParametersBase()
1314 case TextureType::CubeMap: in ValidateES3TexStorageParametersBase()
2354 ASSERT(sourceType != TextureType::CubeMap); in ValidateCopyTexture3DANGLE()
2422 ASSERT(sourceType != TextureType::CubeMap); in ValidateCopySubTexture3DANGLE()
DvalidationEGL.cpp45 case gl::TextureType::CubeMap: in GetMaximumMipLevel()
64 if (texture->getType() == gl::TextureType::CubeMap) in TextureHasNonZeroMipLevelsSpecified()
89 ASSERT(texture->getType() == gl::TextureType::CubeMap); in CubeTextureHasUnspecifiedLevel0Face()
3270 if (texture == nullptr || texture->getType() != gl::TextureType::CubeMap) in ValidateCreateImage()
/external/angle/src/common/
DPackedEnums.cpp26 return TextureType::CubeMap; in TextureTargetToType()
57 return TextureTargetToType(target) == TextureType::CubeMap; in IsCubeMapFaceTarget()
142 return TextureType::CubeMap; in SamplerTypeToTextureType()
200 return TextureType::CubeMap; in ImageTypeToTextureType()
DPackedGLEnums_autogen.cpp2156 return TextureType::CubeMap; in FromGLenum()
2186 case TextureType::CubeMap: in ToGLenum()
2225 case TextureType::CubeMap: in operator <<()
DPackedGLEnums_autogen.h542 CubeMap = 7, enumerator
/external/angle/src/libANGLE/renderer/d3d/
DDynamicImage2DHLSL.cpp735 case gl::TextureType::CubeMap: in OutputHLSLImage2DUniformGroup()
813 case gl::TextureType::CubeMap: in OutputHLSLImage2DUniformGroup()
884 case gl::TextureType::CubeMap: in generateShaderForImage2DBindSignature()
/external/angle/src/libANGLE/renderer/metal/
DImageMtl.mm146 mImageTextureType = gl::TextureType::CubeMap;
DTextureMtl.mm44 return gl::ImageIndex::MakeFromType(gl::TextureType::CubeMap, 0);
123 case gl::TextureType::CubeMap:
139 case gl::TextureType::CubeMap:
155 case gl::TextureType::CubeMap:
580 case gl::TextureType::CubeMap:
776 case gl::TextureType::CubeMap:
859 if (imageIndex.getType() == gl::TextureType::CubeMap)
1447 case gl::TextureType::CubeMap:
2032 case gl::TextureType::CubeMap:
Dmtl_utils.mm244 case gl::TextureType::CubeMap:
789 case gl::TextureType::CubeMap:
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DTextureStorage9.cpp473 ASSERT(index.getType() == gl::TextureType::CubeMap && in findRenderTarget()
490 ASSERT(index.getType() == gl::TextureType::CubeMap && in getRenderTarget()
DContext9.cpp76 case gl::TextureType::CubeMap: in createTexture()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_utils.cpp1287 case gl::TextureType::CubeMap: in GetImageType()
1313 case gl::TextureType::CubeMap: in GetImageViewType()
1422 case gl::TextureType::CubeMap: in GetExtentsAndLayerCount()
DRenderbufferVk.cpp188 if (imageVk->getImageTextureType() == gl::TextureType::CubeMap) in setStorageEGLImageTarget()
/external/angle/src/tests/gl_tests/
DGetImageTest.cpp192 TEST_P(GetImageTest, CubeMap) in TEST_P() argument
/external/angle/src/libANGLE/renderer/gl/
DTextureGL.cpp103 case gl::TextureType::CubeMap: in GetMaxLevelInfoCountForTextureType()
1089 ASSERT(getType() == gl::TextureType::CubeMap); in setStorage()
1961 if (type == gl::TextureType::CubeMap) in setLevelInfo()
1982 gl::TextureTarget target = getType() == gl::TextureType::CubeMap in getBaseLevelInfo()
DFramebufferGL.cpp122 textureType == TextureType::CubeMap || in BindFramebufferAttachment()
128 else if (texture->getType() == TextureType::CubeMap) in BindFramebufferAttachment()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DImage11.cpp589 case gl::TextureType::CubeMap: in createStagingTexture()
DStateManager11.cpp72 textureType == gl::TextureType::CubeMap) && in ImageIndexConflictsWithSRV()
84 return textureType == gl::TextureType::CubeMap && in ImageIndexConflictsWithSRV()
125 textureType == gl::TextureType::CubeMap) && in ImageIndexConflictsWithUAV()
356 gl::TextureTarget target = (texture.getType() == gl::TextureType::CubeMap) in updateSamplerMetadata()

12