Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/extern
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2019-04-05 21:45:32 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-04-05 22:15:25 +0300
commitfefc9c95e4818768ba08c665111d2e405ae72672 (patch)
tree3eaf8cdd0a7ead15111c618009c32c2480642a45 /extern
parent2219f28a68b69ba227270abadbcaa431601d42dc (diff)
DRW: Opti: Replace bound tex/ubo tracking array by bitfields
release_texture_slots() and release_ubo_slots() were one hotspot when drawing taking ~9% of total CPU counters for no reason. This was because of the loops using GPU_max_textures that was overkill and slow. Replace those by a simple 64bit bitwise OR operation.
Diffstat (limited to 'extern')
0 files changed, 0 insertions, 0 deletions