Home
last modified time | relevance | path

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

12

/external/swiftshader/src/D3D9/
DCapabilities.cpp145 bool Capabilities::CubeMap::RenderTarget::NULL_ = true;
146 bool Capabilities::CubeMap::RenderTarget::R8G8B8 = false;
147 bool Capabilities::CubeMap::RenderTarget::R5G6B5 = true;
148 bool Capabilities::CubeMap::RenderTarget::X1R5G5B5 = true;
149 bool Capabilities::CubeMap::RenderTarget::A1R5G5B5 = true;
150 bool Capabilities::CubeMap::RenderTarget::A4R4G4B4 = true;
151 bool Capabilities::CubeMap::RenderTarget::R3G3B2 = false;
152 bool Capabilities::CubeMap::RenderTarget::A8R3G3B2 = false;
153 bool Capabilities::CubeMap::RenderTarget::X4R4G4B4 = true;
154 bool Capabilities::CubeMap::RenderTarget::A8R8G8B8 = true;
[all …]
DDirect3D9.cpp427 …case D3DFMT_NULL: if(!Capabilities::CubeMap::RenderTarget::NULL_) return NOTAVAILABLE(); else … in CheckDeviceFormat()
428 …case D3DFMT_R8G8B8: if(!Capabilities::CubeMap::RenderTarget::R8G8B8) return NOTAVAILABLE(); els… in CheckDeviceFormat()
429 …case D3DFMT_R5G6B5: if(!Capabilities::CubeMap::RenderTarget::R5G6B5) return NOTAVAILABLE(); els… in CheckDeviceFormat()
430 …case D3DFMT_X1R5G5B5: if(!Capabilities::CubeMap::RenderTarget::X1R5G5B5) return NOTAVAILABLE(); … in CheckDeviceFormat()
431 …case D3DFMT_A1R5G5B5: if(!Capabilities::CubeMap::RenderTarget::A1R5G5B5) return NOTAVAILABLE(); … in CheckDeviceFormat()
432 …case D3DFMT_A4R4G4B4: if(!Capabilities::CubeMap::RenderTarget::A4R4G4B4) return NOTAVAILABLE(); … in CheckDeviceFormat()
433 …case D3DFMT_R3G3B2: if(!Capabilities::CubeMap::RenderTarget::R3G3B2) return NOTAVAILABLE(); els… in CheckDeviceFormat()
434 …case D3DFMT_A8R3G3B2: if(!Capabilities::CubeMap::RenderTarget::A8R3G3B2) return NOTAVAILABLE(); … in CheckDeviceFormat()
435 …case D3DFMT_X4R4G4B4: if(!Capabilities::CubeMap::RenderTarget::X4R4G4B4) return NOTAVAILABLE(); … in CheckDeviceFormat()
436 …case D3DFMT_A8R8G8B8: if(!Capabilities::CubeMap::RenderTarget::A8R8G8B8) return NOTAVAILABLE(); … in CheckDeviceFormat()
[all …]
DCapabilities.hpp195 struct CubeMap struct
/external/swiftshader/src/D3D8/
DCapabilities.cpp105 bool Capabilities::CubeMap::RenderTarget::R8G8B8 = false;
106 bool Capabilities::CubeMap::RenderTarget::R5G6B5 = true;
107 bool Capabilities::CubeMap::RenderTarget::X1R5G5B5 = true;
108 bool Capabilities::CubeMap::RenderTarget::A1R5G5B5 = true;
109 bool Capabilities::CubeMap::RenderTarget::A4R4G4B4 = true;
110 bool Capabilities::CubeMap::RenderTarget::R3G3B2 = false;
111 bool Capabilities::CubeMap::RenderTarget::A8R3G3B2 = false;
112 bool Capabilities::CubeMap::RenderTarget::X4R4G4B4 = true;
113 bool Capabilities::CubeMap::RenderTarget::A8R8G8B8 = true;
114 bool Capabilities::CubeMap::RenderTarget::X8R8G8B8 = true;
[all …]
DDirect3D8.cpp286 …case D3DFMT_R8G8B8: if(!Capabilities::CubeMap::RenderTarget::R8G8B8) return NOTAVAILABLE(); els… in CheckDeviceFormat()
287 …case D3DFMT_R5G6B5: if(!Capabilities::CubeMap::RenderTarget::R5G6B5) return NOTAVAILABLE(); els… in CheckDeviceFormat()
288 …case D3DFMT_X1R5G5B5: if(!Capabilities::CubeMap::RenderTarget::X1R5G5B5) return NOTAVAILABLE(); … in CheckDeviceFormat()
289 …case D3DFMT_A1R5G5B5: if(!Capabilities::CubeMap::RenderTarget::A1R5G5B5) return NOTAVAILABLE(); … in CheckDeviceFormat()
290 …case D3DFMT_A4R4G4B4: if(!Capabilities::CubeMap::RenderTarget::A4R4G4B4) return NOTAVAILABLE(); … in CheckDeviceFormat()
291 …case D3DFMT_R3G3B2: if(!Capabilities::CubeMap::RenderTarget::R3G3B2) return NOTAVAILABLE(); els… in CheckDeviceFormat()
292 …case D3DFMT_A8R3G3B2: if(!Capabilities::CubeMap::RenderTarget::A8R3G3B2) return NOTAVAILABLE(); … in CheckDeviceFormat()
293 …case D3DFMT_X4R4G4B4: if(!Capabilities::CubeMap::RenderTarget::X4R4G4B4) return NOTAVAILABLE(); … in CheckDeviceFormat()
294 …case D3DFMT_A8R8G8B8: if(!Capabilities::CubeMap::RenderTarget::A8R8G8B8) return NOTAVAILABLE(); … in CheckDeviceFormat()
295 …case D3DFMT_X8R8G8B8: if(!Capabilities::CubeMap::RenderTarget::X8R8G8B8) return NOTAVAILABLE(); … in CheckDeviceFormat()
[all …]
DCapabilities.hpp131 struct CubeMap struct
/external/angle/src/libANGLE/
DImageIndex.cpp74 if (type == TextureType::CubeMap) in TextureTypeToTarget()
106 case TextureType::CubeMap: in isLayered()
118 ASSERT(!hasLayer() || ((mType != TextureType::CubeMap) == usesTex3D())); in has3DLayer()
119 return (hasLayer() && mType != TextureType::CubeMap); in has3DLayer()
147 ASSERT(mType == TextureType::CubeMap); in cubeMapFaceIndex()
159 return mType == TextureType::CubeMap && mLayerIndex == ImageIndex::kEntireLevel; in isEntireLevelCubeMap()
175 return ImageIndex(TextureType::CubeMap, levelIndex, TextureTargetToLayer(target), 1); in MakeCubeMapFace()
205 (type == TextureType::CubeMap && layerIndex == kEntireLevel ? kCubeFaceCount : layerCount); in MakeFromType()
269 return ImageIndexIterator(TextureType::CubeMap, Range<GLint>(minMip, maxMip), in MakeCube()
311 if (type == TextureType::CubeMap) in MakeGeneric()
DTexture.cpp104 mImageDescs((IMPLEMENTATION_MAX_TEXTURE_LEVELS + 1) * (type == TextureType::CubeMap ? 6 : 1)), in TextureState()
192 ASSERT(mType == TextureType::CubeMap); in isCubeComplete()
219 ASSERT(mType != TextureType::CubeMap || isCubeComplete()); in getBaseLevelDesc()
287 if (mType == TextureType::CubeMap && baseImageDesc.size.width != baseImageDesc.size.height) in computeSamplerCompleteness()
333 if (mType == TextureType::CubeMap && !isCubeComplete()) in computeSamplerCompleteness()
418 if (mType == TextureType::CubeMap) in computeMipmapCompleteness()
500 return mType == TextureType::CubeMap ? kCubeMapTextureTargetMin in getBaseImageTarget()
518 descIndex = (mType == TextureType::CubeMap) ? descIndex + 6 : descIndex + 1; in getEnabledLevelCount()
607 if (mType == TextureType::CubeMap) in setImageDescChain()
1267 ASSERT(source->getType() != TextureType::CubeMap); in copyTexture()
[all …]
DImageIndexIterator_unittest.cpp63 EXPECT_EQ(TextureType::CubeMap, nextIndex.getType()); in TEST()
DvalidationES2.cpp261 case TextureType::CubeMap: in IsValidCopyTextureDestinationLevel()
1108 case TextureType::CubeMap: in ValidateES2TexImageParametersBase()
1760 if (target != TextureType::_2D && target != TextureType::CubeMap && in ValidateES2TexStorageParameters()
1773 if (target == TextureType::CubeMap && width != height) in ValidateES2TexStorageParameters()
1821 case TextureType::CubeMap: in ValidateES2TexStorageParameters()
1962 case TextureType::CubeMap: in ValidateES2TexStorageParameters()
1998 case TextureType::CubeMap: in ValidateES2TexStorageParameters()
3763 ASSERT(sourceType != TextureType::CubeMap); in ValidateCopyTextureCHROMIUM()
3818 if (dest->getType() == TextureType::CubeMap && sourceWidth != sourceHeight) in ValidateCopyTextureCHROMIUM()
3869 ASSERT(sourceType != TextureType::CubeMap); in ValidateCopySubTextureCHROMIUM()
[all …]
DFramebufferAttachment.cpp191 return index.getType() == TextureType::CubeMap ? index.getTarget() : TextureTarget::InvalidEnum; in cubeMapFace()
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()
2234 if (texture == nullptr || texture->getType() != gl::TextureType::CubeMap) in ValidateCreateImage()
DvalidationES.cpp536 case TextureType::CubeMap: in ValidTextureTarget()
568 case TextureType::CubeMap: in ValidTexture2DTarget()
771 case TextureType::CubeMap: in ValidTexLevelDestinationTarget()
819 case TextureType::CubeMap: in ValidMipLevel()
2604 case TextureType::CubeMap: in ValidateCopyTexImageParametersBase()
2660 if (texType == TextureType::CubeMap && width != height) in ValidateCopyTexImageParametersBase()
/external/angle/src/common/
DPackedEnums.cpp26 return TextureType::CubeMap; in TextureTargetToType()
53 return TextureTargetToType(target) == TextureType::CubeMap; in IsCubeMapFaceTarget()
133 return TextureType::CubeMap; in SamplerTypeToTextureType()
DPackedGLEnums_autogen.cpp2114 return TextureType::CubeMap; in FromGLenum()
2140 case TextureType::CubeMap: in ToGLenum()
2175 case TextureType::CubeMap: in operator <<()
DPackedGLEnums_autogen.h538 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/vulkan/
Dvk_utils.cpp895 case gl::TextureType::CubeMap: in GetImageType()
920 case gl::TextureType::CubeMap: in GetImageViewType()
976 case gl::TextureType::CubeMap: in GetExtentsAndLayerCount()
DRenderbufferVk.cpp133 if (imageVk->getImageTextureType() == gl::TextureType::CubeMap) in setStorageEGLImageTarget()
/external/angle/src/libANGLE/renderer/metal/
DTextureMtl.mm92 case gl::TextureType::CubeMap:
110 case gl::TextureType::CubeMap:
381 case gl::TextureType::CubeMap:
805 case gl::TextureType::CubeMap:
915 case gl::TextureType::CubeMap:
Dmtl_utils.mm196 case gl::TextureType::CubeMap:
/external/angle/src/tests/gl_tests/
DGetImageTest.cpp179 TEST_P(GetImageTest, CubeMap) in TEST_P() argument
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DContext9.cpp75 case gl::TextureType::CubeMap: in createTexture()
DTextureStorage9.cpp443 ASSERT(index.getType() == gl::TextureType::CubeMap && in getRenderTarget()
/external/angle/src/libANGLE/renderer/gl/
DTextureGL.cpp103 case gl::TextureType::CubeMap: in GetMaxLevelInfoCountForTextureType()
1016 ASSERT(getType() == gl::TextureType::CubeMap); in setStorage()
1785 if (type == gl::TextureType::CubeMap) in setLevelInfo()
1806 gl::TextureTarget target = getType() == gl::TextureType::CubeMap in getBaseLevelInfo()

12