Flutter Engine
The Flutter Engine
Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
ResourceTypes.h File Reference
#include "include/core/SkSamplingOptions.h"
#include "include/core/SkSpan.h"
#include "include/core/SkTileMode.h"
#include "include/gpu/graphite/GraphiteTypes.h"
#include "include/private/base/SkTo.h"
#include "src/base/SkEnumBitMask.h"
#include "src/base/SkMathPriv.h"

Go to the source code of this file.

Classes

struct  skgpu::graphite::BindBufferInfo
 
struct  skgpu::graphite::BindUniformBufferInfo
 
struct  skgpu::graphite::ClearBufferInfo
 
struct  skgpu::graphite::ImmutableSamplerInfo
 
struct  skgpu::graphite::SamplerDesc
 

Namespaces

namespace  skgpu
 
namespace  skgpu::graphite
 

Typedefs

using skgpu::graphite::ResourceType = uint32_t
 

Enumerations

enum class  skgpu::graphite::DepthStencilFlags : int { skgpu::graphite::kNone = 0b000 , skgpu::graphite::kDepth = 0b001 , skgpu::graphite::kStencil = 0b010 , skgpu::graphite::kDepthStencil = kDepth | kStencil }
 
enum class  skgpu::graphite::LoadOp : uint8_t { skgpu::graphite::kLoad , skgpu::graphite::kClear , skgpu::graphite::kDiscard , skgpu::graphite::kLast = kDiscard }
 
enum class  skgpu::graphite::StoreOp : uint8_t { skgpu::graphite::kStore , skgpu::graphite::kDiscard , skgpu::graphite::kLast = kDiscard }
 
enum class  skgpu::graphite::BufferType : int {
  skgpu::graphite::kVertex , skgpu::graphite::kIndex , skgpu::graphite::kXferCpuToGpu , skgpu::graphite::kXferGpuToCpu ,
  skgpu::graphite::kUniform , skgpu::graphite::kStorage , skgpu::graphite::kIndirect , skgpu::graphite::kVertexStorage ,
  skgpu::graphite::kIndexStorage , skgpu::graphite::kLast = kIndexStorage
}
 
enum class  skgpu::graphite::Layout { skgpu::graphite::kInvalid = 0 , skgpu::graphite::kStd140 , skgpu::graphite::kStd430 , skgpu::graphite::kMetal }
 
enum class  skgpu::graphite::AccessPattern : int { skgpu::graphite::kGpuOnly , skgpu::graphite::kHostVisible }
 
enum class  skgpu::graphite::ClearBuffer : bool { skgpu::graphite::kNo = false , skgpu::graphite::kYes = true }
 
enum class  skgpu::graphite::Discardable : bool { skgpu::graphite::kNo = false , skgpu::graphite::kYes = true }
 
enum class  skgpu::graphite::Ownership { skgpu::graphite::kOwned , skgpu::graphite::kWrapped }
 
enum class  skgpu::graphite::Shareable : bool { skgpu::graphite::kNo = false , skgpu::graphite::kYes = true }
 
enum class  skgpu::graphite::LastRemovedRef { skgpu::graphite::kUsage , skgpu::graphite::kCommandBuffer , skgpu::graphite::kCache }
 

Functions

static constexpr const char * skgpu::graphite::LayoutString (Layout layout)
 

Variables

static constexpr int skgpu::graphite::kLoadOpCount = (int)(LoadOp::kLast) + 1
 
static constexpr int skgpu::graphite::kStoreOpCount = (int)(StoreOp::kLast) + 1
 
static const int skgpu::graphite::kBufferTypeCount = static_cast<int>(BufferType::kLast) + 1