aboutsummaryrefslogtreecommitdiff
path: root/src/core/crypto/ctr_encryption_layer.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-08-18 14:42:26 -0500
committerSubv <subv2112@gmail.com>2018-08-18 14:42:26 -0500
commit175096eff79c568b1d0f743578a13e199a19570c (patch)
treeadeffbdf54c36072ed820d56b9d55c073da3bd08 /src/core/crypto/ctr_encryption_layer.cpp
parent67f7ebc21dee7e789375f54149511426bca65e94 (diff)
GLRasterizer: Implemented instanced vertex arrays.
Before each draw call, for every enabled vertex array configured as instanced, we take the current instance id and divide it by its configured divisor, then we multiply that by the corresponding stride and increment the start address by the resulting amount. This way we can simulate the vertex array being incremented once per instance without actually using OpenGL's instancing functions.
Diffstat (limited to 'src/core/crypto/ctr_encryption_layer.cpp')
0 files changed, 0 insertions, 0 deletions