Benedikt Schroeder
f556be70bb
Merge branch 'master' into harfbuzzUpdate
2019-01-20 18:05:38 +01:00
Benedikt Schroeder
9206f17aed
HarfBuzz binding additions
...
Disable fastFail
2019-01-20 18:02:08 +01:00
Matthew Leibowitz
276e7ca13b
UWP also requires the platform NuGet
2019-01-16 17:55:24 +02:00
Matthew Leibowitz
2ce378e492
The new 2.x MSBuild.Sdk.Extras do not work without the custom SDK
2019-01-16 04:46:27 +02:00
Matthew Leibowitz
ff8c2b9f4b
Reverting the project SDK type as this is not yet supported on mac
2019-01-15 22:39:14 +02:00
Matthew Leibowitz
8039d0d0bb
Fix the disposal process for ANGLE. FIxes #705
...
- the actual native objects were not getting cleaned up
- added a proper disposal method to the GLES context
- even when the panel was unloaded, the native objects still hung around
- only when the panel is loaded, is the GLES context created
- when the panel is unloaded, dispose the context
2018-12-26 10:17:26 +02:00
Matthew Leibowitz
dbfa791d67
Update mdoc and move into the .targets file
2018-12-23 15:21:26 +02:00
Matthew Leibowitz
a215f55215
Merge SKGLDrawable into the view code
...
- there was not that much code duplication
- far more control per platform
- surface needs to query the context for the sampls permitted - Fixes #727
- renamed SKDrawable in preparateion of the incomming PR and because it was not descriptive anymore
2018-12-21 06:54:03 +02:00
Matthew Leibowitz
ad21a4455d
Updated the projects
...
- Use the latest version of MSBuild.Sdk.Extras
- No longer use MSBuild.Sdk.Extras for the net and netstandard monikers as the new .NET Core already supports these nicely
- Update all the Android projects to be 4.4+ as below is no longer realistically supported - both by Xamarin and Google
- Using the Sdk attribute to specify the new project SDK
2018-12-21 01:39:48 +02:00
Matthew Leibowitz
80bf244723
Prefer overloads to default values.
2018-12-14 21:16:04 +02:00
Charlenni
2397595a49
Added mouse wheel handling for Forms.UWP
2018-12-06 14:33:36 +01:00
Matthew Leibowitz
d724b9e491
The Android GLView should be transparent to be consistent
...
Fixes #546
2018-11-24 14:33:26 +02:00
Matthew Leibowitz
aaee57b3ab
Update Xamarin.Forms because we want to be on the edge
2018-10-30 16:43:06 +02:00
Matthew Leibowitz
61a067f2c3
Make sure the override/virtual is correct for each platform
2018-10-13 14:03:25 +02:00
Matthew Leibowitz
df2057c3ae
Fix the warnings
2018-10-13 03:54:49 +02:00
Matthew Leibowitz
cd8768cad9
We can't have entrypoints that don't exist on all platforms
...
- we could have wrapped it with a #if, but we aren't using it
2018-10-12 19:03:24 +02:00
Matthew Leibowitz
102d6477f6
Renamed the extension method to be both more specific and more accurate
2018-10-04 02:49:03 +02:00
Matthew Leibowitz
eec4fcbee2
Make the internal types internal
2018-09-28 23:39:34 +02:00
Matthew Leibowitz
b32bce1041
Work on the UWP views to make things run better across the board
2018-09-26 05:56:56 +02:00
Matthew Leibowitz
b9dc4446f8
Merged in a few improvements to the CI ( #638 )
...
- more environment variables are printed
- use `/Z7` instead of `/Zi /FS` to try avoid intermittent error
- `"fatal error c1090: pdb api call failed, error code '23': '("`
- seems to be related to MSVC, Jenkins and mspdbsrv
- generate full PDB on windows
- fail fast to improve overall build cycles
- use stashing to remove the many azure uploads
- make sure the git sha was added to the assembly
2018-09-20 22:05:12 +02:00
Matthew Leibowitz
a27cbb1eae
Improve the Linux CI ( #635 )
...
* Prepare the bits to build the linux platforms
* Adding just the required native packages
* Update mdoc and add the --quiet flag to reduce output noise
* Moved the linux native assets into a separate nuget
* Updated the UWP signing key
* Remove the old index8 members
2018-09-17 04:48:12 +02:00
Matthew Leibowitz
0fec7c7e74
Merge pull request #631 from mono/dev/update-m68
...
Update to m68
2018-09-14 13:42:40 +02:00
Matthew Leibowitz
4f288beb33
Make sure to save/restore the canvas matrix
2018-09-13 00:05:23 +02:00
Matthew Leibowitz
0b924240fd
Build the native into the native folder, and then link into the project
2018-09-07 17:03:52 +02:00
Matthew Leibowitz
c60122517c
Updating the views to use the new GPU types
2018-09-07 02:45:10 +02:00
Matthew Leibowitz
b52e69feff
Added the interop library for UWP & GL
2018-09-03 15:41:05 +02:00
Matthew Leibowitz
a6fc98aaf9
Adding a net45 target to SkiaSharp.HarfBuzz. Fixes #604
...
- netstandard1.3 does not support net45
2018-08-15 22:15:30 +02:00
Matthew Leibowitz
2f9adbceba
Update mdoc
2018-08-07 23:33:39 +02:00
Matthew Leibowitz
092b5e0a6d
Merge remote-tracking branch 'origin/master' into development
...
# Conflicts:
# source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Native.Shared/SKCanvasViewRendererBase.cs
2018-08-06 22:47:10 +02:00
Matthew Leibowitz
6be30a88a2
Merge pull request #588 from mono/dev/update-forms
...
Update Xamarin.Forms to v3.0
2018-07-26 17:47:10 +02:00
jx
0694d307b7
fix #581 Android and Tizen Location.Y error
2018-07-24 10:39:13 +08:00
Matthew Leibowitz
0b756f188b
Update the version of android being used for compilation
2018-07-24 04:06:39 +02:00
Matthew Leibowitz
ee7b9bad78
Merge branch 'master' into dev/update-m67
2018-07-24 03:49:44 +02:00
Matthew Leibowitz
9ff335b1f6
Update Xamarin.Forms to v3.0
2018-07-24 03:30:38 +02:00
Matthew Leibowitz
d9e3ac2c8b
Remove the extra backslash after %(RecursiveDir)
...
- it is technically incorrect as the recursive directory already has the trailing slash
- it breaks on mac as vs for mac is more strict/sensitive
2018-07-23 23:43:28 +02:00
Matthew Leibowitz
cbbf852326
Make sure to initialize the DPI field. Fixes #582
2018-07-23 04:05:45 +02:00
Matthew Leibowitz
ed0c4561b9
WPF requires an extra property
2018-07-19 02:28:27 +02:00
Matthew Leibowitz
cc40c294ef
Create out own __TIZEN__ define
...
- things appear to have changed from TIZEN4_0 to TIZEN40
- we don't want the version in the define
2018-07-18 02:53:15 +02:00
Matthew Leibowitz
b7efe03d58
Update all the versions to the latest of everything
2018-07-18 02:52:19 +02:00
Matthew Leibowitz
b7eed6a312
make sure the encoding is correct
2018-07-12 16:59:13 +02:00
Matthew Leibowitz
8448aa3993
Move the docs to the "docs/xml" folder for docs.microsoft.com
2018-06-20 10:19:38 +02:00
Benjamin N. Summerton
943840eba8
Improve rendering speed for Gtk#'s SKWidget
...
This gives the `SKWidget` for Gtk# a massive performance boost by moving
the creation of the `SKSurface` (and `SKImageInfo`) to the
`CreateDrawingObjects()` method (formally `CreatePixbuf()`). This makes
it so that these objects aren't being made every render cycle. That is
what was causing the slowdow.
This also gets rid of the flicker reported in #534 ; it's flicker from
window dragging & resizing is now on par with that of Cairo's.
Another minor optimization was made, removing the call to
`base.OnExposeEvent()`. It's not needed and the extra fuction call can
siphon off CPU cycles we'd like to keep. Some other optimizations can
be made, but most of them probably are very minor.
closes #534
2018-06-13 21:05:13 -04:00
Matthew Leibowitz
3244b370a9
Make sure to detach static event for UWP. #429
2018-05-31 00:33:55 +02:00
Matthew Leibowitz
1deb7d9180
Removing shared projects from the source
2018-05-23 00:38:01 +02:00
Matthew Leibowitz
cce9b96b19
Added the Android projects to the Windows solution
2018-05-22 07:22:39 +02:00
Matthew Leibowitz
d38573a6f7
Merge branch 'master' into dev/sdk-style-project
2018-05-22 04:39:59 +02:00
Matthew Leibowitz
eff217a236
Made some types public for 3rd-party Xamarin.Forms platforms ( #522 )
2018-05-21 04:35:06 +02:00
Matthew Leibowitz
9fc88f0a70
Added a new .editorconfig
...
- and removed a comment from a .csproj
2018-05-17 04:11:32 +02:00
Matthew Leibowitz
88a573f133
Update the rest of the projects to the SDK-style projects
2018-05-11 03:59:30 +02:00
Matthew Leibowitz
496f8c9e6e
Missed this for Android
2018-05-09 14:33:26 +02:00
Matthew Leibowitz
5a15d1d566
Change ScalingInfo to use double
...
- to be more consistent with the other platforms
- to contain int
2018-05-09 04:11:27 +02:00
Matthew Leibowitz
1e0629d95f
Some changes to the SKTouchHandler to make future platforms a bit easier
2018-05-09 03:03:16 +02:00
Matthew Leibowitz
c87f8eeb4f
Use the event args instead of individual parameters
2018-05-07 14:37:28 +02:00
Matthew Leibowitz
162f664443
Make sure to re-create the SkiaSharp context when the texture changes. Fixes #460
2018-05-04 16:39:52 +02:00
Matthew Leibowitz
1d7290a627
Moved a few types around and tweaked the APIs a bit to match the others
2018-05-01 22:46:00 +02:00
Matthew Leibowitz
9d4f672584
Moved the Tizen GL init to the core SkiaSharp library
2018-05-01 20:32:00 +02:00
Matthew Leibowitz
da736e75ad
Merge branch 'master' into dev/add-tizen-support
2018-04-21 15:23:33 +02:00
Matthew Leibowitz
bafc3368dc
Merge branch 'master' into dev/update-docs
2018-04-21 02:01:27 +02:00
Matthew Leibowitz
bfbd358167
Changing the way docs are generated...
...
- using the frameworks mode
- updated mdoc
- moved the docs scripts into a new file as they are not part of the main script
2018-04-21 01:56:38 +02:00
Matthew Leibowitz
f0cea333c5
SkiaSharp.HarfBuzz.NetStandard is no longer used
...
- using SkiaSharp.HarfBuzz instead
2018-04-21 01:54:12 +02:00
Matthew Leibowitz
5e6c998241
Updated mdoc to the latest
2018-04-19 21:10:52 +02:00
Michal Dobrodenka
b7da89f3b8
iOS SKCanvasView - Disposing UIGraphics context to help GC
2018-04-18 17:27:54 +02:00
Matthew Leibowitz
d261379027
Merge branch 'master' into dev/add-tizen-support
2018-04-17 22:35:30 +02:00
Matthew Leibowitz
042ae7dab3
Made some changes to improve the overall build process
...
- this includes the Tizen bits from the PR
- the config.h for harfbuzz is no longer from the repo, but an actual config
- added a basic Tizen-only sample
- SkiaSharp.HarfBuzz.NetStandard and SkiaSharp.views.Forms.NetStandard should have died long time ago
2018-04-17 22:14:02 +02:00
Matthew Leibowitz
c7110098ed
SkiaSharp.Views.Forms is .NET Standard, so use that.
2018-04-16 13:40:29 +02:00
Matthew Leibowitz
0b38873fee
Fixed a case where exceptions were thrown in the constructors. Fixes #482
...
- only dispose the list if the list was actually created
- sign the tests so we can use InternalsVisibleTo
- added a test to identify #482
2018-04-12 19:35:36 +02:00
Hobum
d41600c885
Merge remote-tracking branch 'upstream/master' into dev-forms-tizen
2018-04-04 04:51:12 -07:00
Matthew Leibowitz
0307754738
Update Xamarin.Forms to v2.5.0.280555 for better Tizen support
2018-04-04 12:41:48 +02:00
Hobum (Vincent) Kwon
67fbfb5003
Change obsolete property (Context.MainWindow -> NativeParent)
2018-04-04 18:58:16 +09:00
Hobum (Vincent) Kwon
9021f48b74
Remove unnecessary license headers
2018-04-03 15:54:06 +09:00
Hobum (Vincent) Kwon
5bc9650021
Fix SKGLSurficeView upside down issue for Tizen backend
2018-04-03 14:31:17 +09:00
Hobum (Vincent) Kwon
cfd8d476cc
Add Xamarin.Forms for Tizen support
2018-04-01 22:35:30 +09:00
Matthew Leibowitz
495e77ec5a
Fix CGColor creation. Fixes #475
2018-03-27 12:26:01 +02:00
Matthew Leibowitz
b9f1e311a7
Merge branch 'master' into dev/somewhat-modern
2018-03-25 01:06:40 +02:00
Matthew Leibowitz
3b1e7a057d
Fixed issue with GTK# widget
2018-03-25 00:59:44 +02:00
Matthew Leibowitz
fcafca3072
Using the shiny new mdoc (v5.6.0)
2018-03-23 06:37:31 +02:00
Matthew Leibowitz
75850d3661
Update the docs generation
2018-03-22 21:14:54 +02:00
Matthew Leibowitz
6c25780a6b
Moving more work into MSBuild
2018-03-20 05:01:37 +02:00
Matthew Leibowitz
65fd144154
Removed old things
2018-02-23 05:21:57 +02:00
Matthew Leibowitz
1f74140e46
Merge pull request #415 from eoner/master
...
Issue #400
2018-02-20 16:52:59 +02:00
Matthew Leibowitz
94686d00e0
Remove all things to OpenGL from the watchOS views
2018-02-10 02:54:34 +02:00
Matthew Leibowitz
842ce1a0db
Don't force building with .net standard library 1.6.0
2018-02-09 23:27:40 +02:00
Matthew Leibowitz
1552fe6b73
Implement the destructor properly
2018-02-05 22:14:05 +02:00
Matthew Leibowitz
4acdba914d
Refactored the view to conform to coding styles
2018-02-05 21:40:54 +02:00
Matthew Leibowitz
e026caf6db
Switching from surface to texture in forms
2018-02-05 20:54:20 +02:00
Matthew Leibowitz
01f2ded1d0
Adding the texture view to the project
2018-02-05 20:53:58 +02:00
Matthew Leibowitz
e6b7ee5ed9
Merged master into dev
2018-02-05 17:36:27 +02:00
Matthew Leibowitz
490242863d
Changes due to an updated Xamarin.Forms
2018-01-31 23:43:43 +02:00
Matthew Leibowitz
f693607d08
Cleaned up the GTK projects
2018-01-31 23:31:34 +02:00
Matthew Leibowitz
83fee59aa0
Merge pull request #440 from rabbitom/master
...
Issue #439
2018-01-31 21:39:09 +02:00
Matthew Leibowitz
063d08997b
Android views is still v4.0.3
2018-01-31 16:12:51 +02:00
Matthew Leibowitz
853c222dc7
Updating NuGet dependencies
2018-01-31 05:13:26 +02:00
erabbit
1b0e302a97
fix the problem of drawing abnormal pixels when convert CoreGraphics images to SkiaSharp images
2018-01-31 10:55:10 +08:00
Matthew Leibowitz
6870965a3c
Build against Xamarin.Forms v2.5.0
2018-01-31 04:52:25 +02:00
Matthew Leibowitz
5567d7c62f
Set the version to v1.60.0-beta as we are nearing release, and want to get a beta out
2018-01-30 18:15:35 +02:00
Matthew Leibowitz
b790812271
Merge the casing changes
2018-01-30 11:49:32 +02:00
Matthew Leibowitz
e25bf02757
GTK does not build on Windows out the box, so skip it for now
2018-01-30 11:44:33 +02:00
Matthew Leibowitz
4dd9849fea
updating the solution files
2018-01-30 02:41:48 +02:00
Matthew Leibowitz
8c5a69e747
fixed text casing and build basic samples
2018-01-30 02:01:59 +02:00
Matthew Leibowitz
bbf33ab829
Fixed file system casing
2018-01-29 22:35:12 +02:00