Geometry Batching 23/64023/10
authorTom Robinson <tom.robinson@samsung.com>
Mon, 1 Aug 2016 18:04:59 +0000 (19:04 +0100)
committerTom Robinson <tom.robinson@samsung.com>
Wed, 3 Aug 2016 14:57:30 +0000 (07:57 -0700)
commit28854be72245e7687daa98e0e2e117d2f669154e
tree2fe0c41ee9303dafa9641c3e4e43a5d2a34c3f6b
parent19369b28e77acb7d31e72bae8a35a6a1d8456729
Geometry Batching

A reduction in GL calls can be observed when running the example with the following options for comparison:

DALI_GLES_CALL_TIME=1 DALI_GLES_CALL_TIME_ACCUMULATE=1 homescreen-benchmark.example –disable-icon-labels
&
DALI_GLES_CALL_TIME=1 DALI_GLES_CALL_TIME_ACCUMULATE=1 homescreen-benchmark.example –disable-icon-labels –disable-batching

                 W/O Batching      W/ Batching     % Improvement
Bind buffers       0.00             11.88             N/A
Bind textures      4.03              5.6             -26%
Draw calls        27.31             10.06            +63%
Uniform sets      53.88             10.06            +81%

Note: Larger improvements can be seen when the bottleneck is within the Render thread (instead of Update).

Change-Id: I294665299f2d7d8149563f1ea7fed730aed53da6
examples/homescreen-benchmark/homescreen-benchmark.cpp