docs
Loading...
Searching...
No Matches
GPUDriver.h

Classes

struct  RenderBuffer
 Render buffer description. More...
struct  Vertex_2f_4ub_2f
 Vertex layout for path vertices. More...
struct  Vertex_2f_4ub_2f_2f_28f
 Vertex layout for quad vertices. More...
struct  Vertex_2f_2ui
 Vertex layout for instance vertices. More...
struct  VertexBuffer
 Vertex buffer description. More...
struct  IndexBuffer
 Index buffer description. More...
struct  GPUState
 The state of the GPU for a given draw command. More...
struct  Command
 A command to execute on the GPU. More...
struct  CommandList
 List of commands to execute on the GPU. More...
struct  GPUDeviceCaps
 Optional capabilities reported by a GPUDriver. More...
class  GPUDriver
 User-defined GPU driver interface. More...

Namespaces

namespace  ultralight
 Root namespace for every public Ultralight type, function, and enumeration.

Typedefs

typedef uint32_t IndexType
 Vertex index type.

Enumerations

enum class  VertexBufferFormat : uint8_t { _2f_4ub_2f , _2f_4ub_2f_2f_28f , _2f_2ui }
 Vertex buffer formats. More...
enum class  ShaderType : uint8_t {
  Fill , FillPath , FilterBasic , FilterBlur ,
  FilterDropShadow , FillPhoton , FillPhotonGrid
}
 Shader program types. More...
enum class  BlendFactor : uint8_t {
  Zero , One , SrcColor , InvSrcColor ,
  SrcAlpha , InvSrcAlpha , DestColor , InvDestColor ,
  DestAlpha , InvDestAlpha , SrcAlphaSaturate
}
 Blend factors that define how source and destination colors are weighted during blending. More...
enum class  BlendEquation : uint8_t {
  Add , Subtract , RevSubtract , Min ,
  Max
}
 Mathematical operations for combining source and destination colors during blending. More...
enum class  CommandType : uint8_t { ClearRenderBuffer , DrawGeometry , Flush }
 The types of commands. More...
enum  GPUCompressedFormat : uint32_t { kGPUCompressedFormat_BC1_BC3 = 1 << 0 , kGPUCompressedFormat_BC7 = 1 << 1 }
 Optional GPU compressed-texture format families. More...
enum  GPUTextureFlags : uint32_t { kGPUTextureFlag_RenderTarget = 1 << 0 , kGPUTextureFlag_Antialiased = 1 << 1 , kGPUTextureFlag_Immutable = 1 << 2 }
 Flags passed to GPUDriver::CreateTexture() that tell your driver how a texture will be used. More...

Go to the source code of this file.