summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2016-04-28 19:34:37 +0900
committerTomaž Vajngerl <quikee@gmail.com>2016-04-30 03:07:25 +0000
commit51e953a3579fb91f30f7f0d6159b737684976959 (patch)
tree4ff44265adeb671ec8e1060a63eaa8be15dbc29d /xmloff
parentba0a5708803d899de4c40cfe2c1697ae83b4827a (diff)
opengl: track the state of scissor test and the dimensions
For performance reasons we shouldn't set glScissors if it is not necessary so we remember to what dimensions we set the glScissor and don't set it again if this is not necessary. The same goes for enabling/disabling the GL_SCISSOR_TEST. Change-Id: I5e1383081b4e76bdded04525c780d3a724f9db5c Reviewed-on: https://gerrit.libreoffice.org/24504 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'xmloff')
0 files changed, 0 insertions, 0 deletions