/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 | 1051 gl::Extents levelSize(std::max(size.width >> level, 1), in setStorage() local 1065 internalFormatInfo.computeCompressedImageSize(levelSize, &dataSize)); in setStorage() 1070 compressedTexImageFormat.format, levelSize.width, levelSize.height, in setStorage() 1082 texImageFormat.internalFormat, levelSize.width, in setStorage() 1083 levelSize.height, 0, texImageFormat.format, in setStorage() 1101 levelSize, &dataSize)); in setStorage() 1106 compressedTexImageFormat.format, levelSize.width, in setStorage() 1107 levelSize.height, 0, static_cast<GLsizei>(dataSize), nullptr)); in setStorage() 1118 texImageFormat.internalFormat, levelSize.width, in setStorage() 1119 levelSize.height, 0, texImageFormat.format, in setStorage() [all …]
|
D | BlitGL.cpp | 1097 gl::Extents levelSize(std::max(sourceBaseLevelSize.width >> levelIdx, 1), in generateSRGBMipmap() local 1103 mStateManager->setViewport(gl::Rectangle(0, 0, levelSize.width, levelSize.height)); in generateSRGBMipmap()
|
/external/llvm-project/clang/utils/ABITest/ |
D | Enumeration.py | 213 levelSize = W*H 214 if N<levelSize: # Found the level 218 N -= levelSize
|
/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 | 280 int levelSize = de::max(1, m_size >> levelNdx); in verifyTexture() local 284 if (levelSize <= 2) in verifyTexture() 295 renderTex(dst, shaderID, levelSize, levelSize); in verifyTexture()
|
/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/angle/src/libANGLE/ |
D | Texture.cpp | 573 const Extents &levelSize = mImageDescs[descIndex].size; in getEnabledLevelCount() local 575 if (levelSize.empty()) in getEnabledLevelCount() 590 if (newSize != levelSize) in getEnabledLevelCount() 595 expectedSize = levelSize; in getEnabledLevelCount() 624 angle::CheckedNumeric<GLint> levelSize = 1; in getMemorySize() local 625 levelSize *= format.info->pixelBytes; in getMemorySize() 626 levelSize *= size.width; in getMemorySize() 627 levelSize *= size.height; in getMemorySize() 628 levelSize *= size.depth; in getMemorySize() 629 levelSize *= std::max(samples, 1); in getMemorySize() [all …]
|
/external/skia/tests/ |
D | MipMapTest.cpp | 200 SkISize levelSize = SkMipmap::ComputeLevelSize(currentTest.fBaseWidth, in DEF_TEST() local 203 REPORTER_ASSERT(reporter, currentTest.fExpectedMipMapLevelSize == levelSize); in DEF_TEST()
|
D | BackendAllocationTest.cpp | 445 int levelSize = 32; in make_pixmaps() local 451 ii[level] = SkImageInfo::Make(levelSize, levelSize, skColorType, kUnpremul_SkAlphaType); in make_pixmaps() 458 levelSize /= 2; in make_pixmaps() 466 levelSize /= 2; in make_pixmaps()
|
/external/skia/gm/ |
D | compressed_textures.cpp | 130 size_t levelSize = SkCompressedDataSize(compression, levelDims, nullptr, false); in make_compressed_image() local 146 offset += levelSize; in make_compressed_image()
|
/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 | 693 size_t levelSize = SkCompressedDataSize(compressionType, levelDimensions, nullptr, false); 699 sourceBytesPerImage: levelSize 995 size_t levelSize; 998 levelSize = levelRowBytes * levelDimensions.height(); 1004 sourceBytesPerImage: levelSize 1091 size_t levelSize; 1094 levelSize = SkCompressedDataSize(compression, levelDimensions, nullptr, false); 1100 sourceBytesPerImage: levelSize
|
/external/skia/src/gpu/ |
D | GrDataUtils.cpp | 328 size_t levelSize = SkCompressedDataSize(type, dimensions, nullptr, false); in GrFillInCompressedData() local 338 offset += levelSize; in GrFillInCompressedData()
|
/external/angle/src/libANGLE/renderer/d3d/ |
D | TextureD3D.cpp | 1300 gl::Extents levelSize(std::max(1, size.width >> level), std::max(1, size.height >> level), in setStorage() local 1302 ANGLE_TRY(redefineImage(context, level, internalFormat, levelSize, true)); in setStorage() 1402 gl::Extents levelSize(std::max(getLevelZeroWidth() >> level, 1), in initMipmapImages() local 1405 ANGLE_TRY(redefineImage(context, level, getBaseLevelInternalFormat(), levelSize, false)); in initMipmapImages() 2755 gl::Extents levelSize(std::max(1, size.width >> level), std::max(1, size.height >> level), in setStorage() local 2757 mImageArray[level]->redefine(gl::TextureType::_3D, internalFormat, levelSize, true); in setStorage() 2802 gl::Extents levelSize(std::max(getLevelZeroWidth() >> level, 1), in initMipmapImages() local 2805 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()
|