diff options
author | Jason Ekstrand <[email protected]> | 2015-01-12 17:10:22 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-01-13 22:06:51 -0800 |
commit | ae417957e04f5f52ac1a15f27c153bc2b426d7dd (patch) | |
tree | e407775217a7fc18f19b9542440e38bee77bbe2b /src/mesa/vbo/vbo_noop.c | |
parent | f52fe39d311f3b1988edaeb4765279bbe337b1b7 (diff) |
i965/miptree_map_blit: Don't do the initial copy if INVALIDATE_RANGE is set
Before we were always coping from the buffer being mapped into the
temporary buffer. However, if INVALIDATE_RANGE is set, then we know that
the data is going to be junk after we unmap so there's no point in doing
the blit. This is important because doing the blit will cause a stall 3
lines later when we map the buffer.
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_noop.c')
0 files changed, 0 insertions, 0 deletions