Searched refs:UsedApi (Results 1 – 3 of 3) sorted by relevance
82 enum class UsedApi { enum86 std::unique_ptr<BorrowedImageInfo> borrowForComposition(UsedApi api, bool isTarget);87 std::unique_ptr<BorrowedImageInfo> borrowForDisplay(UsedApi api);
271 std::unique_ptr<BorrowedImageInfo> ColorBuffer::borrowForComposition(UsedApi api, bool isTarget) { in borrowForComposition()273 case UsedApi::kGl: { in borrowForComposition()281 case UsedApi::kVk: { in borrowForComposition()292 std::unique_ptr<BorrowedImageInfo> ColorBuffer::borrowForDisplay(UsedApi api) { in borrowForDisplay()294 case UsedApi::kGl: { in borrowForDisplay()302 case UsedApi::kVk: { in borrowForDisplay()
2828 const auto api = m_useVulkanComposition ? ColorBuffer::UsedApi::kVk : ColorBuffer::UsedApi::kGl; in borrowColorBufferForComposition()2850 const auto api = m_useVulkanComposition ? ColorBuffer::UsedApi::kVk : ColorBuffer::UsedApi::kGl; in borrowColorBufferForDisplay()