mirror of
https://github.com/X11Libre/xf86-video-intel.git
synced 2026-04-14 10:54:23 +00:00
1
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user