OSDN Git Service

intel: fix mapping of malloc'd renderbuffers
authorBrian Paul <brianp@vmware.com>
Sat, 7 Jan 2012 22:05:35 +0000 (15:05 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 13 Jan 2012 17:15:30 +0000 (10:15 -0700)
commitcd56917a50ee8f2fe56ae0f12b1769351b21425c
tree94a788acd24587a406c79d8fdce6bc30561cc4d9
parent867fdbd36dd29032604a149367e69f109c2691e0
intel: fix mapping of malloc'd renderbuffers

This fixes accum buffer operations.  The accumulation buffer is the
only malloc-based renderbuffer for the intel drivers.

v2: apply x/y offset to returned pointer

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: Eric Anholt <eric@anholt.net>
(cherry picked from commit 6dbdc0395698de929e23b4ec1ab399e64ecfd264)
src/mesa/drivers/dri/intel/intel_fbo.c