KiCad PCB EDA Suite
Loading...
Searching...
No Matches
KIGFX::FRAME_PACKET Struct Reference

Everything the render thread needs to draw one frame of a window. More...

#include <frame_packet.h>

Public Attributes

FRAME_DRAW_DESC drawDesc
 
FRAME_DRAW_DESC staticDrawDesc
 TARGET_CACHED ranges go to staticDrawDesc and the rest to dynamicDrawDesc.
 
FRAME_DRAW_DESC dynamicDrawDesc
 
bool staticChanged = true
 
bool dynamicChanged = true
 
uint64_t staticEpoch = 0
 Content generation of each pool.
 
uint64_t dynamicEpoch = 0
 
uint64_t bufferGeneration = 0
 Oldest buffer generation either descriptor uses, so resources retired before it are unreferenced.
 
uint64_t inputSerial = 0
 Inputs that had reached the canvas when this packet was built, so a frame answering one is never held back.
 

Detailed Description

Everything the render thread needs to draw one frame of a window.

Definition at line 334 of file frame_packet.h.

Member Data Documentation

◆ bufferGeneration

uint64_t KIGFX::FRAME_PACKET::bufferGeneration = 0

Oldest buffer generation either descriptor uses, so resources retired before it are unreferenced.

Definition at line 356 of file frame_packet.h.

◆ drawDesc

FRAME_DRAW_DESC KIGFX::FRAME_PACKET::drawDesc

Definition at line 336 of file frame_packet.h.

◆ dynamicChanged

bool KIGFX::FRAME_PACKET::dynamicChanged = true

Definition at line 344 of file frame_packet.h.

◆ dynamicDrawDesc

FRAME_DRAW_DESC KIGFX::FRAME_PACKET::dynamicDrawDesc

Definition at line 342 of file frame_packet.h.

◆ dynamicEpoch

uint64_t KIGFX::FRAME_PACKET::dynamicEpoch = 0

Definition at line 351 of file frame_packet.h.

◆ inputSerial

uint64_t KIGFX::FRAME_PACKET::inputSerial = 0

Inputs that had reached the canvas when this packet was built, so a frame answering one is never held back.

Definition at line 362 of file frame_packet.h.

◆ staticChanged

bool KIGFX::FRAME_PACKET::staticChanged = true

Definition at line 343 of file frame_packet.h.

◆ staticDrawDesc

FRAME_DRAW_DESC KIGFX::FRAME_PACKET::staticDrawDesc

TARGET_CACHED ranges go to staticDrawDesc and the rest to dynamicDrawDesc.

Definition at line 341 of file frame_packet.h.

◆ staticEpoch

uint64_t KIGFX::FRAME_PACKET::staticEpoch = 0

Content generation of each pool.

A displaced packet can lose a change flag but not a generation, and zero leaves the decision to the flags.

Definition at line 350 of file frame_packet.h.


The documentation for this struct was generated from the following file: