Flutter Engine
The Flutter Engine
|
#include <vulkan_window.h>
Public Member Functions | |
VulkanWindow (fml::RefPtr< VulkanProcTable > proc_table, std::unique_ptr< VulkanNativeSurface > native_surface) | |
Construct a VulkanWindow. Let it implicitly create a GrDirectContext. More... | |
VulkanWindow (const sk_sp< GrDirectContext > &context, fml::RefPtr< VulkanProcTable > proc_table, std::unique_ptr< VulkanNativeSurface > native_surface) | |
Construct a VulkanWindow. Let reuse an existing GrDirectContext built by another VulkanWindow. More... | |
~VulkanWindow () | |
bool | IsValid () const |
GrDirectContext * | GetSkiaGrContext () |
sk_sp< SkSurface > | AcquireSurface () |
bool | SwapBuffers () |
Definition at line 32 of file vulkan_window.h.
vulkan::VulkanWindow::VulkanWindow | ( | fml::RefPtr< VulkanProcTable > | proc_table, |
std::unique_ptr< VulkanNativeSurface > | native_surface | ||
) |
Construct a VulkanWindow. Let it implicitly create a GrDirectContext.
vulkan::VulkanWindow::VulkanWindow | ( | const sk_sp< GrDirectContext > & | context, |
fml::RefPtr< VulkanProcTable > | proc_table, | ||
std::unique_ptr< VulkanNativeSurface > | native_surface | ||
) |
Construct a VulkanWindow. Let reuse an existing GrDirectContext built by another VulkanWindow.
vulkan::VulkanWindow::~VulkanWindow | ( | ) |
GrDirectContext * vulkan::VulkanWindow::GetSkiaGrContext | ( | ) |
bool vulkan::VulkanWindow::IsValid | ( | ) | const |
bool vulkan::VulkanWindow::SwapBuffers | ( | ) |