/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | TextureUploadPerf.cpp | 216 for (GLsizei levelSize = params.baseSize; levelSize > 0; levelSize >>= 1) in drawBenchmark() local 218 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()
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | TextureUploadPerf.cpp | 281 for (GLsizei levelSize = params.baseSize; levelSize > 0; levelSize >>= 1) in drawBenchmark() local 283 glTexImage2D(GL_TEXTURE_2D, mip++, GL_RGBA, levelSize, levelSize, 0, GL_RGBA, in drawBenchmark()
|
D | TexturesPerf.cpp | 232 GLsizei levelSize = static_cast<GLsizei>(textureSize >> mip); in initTextures() local 233 glTexImage2D(GL_TEXTURE_2D, static_cast<GLint>(mip), GL_RGBA, levelSize, levelSize, 0, in initTextures()
|
/third_party/vk-gl-cts/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 …]
|
/third_party/skia/third_party/externals/angle2/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()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | TextureGL.cpp | 914 gl::Extents levelSize(std::max(size.width >> level, 1), in setStorage() local 928 internalFormatInfo.computeCompressedImageSize(levelSize, &dataSize)); in setStorage() 931 levelSize.width, levelSize.height, 0, in setStorage() 941 texImageFormat.internalFormat, levelSize.width, in setStorage() 942 levelSize.height, 0, texImageFormat.format, in setStorage() 960 levelSize, &dataSize)); in setStorage() 963 compressedTexImageFormat.format, levelSize.width, levelSize.height, in setStorage() 973 texImageFormat.internalFormat, levelSize.width, in setStorage() 974 levelSize.height, 0, texImageFormat.format, in setStorage() 1004 gl::Extents levelSize( in setStorage() local [all …]
|
/third_party/vk-gl-cts/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()
|
/third_party/flutter/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()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Texture.cpp | 575 const Extents &levelSize = mImageDescs[descIndex].size; in getEnabledLevelCount() local 577 if (levelSize.empty()) in getEnabledLevelCount() 592 if (newSize != levelSize) in getEnabledLevelCount() 597 expectedSize = levelSize; in getEnabledLevelCount() 626 angle::CheckedNumeric<GLint> levelSize = 1; in getMemorySize() local 627 levelSize *= format.info->pixelBytes; in getMemorySize() 628 levelSize *= size.width; in getMemorySize() 629 levelSize *= size.height; in getMemorySize() 630 levelSize *= size.depth; in getMemorySize() 631 levelSize *= std::max(samples, 1); in getMemorySize() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | Texture.cpp | 522 angle::CheckedNumeric<GLint> levelSize = 1; in getMemorySize() local 523 levelSize *= format.info->pixelBytes; in getMemorySize() 524 levelSize *= size.width; in getMemorySize() 525 levelSize *= size.height; in getMemorySize() 526 levelSize *= size.depth; in getMemorySize() 527 levelSize *= std::max(samples, 1); in getMemorySize() 528 return levelSize.ValueOrDefault(std::numeric_limits<GLint>::max()); in getMemorySize() 573 Extents levelSize(std::max<int>(baseSize.width >> relativeLevel, 1), in setImageDescChain() 578 ImageDesc levelInfo(levelSize, format, initState); in setImageDescChain()
|
/third_party/skia/tests/ |
D | BackendAllocationTest.cpp | 438 int levelSize = 32; in make_pixmaps() local 444 ii[level] = SkImageInfo::Make(levelSize, levelSize, skColorType, kUnpremul_SkAlphaType); in make_pixmaps() 451 levelSize /= 2; in make_pixmaps() 459 levelSize /= 2; in make_pixmaps()
|
D | MipMapTest.cpp | 200 SkISize levelSize = SkMipmap::ComputeLevelSize(currentTest.fBaseWidth, in DEF_TEST() local 203 REPORTER_ASSERT(reporter, currentTest.fExpectedMipMapLevelSize == levelSize); in DEF_TEST()
|
/third_party/skia/gm/ |
D | compressed_textures.cpp | 128 size_t levelSize = SkCompressedDataSize(compression, levelDims, nullptr, false); in make_compressed_image() local 144 offset += levelSize; in make_compressed_image()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/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()
|
/third_party/vk-gl-cts/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()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlGpu.mm | 663 size_t levelSize = SkCompressedDataSize(compressionType, levelDimensions, nullptr, false); 669 sourceBytesPerImage: levelSize 978 size_t levelSize; 981 levelSize = levelRowBytes * levelDimensions.height(); 987 sourceBytesPerImage: levelSize 1079 size_t levelSize; 1082 levelSize = SkCompressedDataSize(compression, levelDimensions, nullptr, false); 1088 sourceBytesPerImage: levelSize
|
/third_party/skia/src/gpu/ |
D | GrDataUtils.cpp | 340 size_t levelSize = SkCompressedDataSize(type, dimensions, nullptr, false); in GrFillInCompressedData() local 350 offset += levelSize; in GrFillInCompressedData()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | TextureD3D.cpp | 1306 gl::Extents levelSize(std::max(1, size.width >> level), std::max(1, size.height >> level), in setStorage() local 1308 ANGLE_TRY(redefineImage(context, level, internalFormat, levelSize, true)); in setStorage() 1408 gl::Extents levelSize(std::max(getLevelZeroWidth() >> level, 1), in initMipmapImages() local 1411 ANGLE_TRY(redefineImage(context, level, getBaseLevelInternalFormat(), levelSize, false)); in initMipmapImages() 2760 gl::Extents levelSize(std::max(1, size.width >> level), std::max(1, size.height >> level), in setStorage() local 2762 mImageArray[level]->redefine(gl::TextureType::_3D, internalFormat, levelSize, true); in setStorage() 2807 gl::Extents levelSize(std::max(getLevelZeroWidth() >> level, 1), in initMipmapImages() local 2810 ANGLE_TRY(redefineImage(context, level, getBaseLevelInternalFormat(), levelSize, false)); in initMipmapImages()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | TextureD3D.cpp | 1223 gl::Extents levelSize(std::max(1, size.width >> level), std::max(1, size.height >> level), in setStorage() local 1225 ANGLE_TRY(redefineImage(context, level, internalFormat, levelSize, true)); in setStorage() 1323 gl::Extents levelSize(std::max(getLevelZeroWidth() >> level, 1), in initMipmapImages() local 1326 ANGLE_TRY(redefineImage(context, level, getBaseLevelInternalFormat(), levelSize, false)); in initMipmapImages() 2668 gl::Extents levelSize(std::max(1, size.width >> level), std::max(1, size.height >> level), in setStorage() local 2670 mImageArray[level]->redefine(gl::TextureType::_3D, internalFormat, levelSize, true); in setStorage() 2715 gl::Extents levelSize(std::max(getLevelZeroWidth() >> level, 1), in initMipmapImages() local 2718 ANGLE_TRY(redefineImage(context, level, getBaseLevelInternalFormat(), levelSize, false)); in initMipmapImages()
|