[Mesa-dev] [PATCH] mesa: move texrender.c to swrast
Brian Paul
brianp at vmware.com
Mon Jun 13 10:50:49 PDT 2011
On 06/13/2011 10:59 AM, Eric Anholt wrote:
> On Fri, 10 Jun 2011 20:37:21 -0600, Brian Paul<brianp at vmware.com> wrote:
>> This stuff is really for software rendering, it's not core Mesa.
>> A small step toward pushing the FetchTexel() stuff down into swrast.
>
> Reviewed-by: Eric Anholt<eric at anholt.net>
>
> Do we feel the same about the other renderbuffer accessors?
Yeah. I want to eventually get rid of all the renderbuffer
Get/PutRow(), etc functions in gl_renderbuffer and FetchTexel() in
gl_texture_image.
Texture images and renderbuffers should be merged or share a common
buffer abstraction.
Accesses to texture images and renderbuffers for reading/writing pixel
data should be done though Map/Unmap() functions.
Basically, do things like in Gallium.
-Brian
More information about the mesa-dev
mailing list