summaryrefslogtreecommitdiffstats
path: root/skia
Commit message (Collapse)AuthorAgeFilesLines
* Revert 98230 - CL removing inheritance of SkDevice from PlatformDevice. twiz@chromium.org2011-08-2521-233/+522
| | | | | | | | | | | | | | | PlatformDevice is now a base interface, which is implemented by the various flavours of BitmapPlatformDevice, and VectorPlatformDevice. The BitmapPlatformDevice and VectorPlatformDevice classes now inherit directly from SkDevice, or SkPDFDevice, as appropriate. PlatformDevice helper functions access the PlatformDevice interface attached to a SkDevice via meta-data on the SkDevice. BUG=none TEST=none Review URL: http://codereview.chromium.org/7633040 TBR=twiz@chromium.org,jbates@chromium.org, dpolukhin@chromium.org, sanjeevr@chromium.org Review URL: http://codereview.chromium.org/7754001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98233 0039d316-1c4b-4281-b951-d872f2087c98
* CL removing inheritance of SkDevice from PlatformDevice. twiz@chromium.org2011-08-2521-522/+233
| | | | | | | | | | | | PlatformDevice is now a base interface, which is implemented by the various flavours of BitmapPlatformDevice, and VectorPlatformDevice. The BitmapPlatformDevice and VectorPlatformDevice classes now inherit directly from SkDevice, or SkPDFDevice, as appropriate. PlatformDevice helper functions access the PlatformDevice interface attached to a SkDevice via meta-data on the SkDevice. BUG=none TEST=none Review URL: http://codereview.chromium.org/7633040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98230 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia to 2160, mirror of http://codereview.chromium.org/7719002/reed@google.com2011-08-241-2/+6
| | | | | | Review URL: http://codereview.chromium.org/7719027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98041 0039d316-1c4b-4281-b951-d872f2087c98
* check for allocPixels failures during resizereed@google.com2011-08-241-0/+11
| | | | | | Review URL: http://codereview.chromium.org/7685056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98032 0039d316-1c4b-4281-b951-d872f2087c98
* Until this roll skia supported only a single GrGLInterace object shared by ↵bsalomon@google.com2011-08-231-2/+4
| | | | | | | | | | | all GrContexts. Now GrGLInterface is a ref counted object and each GrContext can use a different one. This flexibility be needed to use skia-gpu to draw UI elements concurrently with canvas or --enable-accelerated-drawing while in --single-process mode. The former will uses the in-proc WGC3D implementation and the latter uses the cmd-buf implementation. These changes just make Chrome continue to work as it did before. A future change will remove the dependence on setting the "default" GrGLInterface and instead explicitly pass a GrGLInterface to each GrContext constructor that depends on which WGC3D implementation is in use. Review URL: http://codereview.chromium.org/7691002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97862 0039d316-1c4b-4281-b951-d872f2087c98
* Adding traces around skia image resizes so we know when they happen.jbates@chromium.org2011-08-231-0/+7
| | | | | | Review URL: http://codereview.chromium.org/7711021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97798 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash when allocation of very large HTML canvas fails.junov@chromium.org2011-08-192-0/+16
| | | | | | | | | | | | | | This change introduces skia::TryCreateBitmapCanvas, which is a non-crashing version of CreateBitmapCanvas. This patch alone does not fix that crash. A patch in WebKit will be necessary to make the ImageBuffer constructor in ImageBufferSkia.cpp call TryCreateBitmapCanvas. BUG=88038 TEST=http://www.atopon.org/maze/ Review URL: http://codereview.chromium.org/7686006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97474 0039d316-1c4b-4281-b951-d872f2087c98
* Added Header and Footer support in Linux, Windows and Mac for Skiaaayushkumar@chromium.org2011-08-172-1/+9
| | | | | | | | | | | | BUG=67514 TEST= In the preview tab, note added options for printing headers and footers. Toggle with the checkbox and ensure that the correct headers and footers are displayed. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97219 Review URL: http://codereview.chromium.org/7348010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97233 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 97219 - Added Header and Footer support in Linux, Windows and Mac for ↵aayushkumar@chromium.org2011-08-172-9/+1
| | | | | | | | | | | | | | | Skia BUG=67514 TEST= In the preview tab, note added options for printing headers and footers. Toggle with the checkbox and ensure that the correct headers and footers are displayed. Review URL: http://codereview.chromium.org/7348010 TBR=aayushkumar@chromium.org Review URL: http://codereview.chromium.org/7670045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97226 0039d316-1c4b-4281-b951-d872f2087c98
* Added Header and Footer support in Linux, Windows and Mac for Skiaaayushkumar@chromium.org2011-08-172-1/+9
| | | | | | | | | | BUG=67514 TEST= In the preview tab, note added options for printing headers and footers. Toggle with the checkbox and ensure that the correct headers and footers are displayed. Review URL: http://codereview.chromium.org/7348010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97219 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia 2123->2128ctguil@chromium.org2011-08-171-1/+0
| | | | | | | | | | | Whitespace change: http://codereview.chromium.org/7621036 BUG=none TEST=none TBR=vandebo@chromium.org Review URL: http://codereview.chromium.org/7669005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97117 0039d316-1c4b-4281-b951-d872f2087c98
* base: Fix the TODO in string_util.htfarina@chromium.org2011-08-171-1/+2
| | | | | | | | | | | | | This removes the include of stringprintf.h from string_util.h and fix the clients. BUG=None TEST=None R=evan@chromium.org Review URL: http://codereview.chromium.org/7633055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97067 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia 2116 -> 2123.ctguil@chromium.org2011-08-161-5/+5
| | | | | | | Whitespace change: http://codereview.chromium.org/7664017/ Review URL: http://codereview.chromium.org/7661030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97038 0039d316-1c4b-4281-b951-d872f2087c98
* Fix 3D-CSS transform printing - proxy device origin.vandebo@chromium.org2011-08-161-0/+2
| | | | | | | | | | | Depends on Skia r2108,2116 BUG=82746 TEST=print http://www.webkit.org/blog-files/3d-transforms/poster-circle.html Review URL: http://codereview.chromium.org/7620016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96920 0039d316-1c4b-4281-b951-d872f2087c98
* Switch over to using SkRegions to calculate dirty areas.dmaclach@chromium.org2011-08-121-1/+1
| | | | | | | | | | | BUG=91619 TEST=Set up a remoting sesssion and make sure it works. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96327 Review URL: http://codereview.chromium.org/7491070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96632 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 96327 - Switch over to using SkRegions to calculate dirty areas.dmaclach@chromium.org2011-08-111-1/+1
| | | | | | | | | | | | BUG=91619 TEST=Set up a remoting sesssion and make sure it works. Review URL: http://codereview.chromium.org/7491070 TBR=dmaclach@chromium.org Review URL: http://codereview.chromium.org/7622002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96328 0039d316-1c4b-4281-b951-d872f2087c98
* Switch over to using SkRegions to calculate dirty areas.dmaclach@chromium.org2011-08-111-1/+1
| | | | | | | | | BUG=91619 TEST=Set up a remoting sesssion and make sure it works. Review URL: http://codereview.chromium.org/7491070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96327 0039d316-1c4b-4281-b951-d872f2087c98
* Skia DEPS roll 2051->2088epoger@google.com2011-08-101-0/+3
| | | | | | Review URL: http://codereview.chromium.org/7605006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96170 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 95874 - Roll skia 2051->2062vandebo@chromium.org2011-08-081-1/+0
| | | | | | | | | | | | | | | | Whitespace change: http://codereview.chromium.org/7600002 BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/7600001 TBR=jianli@chromium.org The following tests started to fail (crash) on WK canary with this roll: 2d.path.arc.zero.1.html 2d.path.bezierCurveTo.basic.html 2d.path.bezierCurveTo.shape.html 2d.path.fill.closed.unaffected.html 2d.path.fill.winding.subtract.3.html 2d.path.moveTo.basic.html 2d.path.rect.end.1.html 2d.path.rect.selfintersect.html 2d.path.rect.zero.4.html 2d.path.stroke.prune.arc.html 2d.path.stroke.prune.rect.html 2d.path.stroke.union.html 2d.shadow.canvas.basic.html 2d.shadow.enable.x.html 2d.state.saverestore.globalCompositeOperation.html context.unrecognised.nullsuffix.html canvas-copyPixels.html canvas-drawImage-incomplete.html canvas-fillPath-pattern-shadow.html canvas-font-ex-units-crash.html Review URL: http://codereview.chromium.org/7600012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95913 0039d316-1c4b-4281-b951-d872f2087c98
* Roll skia 2051->2062vandebo@chromium.org2011-08-081-0/+1
| | | | | | | | | | | Whitespace change: http://codereview.chromium.org/7600002 BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/7600001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95874 0039d316-1c4b-4281-b951-d872f2087c98
* Fix obsolete dependencies so that needless recompilation does not happen.jeanluc@chromium.org2011-08-041-4/+2
| | | | | | | BUG=71130 Review URL: http://codereview.chromium.org/7545020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95527 0039d316-1c4b-4281-b951-d872f2087c98
* Remove cast to VectorPlatformDeviceEMF.twiz@chromium.org2011-08-042-5/+11
| | | | | | | | | | | | Dependencies on PlatformDevice, and its children should be minimized. Also, added some OVERRIDE tags to touched files. BUG=None TEST=None Review URL: http://codereview.chromium.org/7465104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95427 0039d316-1c4b-4281-b951-d872f2087c98
* Roll skia to r2028bsalomon@google.com2011-08-021-0/+4
| | | | | | Review URL: http://codereview.chromium.org/7551015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95135 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 94905 - Remove (now obsolete) IsNativeFontRendering apivandebo@chromium.org2011-08-028-1/+27
| | | | | | | | | | | Review URL: http://codereview.chromium.org/7482045 - The webkit side of this change was reverted. TBR=reed@google.com Review URL: http://codereview.chromium.org/7518042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95108 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Components build for skia, easy partthakis@chromium.org2011-08-022-11/+12
| | | | | | | | | | BUG=90078 TEST=none Review URL: http://codereview.chromium.org/7523046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95051 0039d316-1c4b-4281-b951-d872f2087c98
* Remove (now obsolete) IsNativeFontRendering apireed@google.com2011-08-018-27/+1
| | | | | | Review URL: http://codereview.chromium.org/7482045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94905 0039d316-1c4b-4281-b951-d872f2087c98
* Rolling Skia DEPS from r1984 to r1994junov@chromium.org2011-07-291-3/+4
| | | | | | Review URL: http://codereview.chromium.org/7523053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94706 0039d316-1c4b-4281-b951-d872f2087c98
* Rolling Skia DEPS from r1959 to r1980junov@chromium.org2011-07-281-2/+2
| | | | | | Review URL: http://codereview.chromium.org/7524024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94485 0039d316-1c4b-4281-b951-d872f2087c98
* enable rotated freetype fix, now that test_expectations has landed WK65114reed@google.com2011-07-271-1/+0
| | | | | | | once this has landed, will rebaseline those images Review URL: http://codereview.chromium.org/7480024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94273 0039d316-1c4b-4281-b951-d872f2087c98
* Remove explicit keyword from multi-argument (w/o default values) constructorsdilmah@chromium.org2011-07-261-2/+1
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/7477008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94115 0039d316-1c4b-4281-b951-d872f2087c98
* Add defines for skia to use sfntly.arthurhsu@chromium.org2011-07-261-0/+5
| | | | | | | | | | BUG=80907 TEST=none Review URL: http://codereview.chromium.org/7513003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94042 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia to 1946reed@google.com2011-07-251-0/+1
| | | | | | Review URL: http://codereview.chromium.org/7484068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93901 0039d316-1c4b-4281-b951-d872f2087c98
* Add sfntly library for font subsetting used in print preview.arthurhsu@chromium.org2011-07-221-0/+1
| | | | | | | | | | BUG=80907 TEST=none Review URL: http://codereview.chromium.org/7381004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93672 0039d316-1c4b-4281-b951-d872f2087c98
* support text drawing instead of assertingreed@google.com2011-07-213-33/+168
| | | | | | | add bool return for LoadPathToDC() since it can fail and the caller needs to know. Review URL: http://codereview.chromium.org/7443006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93395 0039d316-1c4b-4281-b951-d872f2087c98
* Enable GPU-based Gaussian blur for soft shadows. This causes some tests tosenorblanco@chromium.org2011-07-201-1/+0
| | | | | | | | | | | | | | | time out due to Mesa slowness, some formerly-failing tests to pass, and one test failure (it's very finicky about resulting pixel values). Suppressions are added here and will be upstreamed. EDIT: I've reverted the downstream suppressions, since it turns out that the webkit_gpu_tests step doesn't look at them, either on the WebKit canaries or on the trybots (hence the red trybot runs). So I'll just land them upstream in WebKit after this CL lands. BUG=64876 TEST=layout tests Review URL: http://codereview.chromium.org/7469001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93233 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia to 1906reed@google.com2011-07-201-0/+1
| | | | | | Review URL: http://codereview.chromium.org/7448010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93184 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable SK_RESTRICT, which applies the __restrict__ keyword to some ↵tomhudson@google.com2011-07-181-8/+0
| | | | | | | | pointers in Skia. Review URL: http://codereview.chromium.org/7399024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92901 0039d316-1c4b-4281-b951-d872f2087c98
* skia: depend on dynamic_annotationsevan@chromium.org2011-07-121-0/+1
| | | | | | Attempt to unbreak the shared build. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92205 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the comments setting emands and vim tab width and expansion variables.tony@chromium.org2011-07-111-6/+0
| | | | | | | | | | | | | | | | | These were added in r28089 (http://codereview.chromium.org/256059) but are unnecessary bloat for everyone to carry around, even those that don't use emacs or vim. In an earlier change, I added editor config files in src/tools/emacs/ and src/tools/vim/ so users of the appropriate editor can source those instead. BUG=none TEST=none Review URL: http://codereview.chromium.org/7310019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92046 0039d316-1c4b-4281-b951-d872f2087c98
* Use SkMatrix44 for the underlying implementation of ui::Transformbacker@chromium.org2011-07-081-1/+6
| | | | | | | | | | BUG= TEST=ui_unittest Review URL: http://codereview.chromium.org/7044062 Patch from Ian Vollick <vollick@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91855 0039d316-1c4b-4281-b951-d872f2087c98
* Correct Skia source file exclusion when building on Windows.twiz@chromium.org2011-07-071-1/+1
| | | | | | | | | TBR=reed@google.com BUG=None TEST=None Review URL: http://codereview.chromium.org/7328008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91778 0039d316-1c4b-4281-b951-d872f2087c98
* Update Skia gyp to include newly added files. (Skia CL 4627077 r=1788)arthurhsu@chromium.org2011-07-071-0/+2
| | | | | | | | | | | | http://codereview.appspot.com/4627077/ BUG=none TEST=none Review URL: http://codereview.chromium.org/7322002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91755 0039d316-1c4b-4281-b951-d872f2087c98
* Add skia/OWNERS.thakis@chromium.org2011-07-071-0/+6
| | | | | | | | | | BUG=88315 TEST=none Review URL: http://codereview.chromium.org/7277082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91709 0039d316-1c4b-4281-b951-d872f2087c98
* Stop using deprecated factory API for SkDevicereed@google.com2011-07-0519-176/+71
| | | | | | | Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91504 Review URL: http://codereview.chromium.org/7273013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91508 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 91504 - Stop using deprecated factory API for SkDevicereed@google.com2011-07-0519-70/+176
| | | | | | | | | Review URL: http://codereview.chromium.org/7273013 TBR=reed@google.com Review URL: http://codereview.chromium.org/7193040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91505 0039d316-1c4b-4281-b951-d872f2087c98
* Stop using deprecated factory API for SkDevicereed@google.com2011-07-0519-176/+70
| | | | | | Review URL: http://codereview.chromium.org/7273013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91504 0039d316-1c4b-4281-b951-d872f2087c98
* roll skiareed@google.com2011-06-271-0/+2
| | | | | | Review URL: http://codereview.chromium.org/7235024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90595 0039d316-1c4b-4281-b951-d872f2087c98
* Patch for Solaris support, mostly ifdefs and header files, plus adds ↵chromium@hybridsource.org2011-06-255-15/+15
| | | | | | | | | | | libevent configuration. BUG=30101 TEST=compiles Review URL: http://codereview.chromium.org/7238021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90494 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed a few UNINIT coverity messagesgroby@chromium.org2011-06-221-0/+3
| | | | | | | | | | | | | CID=9250,9251,9252,9253 R=vandebo@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/7217028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90079 0039d316-1c4b-4281-b951-d872f2087c98
* remove legacy LCD text support, in favor of gpu-friendly lcd16 formatreed@google.com2011-06-221-5/+0
| | | | | | Review URL: http://codereview.chromium.org/7006007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90022 0039d316-1c4b-4281-b951-d872f2087c98