Home
last modified time | relevance | path

Searched refs:kCubeFaceCount (Results 1 – 16 of 16) sorted by relevance

/external/angle/src/tests/gl_tests/
DCubeMapTextureTest.cpp123 constexpr GLsizei kCubeFaceCount = 6; in runSampleCoordinateTransformTest() local
127 constexpr GLColor faceColors[kCubeFaceCount][kCubeFaceSectionCount] = { in runSampleCoordinateTransformTest()
146 for (GLenum face = 0; face < kCubeFaceCount; face++) in runSampleCoordinateTransformTest()
177 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, kCubeFaceCount, kCubeFaceSectionCount, 0, GL_RGBA, in runSampleCoordinateTransformTest()
197 for (GLenum face = 0; face < kCubeFaceCount; face++) in runSampleCoordinateTransformTest()
216 constexpr size_t faceSampledSections[kCubeFaceCount][kCubeFaceSectionCount] = { in runSampleCoordinateTransformTest()
DImageTest.cpp112 constexpr size_t kCubeFaceCount = 6; variable
4698 1, 1, kCubeFaceCount, AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM, in TEST_P()
4705 1, 1, kCubeFaceCount, AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM, in TEST_P()
4713 for (size_t faceIdx = 0; faceIdx < kCubeFaceCount; faceIdx++) in TEST_P()
4721 for (size_t faceIdx = 0; faceIdx < kCubeFaceCount; faceIdx++) in TEST_P()
4746 constexpr size_t kDepth = kCubeFaceCount * 2; in TEST_P()
4756 for (size_t faceIdx = 0; faceIdx < kCubeFaceCount; faceIdx++) in TEST_P()
4766 for (size_t faceIdx = 0; faceIdx < kCubeFaceCount; faceIdx++) in TEST_P()
/external/angle/src/libANGLE/
DImageIndex.cpp145 ASSERT(mLayerIndex == kEntireLevel || mLayerIndex < static_cast<GLint>(kCubeFaceCount)); in cubeMapFaceIndex()
202 (type == TextureType::CubeMap && layerIndex == kEntireLevel ? kCubeFaceCount : layerCount); in MakeFromType()
Dangletypes.h940 constexpr size_t kCubeFaceCount = 6; variable
DvalidationES3.cpp1788 if (layer >= static_cast<GLint>(kCubeFaceCount)) in ValidateFramebufferTextureLayer()
DvalidationES.cpp5013 (type != TextureType::CubeMap || depth > gl::kCubeFaceCount)) in ValidateEGLImageObject()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DTextureStorage11.cpp2208 for (unsigned int face = 0; face < gl::kCubeFaceCount; face++) in TextureStorage11_Cube()
2215 for (unsigned int face = 0; face < gl::kCubeFaceCount; face++) in TextureStorage11_Cube()
2237 for (unsigned int face = 0; face < gl::kCubeFaceCount; face++) in onDestroy()
2380 ASSERT(0 <= layerTarget && layerTarget < static_cast<GLint>(gl::kCubeFaceCount)); in associateImage()
2384 if (0 <= layerTarget && layerTarget < static_cast<GLint>(gl::kCubeFaceCount)) in associateImage()
2398 ASSERT(0 <= layerTarget && layerTarget < static_cast<GLint>(gl::kCubeFaceCount)); in verifyAssociatedImageValid()
2411 ASSERT(0 <= layerTarget && layerTarget < static_cast<GLint>(gl::kCubeFaceCount)); in disassociateImage()
2426 ASSERT(0 <= layerTarget && layerTarget < static_cast<GLint>(gl::kCubeFaceCount)); in releaseAssociatedImage()
2430 if (0 <= layerTarget && layerTarget < static_cast<GLint>(gl::kCubeFaceCount)) in releaseAssociatedImage()
2496 desc.ArraySize = gl::kCubeFaceCount; in ensureTextureExists()
[all …]
DTextureStorage11.h40 using CubeFaceArray = std::array<T, gl::kCubeFaceCount>;
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DTextureStorage9.h181 RenderTarget9 *mRenderTarget[gl::kCubeFaceCount];
DTextureStorage9.cpp411 for (size_t i = 0; i < gl::kCubeFaceCount; ++i) in TextureStorage9_Cube()
432 for (size_t i = 0; i < gl::kCubeFaceCount; ++i) in ~TextureStorage9_Cube()
/external/angle/src/libANGLE/renderer/d3d/
DTextureD3D.cpp1777 ASSERT(layer >= 0 && static_cast<size_t>(layer) < gl::kCubeFaceCount); in getImage()
1791 return gl::kCubeFaceCount; in getLayerCount()
2115 for (size_t faceIndex = 0; faceIndex < gl::kCubeFaceCount; faceIndex++) in setStorage()
2124 for (size_t faceIndex = 0; faceIndex < gl::kCubeFaceCount; faceIndex++) in setStorage()
2162 for (size_t faceIndex = 1; faceIndex < gl::kCubeFaceCount; faceIndex++) in isCubeComplete()
2194 for (int faceIndex = 0; faceIndex < static_cast<int>(gl::kCubeFaceCount); faceIndex++) in initMipmapImages()
2274 faceIndex < static_cast<int>(gl::kCubeFaceCount) && hintLevelZeroOnly; faceIndex++) in createCompleteStorage()
2298 for (int faceIndex = 0; faceIndex < static_cast<int>(gl::kCubeFaceCount); faceIndex++) in setCompleteTexStorage()
2328 for (int face = 0; face < static_cast<int>(gl::kCubeFaceCount); face++) in updateStorage()
2354 ASSERT(level >= 0 && static_cast<size_t>(faceIndex) < gl::kCubeFaceCount && in isFaceLevelComplete()
[all …]
/external/angle/src/libANGLE/renderer/vulkan/android/
DHardwareBufferImageSiblingVkAndroid.cpp129 textureType = layerCount > gl::kCubeFaceCount ? gl::TextureType::CubeMapArray in AhbDescUsageToTextureType()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_utils.cpp1689 *layerCountOut = gl::kCubeFaceCount; in GetExtentsAndLayerCount()
DTextureVk.cpp243 *imageLayerCount = gl::kCubeFaceCount; in GetRenderTargetLayerCountAndIndex()
Dvk_helpers.cpp5535 ASSERT(textureType != gl::TextureType::CubeMap || mLayerCount == gl::kCubeFaceCount); in initExternal()
5536 ASSERT(textureType != gl::TextureType::CubeMapArray || mLayerCount % gl::kCubeFaceCount == 0); in initExternal()
/external/angle/src/libANGLE/renderer/gl/
DTextureGL.cpp47 ? ((level * gl::kCubeFaceCount) + gl::CubeMapTextureTargetToFaceIndex(target)) in GetLevelInfoIndex()
109 return (gl::IMPLEMENTATION_MAX_TEXTURE_LEVELS + 1) * gl::kCubeFaceCount; in GetMaxLevelInfoCountForTextureType()