Граф коммитов

41 Коммитов

Автор SHA1 Сообщение Дата
Matthew Leibowitz 39033719e8 [Build] Corrected unnecessary files, was wrong path 2016-02-15 15:21:35 +02:00
Matthew Leibowitz ed387cb559 [NuGet] The package should also copy the .dll.config for mac 2016-02-13 05:07:47 +02:00
Matthew Leibowitz 927371bda9 [C# API] Added more members to SKCanvas 2016-02-06 06:51:56 +02:00
Matthew Leibowitz 4a5160d8b6 [C# API] Added a [Preserve] attribute to preserve the constructors 2016-02-05 22:41:48 +02:00
Matthew Leibowitz e2b630f9ed [Build] Set the version for the first release 2016-02-05 17:37:06 +02:00
Matthew Leibowitz e555d02a6c [Build] Improved the Windows build 2016-02-04 21:46:42 +02:00
Matthew Leibowitz 08d6ed80b4 [C API] Updated the code to match the new chrome\m49 release 2016-02-04 16:02:21 +02:00
Matthew Leibowitz 3394831f95 Merge branch 'spike-embedded-framework' of github.com:xamarin/SkiaSharp into spike-embedded-framework 2016-02-03 06:19:41 +02:00
Matthew Leibowitz b37139b886 [C# API] Throw an exception if the image decoder couldn't be created 2016-02-03 06:18:45 +02:00
Matthew Leibowitz b4e77807ef [C# API] Update the code for .NET 4.5 2016-02-02 22:05:37 +02:00
Matthew Leibowitz 7ee62ed139 Major changes:
- created a generic/agnostic desktop build for both Mac and Windows
    - using assembly configuration (dllmap windows dll to osx dylib)
    - the .targets file uses '$(OS)' to import/copy the right files
 - removed the double 'lib' prefix on osx
 - added the desktop build to the NuGet
 - using nunit 2 for XS compatibility
2016-02-02 19:38:48 +02: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
Matthew Leibowitz 033c724f21 [C# API] Implemented a base type for all Skia objects
- better management of managed instances
 - added more members to SKStream
2016-02-02 00:20:02 +02:00
Matthew Leibowitz da5c465a5d [C# API] Added bindings for more C APIs 2016-01-28 04:48:26 +02:00
Matthew Leibowitz 77cbecd777 [C# API] Added members to draw bitmaps on a canvas 2016-01-25 22:21:15 +02:00
Matthew Leibowitz c9c5b7f620 [C# API] Added more members to the image decoder API 2016-01-25 22:20:44 +02:00
Matthew Leibowitz 2aed6e9b76 [C# API] Handle "skip" reading managed stream (read to null buffer) 2016-01-22 02:42:24 +02:00
Matthew Leibowitz c6f4edd97c [C# API] Fixed the delegates calling convention and some bitmap changes 2016-01-22 02:23:19 +02:00
Matthew Leibowitz 514e5cf98f [C# API] Added Bitmap support and extra shader types 2016-01-21 16:17:21 +02:00
Matthew Leibowitz 1f55e9838f [C# API] Updated the C API and added more features to the C# API 2016-01-21 03:40:57 +02:00
Matthew Leibowitz 093478ce4a [Build] Generate the SkiaSharp Portable source at build time to prevent out-of-date assemblies 2016-01-18 23:30:36 +02:00
Matthew Leibowitz f8158c42e3 [C# API] We don't need the .lib for managed applications 2016-01-18 20:59:17 +02:00
Matthew Leibowitz 5ec43e9471 [C# API] Windows needs the CallingConvention to be Cdecl 2016-01-18 20:34:40 +02:00
Matthew Leibowitz 936c3766d9 [C# API] Added Windows sample and fixed the binding 2016-01-16 00:27:01 +02:00
Matthew Leibowitz ec58b7752d [C# API] [Samples] Reworked the structure / references
- bindings now reference the files in the ./native-builds/lib/ directory
 - OS X no longer needs an explicit .dylib references, it just needs the .targets file
 - cleaned up the unnecessary Android references
 - moved Desktop & Driver projects into samples for later
 - Cake now builds the C# libraries and samples
2016-01-15 02:18:32 +02:00
Matthew Leibowitz afdc397796 [C# API] Removed some debug logging 2016-01-12 04:40:34 +02:00
Matthew Leibowitz b454abe7c7 [C# API] Added more features to the API, including support for managed streams 2016-01-12 03:56:05 +02:00
Bill Holmes d64e70ef06 Changing the DrawText calls convert to a UTF8 array
This ensures that we get the right length to pass in

Also adding a unicode text sample
2015-11-24 17:38:57 -05:00
Bill Holmes 7edfd3c4fa Adding Skia OSX binding and demo project 2015-11-24 12:59:37 -05:00
Bill Holmes 9e80edd071 Adding a libskia_android native ndk project
- This cuts down on the size of the binding dll
   and the installed apk.
 - Similar to what I tried on iOS with commit
   1118ac7f07
   create our own dynamic library that references
   all the prebuilt static archives for skia and
   let the linker do the work of removing all the
   symbols that we do not use.
2015-11-23 14:53:11 -05:00
Bill Holmes 1118ac7f07 Trying out embedded frameworks for Skia on iOS
- Created a libskia_ios xcode project to be the embedded framework
 - Changed the binding to use the new embedded framework

The theory is that we can rely on the xcode linker to strip out the
symbols that are not referenced in the c api.  If a new c file is added
to skia core we will have to change libskia_ios/SkiaKeeper.c to reference
one of the methods in that file.

From what I can tell it works pretty well.  Now the iOS binding is only 7MB
and that is all that is added to the size of the release iphone app size.
2015-11-21 22:54:21 -05:00
Bill Holmes a3778ac07e Adding a gradient sample to the Forms app
- Removing an unused count argument from CreateTwoPointConicalGradient
 - Bump the skia submodule to pick up the missing SK_API fix
2015-11-21 08:33:19 -05:00
Bill Holmes 3729c6cb8a Adding the native Skia lib to the Android binding
Changing the DllImport to point to the newly build library.
2015-11-20 23:33:15 -05:00
Bill Holmes b0f2d2343d Adding Android Skia binding
- Android binding project created
   - Using the system skia.  Need to build the Android version.
     The system skia is not working on all devices.  Guessing you
     need Android M.

 - Android Forms sample hooked up

 - Moved the upper left matrix change to the iOS
   native view.  Otherwise Android has to apply it twice.
2015-11-20 22:17:33 -05:00
Bill Holmes 59d553de64 Adding a Profile 78 PCL for Skia
This is a fake PCL used for bait and switch
2015-11-20 19:46:06 -05:00
Bill Holmes 1b20613378 Adding iOS binding project for Skia. 2015-11-20 19:39:46 -05:00
Miguel de Icaza fd7d78be6f Try to render some Unicode characters - it is failing for me 2015-11-14 23:09:23 -05:00
Miguel de Icaza 9e5351e199 Add support for text rendering 2015-11-14 23:01:36 -05:00
Miguel de Icaza f0474c167d Complete the binding, add sample 2015-11-13 23:15:39 -05:00
Miguel de Icaza 261c71e6ca Do a little bit, and throw exceptions if we do not manage to create the context 2015-11-13 17:36:07 -05:00
Miguel de Icaza 341ce87612 Initial Skia import 2015-11-13 16:40:06 -05:00