Home | History | Annotate | Download | only in draw

Lines Matching refs:pixelSize

43 void MemoryOp::pack (int				pixelSize,
56 rowPitch = width * pixelSize;
70 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) &&
82 vk::VkDeviceSize offsetDepthSrc = d * (pixelSize * width * height);
88 srcRow += pixelSize * width;
95 void MemoryOp::unpack (int pixelSize,
108 rowPitch = width * pixelSize;
122 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) &&
132 vk::VkDeviceSize offsetDepthDst = d * (pixelSize * width * height);
138 deMemcpy(dstRow, srcRow, static_cast<size_t>(pixelSize * width));
140 dstRow += pixelSize * width;
282 int pixelSize = 0;
286 pixelSize = (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT) ? 2 : 1;
289 pixelSize = (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT) ? 4 : 1;
293 pixelSize = (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT) ? 3 : 1;
299 bufferSize = pixelSize*width*height*depth;
688 int pixelSize = 0;
692 pixelSize = (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT) ? 2 : 1;
695 pixelSize = (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT) ? 4 : 1;
699 pixelSize = (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT) ? 3 : 1;
705 bufferSize = pixelSize*width*height*depth;