summaryrefslogtreecommitdiffstats
path: root/skia
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Optimize shorthand CSS filter application. When the filter chain can be ↵senorblanco@chromium.org2013-06-261-0/+10
| | | | | | | | | | | | expressed as a single color matrix, apply it directly in the compositor and skip the intermediate FBO. This is similar to an optimization that has already been applied for the SkImageFilter DAG path. R=epenner,jamesr BUG=233101 Review URL: https://chromiumcodereview.appspot.com/17693002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208751 0039d316-1c4b-4281-b951-d872f2087c98
* Add skiaBenchmarking.getOps()fmalita@chromium.org2013-06-261-0/+6
| | | | | | | | | | | | | | | | Given a JSON-encoded Picture, the new function returns an array of Skia draw commands + info. Depends on https://codereview.chromium.org/16638014/. Re-landing after Skia SkDebugCanvas static initializer fix (https://code.google.com/p/skia/source/detail?r=9723). R=nduca@chromium.org, piman@chromium.org, senorblanco@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207676 Review URL: https://codereview.chromium.org/15967010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208695 0039d316-1c4b-4281-b951-d872f2087c98
* Removing Skia suppressions.fmalita@chromium.org2013-06-251-25/+0
| | | | | | | | | | | Baseline images have been updated, most suppressions are now green. BUG=243726,247306,250525 TBR=robertphillips Review URL: https://chromiumcodereview.appspot.com/17640014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208507 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Update clients of scoped_nsobject.h.thakis@chromium.org2013-06-242-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1.) The header is now in base/mac instead of base/memory 2.) The class is now in namespace base. This CL was created programmatically by running: 1.) git grep -l memory/scoped_nsobject.h | xargs sed -i -e 's/memory\/scoped_nsobject.h/mac\/scoped_nsobject.h/g' for f in $(git diff --name-only origin); do tools/sort-headers.py $f -f; done git commit -a -m headers # manually undo changes to gypi file git cl upload # patch set 1 2.) git grep -l 'scoped_nsobject<' | xargs sed -i -e 's/scoped_nsobject</base::scoped_nsobject</g' # manually undo comment changes in scoped_nsobject.h, tracking_area.h git commit -a -m format git cl upload # patch set 2 # Manually audit all files, file bugs and clean up bad clang-format decisions git cl upload # patch set 3 BUG=251957 TBR=mark@chromium.org Review URL: https://codereview.chromium.org/17593006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208283 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Replace base::mac::ScopedCFTypeRef with base::ScopedCFTypeRef.thakis@chromium.org2013-06-242-20/+26
| | | | | | | | | | | | | | | | | This CL was created fully mechanically by running git grep -l base::mac::ScopedCFTypeRef | xargs sed -i -e 's/base::mac::ScopedCFTypeRef/base::ScopedCFTypeRef/g' git commit -a -m. git clang-format HEAD^ --style=Chromium git commit -a -m. git cl upload -t $TITLE BUG=251957 TBR=mark@chromium.org Review URL: https://codereview.chromium.org/16917011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208245 0039d316-1c4b-4281-b951-d872f2087c98
* Use TEXTMETRICS for font metrics for Skia/GDIeae@chromium.org2013-06-211-0/+3
| | | | | | | | | | | | | | | | Blink currently uses TEXTMETRICS for font metrics on windows, regardless of the font type. Skia currently does not. Set the SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS flag for windows which will instruct Skia to use the same font metrics for the GDI backend as our current GDI implementation. BUG=252705 R=reed@google.com, thakis@chromium.org Review URL: https://chromiumcodereview.appspot.com/17068009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207911 0039d316-1c4b-4281-b951-d872f2087c98
* Re-revert "Re-land r207660 - "Upgrading Mesa to 9.0.3."""dpranke@chromium.org2013-06-211-133/+0
| | | | | | | | | | | This reverts r207892 - build failure on Linux x64. TBR=kbr@chromium.org BUG=238755 Review URL: https://codereview.chromium.org/16915005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207896 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land r207660 - "Upgrading Mesa to 9.0.3.""dpranke@chromium.org2013-06-211-0/+133
| | | | | | | | | | | Try again w/ gyp fix. TBR=kbr@chromium.org, mymax@amazon.com BUG=238755 Review URL: https://codereview.chromium.org/17115014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207892 0039d316-1c4b-4281-b951-d872f2087c98
* Remove expectation for rebaselined test.senorblanco@chromium.org2013-06-211-1/+0
| | | | | | | | | TBR=robertphillips BUG=250525 Review URL: https://codereview.chromium.org/17231005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207796 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 207676 "Add skiaBenchmarking.getOps()"scottmg@chromium.org2013-06-211-6/+0
| | | | | | | | | | | | | | | | | | | | Caused linux x64 sizes regression due to static initializers in SkDebugCanvas. > Add skiaBenchmarking.getOps() > > Given a JSON-encoded Picture, the new function returns an array of Skia draw commands + info. > > Depends on https://codereview.chromium.org/16638014/. > > R=nduca@chromium.org, piman@chromium.org, senorblanco@chromium.org > > Review URL: https://codereview.chromium.org/15967010 TBR=fmalita@google.com Review URL: https://codereview.chromium.org/17514008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207682 0039d316-1c4b-4281-b951-d872f2087c98
* Add skiaBenchmarking.getOps()fmalita@google.com2013-06-211-0/+6
| | | | | | | | | | | | Given a JSON-encoded Picture, the new function returns an array of Skia draw commands + info. Depends on https://codereview.chromium.org/16638014/. R=nduca@chromium.org, piman@chromium.org, senorblanco@chromium.org Review URL: https://codereview.chromium.org/15967010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207676 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r207660 - "Upgrading Mesa to 9.0.3."dpranke@chromium.org2013-06-211-133/+0
| | | | | | | | | Compile failure on Linux ... not sure why this wasn't caught before. TBR=kbr@chromium.org BUG=238755 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207662 0039d316-1c4b-4281-b951-d872f2087c98
* Upgrading Mesa to 9.0.3.dpranke@chromium.org2013-06-211-0/+133
| | | | | | | | | | | | | Patch landed on behalf of mymax@amazon.com. OWNERS approvals are in https://chromiumcodereview.appspot.com/17005007/ . Try jobs (w/o binaries) are in https://chromiumcodereview.appspot.com/17422003/ . TBR=kbr@chromium.org BUG=238755 Review URL: https://codereview.chromium.org/17341003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207660 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to r9694robertphillips@google.com2013-06-202-2/+27
| | | | | | | | R=reed@google.com Review URL: https://codereview.chromium.org/17484003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207440 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure skia doesn't try to scale images with less than 32 bits per pixel.hubbe@chromium.org2013-06-152-2/+13
| | | | | | | | | | | | | The previous attempt to commit this was reverted because ui_unittests stopped working on windows. Since I don't have a windows box, I can't fix the test, so in this CL I am disabling the tests and notifying the people who can fix it. This log shows what happened when the test was not disabled: http://build.chromium.org/p/chromium.win/builders/XP%20Tests%20%28dbg%29%281%29/builds/36957/steps/ui_unittests/logs/stdio BUG=247081 Review URL: https://chromiumcodereview.appspot.com/17100002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206599 0039d316-1c4b-4281-b951-d872f2087c98
* Turn on lightweight image decode check.tomhudson@chromium.org2013-06-142-0/+9
| | | | | | | | | | | | | | | Depends on https://crrev.com/16432002. Activates cheaper test of whether or not an image is decoded, for a savings of 50-70% of CPU time and near-complete elimination of lock contention in ManageTiles() when loading the cnn.com homepage on an Android device. BUG=239632 R=bsalomon,reveman Review URL: https://chromiumcodereview.appspot.com/16332004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206401 0039d316-1c4b-4281-b951-d872f2087c98
* Fix skia NEON code paths for the Android build.digit@chromium.org2013-06-141-12/+77
| | | | | | | | | | | | | | | For some reason, theses code paths were not compiled anymore when using the Chromium-specific skia/ gyp files. Upstream gyp files under third_party/skia/gyp/ are ok, but not used when building for Chromium (see bug for more details). This patch reactivates the build of "dynamic NEON support" in the Android ARM skia build. BUG=249304 Review URL: https://chromiumcodereview.appspot.com/16944005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206393 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 206227 "Make sure skia doesn't try to scale images with l..."hashimoto@chromium.org2013-06-142-13/+2
| | | | | | | | | | | | | | | | | | Speculative fix for DCHECK failure in ui_unittests on win debug bots. http://build.chromium.org/p/chromium.win/builders/XP%20Tests%20%28dbg%29%281%29/builds/36957 http://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%281%29/builds/19757 > Make sure skia doesn't try to scale images with less than 32 bits per pixel. > > BUG=247081 > > Review URL: https://chromiumcodereview.appspot.com/16843004 TBR=hubbe@chromium.org Review URL: https://codereview.chromium.org/16855019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206318 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure skia doesn't try to scale images with less than 32 bits per pixel.hubbe@chromium.org2013-06-132-2/+13
| | | | | | | | BUG=247081 Review URL: https://chromiumcodereview.appspot.com/16843004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206227 0039d316-1c4b-4281-b951-d872f2087c98
* Remove skia test expectations for rebaselined tests.senorblanco@chromium.org2013-06-131-9/+1
| | | | | | | | TBR=robertphillips Review URL: https://codereview.chromium.org/16848015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206171 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of strings headers in rlz/, sandbox/, skia/, sql/, sync/.avi@chromium.org2013-06-115-7/+7
| | | | | | | | | | BUG=247723 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/16358024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205458 0039d316-1c4b-4281-b951-d872f2087c98
* skia/ext: Updated lazy_pixel_ref_utils style.vmpstr@chromium.org2013-06-112-56/+50
| | | | | | | | | | | This patch makes lazy_pixel_ref_utils* style consistent with Chromium style. BUG=245787 Review URL: https://chromiumcodereview.appspot.com/15981008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205376 0039d316-1c4b-4281-b951-d872f2087c98
* Skia/ext analysis canvas style changevmpstr@chromium.org2013-06-083-344/+392
| | | | | | | | | | Changed the style of skia/ext to be Chromium style. BUG=245787 Review URL: https://chromiumcodereview.appspot.com/16647003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205032 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of utf_string_conversions.h in google_apis/, gpu/, ↵avi@chromium.org2013-06-072-2/+2
| | | | | | | | | | | | ipc/, media/, ppapi/, printing/, remoting/, rlz/, skia/, sql/, sync/, third_party/, tools/, webkit/, win8/. BUG=none TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/15995038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204967 0039d316-1c4b-4281-b951-d872f2087c98