Skip to content

Uniform Buffer Objects in webGL2? #6439

Open
@aferriss

Description

@aferriss

Topic

I was doing some logging in the setUniform function and noticing how many uniforms we're setting, even when just drawing a single object with nothing but flat lighting. Would it improve our perf at all if we switched to using uniform buffer objects instead of setting each uniform one by one for the fill / stroke / material shaders?

This might introduce more complexity than its worth, but I thought it would be good to flag nonetheless!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    System Level Changes

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions