Skip to content

Wrong "Channel Count" in DrawCommand stats #113

Description

@megagrump

Looking at issue #112, the "Channel Count" statistics is not accurate. It shows a value of "0" for every layer even though there are obviously more than 0 channels in some layers (otherwise no UI would be visible on screen).

The GetLayerDebugInfo function in Internal/Core/DrawCommands.lua is faulty. It uses the length of the Layer table for statistics, which is always 0 - it's a hash table that has no length.

As I'm trying to optimize the DrawCommands module for performance, I wonder if Channel Count is an important metric at all? I don't even understand what "Channel" even means in this context.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingv1.0.0

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions