KiCad PCB EDA Suite
Loading...
Searching...
No Matches
frame_packet.h File Reference
#include <rhi/rhi_handle.h>
#include <gal/definitions.h>
#include <algorithm>
#include <array>
#include <cstddef>
#include <cstdint>
#include <memory>
#include <vector>

Go to the source code of this file.

Classes

struct  KIGFX::GRID_UBO_DATA
 Grid uniform block matching the GridUBO layout in grid.frag (std140). More...
 
struct  KIGFX::CURSOR_UBO_DATA
 Cursor uniform block matching the CursorUBO layout in cursor.frag (std140). More...
 
struct  KIGFX::FRAME_UBO_DATA
 Per-frame uniform block matching FrameUBO in frame_ubo.glsl (std140). More...
 
struct  KIGFX::BITMAP_DRAW_DESC
 One textured bitmap quad with its own vertex buffer and texture. More...
 
struct  KIGFX::POLARITY_RUN
 A stretch of one layer range drawn in one polarity. More...
 
struct  KIGFX::RHI_LAYER_DIM
 Fade of a whole layer towards a colour, laid out as the push constants of layer_dim.glsl. More...
 
struct  KIGFX::LAYER_RANGE
 One layer's instance ranges within the flat GPU buffers, normal instances before negatives. More...
 
struct  KIGFX::FRAME_DRAW_DESC
 GPU geometry of one frame, built by GAL_MODERN after EndDrawing() and passed through the FRAME_MAILBOX. More...
 
struct  KIGFX::FRAME_PACKET
 Everything the render thread needs to draw one frame of a window. More...
 

Namespaces

namespace  KIGFX
 The Cairo implementation of the graphics abstraction layer.
 

Typedefs

using KIGFX::RHI_SHAPE_COUNTS = std::array<uint32_t, RHI_SHAPES>
 Elements of each shape, indexed by RHI_SHAPE.
 

Enumerations

enum class  KIGFX::RHI_LINE_PIPELINE_KIND : uint8_t { KIGFX::PCB_TRACKS , KIGFX::SCH_WIRES }
 
enum  KIGFX::RHI_SHAPE : uint8_t { KIGFX::RHI_SHAPE_TRACK , KIGFX::RHI_SHAPE_ARC , KIGFX::RHI_SHAPE_PAD , KIGFX::RHI_SHAPE_POLYGON }
 Shapes a frame draws, each with its own array and pipelines. More...
 

Variables

constexpr int KIGFX::RHI_INSTANCED_SHAPES = RHI_SHAPE_POLYGON
 
constexpr int KIGFX::RHI_SHAPES = RHI_SHAPE_POLYGON + 1