summaryrefslogtreecommitdiffstats
path: root/skia
Commit message (Collapse)AuthorAgeFilesLines
* Remove existing Skia suppressions.fmalita@chromium.org2014-05-071-11/+0
| | | | | | | | | | | Rebaselined in Blink. BUG=344497,356644,365698 TBR=djsollen@google.com Review URL: https://codereview.chromium.org/267263003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268984 0039d316-1c4b-4281-b951-d872f2087c98
* skia/ext: Add onDrawDRRect to the list of overrides in AnalysisCanvas.vmpstr@chromium.org2014-05-072-0/+10
| | | | | | | | | | | | Currently, we completely ignore DRRect when analyzing tiles for solid color. This means that if a tile has a DRRect but otherwise is solid, we will report it as solid and end up with bad artifacts. BUG=363712 Review URL: https://codereview.chromium.org/267203002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268699 0039d316-1c4b-4281-b951-d872f2087c98
* skia: Remove filter adjustment from PaintSimplifier.reveman@chromium.org2014-05-061-1/+0
| | | | | | | | | | | | | | | This adjustment to filter quality is not very cache friendly. Medium or high quality filter is normally used for images and results are cached using discardable memory. ie. 2000x2000 scaled to 64x64 only require 16kB to be cached. If the paint simplifier uses no filter then the cache requirement for good performance is 15625kB + 16kB instead of just 16kB. BUG=368078 Review URL: https://codereview.chromium.org/265353002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268339 0039d316-1c4b-4281-b951-d872f2087c98
* remove unnessary overrides, as base class now does this for shadersreed@google.com2014-05-021-7/+1
| | | | | | | | | win_chromium_rel failure unrelated to this CL NOTRY=True Review URL: https://codereview.chromium.org/264463003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267724 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to 14492mtklein@chromium.org2014-05-012-4/+4
| | | | | | | | | | | | patch from issue 260883004 -- roll patch from issue 265513005 -- _SSE2 -> _x86 errors on win_chromium_rel and linux_chromium_chromeos_rel look distinctly unrelated to Skia, so NOTRY=true Review URL: https://codereview.chromium.org/265763003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267580 0039d316-1c4b-4281-b951-d872f2087c98
* Update Skia's GN build to pull directly from the gypi files in third_party.djsollen@google.com2014-04-302-754/+75
| | | | | | | | NOTRY=true Review URL: https://codereview.chromium.org/257293002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267232 0039d316-1c4b-4281-b951-d872f2087c98
* Hack SkRecord in as an alternate recording mode in cc/resources/picture.mtklein@chromium.org2014-04-301-0/+2
| | | | | | | | BUG=skia:2378 Review URL: https://codereview.chromium.org/225023031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267209 0039d316-1c4b-4281-b951-d872f2087c98
* replace MakeOpaque custom proc with DstATop modereed@chromium.org2014-04-301-10/+2
| | | | | | | | SkProcXfermode is deprecated. In this case DstATop should accomplish the same thing as the custom proc. Review URL: https://codereview.chromium.org/260033006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267163 0039d316-1c4b-4281-b951-d872f2087c98
* Require commas between items in a GN list.brettw@chromium.org2014-04-291-1/+1
| | | | | | | | | | | | | Fixing this issue exposed a race condition in .gni processing where an error parsing a file that another thread was waiting for wouldn't signal that other thread that the load was complete, so it would wait forever. This patch separates out the loading from the signaling in the InputFileManager so we can't forget to do this. BUG=368019 R=scottmg@chromium.org Review URL: https://codereview.chromium.org/258073004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266976 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia DEPS to 14425caryclark@google.com2014-04-291-0/+1
| | | | | | | | | | | | | | | | Chromium base revision: 266668 / eb550b5f Old Skia revision: 14390 New Skia revision: 14425 Control CL: https://codereview.chromium.org/260083005 This CL was created by Skia's roll_deps.py script. Bypassing commit queue trybots: NOTRY=true Review URL: https://codereview.chromium.org/258053009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266935 0039d316-1c4b-4281-b951-d872f2087c98
* Update Chromium to new Skia headers & beginRecording signaturerobertphillips@google.com2014-04-241-0/+2
| | | | | | | | | | | | | | | | | | | | As of Skia r14295 the SkPictureRecorder class resides in its own header (SkPictureRecorder.h) and beginRecording takes an additional (factory) parameter. Temporarily the new signature doesn't allow default parameters so as to avoid compiler confusion with the deprecated signature. The SkTileGridPicture has been replaced by the SkTileGridFactory which is now passed into beginRecording. Note: this cannot be landed until Skia r14295 is rolled into Chromium (presumably this morning). enne : cc fmalita: skia Review URL: https://codereview.chromium.org/246753009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265803 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to 14324 from 14292bsalomon@google.com2014-04-234-67/+77
| | | | | | | | | | | Control: https://codereview.chromium.org/246073010 NOTRY=true R=reed@google.com, robertphillips@google.com Review URL: https://codereview.chromium.org/249563002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265696 0039d316-1c4b-4281-b951-d872f2087c98
* Switching unit tests to use new Skia SkPictureRecorder APIrobertphillips@google.com2014-04-231-33/+41
| | | | | | Review URL: https://codereview.chromium.org/246393005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265450 0039d316-1c4b-4281-b951-d872f2087c98
* Make GN's "check" run cleanly.brettw@chromium.org2014-04-222-5/+9
| | | | | | | | | | | | | This fixes a bunch of minor issues, mostly header file dependencies for undeclared dependencies. This also fixes some random TODOs. R=scottmg@chromium.org BUG= Review URL: https://codereview.chromium.org/246303005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265382 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia DEPS to 14292bsalomon@google.com2014-04-221-0/+4
| | | | | | | | | | | | | | | | | Chromium base revision: 265084 / 855b4745 Old Skia revision: 14270 New Skia revision: 14292 Control CL: https://codereview.chromium.org/245873002 This CL was created by Skia's roll_deps.py script. Bypassing commit queue trybots: NOTRY=true R=robertphillips@google.com Review URL: https://codereview.chromium.org/245883002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265255 0039d316-1c4b-4281-b951-d872f2087c98
* Make GN build work on Mac again.brettw@chromium.org2014-04-211-0/+1
| | | | | | | | | | | | | | This adds extension detection for lower-case ".s" assembly files (used in NSPR) in addition to the existing handling of uppercase ".S" ones. Minor fixes for build files for Mac for dependencies and files. Proper handling of USE_NSS and addition of USE_OPENSSL_CERTS that match the GYP build. R=rsleevi@chromium.org Review URL: https://codereview.chromium.org/242173002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265064 0039d316-1c4b-4281-b951-d872f2087c98
* Remove use of deprecated kOptimizeForClippedPlayback_RecordingFlag flagrobertphillips@google.com2014-04-201-2/+1
| | | | | | | | | | | | | Skia r14221 (https://codereview.chromium.org/239703006/) retracted the SkPicture::kOptimizeForClippedPlayback_RecordingFlag from the public API. This CL removes its use in Chromium. Note Skia DEPS rolled to Skia r14250 in Chromium r264760. enne: cc fmalita: skia/ext Review URL: https://codereview.chromium.org/243703002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264952 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia to r14250.bungeman@chromium.org2014-04-181-0/+1
| | | | | | | | R=dominikg@chromium.org Review URL: https://codereview.chromium.org/240173003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264760 0039d316-1c4b-4281-b951-d872f2087c98
* Work on Mac GN build.brettw@chromium.org2014-04-172-6/+20
| | | | | | | | | | | | | | | | | | | | This fixes a lot of minor mistakes (mostly missing/extra files and flags) for the Mac GN build. I separated out some clang flags into a config for extra clang warnings. Several of the third party libraries needed to remove this. Removes the use_nss flag and uses !use_openssl. This is a result of discussion with rsleevi. Removes extra duplicate net build file from secondary tree. ui/gesture_events seems to be getting compiled in GN with more strict warnings than in GYP. Rather than fix this, I fixed the warning in the gesture recognizer unit test. It was returning a const copy (the const is pointless when you're copying). This also removes a bunch of old GYP integration stuff that was left in the GN build. R=scottmg@chromium.org Review URL: https://codereview.chromium.org/239543013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264626 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia to r14202.bungeman@google.com2014-04-162-0/+4
| | | | | | | | Old Skia revision: 14196 Review URL: https://codereview.chromium.org/238353005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264174 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Skia legacy API from Chrome.dominikg@chromium.org2014-04-151-1/+1
| | | | | | | | | | | | | | | Skia paint effects have recently been refactored to make them only allocatable on the heap. This has been achieved by making constructors non-public and providing factory methods instead. If necessary, we kept the old API behind a flag so as to not break Chrome or Blink. This CL updates Chrome to use the new API and disable the flag. BUG=skia:2187 Review URL: https://codereview.chromium.org/236833008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263827 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to 14172.bungeman@chromium.org2014-04-142-2/+2
| | | | | | | | | | | 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
* Added OS specific structs initialization.vitalybuka@chromium.org2014-04-131-8/+7
| | | | | | | | | | Does not fix any bugs but looks suspicious. BUG=359548 Review URL: https://codereview.chromium.org/232213002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263551 0039d316-1c4b-4281-b951-d872f2087c98
* GN Windows build fixesbrettw@chromium.org2014-04-112-2/+14
| | | | | | | | | | | | | This also removes some patterns from the sources assignment filter, and adds scary comments not to make it bigger. The GYP version of this is out of control so I want to set a clear policy of what is included and not. I removed X-related stuff from the filter (there are only about 50 files around the tree) and added manual rules for the affected files. BUG= R=scottmg@chromium.org Review URL: https://codereview.chromium.org/235983002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263394 0039d316-1c4b-4281-b951-d872f2087c98
* [skia]: Use neon intrinsics for arm64 in skia_library_opts.gyprmcilroy@chromium.org2014-04-111-8/+12
| | | | | | | | BUG=354405,skia:2282 Review URL: https://codereview.chromium.org/234973003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263373 0039d316-1c4b-4281-b951-d872f2087c98
* Update skia GN build to include new filebrettw@chromium.org2014-04-111-0/+2
| | | | | | | | TBR=benchen Review URL: https://codereview.chromium.org/228353004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263277 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for substring replacement in gypi_to_gnbrettw@chromium.org2014-04-112-861/+854
| | | | | | | | | | Use substring replacement in skia source file list, and update the skia BUILD.gn file accordingly. The .gn file gets a bit simpler now: we can do the substring replacement to make absolute paths rather than doing rebase for all the files. R=djsollen@google.com, dpranke@chromium.org Review URL: https://codereview.chromium.org/231983002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263272 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia DEPS to 14149bensong@google.com2014-04-112-2/+2
| | | | | | | | | | | | | | Chromium base revision: 263235 Old Skia revision: 14102 New Skia revision: 14149 Control CL: https://codereview.chromium.org/234743005/ Bypassing commit queue trybots: NOTRY=true Review URL: https://codereview.chromium.org/235243002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263263 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure that last entry in "advances" array is initialized to 0.vitalybuka@chromium.org2014-04-111-3/+4
| | | | | | | | BUG=359548 Review URL: https://codereview.chromium.org/232103003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263180 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 263100 "Fix GN Build after Skia roll."viettrungluu@chromium.org2014-04-101-1/+0
| | | | | | | | | | | | | | | | | | Skia roll was reverted. > Fix GN Build after Skia roll. > > Skia introduced a new define that is required to build. > > TBR=djsollen@chromium.org > > Review URL: https://codereview.chromium.org/234203002 TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/234283003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263115 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 263106 "Fix Skia link errors in the GN build"viettrungluu@chromium.org2014-04-101-1/+1
| | | | | | | | | | | | | | | | Skia roll was reverted. > Fix Skia link errors in the GN build > > TBR=djsollen@chromium.org > > Review URL: https://codereview.chromium.org/234123004 TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/234313002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263114 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 263093 "roll skia DEPS to 14128"viettrungluu@chromium.org2014-04-101-12/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Broke iOS Simulator (dbg): http://build.chromium.org/p/chromium.mac/builders/iOS%20Simulator%20%28dbg%29/builds/15778 Ld /b/build/slave/iOS_Simulator__dbg_/build/src/xcodebuild/Debug-iphonesimulator/components_unittests.app/components_unittests normal i386 [...] Undefined symbols for architecture i386: "SkSSE2ProcCoeffXfermode::SkSSE2ProcCoeffXfermode(SkReadBuffer&)", referenced from: SkSSE2ProcCoeffXfermode::CreateProc(SkReadBuffer&) in libskia_library.a(SkXfermode.o) ld: symbol(s) not found for architecture i386 > roll skia DEPS to 14128 > > Chromium base revision: 262955 / > Old Skia revision: 14102 > New Skia revision: 14128 > Control CL: https://codereview.chromium.org/233193002/ > > Bypassing commit queue trybots: > NOTRY=true > > Review URL: https://codereview.chromium.org/232783004 TBR=bensong@google.com Review URL: https://codereview.chromium.org/234103003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263112 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Skia link errors in the GN buildbrettw@chromium.org2014-04-101-1/+1
| | | | | | | | TBR=djsollen@chromium.org Review URL: https://codereview.chromium.org/234123004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263106 0039d316-1c4b-4281-b951-d872f2087c98
* Fix GN Build after Skia roll.brettw@chromium.org2014-04-101-0/+1
| | | | | | | | | | Skia introduced a new define that is required to build. TBR=djsollen@chromium.org Review URL: https://codereview.chromium.org/234203002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263100 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia DEPS to 14128bensong@google.com2014-04-101-7/+12
| | | | | | | | | | | | | | Chromium base revision: 262955 / Old Skia revision: 14102 New Skia revision: 14128 Control CL: https://codereview.chromium.org/233193002/ Bypassing commit queue trybots: NOTRY=true Review URL: https://codereview.chromium.org/232783004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263093 0039d316-1c4b-4281-b951-d872f2087c98
* Add GN buildfile for gfxbrettw@chromium.org2014-04-101-0/+2
| | | | | | | | | | | | | Adds libjpeg and some global flags for Ozone from the GYP build. Improves error messages for mismatched item types I noticed when writing this patch (changes in builder.cc). BUG= R=bradnelson@google.com Review URL: https://codereview.chromium.org/224633002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263086 0039d316-1c4b-4281-b951-d872f2087c98
* remove vestigial reference to Config8888reed@google.com2014-04-091-9/+0
| | | | | | Review URL: https://codereview.chromium.org/212813003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262850 0039d316-1c4b-4281-b951-d872f2087c98
* Add Skia to the GN build.brettw@chromium.org2014-04-092-0/+1248
| | | | | | | | | | | | | | | | | | | | | This makes the GN build of Skia compile and adds it to the GN build. Previously, the configuration of the GN Skia tried to match the confusing array of skia targets. This new version dispenses with that and just adds all files (except SSE ones) to one target. I'm not even sure if it's necessary to split out the SSE ones, but it seems nice since that target will get more complicated when we add Arm and MIPS support. I audited the defines again and added some to the main build config that had been added to the GYP build recently. This improves some operator error messages that I found confusing when I had errors in my file. BUG= R=djsollen@google.com, scottmg@chromium.org Review URL: https://codereview.chromium.org/214883005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262779 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
* 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