diff options
author | Jamey Sharp <jamey@minilop.net> | 2010-05-20 10:46:43 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-05-20 14:36:29 -0700 |
commit | 5754e66044571d549c295b7c9e02ce3348dbe3c7 (patch) | |
tree | d394d8b40e579b0164c5f27ca6e0363f72b57fa5 /include/gcstruct.h | |
parent | 5a7275d78a2f1c20ed5bb7b228cf370c4ada22c9 (diff) |
Replace screen->rgf scratch GC flags with a bit in each GC.
This eliminates a poorly-named, poorly-documented field from the
ScreenRec, using a previously-unused flag bit in each GC instead.
Signed-off-by: Jamey Sharp <jamey@minilop.net>
Cc: Keith Packard <keithp@keithp.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include/gcstruct.h')
-rw-r--r-- | include/gcstruct.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/gcstruct.h b/include/gcstruct.h index b9fc5cace..3f70eada4 100644 --- a/include/gcstruct.h +++ b/include/gcstruct.h @@ -292,7 +292,8 @@ typedef struct _GC { unsigned int tileIsPixel:1; /* tile is solid pixel */ unsigned int fExpose:1; /* Call exposure handling */ unsigned int freeCompClip:1; /* Free composite clip */ - unsigned int unused:14; /* see comment above */ + unsigned int scratch_inuse:1; /* is this GC in a pool for reuse? */ + unsigned int unused:13; /* see comment above */ unsigned long planemask; unsigned long fgPixel; unsigned long bgPixel; |