Comments (1)
In general, we need samples for these different approaches:
- WriteableBitmap rendering (poor performance and quality, but easy caching and flexibility). WriteableBitmapPage
- Render method override with Draw commands (DrawRectanle...). CustomDrawingExampleControl
- ICustomDrawOperation - render thread rendering, direct drawing to the canvas. Can access SkiaSharp canvas. CustomSkiaPage
- Composition API custom visual CompositionCustomVisualHandler
- GPU interop - hardcore approach, the best for low level rendering with direct access to OpenGL/D3D/Vulkan. Should be ideal for media players or game integrations. GpuInterop OpenGl
We have samples for all of these approaches randomly scattered across our repositories. At the very least this comment should help with googling them. Ideally, yes, these should be duplicated here.
- On how to force next rendered frame (Dispatcher + InvalidateVisual in 0.10, and Window.RequestAnimationFrame in 11.0)
- On how to render text efficiently (can be yet another series of samples, as there are many approaches again)
from avalonia.samples.
Related Issues (20)
- Move AutoGrid control demo to this repo HOT 1
- Move Avalonia.BattleCity to the samples repo
- Porting Microsoft's purchase database sample HOT 1
- Fully Cross platform REAL WORLD example with DI, Routing, AppSettings, Corporate design and Deployment HOT 6
- Font-Sample
- Mobile App sample
- Reflection-free ViewLocator
- Remove misogyny from "Commands" sample HOT 2
- Advice developers to use shorter and nicer IValueConvert syntax instead of old WPF-style
- Responsive UI Sample(Desktop,Mobile) HOT 3
- when update this repository? HOT 2
- TransitioningContentControl can not show the view HOT 2
- Issues with the guide "ToDo List app" HOT 10
- The first MVVM example has some problems HOT 2
- is there any plan to move these tutorials to main Avalonia documentation site? HOT 1
- ToDoListApp Compile Error Due to Wrong Parameter HOT 1
- Dialog sample has an issue
- Animated Splash Screen HOT 2
- Broken link in Pull Request template HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avalonia.samples.