Hello Guest

Author Topic: Large sprite batcher optimizations?  (Read 3440 times)

pan_henryk

  • Newbie
  • *
  • Posts: 20
    • View Profile
Large sprite batcher optimizations?
« on: March 26, 2015, 11:57:40 am »
Hi,

I am using sprite batcher in our project with great results. Now I am wondering about some optimizations for large sprite batchers.
Would it be reasonable (for drawing speed optimization on older devices) to divide large batchers into two or more smaller ones based on:

- distance of new item to existing batcher
- current batcher height or width
- batcher item count

Thanks,

Jakub

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Large sprite batcher optimizations?
« Reply #1 on: March 26, 2015, 06:15:53 pm »
On older devices I think the most likely bottleneck will be sprite overdraw....
I don't think splitting into larger batchers would give you better performance there unless you were draw call bound.

pan_henryk

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Large sprite batcher optimizations?
« Reply #2 on: March 27, 2015, 10:56:13 am »
I had the same thoughts about batchers and overdraw.

Thanks!