This commit is contained in:
Enrico Weigelt, metux IT consult
2026-01-26 18:21:41 +01:00
parent d6556aaa75
commit 5b2f0dec6b
2 changed files with 5 additions and 5 deletions

View File

@@ -225,11 +225,6 @@ struct sna_gc {
void *priv;
};
static inline struct sna_gc *sna_gc(GCPtr gc)
{
return (struct sna_gc *)__get_private(gc, sna_gc_key);
}
enum {
FLUSH_TIMER = 0,
THROTTLE_TIMER,

View File

@@ -168,6 +168,11 @@ static void sna_shm_watch_flush(struct sna *sna, int enable);
static void
sna_poly_fill_rect__gpu(DrawablePtr draw, GCPtr gc, int n, xRectangle *rect);
static inline struct sna_gc *sna_gc(GCPtr gc)
{
return (struct sna_gc *)__get_private(gc, sna_gc_key);
}
static inline void region_set(RegionRec *r, const BoxRec *b)
{
r->extents = *b;