mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-16 05:24:20 +02:00
Annotate Cell structure
Make it clear what parts are needed only on the CPU
This commit is contained in:
@@ -134,11 +134,12 @@ typedef struct {
|
||||
} Region;
|
||||
|
||||
typedef struct {
|
||||
char_type ch;
|
||||
color_type fg, bg, decoration_fg;
|
||||
combining_type cc;
|
||||
sprite_index sprite_x, sprite_y, sprite_z;
|
||||
attrs_type attrs;
|
||||
// The following are only needed on the CPU, not the GPU
|
||||
char_type ch;
|
||||
combining_type cc;
|
||||
} Cell;
|
||||
|
||||
typedef struct {
|
||||
|
||||
Reference in New Issue
Block a user