1. 17 Apr, 2014 1 commit
  2. 16 Apr, 2014 2 commits
  3. 14 Apr, 2014 2 commits
  4. 11 Apr, 2014 3 commits
  5. 10 Apr, 2014 2 commits
  6. 09 Apr, 2014 1 commit
  7. 05 Apr, 2014 1 commit
    • commit-bot@chromium.org's avatar
      get iOS building again · ae0054e4
      commit-bot@chromium.org authored
      1) Disable SampleApp.  Seems like it's totally horked?  SkOSFile_iOS.mm is missing about half the functions needed, and SkOSFile_stdio.cpp is double-providing the others.
      
      2) Drop armv6.
      
      3) Switch from putting headers in sources to putting the corresponding directories in includes.
      
      4)  Force cast the type of glShaderSource.  Something to do with GR_GL_USE_NEW_SHADER_SOURCE_SIGNATURE?
      
      After all this,
          env CC=clang CXX=clang++ GYP_DEFINES=skia_os=ios make
      builds for me.
      BUG=skia:2363
      R=bsalomon@google.com, epoger@google.com, mtklein@google.com
      
      Author: mtklein@chromium.org
      
      Review URL: https://codereview.chromium.org/226413005
      
      git-svn-id: http://skia.googlecode.com/svn/trunk@14069 2bbb7eff-a529-9590-31e7-b0007b416f81
      ae0054e4
  8. 04 Apr, 2014 2 commits
  9. 02 Apr, 2014 1 commit
    • commit-bot@chromium.org's avatar
      ARM Skia NEON patches - 35 - First AArch64 support · 6f2d4d46
      commit-bot@chromium.org authored
      
      Aarch64 support
      
      This change contains the necessary modifications to have Skia build and
      run properly on an ARMv8 processor in aarch64 execution state.
      
      Here's a list of the changes:
      
       - add an arm64 target to the build system + SK_CPU_ARM64 flag
      
       - MatrixTest was failing when built in Release mode. Fused MAC
         instructions were generated which made some intermediate results
         more accurate. As the test relies on result comparison, the more
         precise results when compared to others led to a gap bigger than
         what was tolerated. As I don't know if some actual skia code relies
         on results being comparable, I've disabled fused MAC instruction
         with -ffp-contract=off for arm64.
      
       - Modify include/core/SkOnce.h to have barriers work.
      
       - SK_CPU_ARM64 implies SK_ARM_NEON_MODE_ALWAYS.
      
       - use existing Xfermode optimisations with modifications that can be
         removed in the future when toolchains are ready. Also save a few
         instructions is two Xfermodes (will apply to ARM too).
      
       - use existing SkBoxBlur and SkMorphology optimisations.
      
       - use existing SkBlitMask optimisations
      
       - use existing BitmapProcState and Convolution optimisations.
      
      Future changes will include:
      
       - Blitters (only partialy merged upstream)
      
       - SkUtils (there's little value in sending asm optimisations without
         having them benchmarked on real hardware).
      Signed-off-by: default avatarKevin PETIT <kevin.petit@arm.com>
      
      BUG=skia:
      
      Committed: http://code.google.com/p/skia/source/detail?r=13980
      
      R=djsollen@google.com, reed@google.com, mtklein@google.com, halcanary@google.com
      
      Author: kevin.petit@arm.com
      
      Review URL: https://codereview.chromium.org/143423004
      
      git-svn-id: http://skia.googlecode.com/svn/trunk@14025 2bbb7eff-a529-9590-31e7-b0007b416f81
      6f2d4d46
  10. 01 Apr, 2014 1 commit
  11. 28 Mar, 2014 3 commits
    • commit-bot@chromium.org's avatar
      Revert of ARM Skia NEON patches - 35 - First AArch64 support... · d643a90e
      commit-bot@chromium.org authored
      Revert of ARM Skia NEON patches - 35 - First AArch64 support (https://codereview.chromium.org/143423004/)
      
      Reason for revert:
      GYP's failing on most (all?) bots.
      
      Original issue's description:
      > ARM Skia NEON patches - 35 - First AArch64 support
      >
      > Aarch64 support
      >
      > This change contains the necessary modifications to have Skia build and
      > run properly on an ARMv8 processor in aarch64 execution state.
      >
      > Here's a list of the changes:
      >
      >  - add an arm64 target to the build system + SK_CPU_ARM64 flag
      >
      >  - MatrixTest was failing when built in Release mode. Fused MAC
      >    instructions were generated which made some intermediate results
      >    more accurate. As the test relies on result comparison, the more
      >    precise results when compared to others led to a gap bigger than
      >    what was tolerated. As I don't know if some actual skia code relies
      >    on results being comparable, I've disabled fused MAC instruction
      >    with -ffp-contract=off for arm64.
      >
      >  - Modify include/core/SkOnce.h to have barriers work.
      >
      >  - SK_CPU_ARM64 implies SK_ARM_NEON_MODE_ALWAYS.
      >
      >  - use existing Xfermode optimisations with modifications that can be
      >    removed in the future when toolchains are ready. Also save a few
      >    instructions is two Xfermodes (will apply to ARM too).
      >
      >  - use existing SkBoxBlur and SkMorphology optimisations.
      >
      >  - use existing SkBlitMask optimisations
      >
      >  - use existing BitmapProcState and Convolution optimisations.
      >
      > Future changes will include:
      >
      >  - Blitters (only partialy merged upstream)
      >
      >  - SkUtils (there's little value in sending asm optimisations without
      >    having them benchmarked on real hardware).
      >
      > Signed-off-by: Kevin PETIT <kevin.petit@arm.com>
      >
      > BUG=skia:
      >
      > Committed: http://code.google.com/p/skia/source/detail?r=13980
      
      R=djsollen@google.com, reed@google.com, halcanary@google.com, kevin.petit@arm.com
      TBR=djsollen@google.com, halcanary@google.com, kevin.petit@arm.com, reed@google.com
      NOTREECHECKS=true
      NOTRY=true
      BUG=skia:
      
      Author: mtklein@google.com
      
      Review URL: https://codereview.chromium.org/216113005
      
      git-svn-id: http://skia.googlecode.com/svn/trunk@13983 2bbb7eff-a529-9590-31e7-b0007b416f81
      d643a90e
    • commit-bot@chromium.org's avatar
      ARM Skia NEON patches - 35 - First AArch64 support · 7a0e2757
      commit-bot@chromium.org authored
      
      Aarch64 support
      
      This change contains the necessary modifications to have Skia build and
      run properly on an ARMv8 processor in aarch64 execution state.
      
      Here's a list of the changes:
      
       - add an arm64 target to the build system + SK_CPU_ARM64 flag
      
       - MatrixTest was failing when built in Release mode. Fused MAC
         instructions were generated which made some intermediate results
         more accurate. As the test relies on result comparison, the more
         precise results when compared to others led to a gap bigger than
         what was tolerated. As I don't know if some actual skia code relies
         on results being comparable, I've disabled fused MAC instruction
         with -ffp-contract=off for arm64.
      
       - Modify include/core/SkOnce.h to have barriers work.
      
       - SK_CPU_ARM64 implies SK_ARM_NEON_MODE_ALWAYS.
      
       - use existing Xfermode optimisations with modifications that can be
         removed in the future when toolchains are ready. Also save a few
         instructions is two Xfermodes (will apply to ARM too).
      
       - use existing SkBoxBlur and SkMorphology optimisations.
      
       - use existing SkBlitMask optimisations
      
       - use existing BitmapProcState and Convolution optimisations.
      
      Future changes will include:
      
       - Blitters (only partialy merged upstream)
      
       - SkUtils (there's little value in sending asm optimisations without
         having them benchmarked on real hardware).
      Signed-off-by: default avatarKevin PETIT <kevin.petit@arm.com>
      
      BUG=skia:
      R=djsollen@google.com, reed@google.com, mtklein@google.com, halcanary@google.com
      
      Author: kevin.petit@arm.com
      
      Review URL: https://codereview.chromium.org/143423004
      
      git-svn-id: http://skia.googlecode.com/svn/trunk@13980 2bbb7eff-a529-9590-31e7-b0007b416f81
      7a0e2757
    • commit-bot@chromium.org's avatar
      Updates to Android.mk generation. · ba0c5ea9
      commit-bot@chromium.org authored
      Generate SkUserConfig.
      Include arm64 as another build flavor.
      Add tests.
      
      gyp/common_conditions.gypi:
      Add conditions for Android framework. These will get written into the generated SkUserConfig.
      
      include/core/SkUserConfig.h:
      Generated version that will ultimately be checked into Android (but not here).
      
      platform_tools/android/bin/gyp_to_android.py:
      Generate SkUserConfig.
      Add arm64 (note that arm64 is not currently respected by our gyp files, so it results in use _none.cpp for the various opts).
      Reset the common defines, which are now passed to the generated SkUserConfig.
      
      platform_tools/android/gyp_gen/generate_user_config.py:
      New script to generate SkUserConfig.h.
      
      platform_tools/android/gyp_gen/gypd_parser.py:
      Fix a lint error (unused import).
      
      platform_tools/android/gyp_gen/makefile_writer.py:
      Append any remaining DEFINES to LOCAL_CFLAGS (previously this was done during parsing).
      Add a warning for arm64 (corresponds to downstream Android.mk).
      
      platform_tools/android/gyp_gen/vars_dict_lib.py:
      Add OrderedSet.reset().
      Add DEFINES to VarsDict.
      
      platform_tools/android/tests/expectations/:
      Add and update expectations files.
      
      platform_tools/android/tests/generate_user_config_tests.py:
      New test for generate_user_config.py
      
      platform_tools/android/tests/inputs/SkUserConfig.h:
      Input to the new test, so we don't have to update the expectations each time the real SkUserConfig.h changes.
      
      platform_tools/android/tests/makefile_writer_tests.py:
      Add a way to rebaseline test_write_local_vars, which has changed.
      Refactor EXPECTATIONS_DIR and compare_files into a separate file for sharing with generate_user_config_tests.py.
      
      platform_tools/android/tests/utils.py:
      Common code for tests.
      
      platform_tools/android/tests/var_dict_tests.py:
      Use a for loop to test the new key (DEFINES) and future proof this test to test any new keys in the future.
      
      BUG=skia:1975
      R=djsollen@google.com, halcanary@google.com
      
      Author: scroggo@google.com
      
      Review URL: https://codereview.chromium.org/198063002
      
      git-svn-id: http://skia.googlecode.com/svn/trunk@13975 2bbb7eff-a529-9590-31e7-b0007b416f81
      ba0c5ea9
  12. 25 Mar, 2014 1 commit
  13. 12 Mar, 2014 1 commit
  14. 11 Mar, 2014 1 commit
  15. 28 Feb, 2014 1 commit
  16. 21 Feb, 2014 1 commit
  17. 17 Feb, 2014 1 commit
  18. 13 Feb, 2014 1 commit
  19. 05 Feb, 2014 1 commit
  20. 04 Feb, 2014 2 commits
    • scroggo@google.com's avatar
      Gyp file changes for the android framework. · eb629504
      scroggo@google.com authored
      Split off from https://codereview.chromium.org/140503007/.
      
      The eventual goal is to create our Android.mk from gyp. This patch
      adds an option for skia_android_framework with the right settings.
      The follow-up (https://codereview.chromium.org/140503007/) will
      use scripts to create the final makefile.
      
      gyp/android_deps.gyp:
      Use different dependencies for the framework than for building Skia
      normally.
      
      gyp/android_framework_lib.gyp:
      Like skia_lib, specifies the minimum needed for building Skia, in this
      case for the framework.
      
      gyp/common_conditions.gypi:
      Add settings specific to skia_android_framework. In some cases this
      means turning off flags and defines.
      
      gyp/common.gypi
      Turn off SK_DEBUG and SK_DEVELOPER when building for the framework.
      This allows the framework to create a single makefile which can be
      modified to add SK_DEBUG and SK_DEVELOPER as desired.
      
      gyp/common_variables.gypi:
      Add skia_android_framework.
      
      gyp/core.gyp:
      Don't depend on cpufeatures, and add the cutils library for
      skia_android_framework.
      
      gyp/freetype.gyp:
      skia_android_framework-specific options:
      Don't include freetype_static as a dependency.
      Include the proper folders.
      Include the android library.
      
      gyp/images.gyp:
      Don't export libjpeg as a dependency for targets that include images
      for the framework.
      Also reorder image decoders to match the Android order, leaving our
      most commonly used ones last (and therefore first in the chain for
      trying them).
      
      gyp/libwebp.gyp:
      Use the system webp when building for the Android framework. Specify
      the correct settings for the framework.
      
      gyp/opts.gyp:
      Specify a default set of files to compile when there are no possible
      optimizations.
      
      gyp/pdf.gyp:
      Add dependencies for Android framework.
      
      gyp/zlib.gyp:
      Include the zlib folder, and undefine SK_ZLIB_INCLUDE.
      
      BUG=skia:1975
      R=djsollen@google.com
      
      Committed: https://code.google.com/p/skia/source/detail?r=13298
      
      Review URL: https://codereview.chromium.org/153093003
      
      git-svn-id: http://skia.googlecode.com/svn/trunk@13304 2bbb7eff-a529-9590-31e7-b0007b416f81
      eb629504
    • scroggo@google.com's avatar
      Gyp file changes for the android framework. · 1c9bd55e
      scroggo@google.com authored
      Split off from https://codereview.chromium.org/140503007/.
      
      The eventual goal is to create our Android.mk from gyp. This patch
      adds an option for skia_android_framework with the right settings.
      The follow-up (https://codereview.chromium.org/140503007/) will
      use scripts to create the final makefile.
      
      gyp/android_deps.gyp:
      Use different dependencies for the framework than for building Skia
      normally.
      
      gyp/android_framework_lib.gyp:
      Like skia_lib, specifies the minimum needed for building Skia, in this
      case for the framework.
      
      gyp/common_conditions.gypi:
      Add settings specific to skia_android_framework. In some cases this
      means turning off flags and defines.
      
      gyp/common.gypi
      Turn off SK_DEBUG and SK_DEVELOPER when building for the framework.
      This allows the framework to create a single makefile which can be
      modified to add SK_DEBUG and SK_DEVELOPER as desired.
      
      gyp/common_variables.gypi:
      Add skia_android_framework.
      
      gyp/core.gyp:
      Don't depend on cpufeatures, and add the cutils library for
      skia_android_framework.
      
      gyp/freetype.gyp:
      skia_android_framework-specific options:
      Don't include freetype_static as a dependency.
      Include the proper folders.
      Include the android library.
      
      gyp/images.gyp:
      Don't export libjpeg as a dependency for targets that include images
      for the framework.
      Also reorder image decoders to match the Android order, leaving our
      most commonly used ones last (and therefore first in the chain for
      trying them).
      
      gyp/libwebp.gyp:
      Use the system webp when building for the Android framework. Specify
      the correct settings for the framework.
      
      gyp/opts.gyp:
      Specify a default set of files to compile when there are no possible
      optimizations.
      
      gyp/pdf.gyp:
      Add dependencies for Android framework.
      
      gyp/zlib.gyp:
      Include the zlib folder, and undefine SK_ZLIB_INCLUDE.
      
      BUG=skia:1975
      R=djsollen@google.com
      
      Review URL: https://codereview.chromium.org/153093003
      
      git-svn-id: http://skia.googlecode.com/svn/trunk@13298 2bbb7eff-a529-9590-31e7-b0007b416f81
      1c9bd55e
  21. 20 Jan, 2014 1 commit
  22. 15 Jan, 2014 1 commit
  23. 06 Dec, 2013 1 commit
  24. 02 Dec, 2013 1 commit
  25. 21 Nov, 2013 1 commit
  26. 20 Nov, 2013 4 commits
  27. 11 Nov, 2013 2 commits