aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/rendernode/openglrenderer.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2016-06-02 15:40:07 +0200
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2016-06-03 10:24:25 +0000
commit0e767eaa29ea0a7edb101ba87fb8367e9f056eed (patch)
treef84efae2b4fa591cb619e1f26d4e11af64d397f2 /examples/quick/scenegraph/rendernode/openglrenderer.cpp
parent878baeda2b1f9da688f81d1d3aa2e7ab0dd3eb24 (diff)
D3D12: Remove m_lastNN members from text material
To reduce the data size. The data is anyway available in the element-dedicated area of the constant buffer (better said, the plain CPU memory the renderer uses to prepare the data for the engine), so compare with that instead. Note that while the memcmp-memcpy pair may seem to have little value at first, setting the UpdatedConstantBuffer flag only when needed does have its benefits since the GPU-visible buffer mapping can be skipped completely when nothing has changed. Change-Id: Ie5d6797a06cb4259bd65114c5b69b11ff165e871 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'examples/quick/scenegraph/rendernode/openglrenderer.cpp')
0 files changed, 0 insertions, 0 deletions