summaryrefslogtreecommitdiffstats
path: root/skia
Commit message (Collapse)AuthorAgeFilesLines
* Roll Skia DEPS to r10851robertphillips@google.com2013-08-211-0/+26
| | | | | | | | R=reed@google.com Review URL: https://codereview.chromium.org/22999034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218762 0039d316-1c4b-4281-b951-d872f2087c98
* Android: adjusts the Skia font cache.bulach@chromium.org2013-08-211-4/+5
| | | | | | | | | | | | | | The android system version of Skia uses 1MB overall. Chrome bumped it up for desktop to 20MB, and later on android lowered to 8MB. Rather than hardcode 8MB for all range of devices, use 1MB for low end devices. (b/10201806). Also, on memory pressure, purge the font cache. BUG=274452 Review URL: https://chromiumcodereview.appspot.com/22852008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218739 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r10787robertphillips@google.com2013-08-201-0/+5
| | | | | | | | R=rmistry@google.com Review URL: https://codereview.chromium.org/23137006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218462 0039d316-1c4b-4281-b951-d872f2087c98
* Submitting https://codereview.chromium.org/23116003/ for Cihat Imamoglu.avayvod@chromium.org2013-08-192-2/+2
| | | | | | | | | | | Adds PrintingContext implementation stub for Android. BUG=147070 TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/22999026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218339 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 218271 "Roll Skia DEPS to r10790 (take 2)"dbeam@chromium.org2013-08-192-31/+0
| | | | | | | | | | | | | | | | | | | | | | E:\b\depot_tools\python_bin\python_slave.exe E:\b\build\slave\XP_Tests__dbg__6_\build\src\build\..\tools\sharding_supervisor\sharding_supervisor.py --no-color --retry-failed --total-slaves 5 --slave-index 4 E:\b\build\slave\XP_Tests__dbg__6_\build\src\build\Debug\browser_tests.exe --lib=browser_tests --gtest_print_time --gtest_output=xml:E:\b\build\slave\XP_Tests__dbg__6_\build\gtest-results\browser_tests\browser_tests.xml Failed to list test cases > Roll Skia DEPS to r10790 (take 2) > > R=bsalomon@google.com > > Review URL: https://codereview.chromium.org/23295014 TBR=robertphillips@google.com Review URL: https://codereview.chromium.org/23072021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218299 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r10790 (take 2)robertphillips@google.com2013-08-192-0/+31
| | | | | | | | R=bsalomon@google.com Review URL: https://codereview.chromium.org/23295014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218271 0039d316-1c4b-4281-b951-d872f2087c98
* Android WebView: build fixes for use_system_skia.torne@chromium.org2013-08-161-0/+7
| | | | | | | | | | | | | | | The skia shim headers were not being included at the front of the path because of a gyp processing issue, causing it to pick up the bundled headers instead by mistake; fix the gyp file. Also, some of the chromium code depends on non-public headers; add the required include path for this to work until we can fix the code. BUG=263818,274425 Review URL: https://chromiumcodereview.appspot.com/23064007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218021 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r10765robertphillips@google.com2013-08-166-7/+13
| | | | | | | | R=bsalomon@google.com Review URL: https://codereview.chromium.org/22993003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218015 0039d316-1c4b-4281-b951-d872f2087c98
* skia: remove gpu/gl from include path.torne@chromium.org2013-08-121-2/+0
| | | | | | | | | | | | include/gpu/gl is not normally part of the skia include path; don't add it to include_dirs when building skia inside chromium. References to gl headers have been fixed to qualify the path properly. BUG= Review URL: https://chromiumcodereview.appspot.com/22736003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217027 0039d316-1c4b-4281-b951-d872f2087c98
* Android WebView: support building against system skia.torne@chromium.org2013-08-122-10/+47
| | | | | | | | | | | | 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
* Make target skia_library propagate gyp settings from blink_skia_configjunov@chromium.org2013-08-081-0/+3
| | | | | | | | R=senorblanco Review URL: https://codereview.chromium.org/22590007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216406 0039d316-1c4b-4281-b951-d872f2087c98
* Reinstating blink_skia_config.gyp dependencyjunov@chromium.org2013-08-081-3/+1
| | | | | | | | R=abarth@chromium.org, senorblanco@chromium.org Review URL: https://codereview.chromium.org/22572003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216386 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to 10602robertphillips@google.com2013-08-071-0/+2
| | | | | | | | R=bsalomon@google.com Review URL: https://codereview.chromium.org/22587002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216188 0039d316-1c4b-4281-b951-d872f2087c98
* Disable Convolver.SIMDVerification under the ThreadSanitizer.glider@chromium.org2013-08-071-1/+7
| | | | | | | | | BUG=134400 TBR=jiesun@chromium.org Review URL: https://codereview.chromium.org/22579002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216165 0039d316-1c4b-4281-b951-d872f2087c98
* Fully qualify includes in skia ext/ code.torne@chromium.org2013-08-061-13/+12
| | | | | | | | | | | | Use full pathnames to refer to skia includes in skia/ext/lazy_pixel_ref_utils.cc to match all the other code in skia/ext. BUG= Review URL: https://chromiumcodereview.appspot.com/22407002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215909 0039d316-1c4b-4281-b951-d872f2087c98
* [skia_benchmarking_extension] fix off-by-one timing reporting.fmalita@chromium.org2013-08-061-1/+2
| | | | | | | | | | Just in case you were wondering why that translate(0, 0) shows up as more expensive than a drawBitmapRect() :) TBR=senorblanco@chromium.org Review URL: https://codereview.chromium.org/22424003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215896 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r10475 (take 3)robertphillips@google.com2013-08-012-8/+4
| | | | | | | | R=djsollen@google.com, tomhudson@google.com Review URL: https://codereview.chromium.org/21550002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215027 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 215007 "Roll Skia DEPS to r10475"skyostil@google.com2013-08-011-1/+0
| | | | | | | | | | | | | | | | | Reverting because this broke the Android x86 build: http://build.chromium.org/p/chromium.fyi/builders/Android%20x86%20Builder%20%28dbg%29/builds/538 > Roll Skia DEPS to r10475 > > R=rmistry@google.com > > Review URL: https://codereview.chromium.org/21402002 TBR=robertphillips@google.com Review URL: https://codereview.chromium.org/21544002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215015 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r10475robertphillips@google.com2013-08-011-0/+1
| | | | | | | | R=rmistry@google.com Review URL: https://codereview.chromium.org/21402002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215007 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r10447 & add suppressionsrobertphillips@google.com2013-07-311-0/+9
| | | | | | | | R=bsalomon@google.com Review URL: https://codereview.chromium.org/21360002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214698 0039d316-1c4b-4281-b951-d872f2087c98
* [SkiaBenchmarkingExtension] Add draw command timing info.fmalita@chromium.org2013-07-304-0/+291
| | | | | | | | | | | | | | | | | Extend skiaBenchmarking.getOps() to also report per-op timing information (microseconds, as measured while drawing to a bitmap canvas). The CL introduces a new SkiaBenchmarkingCanvas abstraction, which is responsible for extracting the op list and gathering render timings. This is accomplished by multiplexing the draw commands onto two internal canvases: * an SkDebugCanvas - records command info and tracks the current command index. * an SkiaTimingCanvas - instrumented canvas (records timing information while drawing to a backing bitmap canvas). Since SkiaTimingCanvas relies on SkDebugCanvas for tracking the current command index, we do not have to worry about timing indices getting out of sync due to missing SkCanvas method overrides, and can selectively instrument only methods of interest. This insulates skiaBenchmarking from SkCanvas API changes. R=nduca@chromium.org, piman@chromium.org, senorblanco@chromium.org Review URL: https://codereview.chromium.org/19266015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214404 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dependency on Blink's Source/WebKit/chromiumabarth@chromium.org2013-07-291-1/+3
| | | | | | | | | | | | | | | We used to depend directly on this GYP file in Blink's Source directory. As part of cleaning up Blink's directory structure, we're moving all direct dependencies from Chromium to Blink into Blink's public directory. This CL removes this dependency because it currently does nothing. I'll re-introduce the dependency once the move is complete. R=djsollen@google.com, thakis@chromium.org Review URL: https://codereview.chromium.org/21138002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214259 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r10402 & add suppressionsrobertphillips@google.com2013-07-292-0/+11
| | | | | | | | R=reed@google.com Review URL: https://codereview.chromium.org/20994005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214229 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r10377 & update skia/extrobertphillips@google.com2013-07-265-7/+2
| | | | | | | | | | This roll also updates skia/ext to match the SkDevice API changes in Skia r10342 (drawBitmap* cleanup - https://codereview.chromium.org/19977003/) R=rmistry@google.com Review URL: https://codereview.chromium.org/20476003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213854 0039d316-1c4b-4281-b951-d872f2087c98
* Make inttypes.h and similar macro usage C++11-friendly.thakis@chromium.org2013-07-251-1/+1
| | | | | | | | | | | | | | | | "foo"PRIuS is a user-defined literal in C++11. Add spaces around these macros. Likewise, L"\xab"L"c" is a user-defined literal, so insert a space in the middle. No functionality change. BUG=chromium:263960 TBR=alokp@chromium.org, dmichael@chromium.org, enne@chromium.org, isherman@chromium.org, rsleevi@chromium.org, thestig@chromium.org Review URL: https://codereview.chromium.org/20182002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213566 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS 10304robertphillips@google.com2013-07-241-0/+2
| | | | | | | | R=reed@google.com Review URL: https://codereview.chromium.org/20011004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213424 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Skia suppressions.fmalita@chromium.org2013-07-241-10/+0
| | | | | | | | | | | Most suppressed tests have been rebaselined in https://src.chromium.org/viewvc/blink?revision=154755&view=revision. TBR=robertphillips@chromium.org BUG=258850 Review URL: https://chromiumcodereview.appspot.com/20063003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213310 0039d316-1c4b-4281-b951-d872f2087c98
* Update include paths in skia for base/process changes.rsesek@chromium.org2013-07-231-1/+1
| | | | | | | | | BUG=242290 R=reed@chromium.org Review URL: https://chromiumcodereview.appspot.com/19647008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213153 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r10239 with suppressionsrobertphillips@google.com2013-07-231-0/+3
| | | | | | | | R=rmistry@google.com Review URL: https://codereview.chromium.org/19676007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213091 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor Skia's GYP to separate Chrome additions from the core lib.djsollen@chromium.org2013-07-235-850/+928
| | | | | | | | | | 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
* Document that GetTopDevice may return NULL. Check for null in ↵reed@google.com2013-07-222-9/+8
| | | | | | | | | | GetPlatformDevice() BUG=255584 Review URL: https://chromiumcodereview.appspot.com/19540017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212889 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r10169robertphillips@google.com2013-07-192-6/+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
* include missing headers in skia/ext/analysis_canvas.{h,cc}mostynb@opera.com2013-07-172-0/+2
| | | | | | | | | | | | | skia/ext/analysis_canvas.h uses the OVERRIDE macro, but does not include the header file that defines it. And analysis_canvas.cc lacks the header for DCHECK. BUG=259043 Review URL: https://chromiumcodereview.appspot.com/18881003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212042 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-152-0/+6
| | | | | | | | 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-155-929/+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-155-850/+929
| | | | | | 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-102-0/+11
| | | | | | | | 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
* Remove all suppressions from skia_test_expectations.txt, now that the Blink ↵senorblanco@chromium.org2013-07-041-22/+0
| | | | | | | | | | | roll has brought in the new baselines. TBR=crogers@chromium.org BUG=238755 Review URL: https://codereview.chromium.org/18441004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210103 0039d316-1c4b-4281-b951-d872f2087c98
* Mark a test as crashing in skia_text_expectations. It's marked as such in ↵senorblanco@chromium.org2013-07-031-1/+1
| | | | | | | | | | | upstream TestExpectations, but this file is overriding. TBR=crogers@chromium.org BUG= Review URL: https://codereview.chromium.org/18346014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210068 0039d316-1c4b-4281-b951-d872f2087c98
* Unofficial gardening: clean up skia_test_expectations.txt after after Mesa ↵senorblanco@chromium.org2013-07-031-137/+21
| | | | | | | | | | | 9.0.3 upgrade. BUG=238755 TBR=kbr@chromium.org Review URL: https://codereview.chromium.org/18501005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209976 0039d316-1c4b-4281-b951-d872f2087c98
* Upgrading Mesa to 9.0.3dpranke@chromium.org2013-07-021-0/+138
| | | | | | | | | BUG=238755 R=apatrick@chromium.org, nduca@chromium.org Review URL: https://codereview.chromium.org/17005007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209579 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of time headers in rlz/, skia/, sql/, sync/.avi@chromium.org2013-06-284-5/+5
| | | | | | | | | | BUG=254986 TEST=none TBR=ben@chromium.org Review URL: https://codereview.chromium.org/18031009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209152 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to 9798 & update skia/OWNERSrobertphillips@google.com2013-06-281-6/+16
| | | | | | | | R=rmistry@google.com Review URL: https://codereview.chromium.org/18122006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209134 0039d316-1c4b-4281-b951-d872f2087c98
* Add SkColorToSRGBNSColor to skia_mac_utilstapted@chromium.org2013-06-282-1/+15
| | | | | | | | | | | | | | | | | | | | When WCS is enabled, the sRGB color space is the default color space for Windows [1] and for CSS3 rgb values [2]. Using SkColorToCalibratedNSColor results in a different (typically ligher) color when used in Quartz drawing versus a web page, or for color constants from designers. This adds SkColorToSRGBNSColor to convert an SkColor value specified in the sRGB color space to an NSColor. [1] http://msdn.microsoft.com/en-us/library/windows/hardware/gg487409.aspx [2] http://www.w3.org/TR/css3-color/#rgb-color BUG=138633, 254361 Review URL: https://chromiumcodereview.appspot.com/17834003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209101 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
* Remove now-passing tests from skia_test_expectations.txt.senorblanco@chromium.org2013-06-271-10/+0
| | | | | | | | | TBR=robertphillips BUG= Review URL: https://codereview.chromium.org/17993003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208838 0039d316-1c4b-4281-b951-d872f2087c98
* Remove r9631 Skia suppressions.fmalita@chromium.org2013-06-261-10/+0
| | | | | | | | | BUG=250525 TBR=robertphillips,senorblanco Review URL: https://chromiumcodereview.appspot.com/17927002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208796 0039d316-1c4b-4281-b951-d872f2087c98