Skia
2D Graphics Library
GpuTypes.h File Reference
Include dependency graph for GpuTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 skgpu
 This file includes numerous public types that are used by all of our gpu backends.
 

Enumerations

enum class  skgpu::BackendApi : unsigned {
  skgpu::kDawn , skgpu::kMetal , skgpu::kVulkan , skgpu::kMock ,
  skgpu::kUnsupported
}
 Possible 3D APIs that may be used by Graphite. More...
 
enum class  skgpu::Budgeted : bool { skgpu::kNo = false , skgpu::kYes = true }
 Indicates whether an allocation should count against a cache budget. More...
 
enum class  skgpu::CallbackResult : bool { skgpu::kFailed = false , skgpu::kSuccess = true }
 Value passed into various callbacks to tell the client the result of operations connected to a specific callback. More...
 
enum class  skgpu::Mipmapped : bool { skgpu::kNo = false , skgpu::kYes = true }
 Is the texture mipmapped or not. More...
 
enum class  skgpu::Protected : bool { skgpu::kNo = false , skgpu::kYes = true }
 Is the data protected on the GPU or not. More...
 
enum class  skgpu::Renderable : bool { skgpu::kNo = false , skgpu::kYes = true }
 Is a texture renderable or not. More...
 
enum class  skgpu::Origin : unsigned { skgpu::kTopLeft , skgpu::kBottomLeft }
 What is the logical origin of a BackendTexture passed into Skia. More...