~pali/glamor/trunk

Viewing all changes in revision 308.

  • Committer: Alex Deucher
  • Author(s): Markus Wick
  • Date: 2014-06-09 17:52:58 UTC
  • Revision ID: git-v1:b20c74ff2a78649b6d7a692658e14c6f421493a5
glamor: don't reset the GLSL program

We don't use fixed function rendering, so there is no need to reset
the program at all.  This lets the driver avoid checking for state
changes between draw calls when we rebind the same program.

Improves xephyr x11perf -f8text performance by 6.03062% +/- 1.64928%
(n=20)

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: