Searched refs:colorSize (Results 1 – 4 of 4) sorted by relevance
/external/skia/src/gpu/ |
D | GrSurface.cpp | 31 size_t colorSize; in ComputeSize() local 39 colorSize = SkCompressedFormatDataSize(compressionType, dimensions, in ComputeSize() 42 colorSize = (size_t)dimensions.width() * dimensions.height() * caps.bytesPerPixel(format); in ComputeSize() 44 SkASSERT(colorSize > 0); in ComputeSize() 46 size_t finalSize = colorSamplesPerPixel * colorSize; in ComputeSize() 51 finalSize += colorSize/3; in ComputeSize()
|
/external/skqp/src/gpu/ |
D | GrSurface.cpp | 67 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/angle/src/libANGLE/renderer/ |
D | renderer_utils.cpp | 472 const gl::Extents colorSize(1, 1, 1); in getIncompleteTexture() local 490 t->setStorageMultisample(mutableContext, createType, 1, GL_RGBA8, colorSize, true)); in getIncompleteTexture() 494 ANGLE_TRY(t->setStorage(mutableContext, createType, 1, GL_RGBA8, colorSize)); in getIncompleteTexture()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineRenderToImageTests.cpp | 894 …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()
|