mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Profiles - Tweaked render pipeline, improving render performance by ~40%
This commit is contained in:
1 parent
7735edea1e
commit
991c5fd955
11 files changed
+231
-207
No files matched your search
@@ -28,7 +28,7 @@ namespace Artemis.Core.LayerBrushes
|
||||
/// <returns>The color the LED will receive</returns>
|
||||
public abstract SKColor GetColor(ArtemisLed led, SKPoint renderPoint);
|
||||
|
||||
internal override void InternalRender(SKCanvas canvas, SKPath path, SKPaint paint)
|
||||
internal override void InternalRender(SKCanvas canvas, SKRect bounds, SKPaint paint)
|
||||
{
|
||||
// We don't want rotation on this canvas because that'll displace the LEDs, translations are applied to the points of each LED instead
|
||||
if (Layer.General.TransformMode.CurrentValue == LayerTransformMode.Normal && SupportsTransformation)
|
||||
|
||||
Reference in new issue
Block a user