summaryrefslogtreecommitdiffstats
path: root/skia/skia.gyp
Commit message (Collapse)AuthorAgeFilesLines
* build: On Android, disable LTO for specific targets only when targeting GCC.pcc2015-08-261-1/+1
| | | | | | | | | | | | | | | | | | The set of targets for which LTO is problematic will most likely differ between GCC and LLVM. We also need different logic for LLVM (specifically, LTO should not be disabled when building with cfi_vptr==1, as the -flto flag must be passed together with -fsanitize=cfi*); this unbreaks the build for those targets on Android when cfi_vptr==1. Also add a drive-by TODO to use -lto_library flag on Mac. BUG=469376 R=thakis@chromium.org, fdegans@chromium.org TBR=jam@chromium.org Review URL: https://codereview.chromium.org/1289623006 Cr-Commit-Position: refs/heads/master@{#345492}
* gpu: Add calling convention for win32hendrikw2015-08-051-0/+16
| | | | | | | | | | | | | I'm in the process of making a command buffer gles2 dll that can be consumed by skia. Skia, on windows 32, uses __stdcall for it's gl functions, so to expose the gl interface to skia, we need to be using the same calling convention. Angle and GL both use __stdcall on win32. Review URL: https://codereview.chromium.org/1260253003 Cr-Commit-Position: refs/heads/master@{#341953}
* Include skia_common.gypi first such that the exclusion rules are firstdnicoara2015-07-021-3/+6
| | | | | | | | | | | | The default file name exclusion rules should be first such that any custom rules can re-include the files affected by these rules. BUG=none TBR=bungeman@google.com Review URL: https://codereview.chromium.org/1219043002 Cr-Commit-Position: refs/heads/master@{#337221}
* Remove all .h files from Skia build lists.mtklein2015-07-011-1/+0
| | | | | | | | | | | | | | | | | Listing headers in GN or GYP files has no effect on the build and only serves to make moving headers around more difficult, e.g. ERROR at //skia/BUILD.gn:395:5: Item not found "//third_party/skia/src/utils/SkTLogic.h", ^---------------------------------------- You were trying to remove "//third_party/skia/src/utils/SkTLogic.h" from the list but it wasn't there. BUG= Review URL: https://codereview.chromium.org/1220063002 Cr-Commit-Position: refs/heads/master@{#337080}
* skia: Simplify SSE2 logic a bit.thakis2015-06-051-31/+0
| | | | | | | | | | | | | | Chrome builds with -msse2 globally these days, so remove the skia_chrome_opts target and fold it into skia_chrome. Keep skia_opts but simplify the comments there a bit. No intended behavior change. BUG=496512,348761 Review URL: https://codereview.chromium.org/1161853008 Cr-Commit-Position: refs/heads/master@{#333129}
* Add a Mojo interface for SkBitmap and appropriate type converters.amistry2015-06-031-0/+17
| | | | | | Review URL: https://codereview.chromium.org/1150083005 Cr-Commit-Position: refs/heads/master@{#332585}
* Use TestDiscardableMemoryAllocator in filter_fuzz_stub.mbarbella2015-05-081-0/+1
| | | | | | | | | R=sugoi@chromium.org,sugoi@google.com BUG= Review URL: https://codereview.chromium.org/1126123004 Cr-Commit-Position: refs/heads/master@{#329013}
* Support MIPS DSP application-specific extension (ASE) in GYP.wtc2015-03-191-4/+3
| | | | | | | | | | | | This is the GYP counterpart of the GN changes in https://codereview.chromium.org/1008603002/. R=mtklein@google.com,petarj@mips.com,reed@google.com BUG=none Review URL: https://codereview.chromium.org/1010773007 Cr-Commit-Position: refs/heads/master@{#321256}
* Remove use_system_skia and skia_system.gypiscroggo2014-10-281-13/+1
| | | | | | | | | | These are no longer needed/used. BUG=skia:2350 Review URL: https://codereview.chromium.org/639423005 Cr-Commit-Position: refs/heads/master@{#301639}
* Add Link-Time Optimizations support for Android.fdegans2014-10-231-0/+4
| | | | | | | | | TBR=sergeyu, shess, cpu, jln BUG=407544 Review URL: https://codereview.chromium.org/646873004 Cr-Commit-Position: refs/heads/master@{#300872}
* Compile specific parts of the Android build with -O2.fdegans2014-09-171-1/+10
| | | | | | | | BUG=411909 Review URL: https://codereview.chromium.org/555373004 Cr-Commit-Position: refs/heads/master@{#295306}
* [MIPS64] Add build support in Skia for MIPS64Gordana.Cmiljanovic@imgtec.com2014-08-061-2/+2
| | | | | | | | BUG=400684 Review URL: https://codereview.chromium.org/440043002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287795 0039d316-1c4b-4281-b951-d872f2087c98
* Enable Arm64 target arch in gyp build configrmcilroy@chromium.org2014-03-201-2/+4
| | | | | | | | | | Initial support to get us started. There is a lot more work to do before we can compile for arm64. BUG=354405 Review URL: https://codereview.chromium.org/199583008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258363 0039d316-1c4b-4281-b951-d872f2087c98
* Adding new fuzzer deserialization test codesugoi@chromium.org2013-11-181-0/+11
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/67173009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235846 0039d316-1c4b-4281-b951-d872f2087c98
* Split incompatible MSAA extensions.sievers@chromium.org2013-11-131-0/+2
| | | | | | | | | | | | | | | | | | This splits the commandbuffer client interfaces for extensions in the style of GL_EXT_framebuffer_multisample (explicit resolve with glBlitFramebuffer) vs. multisampled_render_to_texture. glBlitFramebufferEXT() is also renamed to glBlitFrambufferCHROMIUM simply to make it obvious that it is to be used with glRenderbufferStorageMultisampleCHROMIUM rather than glRenderbufferStorageMultisampleEXT. BUG=314214 R=brettw@chromium.org, kbr@chromium.org, piman@chromium.org TBR=bsalomon@google.com Review URL: https://codereview.chromium.org/63583002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234853 0039d316-1c4b-4281-b951-d872f2087c98
* Improve Skia configuration.bungeman@chromium.org2013-10-211-1/+0
| | | | | | | | | | This is the Chromium side of https://codereview.chromium.org/19808007 . R=djsollen@google.com Review URL: https://codereview.chromium.org/19477005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229905 0039d316-1c4b-4281-b951-d872f2087c98
* skia: Remove obsolete GR_* defines.tfarina@chromium.org2013-09-061-4/+1
| | | | | | | | | | | These were removed from skia and aren't used here in Chromium, so lets remove them now. R=bsalomon@google.com Review URL: https://codereview.chromium.org/23548012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221681 0039d316-1c4b-4281-b951-d872f2087c98
* Android WebView: support building against system skia.torne@chromium.org2013-08-121-10/+23
| | | | | | | | | | | | Hook up the use_system_skia gyp flag to make it possible to try building against the system version of Skia in the Android WebView. BUG= R=djsollen@google.com, mkosiba@chromium.org, robertphillips@google.com Review URL: https://codereview.chromium.org/22435002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216989 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor Skia's GYP to separate Chrome additions from the core lib.djsollen@chromium.org2013-07-231-850/+58
| | | | | | | | | | Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=211639 R=robertphillips@google.com, torne@chromium.org Review URL: https://codereview.chromium.org/18177021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213080 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r10169robertphillips@google.com2013-07-191-1/+0
| | | | | | | | R=rmistry@google.com Review URL: https://codereview.chromium.org/19776011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212575 0039d316-1c4b-4281-b951-d872f2087c98
* REGRESSION: Fonts disappear when printingeae@chromium.org2013-07-181-3/+0
| | | | | | | | | | Revert r207911 as it caused custom fonts to fail to print on windows. BUG=259931 Review URL: https://chromiumcodereview.appspot.com/19652002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212420 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to 10117robertphillips@google.com2013-07-171-0/+3
| | | | | | | | R=bsalomon@google.com Review URL: https://codereview.chromium.org/19554003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212018 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r10067robertphillips@google.com2013-07-151-0/+1
| | | | | | | | R=rmistry@google.com Review URL: https://codereview.chromium.org/18244005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211643 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 211639 "Refactor Skia's GYP to separate Chrome additions ..."djsollen@chromium.org2013-07-151-59/+850
| | | | | | | | | | | | > Refactor Skia's GYP to separate Chrome additions from the core lib. > > Review URL: https://chromiumcodereview.appspot.com/18177021 TBR=djsollen@google.com Review URL: https://codereview.chromium.org/19166003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211642 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor Skia's GYP to separate Chrome additions from the core lib.djsollen@google.com2013-07-151-850/+59
| | | | | | Review URL: https://chromiumcodereview.appspot.com/18177021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211639 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r9949robertphillips@google.com2013-07-101-0/+1
| | | | | | | | R=bsalomon@google.com Review URL: https://codereview.chromium.org/18804003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210838 0039d316-1c4b-4281-b951-d872f2087c98
* Add src/lazy to direct dependent include settings.scroggo@google.com2013-06-281-0/+1
| | | | | | | | Prequisite to merging https://codereview.chromium.org/17113004 in Skia. Review URL: https://chromiumcodereview.appspot.com/17850003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209045 0039d316-1c4b-4281-b951-d872f2087c98
* Remove define of defunct SK_DEBUG_PATH_REF from skia.gypbsalomon@google.com2013-06-271-10/+0
| | | | | | | | R=robertphillips@google.com Review URL: https://codereview.chromium.org/18105002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208961 0039d316-1c4b-4281-b951-d872f2087c98
* Add skiaBenchmarking.getOps()fmalita@chromium.org2013-06-261-0/+6
| | | | | | | | | | | | | | | | Given a JSON-encoded Picture, the new function returns an array of Skia draw commands + info. Depends on https://codereview.chromium.org/16638014/. Re-landing after Skia SkDebugCanvas static initializer fix (https://code.google.com/p/skia/source/detail?r=9723). R=nduca@chromium.org, piman@chromium.org, senorblanco@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207676 Review URL: https://codereview.chromium.org/15967010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208695 0039d316-1c4b-4281-b951-d872f2087c98
* Use TEXTMETRICS for font metrics for Skia/GDIeae@chromium.org2013-06-211-0/+3
| | | | | | | | | | | | | | | | Blink currently uses TEXTMETRICS for font metrics on windows, regardless of the font type. Skia currently does not. Set the SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS flag for windows which will instruct Skia to use the same font metrics for the GDI backend as our current GDI implementation. BUG=252705 R=reed@google.com, thakis@chromium.org Review URL: https://chromiumcodereview.appspot.com/17068009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207911 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 207676 "Add skiaBenchmarking.getOps()"scottmg@chromium.org2013-06-211-6/+0
| | | | | | | | | | | | | | | | | | | | Caused linux x64 sizes regression due to static initializers in SkDebugCanvas. > Add skiaBenchmarking.getOps() > > Given a JSON-encoded Picture, the new function returns an array of Skia draw commands + info. > > Depends on https://codereview.chromium.org/16638014/. > > R=nduca@chromium.org, piman@chromium.org, senorblanco@chromium.org > > Review URL: https://codereview.chromium.org/15967010 TBR=fmalita@google.com Review URL: https://codereview.chromium.org/17514008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207682 0039d316-1c4b-4281-b951-d872f2087c98
* Add skiaBenchmarking.getOps()fmalita@google.com2013-06-211-0/+6
| | | | | | | | | | | | Given a JSON-encoded Picture, the new function returns an array of Skia draw commands + info. Depends on https://codereview.chromium.org/16638014/. R=nduca@chromium.org, piman@chromium.org, senorblanco@chromium.org Review URL: https://codereview.chromium.org/15967010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207676 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r9694robertphillips@google.com2013-06-201-2/+1
| | | | | | | | R=reed@google.com Review URL: https://codereview.chromium.org/17484003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207440 0039d316-1c4b-4281-b951-d872f2087c98
* Fix skia NEON code paths for the Android build.digit@chromium.org2013-06-141-12/+77
| | | | | | | | | | | | | | | For some reason, theses code paths were not compiled anymore when using the Chromium-specific skia/ gyp files. Upstream gyp files under third_party/skia/gyp/ are ok, but not used when building for Chromium (see bug for more details). This patch reactivates the build of "dynamic NEON support" in the Android ARM skia build. BUG=249304 Review URL: https://chromiumcodereview.appspot.com/16944005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206393 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Add a gathers pixel refs with positions util.vmpstr@chromium.org2013-05-311-0/+2
| | | | | | | | | | | | | This is part 1 of reducing the number of picture walks during GatherPixelRefs in picture.cc. This adds a utility similar to SkPictureUtils except it gathers all lazy refs in a picture along with their positions. Also adds tests. BUG=242703 Review URL: https://chromiumcodereview.appspot.com/15732015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203515 0039d316-1c4b-4281-b951-d872f2087c98
* Build SkImageDecoder_empty.cppscroggo@google.com2013-05-301-0/+1
| | | | | | | | | | | | Allows Skia's core.gypi to include SkImage implementation files without requiring chromium to build Skia's images project. See https://codereview.chromium.org/15806010/ for the related Skia changes. Review URL: https://chromiumcodereview.appspot.com/15960015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203234 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r9331robertphillips@google.com2013-05-301-1/+3
| | | | | | | | R=rmistry@google.com Review URL: https://codereview.chromium.org/15703004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203119 0039d316-1c4b-4281-b951-d872f2087c98
* (Patch by Teodora Novkovic <teodora.petrovic@gmail.com>, originally reviewed ↵senorblanco@chromium.org2013-05-241-1/+2
| | | | | | | | | | | | | | | | | | | | at https://codereview.chromium.org/14929006/). Added MIPS DSPr2 optimization for BGRAConvolve2D routine. The following routines are optimized: - ConvolveVertically - ConvolveHorizontally Performance gain measured on Malta 74Kc board: - our standalone test/bench application ~45% - chromium unit_test ~20% R=hubbe@chromium.org, senorblanco@chromium.org Review URL: https://chromiumcodereview.appspot.com/15742005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202197 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r9257robertphillips@google.com2013-05-231-3/+6
| | | | | | | | R=bsalomon@google.com Review URL: https://codereview.chromium.org/15882003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201835 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 201487 "Roll Skia DEPS to r9231 (take 2)"robertphillips@google.com2013-05-221-6/+3
| | | | | | | | | | | | | | > Roll Skia DEPS to r9231 (take 2) > > R=reed@google.com > > Review URL: https://codereview.chromium.org/15486010 TBR=robertphillips@google.com Review URL: https://codereview.chromium.org/15745005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201513 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r9231 (take 2)robertphillips@google.com2013-05-221-3/+6
| | | | | | | | R=reed@google.com Review URL: https://codereview.chromium.org/15486010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201487 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r200891, "Added MIPS DSPr2 optimization for BGRAConvolve2D routine."senorblanco@chromium.org2013-05-171-2/+1
| | | | | | | | | | This reverts commit 7d4175c20e5c3608b9b918499aedfc4a6006932d. TBR= Review URL: https://codereview.chromium.org/15352002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200898 0039d316-1c4b-4281-b951-d872f2087c98
* Added MIPS DSPr2 optimization for BGRAConvolve2D routine.senorblanco@chromium.org2013-05-171-1/+2
| | | | | | | | | | | | | | | | The following routines are optimized: - ConvolveVertically - ConvolveHorizontally Performance gain measured on Malta 74Kc board: - our standalone test/bench application ~45% - chromium unit_test ~20% R=hubbe@chromium.org, senorblanco@chromium.org Review URL: https://codereview.chromium.org/14929006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200891 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r9130robertphillips@google.com2013-05-151-0/+1
| | | | | | | | R=reed@google.com Review URL: https://codereview.chromium.org/15110004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200240 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia to 9113 & update skia.gyp for Androidrobertphillips@google.com2013-05-141-3/+10
| | | | | | | | R=reed@google.com Review URL: https://codereview.chromium.org/14977012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200006 0039d316-1c4b-4281-b951-d872f2087c98
* An implementation of recursive gaussian filters.motek@chromium.org2013-05-101-0/+2
| | | | | | | | | | Based on the Young and Vliet paper 'Recursive implementation of the Gaussian filter'. BUG=155269 Review URL: https://chromiumcodereview.appspot.com/14740020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199358 0039d316-1c4b-4281-b951-d872f2087c98
* Remove inside_chromium_build gyp variablejamesr@chromium.org2013-05-081-7/+1
| | | | | | | | | | | | | In the days of olde, we supported compiling from inside a chromium checkout and inside a WebKit checkout with some chromium libraries. In the latter configuration, used mainly by the build.webkit.org bots, the paths to the WebKit headers relative to chromium gyp files was different. This added a lot of complexity and some extra scripts to fix up paths and includes. Blink only supports building within a chromium checkout so all of this complexity can be removed. Review URL: https://chromiumcodereview.appspot.com/14823005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199057 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r9003robertphillips@google.com2013-05-061-0/+2
| | | | | | | | R=reed@google.com Review URL: https://codereview.chromium.org/14976002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198420 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r8947robertphillips@google.com2013-05-021-7/+7
| | | | | | Review URL: https://codereview.chromium.org/14808003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197902 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r8871 (take 2)robertphillips@google.com2013-04-261-0/+5
| | | | | | Review URL: https://codereview.chromium.org/14359013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196716 0039d316-1c4b-4281-b951-d872f2087c98