summaryrefslogtreecommitdiffstats
path: root/skia
Commit message (Collapse)AuthorAgeFilesLines
* add SK_SUPPORT_LEGACY_IMAGEFILTER_TO_COLORFILTER to guard skia changereed2015-04-291-0/+4
| | | | | | | | | | in support of https://codereview.chromium.org/986353002/ BUG= Review URL: https://codereview.chromium.org/1115713003 Cr-Commit-Position: refs/heads/master@{#327537}
* Remove existing Skia suppressionsfmalita2015-04-261-1861/+0
| | | | | | | | | | | | Blink rebaselines for SK_SUPPORT_LEGACY_COLOR32_MATH have landed. BUG=480013 TBR=reed@google.com,mtklein@google.com NOTRY=true Review URL: https://codereview.chromium.org/1088083004 Cr-Commit-Position: refs/heads/master@{#326988}
* Remove SK_SUPPORT_LEGACY_COLOR32_MATHfmalita2015-04-262-4/+1861
| | | | | | | | | BUG=480013 TBR=mtklein@google.com,reed@google.com Review URL: https://codereview.chromium.org/1095513004 Cr-Commit-Position: refs/heads/master@{#326986}
* add skia guard SK_SUPPORT_LEGACY_RADIAL_GRADIENT_SQRTreed2015-04-231-0/+4
| | | | | | | | | | | for future skia cl https://codereview.chromium.org/1072303005 BUG= TBR= Review URL: https://codereview.chromium.org/1106583004 Cr-Commit-Position: refs/heads/master@{#326660}
* Apply automated fixits for Chrome clang plugin to ui_base_unittests.dcheng2015-04-211-6/+7
| | | | | | | | | | Working on trimming down plugin warnings on the Windows clang build. BUG=467287 Review URL: https://codereview.chromium.org/1096213002 Cr-Commit-Position: refs/heads/master@{#325983}
* Remove existing Skia suppressionsFlorin Malita2015-04-201-704/+0
| | | | | | | | | | | Blink rebaselines for SK_SUPPORT_LEGACY_BLITANTIH2V2 have landed. BUG=478479 TBR=reed@google.com Review URL: https://codereview.chromium.org/1052383004 Cr-Commit-Position: refs/heads/master@{#325800}
* Remove SK_SUPPORT_LEGACY_BLITANTIH2V2 flag for faster hairlinesFlorin Malita2015-04-192-4/+704
| | | | | | | | | BUG=478479 TBR=reed@google.com Review URL: https://codereview.chromium.org/1096943002 Cr-Commit-Position: refs/heads/master@{#325798}
* peg Chromium to legacy Color32 math for nowmtklein2015-04-171-0/+4
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/1053613003 Cr-Commit-Position: refs/heads/master@{#325671}
* remove unused SkPathUtils.cppreed2015-04-172-2/+0
| | | | | | | | | | | BUG= TBR=fmalita@chromium.org NOTRY=True win crashes unrelated Review URL: https://codereview.chromium.org/1092763002 Cr-Commit-Position: refs/heads/master@{#325589}
* base: Rename DiscardableMemory::Memory() to ::data().reveman2015-04-161-1/+1
| | | | | | | | | | | | | | | | | This make the API more consistent with RefCountedMemory and other discardable memory interfaces such as SkDiscardableMemory. Also improves readability by replacing memory->Memory() calls with memory->data() calls. A handy method is also added to simplify calling data() with a reinterpret_cast. This is also consistent with RefCountedMemory. BUG= Review URL: https://codereview.chromium.org/1094433002 Cr-Commit-Position: refs/heads/master@{#325509}
* add flag to guard future skia changereed2015-04-151-0/+4
| | | | | | | | | | | | | guard for this skia cl https://codereview.chromium.org/1060153003 BUG= TBR=fmalita@chromium.org NOTRY=True windows crash unrelated Review URL: https://codereview.chromium.org/1062733005 Cr-Commit-Position: refs/heads/master@{#325169}
* Remove existing Skia suppressionsfmalita2015-04-091-50/+0
| | | | | | | | | | | | The Blink rebaselines have landed. NOTRY=true BUG=475022,475017 TBR=reed@google.com,senorblanco@chromium.org Review URL: https://codereview.chromium.org/1072103002 Cr-Commit-Position: refs/heads/master@{#324454}
* Fix use of uninitialized memory in skia/ext/analysis_canvas.ccjunov2015-04-081-3/+5
| | | | | | | | BUG=475106 Review URL: https://codereview.chromium.org/1065353002 Cr-Commit-Position: refs/heads/master@{#324294}
* Remove SK_SUPPORT_LEGACY_SCALAR_MAPPOINTSfmalita2015-04-082-4/+7
| | | | | | | | | | | Legacy Skia flag. BUG=475022 TBR=reed@google.com Review URL: https://codereview.chromium.org/1071463004 Cr-Commit-Position: refs/heads/master@{#324273}
* Use SkPictureRecorder::endRecordingAsPicture() instead of endRecording()thestig2015-04-082-16/+27
| | | | | | | | endRecording() is deprecated. Review URL: https://codereview.chromium.org/1066273002 Cr-Commit-Position: refs/heads/master@{#324260}
* Remove SK_SUPPORT_LEGACY_SCALAR_XFERMODESfmalita2015-04-082-4/+32
| | | | | | | | | | | Legacy Skia flag. BUG=475017 TBR=reed@googl.ecom,mtklein@google.com Review URL: https://codereview.chromium.org/1067403002 Cr-Commit-Position: refs/heads/master@{#324245}
* Remove indirection of cpufeatures.gypi.torne2015-04-071-2/+2
| | | | | | | | | | | | | | | Now that android_webview_build is no longer supported, the extra level of indirection of including cpufeatures.gypi instead of directly depending on the cpufeatures target is not necessary. Remove the cases in the Chromium tree. Other references appear in projects pulled in via DEPS that will have to be fixed separately before cpufeatures.gypi can be entirely deleted. BUG=440793 Review URL: https://codereview.chromium.org/1045123005 Cr-Commit-Position: refs/heads/master@{#324117}
* 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}
* Add layout test suppressions for upcoming Skia roll.Stephen White2015-04-071-0/+11
| | | | | | | | | TBR=robertphillips@chromium.org BUG=skia:3532 Review URL: https://codereview.chromium.org/1064943002 Cr-Commit-Position: refs/heads/master@{#324065}
* Remove now-rebaselined tests from skia_test_expectations.txt.senorblanco2015-04-061-4/+0
| | | | | | | | | TBR=robertphillips@chromium.org BUG= Review URL: https://codereview.chromium.org/1061963002 Cr-Commit-Position: refs/heads/master@{#323957}
* Remove now-unnecessary SkPathOp define.schenney2015-04-062-6/+0
| | | | | | | | | | | Also clean up OWNERS to remove ex-googlers. R=reed@google.com,fmalita@chromium.org BUG=473772 Review URL: https://codereview.chromium.org/1059833002 Cr-Commit-Position: refs/heads/master@{#323905}
* add SK_SUPPORT_LEGACY_SCALAR_XFERMODES to stage skia speedup for xfermodesreed2015-04-031-0/+4
| | | | | | | | | | | | | needed to enable opts in https://codereview.chromium.org/1043413002/ BUG= TBR=fmalita@chromium.org NOTRY=True ... cq not working :( Review URL: https://codereview.chromium.org/1054083002 Cr-Commit-Position: refs/heads/master@{#323638}
* More layout test suppressions for upcoming Skia roll.senorblanco2015-04-021-0/+2
| | | | | | | | | TBR=rmistry BUG= Review URL: https://codereview.chromium.org/1055773003 Cr-Commit-Position: refs/heads/master@{#323470}
* Add test suppression for upcoming Skia roll.senorblanco2015-04-011-0/+2
| | | | | | | | | TBR=rmistry BUG= Review URL: https://codereview.chromium.org/1050933002 Cr-Commit-Position: refs/heads/master@{#323243}
* Add SK_CPU_SSE_LEVEL=41 to skia gnscottmg2015-03-311-0/+2
| | | | | | | | | | | I think this matches skia/skia_library_opts.gyp, but I'm not sure because it seems crazy. R=brettw@chromium.org Review URL: https://codereview.chromium.org/1042253007 Cr-Commit-Position: refs/heads/master@{#323093}
* add flag SK_SUPPORT_LEGACY_SCALAR_MAPPOINTS for future skia rollreed2015-03-291-0/+4
| | | | | | | | | BUG= TBR=fmalita@chromium.org Review URL: https://codereview.chromium.org/1042123002 Cr-Commit-Position: refs/heads/master@{#322715}
* add legacy support for old path ops enumscaryclark2015-03-261-0/+4
| | | | | | | | | R=fmalita@chromium.org BUG=skia:3588 Review URL: https://codereview.chromium.org/1017853005 Cr-Commit-Position: refs/heads/master@{#322407}
* remove reference to deprecated kHasFilter16reed2015-03-241-2/+0
| | | | | | | | | BUG= TBR=fmalita@chromium.org Review URL: https://codereview.chromium.org/1010433008 Cr-Commit-Position: refs/heads/master@{#321992}
* add SK_SUPPORT_LEGACY_INT_COLORMATRIX to stage skia changereed2015-03-231-0/+4
| | | | | | | | | | Will support this skia change: https://codereview.chromium.org/967943002/ BUG= Review URL: https://codereview.chromium.org/1031713003 Cr-Commit-Position: refs/heads/master@{#321885}
* add flag to stage skia api changereed2015-03-191-0/+4
| | | | | | | | | BUG= TBR=fmalita@chromium.org Review URL: https://codereview.chromium.org/1019653002 Cr-Commit-Position: refs/heads/master@{#321268}
* Support MIPS DSP application-specific extension (ASE) in GYP.wtc2015-03-192-11/+19
| | | | | | | | | | | | 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}
* base: Remove DiscardableMemory::CreateLockedMemory.reveman2015-03-182-2/+9
| | | | | | | | | | | | | Use DiscardableMemoryAllocator interface directly instead. This also updates the comments for the DiscardableMemory class to reflect the current state of discardable memory. BUG=422953 Review URL: https://codereview.chromium.org/1013373002 Cr-Commit-Position: refs/heads/master@{#321076}
* Support MIPS DSP application-specific extension (ASE).wtc2015-03-171-19/+39
| | | | | | | | | | | Define gypi_skia_gpu and gypi_skia_pdf only if they will be used. R=alokp@chromium.org,reed@google.com BUG=none Review URL: https://codereview.chromium.org/1008603002 Cr-Commit-Position: refs/heads/master@{#320978}
* stop using deprecated SkPaint::FilterLevelreed2015-03-173-11/+8
| | | | | | | | | | needs https://codereview.chromium.org/1013803002/ to land and roll into chrome. BUG= Review URL: https://codereview.chromium.org/1011683006 Cr-Commit-Position: refs/heads/master@{#320909}
* add SK_LEGACY_DRAWPICTURECALLBACK guard flagreed2015-03-171-0/+4
| | | | | | | | | | | Used until chrome switches to the new skia api BUG= TBR=robertphilips@chromium.org Review URL: https://codereview.chromium.org/1014473005 Cr-Commit-Position: refs/heads/master@{#320830}
* add guard SK_SUPPORT_LEGACY_FILTERLEVEL_ENUM for new skia apireed2015-03-151-0/+4
| | | | | | | | | BUG= TBR=fmalita@chromium.org Review URL: https://codereview.chromium.org/1012533002 Cr-Commit-Position: refs/heads/master@{#320687}
* remove deprecated onCreateCompatibleDevicereed2015-03-149-39/+0
| | | | | | | | | | | precursor for this skia cl : https://codereview.chromium.org/1006183002 BUG= TBR=fmalita@chromium.org Review URL: https://codereview.chromium.org/1013453002 Cr-Commit-Position: refs/heads/master@{#320673}
* Revert "Revert "add new signature so skia can rely on it (subclass of ↵reed2015-03-148-0/+34
| | | | | | | | | | | | | | | | | | SkDevice)"" Now with "override" to merge with skia's new virtual Intended to allow this to land in skia https://codereview.chromium.org/1005183003 This reverts commit 3d4669df835748357f3865d6d01a155fe72f298e. BUG= TBR=fmalita@chromium.org Review URL: https://codereview.chromium.org/1009053002 Cr-Commit-Position: refs/heads/master@{#320659}
* Revert "add new signature so skia can rely on it (subclass of SkDevice)"reed2015-03-148-28/+0
| | | | | | | | | | | | | Need to starge a pre-cl in skia first (and then add override to chrome's classes) This reverts commit 6e54eb96463218b8ee70c298b17d9d5ef78c794a. BUG= TBR=fmalita@chromium.org Review URL: https://codereview.chromium.org/1005213004 Cr-Commit-Position: refs/heads/master@{#320643}
* add new signature so skia can rely on it (subclass of SkDevice)reed2015-03-138-0/+28
| | | | | | | | | | | in support of landing this in skia https://codereview.chromium.org/1006923002 BUG= Review URL: https://codereview.chromium.org/1003253004 Cr-Commit-Position: refs/heads/master@{#320597}
* add guard for skia api changereed2015-03-131-0/+4
| | | | | | | | | | to allow skia to land https://codereview.chromium.org/988413003 NOTRY=True Review URL: https://codereview.chromium.org/1006853004 Cr-Commit-Position: refs/heads/master@{#320506}
* base: Simplify the base::DiscardableMemory API.reveman2015-03-121-15/+2
| | | | | | | | | | | | | | | | | | Discardable memory clients always destroy and create a new instance when failing to lock a chunk of memory. By making this behavior required, we simplify the API significantly and make the implementation more efficient as we can avoid assigning memory to instances that will never be used. This also removes some unnecessary null checks from SkDiscardableMemoryChrome and WebDiscardableMemoryImpl. CreateLockedMemory will not fail unless OOM. BUG=442945,422953 Review URL: https://codereview.chromium.org/992723003 Cr-Commit-Position: refs/heads/master@{#320312}
* Add back overdraw visualization for Skia BenchmarkingCanvasfmalita2015-03-112-25/+87
| | | | | | | | | | | | This was dropped during BenchmarkingCanvas refactoring. Adding back for feature parity. BUG=461534 R=robertphillips@google.com,reed@google.com Review URL: https://codereview.chromium.org/993893004 Cr-Commit-Position: refs/heads/master@{#320111}
* Hide src/core Skia headersfmalita2015-03-103-19/+1
| | | | | | | | | | | | | | With a standalone BenchmarkingCanvas, we can now unexport the src/core headers. Also remove unused SkDebugCanvas sources. BUG=457691 R=reed@google.com,robertphillips@google.com,mtklein@chromium.org Review URL: https://codereview.chromium.org/993533005 Cr-Commit-Position: refs/heads/master@{#319874}
* drawPicture calls OnDrawPicture calls drawPicturehendrikw2015-03-101-1/+1
| | | | | | | | | | | | | Ran into infinite recursion while looking at skia benchmarked skpictures in trace viewer. BenchmarkingCanvas::onDrawPicture was calling SkCanvas::drawPicture, which would call BenchmarkingCanvas::onDrawPicture. BenchmarkingCanvas::onDrawPicture now calls SkCanvas::onDrawPicture, which should break up pictures into multiple commands. Review URL: https://codereview.chromium.org/990373002 Cr-Commit-Position: refs/heads/master@{#319811}
* Fixing analysis_canvas treatment of save layers with src xfermodejunov2015-03-092-1/+44
| | | | | | | | | | | | | | | | Code in AnalysisCanvas::willSaveLayer was treating the case of layers composited with kSrc_Mode as if they did not affect the destination, when in fact it is kDst_Mode that does not affect the destination. As a result of this error, the compositor was culling layers that contained opaque canvas elements, which are composited with 'src' for performance. BUG=464694 TEST=skia_unittest AnalysisCanvasTest.SaveLayerWithXfermode Review URL: https://codereview.chromium.org/990983003 Cr-Commit-Position: refs/heads/master@{#319719}
* Remove existing Skia suppressionsfmalita2015-03-091-645/+0
| | | | | | | | | | | | The tests are tagged for rebaseline in Blink now, new results trickling in. BUG=458898 TBR=reed@google.com,robertphillips@google.com Review URL: https://codereview.chromium.org/990103002 Cr-Commit-Position: refs/heads/master@{#319608}
* Remove SK_SUPPORT_LEGACY_ADDOVALFlorin Malita2015-03-092-4/+641
| | | | | | | | | | BUG=458898 TBR=reed@google.com NOTRY=true Review URL: https://codereview.chromium.org/926403002 Cr-Commit-Position: refs/heads/master@{#319598}
* Add remaining trivial targets for the Linux GN builddpranke2015-03-081-0/+25
| | | | | | | | | | | | | | | | | | This patch adds a whole bunch of small targets that had either already been done but weren't mentioned in the 'gn_all' group, or needed to be done. In theory this should produce no change on any platform other than Linux, except for one small windows target. R=brettw@chromium.org TBR=dtu@chromium.org BUG=432959 CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:android_chromium_gn_compile_dbg,android_chromium_gn_compile_rel;tryserver.chromium.win:win8_chromium_gn_rel,win8_chromium_gn_dbg;tryserver.chromium.mac:mac_chromium_gn_rel,mac_chromium_gn_dbg Review URL: https://codereview.chromium.org/975123003 Cr-Commit-Position: refs/heads/master@{#319580}
* Added testexpectations for failing test following skia DEPS rollsugoi2015-03-061-0/+1
| | | | | | | | | | U and V planes upscaling changed from NEAREST interpolation mode to LINEAR in the GPU YUV decoding, so some image based layout tests may need to be rebaselined. BUG=464776 Review URL: https://codereview.chromium.org/976123003 Cr-Commit-Position: refs/heads/master@{#319489}