Home
last modified time | relevance | path

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

/external/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()
/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/deqp/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()
/external/angle/src/libANGLE/renderer/
Drenderer_utils.cpp608 const gl::Extents colorSize(1, 1, 1); in getIncompleteTexture() local
637 incompleteTextureParam.sizedInternalFormat, colorSize, in getIncompleteTexture()
643 incompleteTextureParam.sizedInternalFormat, colorSize)); in getIncompleteTexture()