chromium/third_party/skia/src/gpu/graphite/DrawTypes.h

/*
 * Copyright 2021 Google LLC
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef skgpu_graphite_DrawTypes_DEFINED
#define skgpu_graphite_DrawTypes_DEFINED

#include "include/gpu/graphite/GraphiteTypes.h"

#include "src/gpu/graphite/ResourceTypes.h"

#include <array>

namespace skgpu::graphite {

class Buffer;

/**
 * Geometric primitives used for drawing.
 */
enum class PrimitiveType : uint8_t {};

/**
 * Types used to describe format of vertices in buffers.
 */
enum class VertexAttribType : uint8_t {};
static const int kVertexAttribTypeCount =;


/**
 * Returns the size of the attrib type in bytes.
 */
static constexpr inline size_t VertexAttribTypeSize(VertexAttribType type) {}

enum class UniformSlot {};

/*
 * Depth and stencil settings
 */
enum class CompareOp : uint8_t {};
static constexpr int kCompareOpCount =;

enum class StencilOp : uint8_t {};
static constexpr int kStencilOpCount =;

struct DepthStencilSettings {};

};  // namespace skgpu::graphite

#endif // skgpu_graphite_DrawTypes_DEFINED