Skip to content

feat(renderer): add ContentDrawable to View for direct drawing#1562

Open
aymanbagabas wants to merge 1 commit intomainfrom
v2-drawable
Open

feat(renderer): add ContentDrawable to View for direct drawing#1562
aymanbagabas wants to merge 1 commit intomainfrom
v2-drawable

Conversation

@aymanbagabas
Copy link
Copy Markdown
Contributor

This commit introduces a new field, ContentDrawable, to the View struct, allowing to provide a uv.Drawable as the content of the view. This enables more efficient rendering for complex views by allowing direct drawing to the underlying buffer directly without converting to a string first.

@lrstanley lrstanley mentioned this pull request Dec 22, 2025
Base automatically changed from v2-exp to main February 24, 2026 11:48
This commit introduces a new field, ContentDrawable, to the View struct,
allowing to provide a uv.Drawable as the content of the view. This
enables more efficient rendering for complex views by allowing direct
drawing to the underlying buffer directly without converting to a string
first.
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 24, 2026

Codecov Report

❌ Patch coverage is 50.00000% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 55.52%. Comparing base (640d879) to head (44da67e).

Files with missing lines Patch % Lines
cursed_renderer.go 57.14% 3 Missing and 3 partials ⚠️
input.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1562      +/-   ##
==========================================
- Coverage   55.64%   55.52%   -0.13%     
==========================================
  Files          25       25              
  Lines        1310     1322      +12     
==========================================
+ Hits          729      734       +5     
- Misses        491      496       +5     
- Partials       90       92       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant