office-gobmx/include/vcl
Tomaž Vajngerl ba0a570880 opengl: track state of active and bound textures in context
Add TextureState which is responsible to track the state of
texture binding (and unbinding) and changing the current active
texture unit. This is necessary because all GL calls reset the
internal state without checking what the current state actually
is and this can accumulate to a large amount of overhead.

We also unbound the textures (glBindTexture with 0 as ID) after
every operation which is also a major unneeded overhead which is
fixed by this commit.

Change-Id: I770a6a744c0c41850c576b928f027375962088aa
Reviewed-on: https://gerrit.libreoffice.org/24503
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2016-04-30 03:06:49 +00:00
..
opengl opengl: track state of active and bound textures in context 2016-04-30 03:06:49 +00:00
abstdlg.hxx
accel.hxx
alpha.hxx
animate.hxx loplugin:constantparams in vcl/ 2016-03-16 08:42:37 +00:00
bitmap.hxx loplugin:passstuffbyref in vcl 2016-04-14 08:23:20 +00:00
bitmapaccess.hxx
bitmapex.hxx loplugin:constantparam in vcl 2016-04-01 12:19:58 +00:00
bitmapfilter.hxx
BitmapProcessor.hxx
bitmapscalesuper.hxx
BitmapTools.hxx
btndlg.hxx
builder.hxx loplugin:passstuffbyref in vcl 2016-04-14 08:23:20 +00:00
builderfactory.hxx
button.hxx loplugin:constantparam in vcl 2016-04-01 12:19:58 +00:00
cairo.hxx
canvastools.hxx
checksum.hxx
combobox.hxx loplugin:unuseddefaultparams in vcl and xmloff 2016-03-04 06:13:25 +00:00
commandevent.hxx
CommandImageResolver.hxx tdf#97499 Fixed containers parameters clearing #3 2016-04-04 05:46:34 +00:00
commandinfoprovider.hxx tdf#95845 Use CommandInfoProvider in forms 2016-04-15 13:01:15 +00:00
configsettings.hxx
controllayout.hxx
ctrl.hxx
cursor.hxx loplugin:constantparam 2016-03-15 08:27:25 +02:00
cvtgrf.hxx
debugevent.hxx
decoview.hxx loplugin:constantparams in vcl/ 2016-03-16 08:42:37 +00:00
devicecoordinate.hxx remove some unused typedefs, and inline some use-once 2016-03-14 11:06:32 +00:00
dialog.hxx
dibtools.hxx
dllapi.h
dndhelp.hxx
dockingarea.hxx
dockwin.hxx loplugin:passstuffbyref in vcl 2016-04-14 08:23:20 +00:00
doxygen_dummy.hxx
edit.hxx Resolves; tdf#87120 no keyboard navigation inside floating windows 2016-04-05 20:24:51 +01:00
embeddedfontshelper.hxx clang-tidy performance-unnecessary-value-param in vcl 2016-04-12 06:32:52 +00:00
event.hxx loplugin:constantparams in vcl/ 2016-03-16 08:42:37 +00:00
evntpost.hxx
exceptiontypes.hxx
extoutdevdata.hxx
field.hxx loplugin:passstuffbyref in vcl 2016-04-14 08:23:20 +00:00
FilterConfigItem.hxx loplugin:passstuffbyref in vcl 2016-04-14 08:23:20 +00:00
fixed.hxx
fixedhyper.hxx
floatwin.hxx clang-tidy performance-unnecessary-value-param in vcl 2016-04-12 06:32:52 +00:00
fltcall.hxx
fntstyle.hxx
font.hxx tdf#62525 vcl: use cow_wrapper for font 2016-04-25 17:46:10 +00:00
fontcapabilities.hxx
fontcharmap.hxx Fix typos 2016-04-21 20:36:29 +00:00
fpicker.hrc Avoid reserved identifier 2016-04-12 20:03:41 +02:00
gdimetafiletools.hxx
gdimtf.hxx GDIMetaFile: rename members missing their prefixes 2016-04-25 08:25:27 +00:00
gfxlink.hxx loplugin:constantparams in vcl/ 2016-03-16 08:42:37 +00:00
gradient.hxx vcl: remove unused variable and redundant method 2016-04-27 21:33:35 +00:00
graph.hxx loplugin:passstuffbyref in vcl 2016-04-14 08:23:20 +00:00
graphicfilter.hxx
GraphicNativeMetadata.hxx
GraphicNativeTransform.hxx
graphictools.hxx
group.hxx
hatch.hxx tdf#62525 vcl: use cow_wrapper for Hatch 2016-04-27 18:48:53 +00:00
help.hxx
helper.hxx
i18nhelp.hxx
IconThemeInfo.hxx
IconThemeScanner.hxx
IconThemeSelector.hxx
idle.hxx
image.hxx
imagerepository.hxx
imgctrl.hxx
implimagetree.hxx loplugin:constantparams in vcl/ 2016-03-16 08:42:37 +00:00
inputctx.hxx
inputtypes.hxx
introwin.hxx
ITiledRenderable.hxx lokit: add getPartHash 2016-04-21 13:48:33 +00:00
jobdata.hxx Revert "vcl: two printing headers should be private Unix headers" 2016-03-27 22:39:22 +02:00
jobset.hxx
keycod.hxx
keycodes.hxx
layout.hxx loplugin:constantparams in vcl/ 2016-03-16 08:42:37 +00:00
lazydelete.hxx tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals 2016-04-07 12:17:29 +00:00
lineinfo.hxx tdf#62525 vcl: use cow_wrapper for lineinfo 2016-04-29 11:52:45 +00:00
longcurr.hxx loplugin:passstuffbyref in vcl 2016-04-14 08:23:20 +00:00
lstbox.hxx Resolves; tdf#87120 no keyboard navigation inside floating windows 2016-04-05 20:24:51 +01:00
mapmod.hxx
menu.hxx revert to fix tdf#98783 missing menubar 2016-04-06 16:18:41 +01:00
menubtn.hxx
metaact.hxx loplugin:constantparams in vcl/ 2016-03-16 08:42:37 +00:00
metaactiontypes.hxx
metric.hxx remove some unused typedefs, and inline some use-once 2016-03-14 11:06:32 +00:00
mnemonic.hxx
mnemonicengine.hxx
morebtn.hxx
msgbox.hxx
notebookbar.hxx notebookbar: Rename NotebookBarWindow to NotebookBar, and move accordingly. 2016-03-30 11:01:30 +02:00
oldprintadaptor.hxx
openglwin.hxx
outdev.hxx tdf#48066 render stroke-miterlimit correctly in SVG import 2016-04-26 16:42:27 +00:00
outdevmap.hxx
outdevstate.hxx
pdfextoutdevdata.hxx loplugin:passstuffbyref in vcl 2016-04-14 08:23:20 +00:00
pdfwriter.hxx loplugin:constantparams in vcl/ 2016-03-16 08:42:37 +00:00
pngread.hxx
pngwrite.hxx
pointr.hxx
popupmenuwindow.hxx
ppdparser.hxx
prgsbar.hxx
print.hxx tdf#89866 tdf#96504 vcl: fix printing of form controls with images 2016-04-27 18:46:25 +02:00
printerinfomanager.hxx Revert "vcl: two printing headers should be private Unix headers" 2016-03-27 22:39:22 +02:00
prntypes.hxx
ptrstyle.hxx
quickselectionengine.hxx
region.hxx
rendersettings.hxx
salbtype.hxx loplugin:constantparams in vcl/ 2016-03-16 08:42:37 +00:00
salctype.hxx
salgtype.hxx
salnativewidgets.hxx loplugin:constantparams in vcl/ 2016-03-16 08:42:37 +00:00
scheduler.hxx
scopedbitmapaccess.hxx loplugin:nullptr: Find some more cases in templates 2016-03-30 18:59:54 +02:00
scrbar.hxx
seleng.hxx
settings.hxx
slider.hxx
sound.hxx
spin.hxx
spinfld.hxx
split.hxx
splitwin.hxx loplugin:constantparams in vcl/ 2016-03-16 08:42:37 +00:00
status.hxx loplugin:constantparams in vcl/ 2016-03-16 08:42:37 +00:00
stdtext.hxx
strhelper.hxx
svapp.hxx vcl: misleading copypasta in documentation 2016-03-29 21:52:08 +02:00
svgdata.hxx
svmain.hxx
syschild.hxx
sysdata.hxx
syswin.hxx loplugin:passstuffbyref in vcl 2016-04-14 08:23:20 +00:00
tabctrl.hxx vcl: split out part of ImplGetTabRect into new function 2016-04-12 09:17:45 +00:00
tabdlg.hxx
tabpage.hxx
taskpanelist.hxx
textdata.hxx
texteng.hxx loplugin:passstuffbyref in vcl 2016-04-14 08:23:20 +00:00
textrectinfo.hxx
textview.hxx loplugin:constantparams in vcl/ 2016-03-16 08:42:37 +00:00
threadex.hxx loplugin:constantparams in vcl 2016-03-08 11:45:47 +00:00
throbber.hxx loplugin:constantparams in vcl/ 2016-03-16 08:42:37 +00:00
timer.hxx
toolbox.hxx loplugin:constantparams in vcl/ 2016-03-16 08:42:37 +00:00
txtattr.hxx
unohelp.hxx
unohelp2.hxx
unowrap.hxx loplugin:constantparams in vcl/ 2016-03-16 08:42:37 +00:00
vclenum.hxx
vclevent.hxx loplugin:passstuffbyref in vcl 2016-04-14 08:23:20 +00:00
vclmain.hxx
vclmedit.hxx
vclptr.hxx
vclstatuslistener.hxx
virdev.hxx
waitobj.hxx
wall.hxx
window.hxx loplugin:passstuffbyref in vcl 2016-04-14 08:23:20 +00:00
wmf.hxx
wrkwin.hxx loplugin:constantparams in vcl 2016-03-08 11:45:47 +00:00
xtextedt.hxx