[Mesa-dev] [PATCH] intel: Fix ReadPixels on buffers whose width >= 32kbytes

Eric Anholt eric at anholt.net
Thu Jan 24 13:59:27 PST 2013


Paul Berry <stereotype441 at gmail.com> writes:

> Yeah, you're right.  I was being lazy.  How's this:

>     * Furthermore, intelEmitCopyBlit (which is called by
>     * intel_miptree_map_blit) uses a signed 16-bit integer to represent
> buffer
>     * pitch, so it can only handle buffer pitches < 32k.
>     *
>     * As a result of these two limitations, we can only use
>     * intel_miptree_map_blit() when the region's pitsh is less than 32k.
                                                  "pitch"

Other than that,

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130124/6bf71b2f/attachment.pgp>


More information about the mesa-dev mailing list