/external/angle/src/tests/perf_tests/ |
D | TextureUploadPerf.cpp | 279 for (GLsizei levelSize = params.baseSize; levelSize > 0; levelSize >>= 1) in drawBenchmark() local 281 glTexImage2D(GL_TEXTURE_2D, mip++, GL_RGBA, levelSize, levelSize, 0, GL_RGBA, in drawBenchmark()
|
D | TexturesPerf.cpp | 191 GLsizei levelSize = static_cast<GLsizei>(textureSize >> mip); in initTextures() local 192 glTexImage2D(GL_TEXTURE_2D, static_cast<GLint>(mip), GL_RGBA, levelSize, levelSize, 0, in initTextures()
|
/external/deqp/modules/gles3/functional/ |
D | es3fTextureSpecificationTests.cpp | 386 int levelSize = de::max(1, m_size >> levelNdx); in verifyTexture() local 394 if (levelSize <= 2) in verifyTexture() 407 renderTex(dst, shaderID, levelSize, levelSize); in verifyTexture() 725 int levelSize = de::max(1, m_size >> ndx); in createTexture() local 727 levelData.setSize(levelSize, levelSize); in createTexture() 736 …glTexImage2D(s_cubeMapFaces[face], ndx, m_internalFormat, levelSize, levelSize, 0, m_format, m_dat… in createTexture() 932 int levelSize = de::max(1, m_size >> levelNdx); in createTexture() local 936 levelData.setSize(levelSize, levelSize); in createTexture() 939 …glTexImage2D(s_cubeMapFaces[face], levelNdx, m_internalFormat, levelSize, levelSize, 0, m_format, … in createTexture() 1042 int levelSize = de::max(1, m_size >> ndx); in createTexture() local [all …]
|
/external/angle/src/libANGLE/renderer/gl/ |
D | TextureGL.cpp | 978 gl::Extents levelSize(std::max(size.width >> level, 1), in setStorage() local 992 internalFormatInfo.computeCompressedImageSize(levelSize, &dataSize)); in setStorage() 997 compressedTexImageFormat.format, levelSize.width, levelSize.height, in setStorage() 1009 texImageFormat.internalFormat, levelSize.width, in setStorage() 1010 levelSize.height, 0, texImageFormat.format, in setStorage() 1028 levelSize, &dataSize)); in setStorage() 1033 compressedTexImageFormat.format, levelSize.width, in setStorage() 1034 levelSize.height, 0, static_cast<GLsizei>(dataSize), nullptr)); in setStorage() 1045 texImageFormat.internalFormat, levelSize.width, in setStorage() 1046 levelSize.height, 0, texImageFormat.format, in setStorage() [all …]
|
/external/clang/utils/ABITest/ |
D | Enumeration.py | 211 levelSize = W*H 212 if N<levelSize: # Found the level 216 N -= levelSize
|
/external/deqp/modules/gles31/functional/ |
D | es31fCopyImageTests.cpp | 842 const int levelSize = levelTexelBlockCount * texelBlockSize; in genTextureImage() local 844 level.setStorage(levelSize * faceCount); in genTextureImage() 848 …RestrictiveFormat, texelBlockSize, levelTexelBlockCount, level.getElementPtr(faceNdx * levelSize)); in genTextureImage() 850 …ceNdx, levelNdx, levelPixelSize, info.getFormat(), levelSize, level.getElementPtr(faceNdx * levelS… in genTextureImage() 1066 const IVec3 levelSize = getLevelSize(info.getTarget(), size, level); in getLevelAccesses() local 1068 …result.push_back(tcu::ConstPixelBufferAccess(format, levelSize.x(), levelSize.y(), levelSize.z(), … in getLevelAccesses() 1092 const int levelSize = levelTexelBlockCount * texelBlockSize; in getCubeLevelAccesses() local 1094 …Size.x(), levelPixelSize.y(), levelPixelSize.z(), data[level].getElementPtr(levelSize * faceNdx))); in getCubeLevelAccesses() 1158 const IVec2 levelSize = imageIterator.getSize(); in renderTexture() local 1162 …DE_ASSERT(imageIterator.getTarget() != GL_TEXTURE_CUBE_MAP || levelSize.x() >= 4 || levelSize.y() … in renderTexture() [all …]
|
D | es31fTextureSpecificationTests.cpp | 278 int levelSize = de::max(1, m_size >> levelNdx); in verifyTexture() local 282 if (levelSize <= 2) in verifyTexture() 293 renderTex(dst, shaderID, levelSize, levelSize); in verifyTexture()
|
/external/skia/tests/ |
D | MipMapTest.cpp | 199 SkISize levelSize = SkMipMap::ComputeLevelSize(currentTest.fBaseWidth, in DEF_TEST() local 202 REPORTER_ASSERT(reporter, currentTest.fExpectedMipMapLevelSize == levelSize); in DEF_TEST()
|
D | BackendAllocationTest.cpp | 396 int levelSize = 32; in make_pixmaps() local 401 SkImageInfo ii = SkImageInfo::Make(levelSize, levelSize, skColorType, at); in make_pixmaps() 404 levelSize /= 2; in make_pixmaps()
|
/external/skqp/tests/ |
D | MipMapTest.cpp | 199 SkISize levelSize = SkMipMap::ComputeLevelSize(currentTest.fBaseWidth, in DEF_TEST() local 202 REPORTER_ASSERT(reporter, currentTest.fExpectedMipMapLevelSize == levelSize); in DEF_TEST()
|
/external/skia/gm/ |
D | compressed_textures.cpp | 124 size_t levelSize = SkCompressedDataSize(compression, dimensions, nullptr, false); in make_compressed_data() local 140 offset += levelSize; in make_compressed_data()
|
/external/angle/src/libANGLE/ |
D | Texture.cpp | 549 angle::CheckedNumeric<GLint> levelSize = 1; in getMemorySize() local 550 levelSize *= format.info->pixelBytes; in getMemorySize() 551 levelSize *= size.width; in getMemorySize() 552 levelSize *= size.height; in getMemorySize() 553 levelSize *= size.depth; in getMemorySize() 554 levelSize *= std::max(samples, 1); in getMemorySize() 555 return levelSize.ValueOrDefault(std::numeric_limits<GLint>::max()); in getMemorySize() 600 Extents levelSize(std::max<int>(baseSize.width >> relativeLevel, 1), in setImageDescChain() 605 ImageDesc levelInfo(levelSize, format, initState); in setImageDescChain()
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktSampleVerifierUtil.hpp | 73 const tcu::IVec3& levelSize,
|
D | vktSampleVerifierUtil.cpp | 248 const IVec3& levelSize, in calcUnnormalizedCoordRange() argument 255 const int size = levelSize[compNdx]; in calcUnnormalizedCoordRange()
|
/external/skia/src/gpu/mtl/ |
D | GrMtlGpu.mm | 590 size_t levelSize = SkCompressedDataSize(compressionType, levelDimensions, nullptr, false); 596 sourceBytesPerImage: levelSize 931 size_t levelSize; 937 levelSize = levelRowBytes * levelDimensions.height(); 940 levelSize = SkCompressedDataSize(compression, levelDimensions, nullptr, 948 sourceBytesPerImage: levelSize
|
/external/skia/src/gpu/ |
D | GrDataUtils.cpp | 309 size_t levelSize = SkCompressedDataSize(type, dimensions, nullptr, false); in GrFillInCompressedData() local 319 offset += levelSize; in GrFillInCompressedData()
|
/external/angle/src/libANGLE/renderer/d3d/ |
D | TextureD3D.cpp | 1252 gl::Extents levelSize(std::max(1, size.width >> level), std::max(1, size.height >> level), in setStorage() local 1254 ANGLE_TRY(redefineImage(context, level, internalFormat, levelSize, true)); in setStorage() 1352 gl::Extents levelSize(std::max(getLevelZeroWidth() >> level, 1), in initMipmapImages() local 1355 ANGLE_TRY(redefineImage(context, level, getBaseLevelInternalFormat(), levelSize, false)); in initMipmapImages() 2703 gl::Extents levelSize(std::max(1, size.width >> level), std::max(1, size.height >> level), in setStorage() local 2705 mImageArray[level]->redefine(gl::TextureType::_3D, internalFormat, levelSize, true); in setStorage() 2750 gl::Extents levelSize(std::max(getLevelZeroWidth() >> level, 1), in initMipmapImages() local 2753 ANGLE_TRY(redefineImage(context, level, getBaseLevelInternalFormat(), levelSize, false)); in initMipmapImages()
|
/external/skqp/src/gpu/vk/ |
D | GrVkGpu.cpp | 1520 size_t levelSize = GrCompressedFormatDataSize(config, currentWidth, currentHeight); in createTestingOnlyVkImage() local 1521 size_t currentRowBytes = levelSize / currentHeight; in createTestingOnlyVkImage()
|