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

Add Chat example #2756

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

terrysahaidak
Copy link
Contributor

@terrysahaidak terrysahaidak commented Nov 20, 2024

This PR implements a very naїve chat interface that renders fully on UI-thread using Skia imperative canvas API.

The goal of this example is to help debug some of the problems that we face when developing complex applications with imperative API.

Features:

  • offscreen rendering (opaque canvas on Android)
  • rasterizing each message (rendering offscreen into textures)
  • dynamic background (changes based on scroll offset)
  • rendering only visible messages
  • update canvas texture only when something has changed
  • drawing
  • rendering images
Example
2024-11-20.16.56.54.mov

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.

2 participants