diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-10-18 15:18:55 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-10-18 15:18:55 -0600 |
commit | 0007cd7ba0a61fcbcf9c9d19e014408be25ae496 (patch) | |
tree | 37199fc1c03f0c29cadc7072276113f5101d939d /src/mesa/state_tracker/st_context.c | |
parent | 5d39f4f9fdba4cd3333a39af583a73b85eb6bb74 (diff) |
Alternate CopyPixels path based on get/put_tile().
For some drivers (like Xlib) it's not possible to treat the front/back color
buffers as pipe_regions. So pipe->region_copy() won't work. Added a new
state tracker field indicating if we can use regions for colorbuffer accesses.
This should probably be re-considered someday...
Diffstat (limited to 'src/mesa/state_tracker/st_context.c')
-rw-r--r-- | src/mesa/state_tracker/st_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index 09d9b1ea3b..8ced3f504c 100644 --- a/src/mesa/state_tracker/st_context.c +++ b/src/mesa/state_tracker/st_context.c @@ -90,6 +90,7 @@ struct st_context *st_create_context( GLcontext *ctx, st->ctx->VertexProgram._MaintainTnlProgram = GL_TRUE; + st->haveFramebufferRegions = GL_TRUE; #if 0 st_init_cb_clear( st ); |