Lines Matching defs:vkFormat
1433 VkFormat vkFormat;
1434 SkAssertResult(format.asVkFormat(&vkFormat));
1435 SkASSERT(vkFormat == VK_FORMAT_UNDEFINED);
1443 VkFormat vkFormat;
1444 if (!format.asVkFormat(&vkFormat)) {
1451 return format_is_srgb(vkFormat);
1455 VkFormat vkFormat;
1456 if (!format.asVkFormat(&vkFormat)) {
1464 return this->isVkFormatTexturable(vkFormat);
1477 VkFormat vkFormat;
1478 if (!format.asVkFormat(&vkFormat)) {
1481 const auto& info = this->getFormatInfo(vkFormat);
1489 VkFormat vkFormat;
1490 if (!format.asVkFormat(&vkFormat)) {
1493 return this->isFormatRenderable(vkFormat, sampleCount);
1502 VkFormat vkFormat;
1503 if (!format.asVkFormat(&vkFormat)) {
1507 return this->getRenderTargetSampleCount(requestedCount, vkFormat);
1535 VkFormat vkFormat;
1536 if (!format.asVkFormat(&vkFormat)) {
1539 return this->maxRenderTargetSampleCount(vkFormat);
1566 VkFormat vkFormat;
1567 if (!surfaceFormat.asVkFormat(&vkFormat)) {
1573 if (backend_format_is_external(surfaceFormat) || GrVkFormatNeedsYcbcrSampler(vkFormat)) {
1578 size_t offsetAlignment = align_to_4(GrVkFormatBytesPerBlock(vkFormat));
1580 const auto& info = this->getFormatInfo(vkFormat);
1618 GrColorType GrVkCaps::transferColorType(VkFormat vkFormat, GrColorType surfaceColorType) const {
1619 const auto& info = this->getFormatInfo(vkFormat);
1648 VkFormat vkFormat;
1649 if (!format.asVkFormat(&vkFormat)) {
1655 if (ycbcrInfo->isValid() && !GrVkFormatNeedsYcbcrSampler(vkFormat)) {
1657 if (VK_FORMAT_UNDEFINED == vkFormat && ycbcrInfo->fExternalFormat != 0) {
1663 const auto& info = this->getFormatInfo(vkFormat);
1744 VkFormat vkFormat;
1745 SkAssertResult(format.asVkFormat(&vkFormat));
1754 const auto& info = this->getFormatInfo(vkFormat);
1762 (int)colorType, (int)vkFormat);
1767 VkFormat vkFormat;
1768 SkAssertResult(format.asVkFormat(&vkFormat));
1769 const auto& info = this->getFormatInfo(vkFormat);
1777 (int)colorType, (int)vkFormat);
1793 VkFormat vkFormat;
1794 SkAssertResult(format.asVkFormat(&vkFormat));
1804 return (uint64_t)vkFormat;
1810 VkFormat vkFormat;
1811 if (!srcBackendFormat.asVkFormat(&vkFormat)) {
1815 if (GrVkFormatNeedsYcbcrSampler(vkFormat)) {
1826 size_t offsetAlignment = align_to_4(GrVkFormatBytesPerBlock(vkFormat));
1828 const auto& info = this->getFormatInfo(vkFormat);