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

CanvasView: optimize rendering #64

Merged
merged 5 commits into from
Jul 12, 2017
Merged

CanvasView: optimize rendering #64

merged 5 commits into from
Jul 12, 2017

Conversation

fespinoza
Copy link
Owner

closes #47

Changes:

  • Only re-draw elements that are inside the dirtyRect.

    previously for each dirty rect I re-rendered the whole set of concepts.

  • Mark view as opaque

    so the OS doesn’t need to render views under.

@fespinoza fespinoza merged commit e0793b8 into master Jul 12, 2017
@fespinoza fespinoza deleted the optimize-drawing branch July 12, 2017 23:08
fespinoza added a commit that referenced this pull request Jul 16, 2017
Changes:
--------

- Fix: flip canvas window (#73)
- Flip `CanvasView` coordinate system. (#71)
- Set theme jekyll-theme-tactile
- Swift 4 migration. (#70)
- CanvasView: optimize rendering (#64)
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.

improve efficiency of CanvasView rendering
1 participant