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

1678 Коммитов

Автор SHA1 Сообщение Дата
Bill Holmes 7edfd3c4fa Adding Skia OSX binding and demo project 2015-11-24 12:59:37 -05:00
Bill Holmes c344ffab4e Adding build for OSX in native-builds
Similar to what we have done for iOS, we will
create a liblibskia_osx.dylib that links only
the symbols that we need.
2015-11-24 12:44:06 -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
Miguel de Icaza 8026aa76db Sample for Bill to look at 2015-11-21 10:34:31 -05:00
Miguel de Icaza 908844cae2 Merge pull request #1 from xamarin/mobile-bindings
Mobile bindings
2015-11-21 10:01:56 -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 808addc311 Adding a text sample to the Forms app 2015-11-21 01:00:07 -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 111ebbfb2b Adding Android build commands for Skia native lib. 2015-11-20 23:32:10 -05:00
Bill Holmes bce9047218 Adding .DS_Store to .gitignore 2015-11-20 22:27:21 -05:00
Bill Holmes 07487203b0 Adding PHONY target for ios and android in native build. 2015-11-20 22:25:52 -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 186c976097 Adding a Skia Forms sample
Only iOS is working at the moment.  Need to build up the
Android binding and Native build.
2015-11-20 20:45:41 -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
Bill Holmes c124607693 Adding Makefiles to build Skia for iOS
Bumping the skia hash to pick up fixes needed to build
and link an iOS application.
2015-11-20 19:35:47 -05:00
Miguel de Icaza 8f16f12bf6 Bring new version 2015-11-19 11:10:03 -05:00
Miguel de Icaza 6826f0e6a8 Add Skia as a submodule 2015-11-19 11:06:10 -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 3e67f19f22 Update README.md 2015-11-14 22:46:15 -05:00
Miguel de Icaza 08a9c334e2 Update README.md 2015-11-13 23:43:03 -05:00
Miguel de Icaza d7955d1c2d Update README.md 2015-11-13 23:33:17 -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
Miguel de Icaza 053e96b970 Initial commit 2015-11-13 10:21:00 -05:00