diff options
author | Marek Olšák <[email protected]> | 2013-02-14 12:08:33 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-02-18 17:57:41 +0100 |
commit | 40ee93c4e885f868af68381b0a8542b6439ae774 (patch) | |
tree | dc32fd4b7b8677db7698baa9287231c73c318598 /src/mesa/main/imports.h | |
parent | 6520a86c6755f52a1364fcd21dc36a5cb8381a0e (diff) |
st/mesa: simplify and improve CopyTexSubImage
It has become a bit messy.
Changes:
- finally correct checking for transfer ops depending on the base format
- making sure the base internal format and the texture format match
(we were ignoring it, but it's important for correctness)
- the way-too-strict rule that both src and dst base formats must be the same
was dropped; ensuring the simpler and more permissive rule mentioned above
is enough
- stop using util_blit_pixels; pipe->blit is flexible enough, and now that we
have RGBX and red-alpha formats, pipe->blit can be used for more cases
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/imports.h')
0 files changed, 0 insertions, 0 deletions