Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using 32 index buffer for large Graphics #6417

Merged
merged 7 commits into from
Feb 20, 2020
Merged

Conversation

eXponenta
Copy link
Contributor

@eXponenta eXponenta commented Feb 17, 2020

Follow up #6047, #6104, #6107

Implementing of https://github.com/pixijs/pixi.js/wiki/v5-Hacks#pixigraphics internally.

Upd:

Introducing ContextSystem#supports to store context parameters. Could be used for store MAX_TEXTURE_UNIT and other context specific parameters.

  • Documentation is changed or added
  • Lint process passed (npm run lint)
  • Tests passed (npm run test)

Copy link
Collaborator

@ivanpopelyshev ivanpopelyshev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, in this case, I think HAS_UINT32_INDEX is good to modify.

packages/core/src/context/ContextSystem.ts Outdated Show resolved Hide resolved
packages/core/src/context/ContextSystem.ts Outdated Show resolved Hide resolved
packages/core/src/settings.ts Outdated Show resolved Hide resolved
eXponenta and others added 2 commits February 17, 2020 20:36
Co-Authored-By: Matt Karl <matt@mattkarl.com>
Co-Authored-By: Matt Karl <matt@mattkarl.com>
@codecov-io
Copy link

codecov-io commented Feb 17, 2020

Codecov Report

Merging #6417 into dev will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev    #6417   +/-   ##
=======================================
  Coverage   78.33%   78.33%           
=======================================
  Files          57       57           
  Lines        2820     2820           
=======================================
  Hits         2209     2209           
  Misses        611      611

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 408ea88...2a9b337. Read the comment docs.

@GoodBoyDigital
Copy link
Member

GoodBoyDigital commented Feb 18, 2020 via email

@bigtimebuddy
Copy link
Member

Much better!

One small thing: Can you make the doc @private for supports object? It’s only used internally for now, would like to not make new public APIs if we don’t need to.

@bigtimebuddy
Copy link
Member

@eXponenta the reason to document supports as private is that it's an internal concept for now. It's always easy to make something public later, but creating a public API means that if we move or rename we need to deprecate. The supports object right now is good enough to merge this PR, but may not be the final form or where this data is stored. I don't like committing to something that isn't totally solid yet.

@bigtimebuddy
Copy link
Member

Verification: https://jsfiddle.net/bigtimebuddy/wnqe2y7p/

@aaclayton
Copy link

I'd like to say a big thank you to everyone who worked on this (especially @eXponenta) and contributed their thoughts about how to improve the user experience here.

o7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants