summaryrefslogtreecommitdiffstats
path: root/skia
Commit message (Collapse)AuthorAgeFilesLines
* Use cross-platform base::UncheckedMalloc for skiab.kelemen@samsung.com2014-04-041-11/+16
| | | | | | | | | | UncheckedMalloc/UncheckedCalloc is now implemented for Linux as well so we can use it. BUG=73751 Review URL: https://codereview.chromium.org/220273002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261643 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia DEPS to 14021robertphillips@google.com2014-04-021-2/+0
| | | | | | | | | | | | | | | | | Chromium base revision: 261075 / fee4cc11 Old Skia revision: 14002 New Skia revision: 14021 Control CL: https://codereview.chromium.org/220593011 This CL was created by Skia's roll_deps.py script. Bypassing commit queue trybots: NOTRY=true R=bsalomon@google.com Review URL: https://codereview.chromium.org/221693005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261127 0039d316-1c4b-4281-b951-d872f2087c98
* don't call deprecated getClipTypereed@google.com2014-03-281-1/+1
| | | | | | | | NOTRY=True Review URL: https://codereview.chromium.org/216883007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260263 0039d316-1c4b-4281-b951-d872f2087c98
* Make PixelRefUtils::GatherDiscardablePixelRefs use Skia's version of the ↵robertphillips@google.com2014-03-282-37/+3
| | | | | | | | | | NoSaveLayerCanvas This is just intended to reduce some code duplication and allow increased velocity on altering the SkCanvas API Review URL: https://codereview.chromium.org/199043004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260204 0039d316-1c4b-4281-b951-d872f2087c98
* Remove skia test expectations for now-passing tests.senorblanco@chromium.org2014-03-281-4/+0
| | | | | | | | | | | | These were rebaselined in http://src.chromium.org/viewvc/blink?revision=169987&view=revision. BUG=352628 R=bsalomon@google.com Review URL: https://codereview.chromium.org/216693004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260133 0039d316-1c4b-4281-b951-d872f2087c98
* Remove explicit Skia save flags.fmalita@chromium.org2014-03-281-2/+2
| | | | | | | | | | | | SaveFlags are being deprecated in Skia. This CL updates the call sites to use defaults (kMatrixClip_SaveFlag for save(), kARGB_ClipLayer_SaveFlag for saveLayer()). R=piman@chromium.org, reed@google.com, sky@chromium.org Review URL: https://codereview.chromium.org/214603005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260115 0039d316-1c4b-4281-b951-d872f2087c98
* switch to new virtual for createDevicereed@google.com2014-03-272-0/+13
| | | | | | | | | | SK_SUPPORT_LEGACY_COMPATIBLEDEVICE_CONFIG is deprecated, but we need this and the new siganture at the same time (temporarily) to coordinate the switch over. The two methods should effectively do the same thing. Review URL: https://codereview.chromium.org/213453002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259859 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia DEPS to 13948mtklein@chromium.org2014-03-261-0/+4
| | | | | | | | | | | | | | | | Chromium base revision: 259366 / e1b2ab65 Old Skia revision: 13928 New Skia revision: 13948 Control CL: https://codereview.chromium.org/208833006 This CL was created by Skia's roll_deps.py script. Bypassing commit queue trybots: NOTRY=true Review URL: https://codereview.chromium.org/211733006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259573 0039d316-1c4b-4281-b951-d872f2087c98
* [Skia]: Add opts_none targets to arm64 build.rmcilroy@chromium.org2014-03-251-0/+12
| | | | | | | | BUG=354405 Review URL: https://codereview.chromium.org/210803005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259261 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r13904robertphillips@google.com2014-03-241-2/+16
| | | | | | | | R=reed@google.com Review URL: https://codereview.chromium.org/199793017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258945 0039d316-1c4b-4281-b951-d872f2087c98
* guard older onReadPixels override in preparation for deprecating itreed@google.com2014-03-221-0/+11
| | | | | | | | TBR=fmalita@chromium.org Review URL: https://codereview.chromium.org/208663002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258728 0039d316-1c4b-4281-b951-d872f2087c98
* Fix skia_library.gypi for Arm64.rmcilroy@chromium.org2014-03-211-1/+2
| | | | | | | | BUG=354405 Review URL: https://codereview.chromium.org/206333007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258525 0039d316-1c4b-4281-b951-d872f2087c98
* Enable Arm64 target arch in gyp build configrmcilroy@chromium.org2014-03-202-5/+11
| | | | | | | | | | 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
* Check for image filter in analysis canvas.senorblanco@chromium.org2014-03-192-0/+15
| | | | | | | | | | | | Without this check, the analysis canvas assumes a solid color rect with a filter remains a solid color rect. BUG=354029 R=reveman@chromium.org Review URL: https://codereview.chromium.org/200923004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258082 0039d316-1c4b-4281-b951-d872f2087c98
* Update PRESUBMIT for tryserver.chromium.gpuphajdan.jr@chromium.org2014-03-181-3/+5
| | | | | | | | | BUG=334892 R=kbr@chromium.org Review URL: https://codereview.chromium.org/200493007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257589 0039d316-1c4b-4281-b951-d872f2087c98
* Move CommandLine to base namespace.brettw@chromium.org2014-03-171-8/+8
| | | | | | | | | | | | Fix all forward-declares and header files referencing CommandLine. This keeps a "using base::CommandLine" in the command line header file so that the rest of the source files can be changes in a follow-up. TBR=sky Review URL: https://codereview.chromium.org/196413016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257514 0039d316-1c4b-4281-b951-d872f2087c98
* remove (unsupported) getDeviceCapabilitiesreed@google.com2014-03-142-5/+0
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/196103003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257234 0039d316-1c4b-4281-b951-d872f2087c98
* Move UTF16ToASCII, remove WideToASCII.brettw@chromium.org2014-03-141-1/+1
| | | | | | | | | | | | | | | | This removes WideToASCII and changes all callers to use UTF16ToASCII instead. Moves UTF16ToASCII from base/strings/string_util.h to base/strings/utf_string_conversions.h and into the base namespace. Convert a few related string_util functions to take a StringPiece16 instead of a string16. Remove IsStringASCII(std::wstring) which was unused. Updates callers' includes and namespace usage accordingly. TBR=sky Review URL: https://codereview.chromium.org/176843022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257200 0039d316-1c4b-4281-b951-d872f2087c98
* Layout test expectations update (ski version)zmo@chromium.org2014-03-141-5/+1
| | | | | | | | | | | | | svg/W3C-SVG-1.1/filters-morph-01-f.svg (removed) virtual/deferred/fast/images/webp-color-profile-lossy.html (win only) BUG=341448,344497 TEST= TBR=zmo@chromium.org Review URL: https://codereview.chromium.org/196323006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257195 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r13802robertphillips@google.com2014-03-141-0/+4
| | | | | | | | | | | | | Includes fix for crbug.com/352616 Also, suppress lighting tests crbug.com/352628 Please see https://codereview.chromium.org/195793023/ for trybots R=halcanary@google.com, reed@google.com Review URL: https://codereview.chromium.org/200113005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257127 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia DEPS to 13776fmalita@chromium.org2014-03-134-39/+32
| | | | | | | | | | | | | | | | | | This updates SkCanvas-derived classes to the new save/restore notifier API. Chromium base revision: 256629 / a2b1a3e5 Old Skia revision: 13753 New Skia revision: 13776 Control CL: https://codereview.chromium.org/196943005/ This CL was created by Skia's roll_deps.py script. Bypassing commit queue trybots: NOTRY=true Review URL: https://codereview.chromium.org/195893009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256864 0039d316-1c4b-4281-b951-d872f2087c98
* override new virtual onWritePixels instead of deprecated writePixelsreed@google.com2014-03-131-5/+7
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/199033002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256855 0039d316-1c4b-4281-b951-d872f2087c98
* Keep VectorCanvas as a typedef of PlatformCanvasreed@google.com2014-03-133-64/+6
| | | | | | | | | | | | It does not extend PlatformCanvas, but current callers will (soon) need to be changed to use SkDocument, so leaving VectorCanvas as a typedef for now so I have a bread-crumb trail to follow. NOTRY=True Review URL: https://codereview.chromium.org/197823005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256809 0039d316-1c4b-4281-b951-d872f2087c98
* More sync of PRESUBMIT with what CQ runsphajdan.jr@chromium.org2014-03-131-1/+1
| | | | | | | | | | | | | | | | | This removes some configs that were here below in an attempt to reduce the tryserver load. They can be added later slowly after we verify they don't cause unnecessary load. Note that CQ was not checking them anyway, so they were losing at least 50% CL coverage. TBR=maruel BUG=317931 Review URL: https://codereview.chromium.org/198333003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256739 0039d316-1c4b-4281-b951-d872f2087c98
* Remove defunct mac_gpu_retina configuration from presubmit scripts.kbr@chromium.org2014-03-121-1/+0
| | | | | | | | | | | mac_gpu_retina_triggered_tests is now triggered by mac_gpu instead. BUG=351499 TBR=bsalomon@google.com,jamesr@chromium.org,piman@chromium.org Review URL: https://codereview.chromium.org/195573004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256490 0039d316-1c4b-4281-b951-d872f2087c98
* Convert most Chromium presubmit files to use new ↵phajdan.jr@chromium.org2014-03-111-8/+10
| | | | | | | | | | | multiple-tryserver-compatible protocol BUG=334892 R=maruel@chromium.org Review URL: https://codereview.chromium.org/194903007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256318 0039d316-1c4b-4281-b951-d872f2087c98
* Move WriteFile and WriteFileDescriptor from file_util to base namespace.brettw@chromium.org2014-03-061-1/+1
| | | | | | | | | R=viettrungluu@chromium.org TBR=viettrungluu Review URL: https://codereview.chromium.org/184563006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255418 0039d316-1c4b-4281-b951-d872f2087c98
* don't create SkDevice directly, use SkBitmap or (better) SkCanvas::NewRaster ↵reed@google.com2014-03-052-9/+3
| | | | | | | | | | | | | | | factory BUG=skia:2239 TBR=scherkus@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254567 reopened (after revewer) to address media_unittest valgrind issue Review URL: https://codereview.chromium.org/184743002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255137 0039d316-1c4b-4281-b951-d872f2087c98
* Skia is moving to have SkCanvas' clip* methods be non-virtual and call ↵robertphillips@google.com2014-03-055-53/+65
| | | | | | | | onClip* virtual methods instead. This CL prepares Chromium for that change. Review URL: https://codereview.chromium.org/178193025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255082 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 254567 "don't create SkDevice directly, use SkBitmap or (..."timurrrr@chromium.org2014-03-042-3/+9
| | | | | | | | | | | | | | | | | | | Valgrind has detected a few uninitialized memory reads after this change BUG=348905 > don't create SkDevice directly, use SkBitmap or (better) SkCanvas::NewRaster factory > > BUG=skia:2239 > TBR=scherkus@chromium.org > > Review URL: https://codereview.chromium.org/184743002 TBR=reed@google.com Review URL: https://codereview.chromium.org/183003011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254714 0039d316-1c4b-4281-b951-d872f2087c98
* don't create SkDevice directly, use SkBitmap or (better) SkCanvas::NewRaster ↵reed@google.com2014-03-032-9/+3
| | | | | | | | | | | factory BUG=skia:2239 TBR=scherkus@chromium.org Review URL: https://codereview.chromium.org/184743002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254567 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Skia suppressions.fmalita@chromium.org2014-03-031-8/+0
| | | | | | | | | BUG=341448,344497 TBR=robertphillips@google.com Review URL: https://codereview.chromium.org/185713006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254497 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsolete files and comment from skia/yukawa@chromium.org2014-03-013-326/+0
| | | | | | | | | BUG= TEST=none Review URL: https://codereview.chromium.org/182433002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254375 0039d316-1c4b-4281-b951-d872f2087c98
* fold AnalysisDevice functionality into AnalysisCanvas,reed@google.com2014-02-283-268/+200
| | | | | | | | | | | | | to simplify setup and to allow Skia to deprecate SkBitmap::Config This reverts commit 8aecd702877467893896ceea552f8503fa2d4c8a. BUG= R=enne@chromium.org Review URL: https://codereview.chromium.org/177533024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254104 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
* Split Convolver.SIMDVerification into two testshubbe@chromium.org2014-02-261-112/+108
| | | | | | | | | | | | | | | Split Convolver.SIMDVerification into two tests, one which tests all tricky edge cases and one that tests that large scales don't end up distorting the results when using SIMD. Also enable running these tests with DEBUG and TSAN. On my machine, running with DEBUG and ASAN, this test went from 60 seconds to 10 seconds. Hope that is fast enough, as the additional coverage would be nice to have. BUG=134400 Review URL: https://codereview.chromium.org/178013006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253409 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of fold AnalysisDevice functionality into AnalysisCanvas, to simplify ↵waffles@chromium.org2014-02-253-195/+268
| | | | | | | | | | | | | | | | | | | | | | | | | | | | setup and to allow Skia to depre… (https://codereview.chromium.org/136003012/) Reason for revert: Likely broke several unit tests: http://build.chromium.org/p/chromium.mac/builders/Mac%2010.7%20Tests%20%28dbg%29%281%29/builds/21083 AnalyzeIsSolidEmpty AnalyzeIsSolidScaled AnalyzeIsSolidUnscaled Original issue's description: > fold AnalysisDevice functionality into AnalysisCanvas, to simplify setup and to allow Skia to deprecate access to SkDevice > > BUG=skia:1931 > R=enne@chromium.org > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=253240 TBR=enne@chromium.org,reed@chromium.org,reed@google.com NOTREECHECKS=true NOTRY=true BUG=skia:1931 Review URL: https://codereview.chromium.org/178503003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253247 0039d316-1c4b-4281-b951-d872f2087c98
* fold AnalysisDevice functionality into AnalysisCanvas, to simplify setup and ↵reed@google.com2014-02-253-268/+195
| | | | | | | | | | | to allow Skia to deprecate access to SkDevice BUG=skia:1931 R=enne@chromium.org Review URL: https://codereview.chromium.org/136003012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253240 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
* SkDevice virtual changed from onCreateCompatibleDevice to onCreateDevicereed@google.com2014-02-228-34/+28
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/174513004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252712 0039d316-1c4b-4281-b951-d872f2087c98
* create cairo before we hand-off the surface, in case the surface is destroyedreed@google.com2014-02-202-7/+15
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/172563002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252271 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r13509robertphillips@google.com2014-02-202-0/+9
| | | | | | | | 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-192-9/+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-192-0/+9
| | | | | | | | 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-182-10/+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
* call clear() instead of using deprecated API accessBitmap()reed@chromium.org2014-02-183-3/+3
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/168833002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251778 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia DEPS to 13482robertphillips@google.com2014-02-182-0/+10
| | | | | | | | | | | | | | | | | 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