Julien Lebosquain
246cbfc566
Remove Direct2D1 ( #20132 )
10 months ago
Benedikt Stebner
1a4fed815a
Correctly handle x,y offset for Bitmap.CopyPixels ( #15510 )
* Correctly handle x,y offset for Bitmap.CopyPixels
* Remove using
2 years ago
Nikita Tsukanov
4dbb165a7b
Reworked the way we are clipping dirty rects with CompositionTarget ( #14806 )
* Reworked dirty rect tracking to support regions
* Fixed FPS counter
3 years ago
Julien Lebosquain
3fa13d3b64
Warning cleanup 2 ( #13696 )
3 years ago
Nikita Tsukanov
8680c612fd
OSX rendering refactoring
3 years ago
Nikita Tsukanov
530f176783
Added Rgb24 and Bgr24
4 years ago
Nikita Tsukanov
ae1fcfed51
Refactored DrawingContext and VisualBrush, added DrawingBrush ( #10419 )
Refactored DrawingContext and VisualBrush, added DrawingBrush
4 years ago
Benedikt Stebner
f5caa61051
[SKIA] UseOpacitySaveLayer feature switch ( #9964 )
* [SKIA] Introduce UseOpacitySaveLayer feature switch
* Only maintain _currentOpacity when OpacitySaveLayer is disabled
4 years ago
Nikita Tsukanov
a0adee3d00
Added a ctor for populating WriteableBitmap with initial data
4 years ago
Nikita Tsukanov
abf8819947
Implemented pixel format transcoding for Bitmap and WriteableBitmap
4 years ago
Nikita Tsukanov
eaf2ce38a4
Context management
4 years ago
Takoooooo
825fcfab31
Remove obsolete members from Avalonia.Base namespace
4 years ago
Giuseppe Lippolis
c98918bc2a
Update tests
6 years ago
Dariusz Komosinski
77ef0ea144
Fix test.
6 years ago
Steven Kirk
4d01dacd77
Remove copyright headers.
Some of our files had them, some didn't. They serve no purpose legally so best to remove the ceremony.
7 years ago
Steven Kirk
a8e75384b7
Added IImage interface.
`IImage` represents a base interface for raster and vector images. `IBitmap` now implements this interface and `DrawingContext` accepts this interface in `DrawImage`.
The interface defines a `Draw` method which introduces a level of indirection for drawing the image through the image itself.
Renamed `IDrawingContextImpl.DrawImage` to `DrawBitmap` as this only handles drawing bitmap images. `Bitmap` now calls this method directly on the platform implementation.
7 years ago
Benedikt Schroeder
527d8376d7
Combine draw and fill rectangle drawing operation
7 years ago
Steven Kirk
a0e8dca6e9
Use PixelSize for device-dependent sizes.
8 years ago
Nelson Carrillo
88bfdf87ea
Skia backend cleanup.
8 years ago
ahopper
e967a8eb72
rename WritableBitmap
9 years ago
Nikita Tsukanov
3e09457e10
[D2D1] Implement support for IFramebufferPlatformSurface
9 years ago
Nikita Tsukanov
3d3d4528f6
Burn, baby, BURN!
9 years ago
Nikita Tsukanov
2d23cab586
Fixed Skia framebuffer bitmap test
9 years ago
Steven Kirk
3e8587348d
Change ILockedFrameBuffer.Dpi to Vector.
`ILockedFrameBuffer.Dpi` was a `Size` but it would make more sense as a `Vector` because `Size * Vector` produces a `Size` whereas a `Size * Size` would produce a `Size3D` if that type existed.
9 years ago
Steven Kirk
1b9d61416f
Ported ImmediateRenderer from scenegraph branch.
10 years ago
Steven Kirk
daae9c0181
Forgot to save before last commit.
10 years ago
Nikita Tsukanov
90a4915549
Implemented WritableBitmap
10 years ago
Nikita Tsukanov
7013033a1b
Added `Bitmap(PixelFormat format, IntPtr data, int width, int height, int stride)` constructor
10 years ago