[Mesa-dev] [PATCH 2/4] gallium: extend resource_resolve to accommodate BlitFramebuffer

Christoph Bumiller e0425955 at student.tuwien.ac.at
Mon Jul 25 05:47:33 PDT 2011

Resolve via glBlitFramebuffer allows resolving a sub-region of a
renderbuffer to a different location in any mipmap level of some
other texture, therefore location and size parameters are needed.

The mask parameter was added because resolving only depth or only
stencil of a combined buffer is possible as well.

Copying from FBO to a window system buffer requires a vertical
so the yflip parameter was added.

The y-flip parameter could be left out if pipe_box was changed to
contain signed width/height or x0,y0,x1,y1 instead.
This might benefit other methods, such as resource_copy_region, where
some hw can easily do a backwards copy (yflip).
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0004-gallium-extend-resource_resolve-to-accommodate-BlitF.patch
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110725/895a8200/attachment-0001.txt>

More information about the mesa-dev mailing list