Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrSurface.cpp67 size_t colorSize; in ComputeSize() local
78 colorSize = GrCompressedFormatDataSize(config, width, height); in ComputeSize()
80 colorSize = (size_t)width * height * GrBytesPerPixel(config); in ComputeSize()
82 SkASSERT(colorSize > 0); in ComputeSize()
84 size_t finalSize = colorSamplesPerPixel * colorSize; in ComputeSize()
89 finalSize += colorSize/3; in ComputeSize()
/external/skia/src/gpu/
DGrSurface.cpp67 size_t colorSize; in ComputeSize() local
78 colorSize = GrCompressedFormatDataSize(config, width, height); in ComputeSize()
80 colorSize = (size_t)width * height * GrBytesPerPixel(config); in ComputeSize()
82 SkASSERT(colorSize > 0); in ComputeSize()
84 size_t finalSize = colorSamplesPerPixel * colorSize; in ComputeSize()
89 finalSize += colorSize/3; in ComputeSize()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp897 …VkDeviceSize colorSize = product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.colorFor… in testWithSizeReduction() local
902 …VkDeviceSize neededMemory = static_cast<VkDeviceSize>(static_cast<float>(colorSize + depthSte… in testWithSizeReduction()
916 colorSize = product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.colorFormat)); in testWithSizeReduction()
918 …neededMemory = static_cast<VkDeviceSize>(static_cast<double>(colorSize + depthStencilSize) * addi… in testWithSizeReduction()
942 colorSize = product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.colorFormat)); in testWithSizeReduction()
944 …neededMemory = static_cast<VkDeviceSize>(static_cast<double>(colorSize + depthStencilSize) * addi… in testWithSizeReduction()