diff options
author | Marek Olšák <[email protected]> | 2013-03-14 16:36:22 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-03-23 13:17:05 +0100 |
commit | 25e3094058977648a6f552d59b728a9ea814b7c2 (patch) | |
tree | e11333aaf37ec037a3657002e0ae30f2af8f65ca /src/gtest | |
parent | d702c67ba51f55c04be670c0ac618b687f7d2127 (diff) |
st/mesa: implement blit-based ReadPixels
Initial version contributed by: Martin Andersson <[email protected]>
This is only used if the memcpy path cannot be used and if no transfer ops
are needed. It's pretty similar to our TexImage and GetTexImage
implementations.
The motivation behind this is to be able to use ReadPixels every frame and
still have at least 20 fps (or 60 fps with a powerful GPU and CPU)
instead of 0.5 fps.
Reviewed-by: Brian Paul <[email protected]>
Tested-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gtest')
0 files changed, 0 insertions, 0 deletions