Home
last modified time | relevance | path

Searched refs:UsedApi (Results 1 – 3 of 3) sorted by relevance

/hardware/google/gfxstream/host/
DColorBuffer.h82 enum class UsedApi { enum
86 std::unique_ptr<BorrowedImageInfo> borrowForComposition(UsedApi api, bool isTarget);
87 std::unique_ptr<BorrowedImageInfo> borrowForDisplay(UsedApi api);
DColorBuffer.cpp271 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()
DFrameBuffer.cpp2828 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()