aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/copyimage.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2015-08-25 14:36:01 +1000
committerDave Airlie <[email protected]>2015-09-02 09:16:43 +1000
commit0ad3a475ef81dad3baf607d749b91dfa1700ca23 (patch)
treea9232bc66a31900353ab3d0a1135333c8b6f9299 /src/mesa/main/copyimage.h
parent60aea3011525de8bf6506e08c913cbe24cc17767 (diff)
mesa: fix SwapBytes handling in numerous places
In a number of places the SwapBytes handling didn't handle cases with GL_(UN)PACK_ALIGNMENT set and 7 byte width cases aligned to 8 bytes. This adds a common routine to swap bytes a 2D image and uses this code in: texture storage texture get readpixels swrast drawpixels. [airlied: updated with Brian's nitpicks]. Cc: "11.0" <[email protected]> Reviewed-by: Brian Paul <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/main/copyimage.h')
0 files changed, 0 insertions, 0 deletions