Page MenuHome

PyGPU: remove 'max_batch_indices_get' and 'max_batch_vertices_get'
Needs ReviewPublic

Authored by Germano Cavalcante (mano-wii) on Nov 18 2021, 2:28 PM.

Details

Summary

The values returned by max_batch_indices_get and max_batch_vertices_get are misleading. It seems to indicate a limit for the vbos used in batch.draw(), but they are actually limits used in glDrawRangeElements and if extrapolated, they result in reduced performance.

They don't seem to be useful for System Info and much less for addon developers (who don't have access to glDrawRangeElements).

So I suggest removing them.

Diff Detail

Repository
rB Blender
Branch
gpu_py_capabilities (branched from master)
Build Status
Buildable 18755
Build 18755: arc lint + arc unit

Event Timeline

Germano Cavalcante (mano-wii) requested review of this revision.Nov 18 2021, 2:28 PM
Germano Cavalcante (mano-wii) created this revision.