diff options
author | Dave Airlie <airlied@linux.ie> | 2009-07-14 01:22:17 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2009-07-14 01:23:24 +1000 |
commit | bb4c70358778f28f644ae493b5d8163e76e9fddb (patch) | |
tree | 84e7e1da4cc8cd44478451b10382f8f289263866 /src/mesa/drivers/dri/radeon/radeon_common_context.h | |
parent | 504d01b275169f019d375b4a8b5e935b9fd108d3 (diff) |
radeon: port more front fixes from intel.
Port fixes to read buffer from front.
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_common_context.h')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_common_context.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_common_context.h b/src/mesa/drivers/dri/radeon/radeon_common_context.h index 8781715af07..036d2658d98 100644 --- a/src/mesa/drivers/dri/radeon/radeon_common_context.h +++ b/src/mesa/drivers/dri/radeon/radeon_common_context.h @@ -467,6 +467,15 @@ struct radeon_context { */ GLboolean is_front_buffer_rendering; + /** + * Track whether front-buffer is the current read target. + * + * This is closely associated with is_front_buffer_rendering, but may + * be set separately. The DRI2 fake front buffer must be referenced + * either way. + */ + GLboolean is_front_buffer_reading; + /* info for radeon_clear_tris() */ struct { struct gl_array_object *arrayObj; |