summaryrefslogtreecommitdiffstats
path: root/skia/skia_common.gypi
Commit message (Collapse)AuthorAgeFilesLines
* gpu: Add calling convention for win32hendrikw2015-08-051-0/+1
| | | | | | | | | | | | | 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}
* Use Skia's default HQ image resampler (Mitchell) for all buildsfmalita2015-07-141-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | We are currently using the default/Mitchell resampler for Android builds, and the legacy/Lanczos resampler for desktop builds. Lanczos may produce sharper results for some high-detail images, but it also introduces edge ringing artifacts for abrupt color transitions (Mitchell vs. Lanczos is a choice between smooth edge transitions vs. higher detail sharpness). Using Skia's default HQ resampler for all builds yields 1) more "correct" results: while Lanczos' increased sharpness is only noticeable when comparing images side-by-side, its ringing artifacts are obvious on their own (see linked bug) 2) improved test coverage: Skia's tests no longer cover Lanczos resampling (compile-time option) 3) more consistent results across platforms (Android vs. Lin/Win/Mac desktop) BUG=421914 R=senorblanco@chromium.org,pkasting@chromium.org,reed@google.com Review URL: https://codereview.chromium.org/1232563004 Cr-Commit-Position: refs/heads/master@{#338679}
* Ignore arm_neon_optional if arm_neon==1 in skia.fdegans2015-05-191-1/+1
| | | | | | | | BUG=451035 Review URL: https://codereview.chromium.org/1135693008 Cr-Commit-Position: refs/heads/master@{#330512}
* Remove android_webview_build conditions from various places.torne2015-04-071-7/+0
| | | | | | | | | | | Remove various minor android_webview_build references now that we no longer support that build configuration. BUG=440793 Review URL: https://codereview.chromium.org/1048863002 Cr-Commit-Position: refs/heads/master@{#324078}
* Move flags out of gyp/gn and into SkUserConfig.hreed2015-02-121-38/+0
| | | | | | | | | | | This will help reduce the spew when building in verbose mode, as these flags won't be part of the command-line. BUG= Review URL: https://codereview.chromium.org/916763004 Cr-Commit-Position: refs/heads/master@{#315982}
* Renamed enable_printing and printing_mode in *.gyp* and .*gn* files.vitalybuka2014-11-051-1/+1
| | | | | | | | | | | enable_printing and printing_mode replaced with enable_basic_printing and enable_print_preview. BUG=430281 Review URL: https://codereview.chromium.org/702023002 Cr-Commit-Position: refs/heads/master@{#302905}
* Use gypi form of blink_skia_config.bungeman2014-10-241-0/+7
| | | | | | | | | The file blink_skia_config.gyp is changing to a gypi. This allows easier sharing between the gyp and gn build systems. Review URL: https://codereview.chromium.org/677513003 Cr-Commit-Position: refs/heads/master@{#301105}
* android_webview: Enable FDO support for some targets.torne2014-09-261-0/+7
| | | | | | | | | | | | | | Enable feedback-directed optimisation for the main library (required to make the FDO symbols present at link time), skia, and sqlite. Update the android_exports whitelist to allow the gcov symbols to remain public as otherwise profiling will fail. BUG= TBR=michaeln@chromium.org Review URL: https://codereview.chromium.org/591153002 Cr-Commit-Position: refs/heads/master@{#296997}
* Remove a clang_warning_flags block from skia.thakis@chromium.org2014-08-181-5/+0
| | | | | | | | | | | | | It's apparently not being used, see https://codereview.chromium.org/437543007/diff/110001/skia/skia_common.gypi#newcode143 BUG=none R=hans@chromium.org Review URL: https://codereview.chromium.org/480463003 Cr-Commit-Position: refs/heads/master@{#290381} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290381 0039d316-1c4b-4281-b951-d872f2087c98
* Use font manager on Android.bungeman@chromium.org2014-08-071-5/+0
| | | | | | | | The corresponding Blink side change is https://codereview.chromium.org/447233003/ . These two can be committed in any order. Review URL: https://codereview.chromium.org/450733002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288168 0039d316-1c4b-4281-b951-d872f2087c98
* Remove old style NEON defines now that Skia has been updateddjsollen@google.com2014-08-041-2/+0
| | | | | | | | BUG=skia:2785 Review URL: https://codereview.chromium.org/435963002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287336 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor how clang warning flags are set.thakis@chromium.org2014-08-011-0/+5
| | | | | | | | | | | | | | | | | | Previously, every gyp file that wanted to set clang warnings had to check for clang==1 and then set cflags and xcode_settings.WARNING_CFLAGS. Factor this out, so that targets only need to set clang_warning_flags for warnings that apply to all platforms. (Per-platform flags still need to be set manually.) This removes existing duplication from gyp files, and prevents adding more duplication when trying to add the same warning flags for clang/win. BUG=82385 R=hans@chromium.org, scottmg@chromium.org TBR=various owners Review URL: https://codereview.chromium.org/437543007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287092 0039d316-1c4b-4281-b951-d872f2087c98
* Remove SK_IGNORE_QUAD_RR_CORNERS_OPT from Chromium builds.fmalita@chromium.org2014-08-011-2/+0
| | | | | | | | | | | | This causes minor rounded rect image diffs (about 300 Blink rebaselines needed). R=bsalomon@google.com, robertphillips@google.com, reed@google.com BUG=309611 Review URL: https://codereview.chromium.org/426593006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286938 0039d316-1c4b-4281-b951-d872f2087c98
* Update NEON compiler flags for Skia to use the SK_ prefix.djsollen@google.com2014-07-311-0/+2
| | | | | | | | | | | | | The old defines will be left in place until the next Skia DEPS roll. After that roll Skia will be switched to using the SK_ prefixed defines and the old reserved (i.e. __ARM*) defines can be removed. BUG=skia:2785 Review URL: https://codereview.chromium.org/430253002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286901 0039d316-1c4b-4281-b951-d872f2087c98
* Remove SK_DISABLE_PIXELREF_LOCKCOUNT_BALANCE_CHECK.mtklein@chromium.org2014-07-081-4/+0
| | | | | | | | | | Skia no longer looks at this define. It's as if it's always set now. BUG= Review URL: https://codereview.chromium.org/371983003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281737 0039d316-1c4b-4281-b951-d872f2087c98
* undef SK_SUPPORT_LEGACY_GETTOTALCLIPreed@google.com2014-06-271-1/+0
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/356133004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280250 0039d316-1c4b-4281-b951-d872f2087c98
* Remove SK_IGNORE_CORRECT_HIGH_QUALITY_IMAGE_SCALEfmalita@chromium.org2014-06-061-3/+0
| | | | | | | | | | | (and suppress layout failures, pending rebaseline) BUG=380686 TBR=humper@google.com Review URL: https://codereview.chromium.org/314233002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275384 0039d316-1c4b-4281-b951-d872f2087c98
* Relocate SK_IGNORE_CORRECT_HIGH_QUALITY_IMAGE_SCALEfmalita@chromium.org2014-06-041-0/+3
| | | | | | | | | | | | Temporarily move the flag into Chromium's repo, to facilitate atomic remove-and-suppress-failures changes. BUG=380686 TBR=humper@chromium.org Review URL: https://codereview.chromium.org/319483003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274843 0039d316-1c4b-4281-b951-d872f2087c98
* Remove SK_IGNORE_DWRITE_BITMAP_FIX from Chromium defines.bungeman@chromium.org2014-06-021-2/+0
| | | | | | | Blink in Chromium now has this define, so it can be removed from Chromium. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274250 0039d316-1c4b-4281-b951-d872f2087c98
* Add SK_IGNORE_DWRITE_BITMAP_FIX to skia_common.gypi.bungeman@chromium.org2014-05-291-0/+2
| | | | | | | | R=bungeman@google.com Review URL: https://codereview.chromium.org/301253002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273525 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to 14172.bungeman@chromium.org2014-04-141-0/+1
| | | | | | | | | | | Old Skia revision: 14149 New Skia revision: 14172 NOTRY=true Review URL: https://codereview.chromium.org/235243004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263683 0039d316-1c4b-4281-b951-d872f2087c98
* use builder for layerrasterizerreed@google.com2014-04-081-1/+0
| | | | | | | | | | this change allows us to remove the deprecated code in SK_SUPPORT_LEGACY_LAYERRASTERIZER_API BUG= Review URL: https://codereview.chromium.org/227463005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262428 0039d316-1c4b-4281-b951-d872f2087c98
* defer to skia_for_chromium_defines.gypi for temporary guard definesreed@google.com2014-02-271-4/+9
| | | | | | | | | | needs https://codereview.chromium.org/180063003/ to have landed first R=bungeman@chromium.org Review URL: https://codereview.chromium.org/180083002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253810 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily add SK_SUPPORT_LEGACY_LAYERRASTERIZER_API define.dominikg@chromium.org2014-02-261-0/+1
| | | | | | | | | | | | Once SkLayerRasterizer::Builder has rolled into Chrome, change all references to SkLayerRasterizer::addLayer with the builder and remove this define. R=reed@google.com BUG=skia:2187 Review URL: https://codereview.chromium.org/177973003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253424 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r13570robertphillips@google.com2014-02-251-0/+1
| | | | | | | | R=rmistry@google.com Review URL: https://codereview.chromium.org/177933007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253141 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r13562robertphillips@google.com2014-02-241-0/+1
| | | | | | | | R=reed@google.com Review URL: https://codereview.chromium.org/178033002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252934 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r13509robertphillips@google.com2014-02-201-0/+1
| | | | | | | | R=bsalomon@google.com Review URL: https://codereview.chromium.org/173133005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252241 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 252017 "Roll to r13493"robertphillips@google.com2014-02-191-1/+0
| | | | | | | | | | | | | | > Roll to r13493 > > R=rmistry@google.com > > Review URL: https://codereview.chromium.org/167973005 TBR=robertphillips@google.com Review URL: https://codereview.chromium.org/171603006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252021 0039d316-1c4b-4281-b951-d872f2087c98
* Roll to r13493robertphillips@google.com2014-02-191-0/+1
| | | | | | | | R=rmistry@google.com Review URL: https://codereview.chromium.org/167973005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252017 0039d316-1c4b-4281-b951-d872f2087c98
* Add temporary define to make some Skia constructors public.dominikg@chromium.org2014-02-181-0/+1
| | | | | | | | | | | | | | We're currently in the process of enforcing that SkPaint effects can only be allocated on the heap. That involves making constructors non-public and providing factory methods instead. Until all the changes on the Skia side have been rolled into Chrome and the callsites have been changed, we use a define to guard the visibility of the constructors. BUG=skia:2187 Review URL: https://codereview.chromium.org/168173003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251831 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 251775 "roll skia DEPS to 13482"robertphillips@google.com2014-02-181-2/+0
| | | | | | | | | | | | | | | | | | | | | | | > roll skia DEPS to 13482 > > Chromium base revision: 251714 / 7fcea678 > Old Skia revision: 13441 > New Skia revision: 13482 > Control CL: https://codereview.chromium.org/169283009 > > This CL was created by Skia's roll_deps.py script. > > Bypassing commit queue trybots: > NOTRY=true > R=reed@google.com > > Review URL: https://codereview.chromium.org/170093002 TBR=robertphillips@google.com Review URL: https://codereview.chromium.org/170923002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251793 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia DEPS to 13482robertphillips@google.com2014-02-181-0/+2
| | | | | | | | | | | | | | | | | Chromium base revision: 251714 / 7fcea678 Old Skia revision: 13441 New Skia revision: 13482 Control CL: https://codereview.chromium.org/169283009 This CL was created by Skia's roll_deps.py script. Bypassing commit queue trybots: NOTRY=true R=reed@google.com Review URL: https://codereview.chromium.org/170093002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251775 0039d316-1c4b-4281-b951-d872f2087c98
* #define SK_SUPPORT_LEGACY_COMPATIBLEDEVICE_CONFIG to guard against Skia api ↵reed@google.com2014-02-171-0/+1
| | | | | | | | | | | change (which chrome will support after it lands). BUG= R=scroggo@google.com Review URL: https://codereview.chromium.org/169743002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251679 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r13441robertphillips@google.com2014-02-141-0/+3
| | | | | | | | R=rmistry@google.com Review URL: https://codereview.chromium.org/164253004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251294 0039d316-1c4b-4281-b951-d872f2087c98
* undef SK_SUPPORT_LEGACY_ONLOCKPIXELS since all subclass now support the new ↵reed@google.com2014-02-081-1/+0
| | | | | | | | | | virtual onNewLockPixels BUG= Review URL: https://codereview.chromium.org/132803011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249867 0039d316-1c4b-4281-b951-d872f2087c98
* remove SK_SUPPORT_LEGACY_COLORTYPE as all callsites have been updatedreed@google.com2014-01-101-1/+0
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/134203002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244255 0039d316-1c4b-4281-b951-d872f2087c98
* remove SK_SUPPORT_LEGACY_SK64, as all call-sites have been updatedreed@google.com2014-01-101-1/+0
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/133903003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244215 0039d316-1c4b-4281-b951-d872f2087c98
* skia: Use discardable memory for scaled image cache.reveman@chromium.org2014-01-081-0/+2
| | | | | | | | BUG=276675 Review URL: https://codereview.chromium.org/110863003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243592 0039d316-1c4b-4281-b951-d872f2087c98
* replace deprecated SkScalarRound/Floor/Ceil calls with more explicit variantsreed@google.com2014-01-061-1/+0
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/122443005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243175 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r12906robertphillips@google.com2014-01-061-0/+1
| | | | | | | | R=reed@google.com Review URL: https://codereview.chromium.org/124503002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243096 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia DEPS to 12846reed@google.com2014-01-021-1/+2
| | | | | | | | | BUG= R=fmalita@chromium.org Review URL: https://codereview.chromium.org/118873003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242765 0039d316-1c4b-4281-b951-d872f2087c98
* Updated Khronos GLES2 headers. (Take 2, Original: ↵bajones@chromium.org2013-12-301-2/+1
| | | | | | | | | | | | | | https://codereview.chromium.org/99053007/) There was a type conflict between the previous, out of date headers and the more recent ones included in ANGLE that was causing failures on 64-bit Windows. BUG=326382 TBR=kbr@chromium.org, piman@chromium.org, raymes@chromium.org, robertphillips@google.com Review URL: https://codereview.chromium.org/115143004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242740 0039d316-1c4b-4281-b951-d872f2087c98
* remove SK_SUPPORT_LEGACY_PIXELREF_CONSTRUCTOR now that call-sites have been ↵reed@google.com2013-12-201-1/+0
| | | | | | | | | | updated BUG= Review URL: https://codereview.chromium.org/115503003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242150 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r12791robertphillips@google.com2013-12-201-1/+2
| | | | | | | | R=rmistry@google.com Review URL: https://codereview.chromium.org/107803003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242091 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r12723robertphillips@google.com2013-12-181-1/+2
| | | | | | | | R=rmistry@google.com Review URL: https://codereview.chromium.org/115573004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241560 0039d316-1c4b-4281-b951-d872f2087c98
* Move Skia's variables and defines to skia_common.bungeman@chromium.org2013-12-171-0/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | skia_library_opts was not being compiled with any of these defines. Now it is. Testing: 1) build/gyp_chromium && ninja -C out/Debug 2) Looked for Skia defines in .ninja files master: $ grep -l DSK *.ninja filter_fuzz_stub.ninja image_operations_bench.ninja skia_chrome.ninja skia_library.ninja this CL: $ grep -l DSK *.ninja filter_fuzz_stub.ninja image_operations_bench.ninja skia_chrome.ninja skia_library.ninja skia_opts.ninja skia_opts_none.ninja skia_opts_ssse3.ninja BUG= R=bungeman@google.com Review URL: https://codereview.chromium.org/98503006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241394 0039d316-1c4b-4281-b951-d872f2087c98
* ozone: Support building without cairospang@chromium.org2013-11-191-0/+3
| | | | | | | | | | | | | | | | | | This adds a use_cairo gyp variable that removes cairo from the build. To build skia without cairo, we need the code in bitmap_platform_device_android.cc. To make all platforms build the correct files, rename bitmap_platform_device_linux to bitmap_platform_device_cairo and rename bitmap_platform_device_android to bitmap_platform_device_skia. We'll use bitmap_platform_device_skia for Android and for embedded content shell. BUG=318315, 318413 Review URL: https://codereview.chromium.org/59133008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236037 0039d316-1c4b-4281-b951-d872f2087c98
* Change direct_dependent_settings to all in skia_common.gypi.bungeman@chromium.org2013-11-131-1/+4
| | | | | | | | | | | | One would prefer this to remain direct_dependent_settings, however there currently is no means to enforce that direct dependents re-export if they include Skia headers in their public headers. R=robertphillips@google.com Review URL: https://codereview.chromium.org/71583004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234891 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to 12260robertphillips@google.com2013-11-131-0/+5
| | | | | | Review URL: https://codereview.chromium.org/68343015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234689 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up uses of use_glib that are not related to glib dependenciesspang@chromium.org2013-11-081-1/+1
| | | | | | | | | | | | | | | | | | | | We're frequently using the use_glib gyp variable as a shorthand for: OS!="win" and OS!="mac" and OS!="ios" and OS!="android" This should be equivalent to: desktop_linux == 1 or chromeos == 1 Embedded builds want to remove as many dependencies as possible. This cleans up uses of the use_glib variable so we can turn it off on linux without breaking the build. BUG=316226 Review URL: https://codereview.chromium.org/61923004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233804 0039d316-1c4b-4281-b951-d872f2087c98