Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/
H A 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/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineRenderToImageTests.cpp798 VkDeviceSize colorSize = product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.colorFormat)); in testWithSizeReduction() local
803 VkDeviceSize neededMemory = static_cast<VkDeviceSize>(static_cast<float>(colorSize + depthStencilSize) * additionalMemory) + reserveForChecking; in testWithSizeReduction()
821 colorSize = product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.colorFormat)); in testWithSizeReduction()
823 neededMemory = static_cast<VkDeviceSize>(static_cast<double>(colorSize + depthStencilSize) * additionalMemory); in testWithSizeReduction()
847 colorSize = product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.colorFormat)); in testWithSizeReduction()
849 neededMemory = static_cast<VkDeviceSize>(static_cast<double>(colorSize + depthStencilSize) * additionalMemory) + reserveForChecking; in testWithSizeReduction()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A Drenderer_utils.cpp594 const gl::Extents colorSize(1, 1, 1); in getIncompleteTexture()
623 incompleteTextureParam.sizedInternalFormat, colorSize, in getIncompleteTexture()
629 incompleteTextureParam.sizedInternalFormat, colorSize)); in getIncompleteTexture()

Completed in 6 milliseconds