diff options
author | Samuel Pitoiset <[email protected]> | 2017-07-28 15:47:22 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-07-31 12:14:10 +0200 |
commit | ddc32537d6db69198e88ef0dfe19770bf9daa536 (patch) | |
tree | 4c50fa62af65453d3f2396fa88e06de2cf7f9285 /src/Makefile.am | |
parent | 58473f8b8782dbdcc59b65d6c8e936d595c8a628 (diff) |
mesa: clamp viewport values only once when using glViewport()
It's useless to clamp the same values for all viewports.
+7% in the "viewport change" test (drawoverhead benchmark).
v2: - call clamp_viewport() in all callers of set_viewport_no_notify()
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]> (v1)
Diffstat (limited to 'src/Makefile.am')
0 files changed, 0 insertions, 0 deletions