Flutter Engine
The Flutter Engine
Namespaces | Enumerations | Functions | Variables
ContextType.h File Reference

Go to the source code of this file.

Namespaces

namespace  skgpu
 
namespace  skgpu::ganesh
 
namespace  skgpu::graphite
 

Enumerations

enum class  skgpu::ContextType {
  skgpu::kGL , skgpu::kGLES , skgpu::kANGLE_D3D9_ES2 , skgpu::kANGLE_D3D11_ES2 ,
  skgpu::kANGLE_D3D11_ES3 , skgpu::kANGLE_GL_ES2 , skgpu::kANGLE_GL_ES3 , skgpu::kANGLE_Metal_ES2 ,
  skgpu::kANGLE_Metal_ES3 , skgpu::kVulkan , skgpu::kMetal , skgpu::kDirect3D ,
  skgpu::kDawn_D3D11 , skgpu::kDawn_D3D12 , skgpu::kDawn_Metal , skgpu::kDawn_Vulkan ,
  skgpu::kDawn_OpenGL , skgpu::kDawn_OpenGLES , skgpu::kMock , skgpu::kLastContextType = kMock
}
 

Functions

const char * skgpu::ContextTypeName (skgpu::ContextType type)
 
bool skgpu::IsNativeBackend (skgpu::ContextType type)
 
bool skgpu::IsDawnBackend (skgpu::ContextType type)
 
bool skgpu::IsRenderingContext (skgpu::ContextType type)
 
GrBackendApi skgpu::ganesh::ContextTypeBackend (skgpu::ContextType type)
 
skgpu::BackendApi skgpu::graphite::ContextTypeBackend (skgpu::ContextType type)
 

Variables

static const int skgpu::kContextTypeCount = (int)ContextType::kLastContextType + 1