Skip to content

docs(flutter): document RenderResolution and WebGL context lifecycle - #825

Merged
HayesGordon merged 1 commit into
mainfrom
flutter/render-resolution
Aug 3, 2026
Merged

docs(flutter): document RenderResolution and WebGL context lifecycle#825
HayesGordon merged 1 commit into
mainfrom
flutter/render-resolution

Conversation

@HayesGordon

Copy link
Copy Markdown
Contributor

Adds docs for:

  • The new Flutter RenderResolution API
  • The web WebGL context lifecycle changes

@HayesGordon
HayesGordon requested a review from a team as a code owner August 1, 2026 14:39
@mintlify

mintlify Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
rive 🟢 Ready View Preview Aug 1, 2026, 2:41 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds Flutter runtime documentation for the new RenderResolution API (to control Factory.rive backing texture sizing) and clarifies WebGL context lifecycle/limits on web to help users avoid “too many active WebGL contexts” issues.

Changes:

  • Documented renderResolution for RiveWidget, RivePanel, and RiveSurface, including behavior and constraints when using shared textures.
  • Added a dedicated “WebGL contexts (web)” section explaining context allocation, disposal, reuse pooling, and debug logging.
  • Added an FAQ entry with mitigation guidance and direct links back to the detailed WebGL context section.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
runtimes/flutter/flutter.mdx Adds RenderResolution documentation and a new section on WebGL context lifecycle/limits for Factory.rive on web.
runtimes/flutter/faq.mdx Adds an FAQ entry for “Too many active WebGL contexts” with actionable guidance and links to the main Flutter runtime docs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@HayesGordon
HayesGordon merged commit 5031242 into main Aug 3, 2026
3 checks passed
@HayesGordon
HayesGordon deleted the flutter/render-resolution branch August 3, 2026 14:54
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.

3 participants