diff options
author | Thomas Hellstrom <[email protected]> | 2011-02-25 13:05:31 +0100 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2011-03-01 10:36:19 +0100 |
commit | 8b145e23023927ddec7839a9e4498d5a42e3ca29 (patch) | |
tree | 98620a66dbbb2f9daec9064396bb69a2483b34de /src/mesa/program/nvfragparse.c | |
parent | c9febff31f1032065f96ad76fd31f31ac330fef9 (diff) |
st/egl: Implement swapbuffer throttling
When doing copy swapbuffers using drm, throttle on outstanding copy operations.
Introduces a new environment variable, EGL_THROTTLE_FENCES that the
user can use to indicate the desired number of outstanding swapbuffers, or
disable throttling using EGL_THROTTLE_FENCES=0.
This can and perhaps should be extended to the pageflip case as well, since
with some hardware pageflips can be pipelined. In case the pageflip syncs, the
throttle operation will be a no-op anyway.
Update copyright notices.
Signed-off-by: Thomas Hellstrom <[email protected]>
Diffstat (limited to 'src/mesa/program/nvfragparse.c')
0 files changed, 0 insertions, 0 deletions