Home
last modified time | relevance | path

Searched refs:colorSize (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/src/gpu/
DGrSurface.cpp29 size_t colorSize; in ComputeSize() local
37 colorSize = SkCompressedFormatDataSize(compressionType, dimensions, in ComputeSize()
40 colorSize = (size_t)dimensions.width() * dimensions.height() * in ComputeSize()
43 SkASSERT(colorSize > 0); in ComputeSize()
45 size_t finalSize = colorSamplesPerPixel * colorSize; in ComputeSize()
50 finalSize += colorSize/3; in ComputeSize()
/third_party/flutter/skia/src/gpu/
DGrSurface.cpp64 size_t colorSize; in ComputeSize() local
71 colorSize = GrCompressedFormatDataSize(config, width, height); in ComputeSize()
73 colorSize = (size_t)width * height * GrBytesPerPixel(config); in ComputeSize()
75 SkASSERT(colorSize > 0); in ComputeSize()
77 size_t finalSize = colorSamplesPerPixel * colorSize; in ComputeSize()
82 finalSize += colorSize/3; in ComputeSize()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
Drenderer_utils.cpp453 const gl::Extents colorSize(1, 1, 1); in getIncompleteTexture() local
471 t->setStorageMultisample(mutableContext, createType, 1, GL_RGBA8, colorSize, true)); in getIncompleteTexture()
475 ANGLE_TRY(t->setStorage(mutableContext, createType, 1, GL_RGBA8, colorSize)); in getIncompleteTexture()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp894 …VkDeviceSize colorSize = product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.colorFor… in testWithSizeReduction() local
899 …VkDeviceSize neededMemory = static_cast<VkDeviceSize>(static_cast<float>(colorSize + depthSte… in testWithSizeReduction()
917 colorSize = product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.colorFormat)); in testWithSizeReduction()
919 …neededMemory = static_cast<VkDeviceSize>(static_cast<double>(colorSize + depthStencilSize) * addi… in testWithSizeReduction()
943 colorSize = product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.colorFormat)); in testWithSizeReduction()
945 …neededMemory = static_cast<VkDeviceSize>(static_cast<double>(colorSize + depthStencilSize) * addi… in testWithSizeReduction()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
Drenderer_utils.cpp594 const gl::Extents colorSize(1, 1, 1); in getIncompleteTexture() local
623 incompleteTextureParam.sizedInternalFormat, colorSize, in getIncompleteTexture()
629 incompleteTextureParam.sizedInternalFormat, colorSize)); in getIncompleteTexture()