Matthew Leibowitz
9a0bff839b
Make sure that we do dispose the streams. #422
2018-02-02 17:46:25 +02:00
Matthew Leibowitz
12cfd60f1a
Avoid passing unicode paths to native code as it doesn't support non-ASCII characters on Windows. Fixes #390
2018-02-02 01:12:07 +02:00
Matthew Leibowitz
265a6015fe
Added a test to confirm #422
2018-02-02 00:24:54 +02:00
Matthew Leibowitz
3bb4808501
Maybe CI was having temporary issues
2018-01-26 02:30:13 +02:00
Matthew Leibowitz
3103ee9662
Make sure to copy linux native files around
2018-01-24 21:04:35 +02:00
Matthew Leibowitz
c408cd9eb7
Trying to see if skipping the GPU tests for CI gets a build complete
2018-01-23 16:41:07 +02:00
Matthew Leibowitz
77d6b11cff
Attempting to fix a test...
2018-01-23 00:42:12 +02:00
Matthew Leibowitz
cdeb6b67ec
Improved the means for creating surfaces around textures. #413
2018-01-13 17:19:18 +02:00
Matthew Leibowitz
9d2c14bc9d
Fixing the tests for Xunit
2017-12-20 01:28:12 +02:00
Matthew Leibowitz
2f86d008f6
Corrected the implementation of SKPaint.BreakText
...
- Fixes #381
- Breaking change:
- BreakText(string) returns the number of characters
- BreakText(byte[]) returns the number of bytes
2017-12-19 23:57:49 +02:00
Matthew Leibowitz
e0dafd42cd
Added another test
2017-12-19 05:24:20 +02:00
Matthew Leibowitz
9e2b1cf50f
Added some more tests
2017-12-18 01:33:26 +02:00
Matthew Leibowitz
64f96d3b3e
Fixing the tests after switching to the pre-release Xunit
2017-12-17 22:20:26 +02:00
Matthew Leibowitz
a58f62bfc9
Using a better front buffered stream
2017-12-17 22:19:42 +02:00
Matthew Leibowitz
f03118d336
Some tests need to be skipped on CI without a GL
2017-12-14 03:19:59 +02:00
Matthew Leibowitz
8c4087a226
Switch to Xunit as NUnit does not handle native exceptions well
2017-12-14 01:51:18 +02:00
Matthew Leibowitz
8ddb0f6668
Added a member to swizzle the R and B
2017-11-03 00:11:32 +02:00
Matthew Leibowitz
59128dd87e
Merge branch 'master' into dev/v1.60.0
2017-10-27 12:38:38 +02:00
Matthew Leibowitz
4106505ab0
SKManagedStream Memory Fixes ( #386 )
...
Fixed the memory management of a `SKManagedStream` - especially when used with a `SKTypeface`.
2017-10-25 16:29:51 +02:00
Matthew Leibowitz
6920c9390d
Make sure we can create a typeface from non-seekable streams
2017-10-03 22:29:18 +02:00
Matthew Leibowitz
d02cd89a68
Revert "Revert back to 1.59.1 so we can patch"
...
This reverts commit 96fa157f03
.
2017-09-05 17:29:58 +02:00
Matthew Leibowitz
96fa157f03
Revert back to 1.59.1 so we can patch
2017-09-05 17:28:56 +02:00
Matthew Leibowitz
c2112d5fc1
Added some color table tests
2017-08-23 01:00:13 +02:00
Matthew Leibowitz
d33ad19f99
Added bindings for SkManagedPixelSerializer
2017-08-21 21:58:39 +02:00
Matthew Leibowitz
210ca364b6
Update the managed API for the m60 update
2017-08-16 01:06:01 +02:00
Matthew Leibowitz
7bfebaa59d
more api tests
2017-07-17 15:47:57 +02:00
Matthew Leibowitz
8280bd533c
Added tests for the marshaling api
...
- private bool is now byte
- structs are blittable
- all bools are marshaled as I1
- all strings are LPStr
2017-07-17 14:48:34 +02:00
Matthew Leibowitz
f900f3215c
Corrected the marshalling. Fixes #333
2017-07-17 01:46:12 +02:00
Matthew Leibowitz
3cda52c2e1
Merge pull request #318 from mono/rect-adds
...
add overloads to have more control over the ceiling/floor operations
2017-06-23 08:48:29 +02:00
Matthew Leibowitz
5ab9817553
Make adjustments to the SKRectI.Ceiling/Floor logic
2017-06-22 09:56:30 +02:00
Matthew Leibowitz
a56d09cd3b
Fixed the logic for SKRegion.SetPath. Closes #316
2017-06-20 16:05:02 -05:00
Matthew Leibowitz
230d4f973a
Moved non-SkiaSharp libraries to another repository:
...
- Moved SkiaSharp.Extended
- Moved SkiaSharp.Svg
- New repository: https://github.com/mono/SkiaSharp.Extended
2017-06-05 15:48:04 -05:00
Matthew Leibowitz
592a56fae5
Updated the test to not fail the build if a GPU is not available
2017-05-15 20:37:41 +02:00
Matthew Leibowitz
98e0823119
Update the tests as the issue has been resolved
2017-05-15 20:11:31 +04:00
Matthew Leibowitz
ef317db4af
More tests
2017-05-13 20:15:05 +02:00
Matthew Leibowitz
42a1a4abe8
For backwards compatibility, we are not going to use a colorspace when decoding with SKBitmap.Decode(...)
2017-05-13 02:54:24 +02:00
Matthew Leibowitz
59139457ae
Added bindings for SKPath.ComputeTightBounds()
2017-05-12 23:56:55 +02:00
Matthew Leibowitz
d873e9d6ab
Update the build with the latest native
2017-05-11 21:15:58 -05:00
Matthew Leibowitz
478a8665ec
Added some extra types:
...
- SKColorSpace
- SKImageInfo is now just a managed container since it contains pointers to unmanaged types
- Fixed the GRContextOptions structure
2017-05-11 20:07:52 -05:00
Matthew Leibowitz
2afe32d7c8
Added a test for issue #282
2017-05-11 13:42:18 -05:00
Matthew Leibowitz
b23e3373a7
Using a font file that can be controlled across platforms
2017-05-01 21:18:07 -04:00
Matthew Leibowitz
1e83d00a23
The shaper must return the raw uint
2017-05-01 21:07:25 -04:00
Matthew Leibowitz
30bbda8a04
Fixed the source
2017-04-28 16:11:19 -04:00
Matthew Leibowitz
bb231e3849
Added the initial work for HarfBuzz
...
WIP for #272
2017-04-27 21:35:54 +02:00
Matthew Leibowitz
282d705aba
A few more tweaks
2017-04-23 06:51:10 -04:00
Matthew Leibowitz
0aa845e001
Changing the test to make it more stable
2017-04-23 06:26:08 -04:00
Matthew Leibowitz
ca771d4333
This test is failing sometimes on one of the CI
2017-04-21 23:14:58 +02:00
Matthew Leibowitz
20c715da2d
Pull in a fix from google and added a test. Closes #276
2017-04-21 10:16:01 +02:00
Matthew Leibowitz
fee8fe9b5e
Split the big test file into smaller tests
2017-03-20 22:07:49 +02:00
Matthew Leibowitz
56b4763376
Updated test for the new skia API
2017-03-13 23:29:34 -03:00
Matthew Leibowitz
e94666f64e
Added test for known breaking change before native update
2017-03-12 10:24:21 -04:00
Matthew Leibowitz
b7949ebb51
X Window also uses ARGB colors
2017-03-12 14:54:43 +04:00
Matthew Leibowitz
eaa2a6f675
Fixed the SKPMColor bit shifts - they differ per platform
2017-03-07 07:34:23 -03:00
Matthew Leibowitz
cce5bd6b9b
Added a buffered stream for decoding images with non-seekable streams
...
Added .NET Stream overloads for SKBitmap and SKTypeface
2017-03-02 17:07:56 +02:00
Matthew Leibowitz
1080f7cd67
Testing the bitmap with the color table
2017-03-02 06:52:35 +02:00
Matthew Leibowitz
e4aa5b8d4a
"fixed" the test be using Unpremul as the alpha type
2017-03-02 06:41:39 +02:00
Matthew Leibowitz
bc2ce9cc78
Added a WIP test for Index8 bitmaps and color tables
2017-03-02 06:09:07 +02:00
Matthew Leibowitz
d889a93ef1
Things changed, so update the test
2017-03-02 06:08:29 +02:00
Matthew Leibowitz
f8736cedfa
Make sure we use premultiplied and unpremultiplied colors when the skia API does
2017-03-02 06:06:15 +02:00
Matthew Leibowitz
234ab5d174
Added a test that checks for issue #209
2017-03-01 01:17:04 +02:00
Matthew Leibowitz
979c1e0c22
Fix for when skia returns a counted reference to the same object
2017-02-26 00:48:05 +02:00
Matthew Leibowitz
e42f329b81
Added a few useful overloads
2017-02-25 09:44:50 +02:00
Matthew Leibowitz
5e3d84604f
Cleaning up the SKData API
2017-02-24 11:08:15 +02:00
Matthew Leibowitz
5905fac6d9
Added C# binding for SKData.Create without copy
2017-02-24 11:05:54 +02:00
Matthew Leibowitz
d6f08816f5
Initial (win) support for skipping OpenGL tests when the version is too low
2017-02-21 05:50:54 +02:00
Matthew Leibowitz
507afdde01
Get the GL version
2017-02-21 05:48:11 +02:00
Matthew Leibowitz
b9dfed6fa5
Windows 7 has a different font
2017-02-21 05:47:34 +02:00
Matthew Leibowitz
1168904c1c
Tweak the wgl test context
2017-02-21 04:20:12 +02:00
Matthew Leibowitz
1e1850dc5a
Create* is more .NET than Make*
2017-02-17 05:43:58 +02:00
Matthew Leibowitz
c4edddb40d
Merge branch 'master' into development
...
Fixed bug with SKObject.SizeOf <T> checking the size of IntPtr instead of T
2017-02-17 05:36:20 +02:00
Matthew Leibowitz
a9f97d405b
linux just queries libGL directly
2017-02-17 05:59:07 +04:00
Matthew Leibowitz
79c2d2041e
throw on unknown platforms
2017-02-17 05:51:26 +04:00
Matthew Leibowitz
8a1149a140
Added a test for assembling the GL interface
2017-02-17 03:46:45 +02:00
Matthew Leibowitz
70eec54cd0
Switched back to NUnit because xUnit had issues with the WGL tests
2017-02-16 16:15:35 +02:00
Matthew Leibowitz
1dbb79b2af
Added WGL test context
...
Organized GL test contexts
2017-02-16 16:07:34 +02:00
Matthew Leibowitz
8444644b8e
Added a macOS test GL context
2017-02-14 22:32:10 +02:00
Matthew Leibowitz
ed95c9aeca
Added some GL interface/context tests
2017-02-14 16:43:26 +04:00
Matthew Leibowitz
6fdc5cd326
Updated the test to have the correct symbol font name
...
May need adjustments for other linux systems. May need to change this to be a non-null, non-empty test.
2017-02-13 22:02:54 +04:00
Matthew Leibowitz
322baee72a
Added the initial bits for a set of utils for SkiaSharp
2017-02-11 19:19:48 +04:00
Matthew Leibowitz
c290ebf73d
Added bindings for SKMatrix44
2017-02-11 18:56:40 +04:00
Matthew Leibowitz
599b0674a8
Added some more path members
2017-02-07 06:38:47 -06:00
Matthew Leibowitz
bc064d5109
Added API for SKBitmap.ExtractAlpha
2017-02-06 13:56:44 -06:00
Matthew Leibowitz
368ef9bbd5
Added bindings for scanline decoding
2017-02-06 05:17:57 -06:00
Matthew Leibowitz
33883435bd
Added a test for SKFontManager.MatchCharacter
2017-02-04 17:41:10 +04:00
Matthew Leibowitz
076bcc9ff6
Fix the mac/unix/linux detection logic
2017-01-30 17:48:05 -05:00
Matthew Leibowitz
db3a3029ef
Fixed the tests for linux. related to #225
2017-01-29 16:58:38 +02:00
Matthew Leibowitz
ef480400a4
Use the native platform color type
2017-01-25 00:11:41 +02:00
Matthew Leibowitz
1b3414af80
Fix the disposing of the mask too soon
2017-01-25 00:11:21 +02:00
Matthew Leibowitz
c29c395049
Added a .NET Core test app
2017-01-22 00:27:08 +02:00
Matthew Leibowitz
76429b6cad
Switched to xUnit for better cross platform testing
2017-01-21 02:38:48 +02:00
Matthew Leibowitz
4baca2e518
SKMask no longer automatically allocates memory for the image
2017-01-20 04:49:15 +02:00
Matthew Leibowitz
0d1911df6c
Tweaked the mask api a bit
2017-01-19 05:01:57 +02:00
Tyler Hoeflicker
c7b7b496a1
expose SKMask
2017-01-18 14:02:33 -08:00
Matthew Leibowitz
1b4902a6b1
Added a SVG canvas test
2017-01-16 19:30:53 +02:00
Matthew Leibowitz
ec6a87480e
Added the C# API for SkBitmapScaler::Resize
2017-01-07 03:35:52 +02:00
Matthew Leibowitz
0e9b000090
Added C# bindings for SKPixmap
2017-01-07 01:40:41 +02:00
Matthew Leibowitz
38413b6377
Added members to decode a particular frame
...
- binding
- tests
2016-11-26 08:24:25 +02:00
Matthew Leibowitz
0ef9633267
Added SKCodec.EncodedInfo tests
2016-11-25 10:55:59 +02:00
Matthew Leibowitz
7449894c16
Added some SVG tests
2016-11-19 08:10:05 +02:00
Matthew Leibowitz
3f406ee9ab
This test is unreliable (can't guarantee memory will change after freeing)
2016-11-18 18:55:49 +02:00
Matthew Leibowitz
f2875d86f9
Added an overload for SKData.AsStream that disposes data
2016-11-18 02:17:27 +02:00
Matthew Leibowitz
ce2573c99a
dded a few extra members and tests
2016-11-18 01:35:17 +02:00
Matthew Leibowitz
8db2bb0534
Enhancements to SKBitmap and a few others:
...
- bitmap can now be created using existing memory pointer
- optional disposal callback/delegate
- bitmap can copy directly to a memory pointer
- canvas has a quick reject method
- path can detect if it is empty
2016-11-17 21:40:14 +02:00
Matthew Leibowitz
10b72b3043
Added a test for incremental codec decodes
2016-11-17 04:35:51 +02:00
Matthew Leibowitz
a5c46ead35
SKRect.Location now functions like other .NET frameworks, and intuitively. Closes #162
2016-11-08 20:16:23 +02:00
Matthew Leibowitz
421291408f
Added a few members to SKRect and SKRectI
2016-10-29 14:42:27 +02:00
Matthew Leibowitz
81a69931be
Added some overloads, tests and docs
2016-10-25 05:20:11 +02:00
Matthew Leibowitz
87d8cfb6ee
Added support for parsing HTML colors
2016-10-15 18:47:19 +02:00
Matthew Leibowitz
9c2d2697a2
Added SKPathMeasure to the C# API
2016-10-15 03:40:10 +02:00
Matthew Leibowitz
cc3da2004a
Added SKPath.GetFillPath. Resolves #158
2016-10-13 03:07:51 +02:00
Matthew Leibowitz
46fe808f7d
Added a few more methods, properties, and tests to SKPath
2016-09-14 07:17:32 +02:00
Matthew Leibowitz
2293db42a8
Added .Contains() and .LastPoint to SKPath
2016-09-02 01:26:49 +02:00
Matthew Leibowitz
555a626395
Added support for converting to/from HSV and HSL
2016-09-01 23:38:48 +02:00
Matthew Leibowitz
a9dbb10461
Added a few more members to SKPath
2016-08-20 02:27:06 +02:00
Matthew Leibowitz
b101a1129a
Reverting and adding a test case (which I should have done) for #135
2016-08-17 04:41:54 +02:00
Matthew Leibowitz
e1c60230c4
Updated to the bits based on m52
2016-06-17 22:54:08 +02:00
Matthew Leibowitz
2fc8476ab5
Image decoder now uses SKString | Fixes #67
2016-05-18 02:47:55 +02:00
Matthew Leibowitz
5f770b6a98
SKTypeface.FromFile no longer throws an exception
2016-05-18 00:01:19 +02:00
adrian gallero
641282f412
added TryGetTableData to avoid Exceptions when a table doesn't exist
2016-05-14 08:29:59 -03:00
adrian gallero
5b994dca11
fixed whitespace
2016-05-12 16:22:39 -03:00
adrian gallero
50e3914721
Added methods to SkTypeface to read the actual name of the typeface family and to retrieve ttf tables
2016-05-01 03:02:27 -03:00
Matthew Leibowitz
d2aa025de8
[Tests] [Build] Added a test for Mac OS (Console)
...
- also copy native files into the output folder
2016-02-02 16:39:03 +02:00