summaryrefslogtreecommitdiffstats
path: root/skia
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Remove dead code found by coverity.vandebo@chromium.org2011-06-221-3/+0
| | | | | | | | | | | BUG=NONE TEST=NONE CID=16177 Review URL: http://codereview.chromium.org/7220002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89959 0039d316-1c4b-4281-b951-d872f2087c98
* Add Skia on Chrome for Mac gyp rulescaryclark@chromium.org2011-06-211-4/+14
| | | | | | | | | | | | | | | | In addition to these rules, to build the USE_SKIA_ON_MAC_CHROME variation, define: gyp_defines='use_skia=1' As is, this does not change any existing platform, and has no new tests. BUG=79463 TEST=none Review URL: http://codereview.chromium.org/7219009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89877 0039d316-1c4b-4281-b951-d872f2087c98
* Added -Wa,-mimplicit-it=always to cflags in skia build when neon is enabled.raymes@chromium.org2011-06-201-1/+8
| | | | | | | | | | | | | | | When neon instructions are enabled and thumb mode is enabled when compiling skia for ARM on linux, the assembler dies because the assembly contains conditional instructions that are not in an IT block. This works around that issue by passing this flag. BUG=86592 TEST=Build Chromium with arm_neon=1 and check the option is passed. Review URL: http://codereview.chromium.org/7204013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89692 0039d316-1c4b-4281-b951-d872f2087c98
* Add entries to complete the Skia vector platform for Mac.caryclark@chromium.org2011-06-202-1/+16
| | | | | | | | | | | | | | | These functions are not called and have no purpose except to allow these virtuals to be satisfied. This code path is not enabled in Chromium, and therefore has no tests. BUG=79463 TEST=none Review URL: http://codereview.chromium.org/7201002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89667 0039d316-1c4b-4281-b951-d872f2087c98
* skia rollreed@google.com2011-06-203-3/+3
| | | | | | Review URL: http://codereview.chromium.org/7200003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89666 0039d316-1c4b-4281-b951-d872f2087c98
* CL removing unused copy constructor and assignment operators on ↵twiz@chromium.org2011-06-176-88/+11
| | | | | | | | | | | BitmapPlatformDevice. These classes should not have value semantics. BUG=None TEST=None Review URL: http://codereview.chromium.org/7204005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89534 0039d316-1c4b-4281-b951-d872f2087c98
* Remove set of redundant API calls for PlatformDevice instances. These ↵twiz@chromium.org2011-06-164-62/+20
| | | | | | | | | | | | | | | functions were duplicated for both SkCanvas and SkDevice instances. This CL unifies these calls to only make use of the SkCanvas entries. This is CL part of a larger goal to remove the PlatformDevice class. BUG=None TEST=None Review URL: http://codereview.chromium.org/7168022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89410 0039d316-1c4b-4281-b951-d872f2087c98
* Remove msvs_guids from ipc, media, net, ppapi, printing, sandbox,tony@chromium.org2011-06-161-1/+0
| | | | | | | | | | sdch, skia, and testing. BUG=28727 Review URL: http://codereview.chromium.org/7165009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89369 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia, along with API change to SkFontHostreed@google.com2011-06-131-1/+1
| | | | | | Review URL: http://codereview.chromium.org/7003144 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88843 0039d316-1c4b-4281-b951-d872f2087c98
* Make infobar background gray sail@chromium.org2011-06-072-0/+13
| | | | | | | | | | | | | | | | Currently page action infobars are blue on Windows and Linux and yellow on Mac. This change makes it gray on all platforms. Screenshots: http://www.dropmocks.com/mVNOW Also see this CL: http://codereview.chromium.org/7031069/ BUG=80432 TEST=Ran on Mac and Linux. Windows pending. Review URL: http://codereview.chromium.org/7130001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88205 0039d316-1c4b-4281-b951-d872f2087c98
* enable antialiasing for skia-gpureed@google.com2011-06-061-0/+2
| | | | | | | | | | | | | | | | This fixes hulu.com (yay!) and does not seem to slow down these sites: - fishtank - speedreading - galaxy Note -- I ran DRT locally, but I'm not seeing the failures I would expect... :( Here's what I ran ./third_party/WebKit/Tools/Scripts/new-run-webkit-tests --platform chromium-gpu Review URL: http://codereview.chromium.org/7058070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87999 0039d316-1c4b-4281-b951-d872f2087c98
* Compile skia's drop of the GLU tesselator into Chrome, and add thesenorblanco@chromium.org2011-06-031-0/+42
| | | | | | | | | | | | tesselated path renderer to the chrome build. Note that this does not actually turn on the tesselated path renderer, but makes it easier to do so later. BUG=none TEST=if it builds, you're happy Review URL: http://codereview.chromium.org/6992091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87775 0039d316-1c4b-4281-b951-d872f2087c98
* Re-adds platform guard for OS_MACOSX, needed forbulach@chromium.org2011-06-031-1/+1
| | | | | | | | | | ImageOperations.ResizeShouldAverageColors test. BUG=84837 TEST=ImageOperations.ResizeShouldAverageColors TBR=tony@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87773 0039d316-1c4b-4281-b951-d872f2087c98
* More POSIX support for Chromium, consisting mostly of broadening ifdefs. Thistony@chromium.org2011-06-022-2/+2
| | | | | | | | | | | | | | patch cuts across modules, as there's only a handful necessary for each, with the most in chrome/test/. ALSA is enabled on FreeBSD and Solaris, as libasound has been ported to those two platforms, and I moved resolv.h in host_resolver_proc.cc, because it depends on headers from sys_addrinfo.h on FreeBSD. Patch by ruben (chromium@hybridsource.org) Review URL: http://codereview.chromium.org/6976055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87641 0039d316-1c4b-4281-b951-d872f2087c98
* Removal of redundant method, PlatformDevice::IsVectorial. twiz@chromium.org2011-05-2617-54/+22
| | | | | | | | | | Callers should use SkDevice::getDeviceCapabilities() to determine if a device is vectorial. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/7077008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86894 0039d316-1c4b-4281-b951-d872f2087c98
* This change implements a first pass in the effort to remove the dependency ↵twiz@chromium.org2011-05-2632-206/+333
| | | | | | | | | | | | | | of PlatformDevice within Chrome. The Skia library now provides multiple back-ends for the SkDevice class, so PlatformDevice's inheritance of SkDevice, and the assumption of instances of PlatformDevice limits the use of these new back-ends. A new set of helper functions is provided for the PlatformDevice entry points. Upon construction of a PlatformDevice, a pointer to the interface is cached in the parent SkDevice's SkMetaData. The new helper functions forward calls to the interface cached in the metadata. BUG=NONE TEST=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86625 Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=86625 Review URL: http://codereview.chromium.org/7019013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86823 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 86625 - This change implements a first pass in the effort to remove ↵vandebo@chromium.org2011-05-2532-333/+206
| | | | | | | | | | | | | | | the dependency of PlatformDevice within Chrome. The Skia library now provides multiple back-ends for the SkDevice class, so PlatformDevice's inheritance of SkDevice, and the assumption of instances of PlatformDevice limits the use of these new back-ends. A new set of helper functions is provided for the PlatformDevice entry points. Upon construction of a PlatformDevice, a pointer to the interface is cached in the parent SkDevice's SkMetaData. The new helper functions forward calls to the interface cached in the metadata. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/7019013 TBR=twiz@chromium.org Review URL: http://codereview.chromium.org/6987019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86629 0039d316-1c4b-4281-b951-d872f2087c98
* This change implements a first pass in the effort to remove the dependency ↵twiz@chromium.org2011-05-2532-206/+333
| | | | | | | | | | | | of PlatformDevice within Chrome. The Skia library now provides multiple back-ends for the SkDevice class, so PlatformDevice's inheritance of SkDevice, and the assumption of instances of PlatformDevice limits the use of these new back-ends. A new set of helper functions is provided for the PlatformDevice entry points. Upon construction of a PlatformDevice, a pointer to the interface is cached in the parent SkDevice's SkMetaData. The new helper functions forward calls to the interface cached in the metadata. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/7019013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86625 0039d316-1c4b-4281-b951-d872f2087c98
* Virtual destructors should have virtual keyword.hans@chromium.org2011-05-251-1/+1
| | | | | | | | | | | | | | | | | Make sure user-declared virtual destructors always have the virtual keyword. The Clang style-check plugin will check for this soon. No functionality change: virtual is only added to destructors that are already implicitly virtual. Also fix a couple of in-line destructor definitions. BUG=83408 TEST=none Review URL: http://codereview.chromium.org/7064033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86587 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia 1402:1410thakis@chromium.org2011-05-251-2/+2
| | | | | | | | | | | | | | http://code.google.com/p/skia/source/detail?r=1405 make SkIntToScalar more strict (it no longer allows double arguments), so the roll requires a minor code change. BUG=none TEST=none TBR=epoger Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86489 Review URL: http://codereview.chromium.org/7067031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86545 0039d316-1c4b-4281-b951-d872f2087c98
* Remove files that don't exist, and fix typos in gyp filessadrul@chromium.org2011-05-251-1/+0
| | | | | | | | | BUG=none TEST=things still work Review URL: http://codereview.chromium.org/6990028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86533 0039d316-1c4b-4281-b951-d872f2087c98
* Final gyp patch to make use of the new cross-platform POSIX defines ↵tony@chromium.org2011-05-231-3/+3
| | | | | | | | toolkit_uses_gtk, os_posix, and use_x11. For lists of source files that use a mix of POSIX and Gtk APIs, toolkit_uses_gtk was given precedence. Solaris was made to use ALSA also, as libasound has been ported to FreeBSD and Solaris as a wrapper around the native OSS. Review URL: http://codereview.chromium.org/7055003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86352 0039d316-1c4b-4281-b951-d872f2087c98
* Rolling Skia DEPS to r1385 (and modifying affected gyp file)vandebo@chromium.org2011-05-201-1/+1
| | | | | | | | | | Corresponding "control" changelist (for comparison of trybot results) is http://codereview.chromium.org/7047016 . I await results from the trybots. It looks like a Skia change between r1365 and r1385 requires a change to skia/skia.gyp, because a previous DEPS roll try resulted in the following error in http://build.chromium.org/p/tryserver.chromium/builders/win_layout_rel/builds/236/steps/compile/logs/stdio Review URL: http://codereview.chromium.org/7052001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86090 0039d316-1c4b-4281-b951-d872f2087c98
* Globally replace <(library) with static_libraryevan@chromium.org2011-05-191-1/+1
| | | | | | | | | | | We provided <(library) as a variable to support a peculiar build configuration on Linux. We no longer support that build configuration, so we can simplify this code to no longer use a variable. Review URL: http://codereview.chromium.org/7051014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86004 0039d316-1c4b-4281-b951-d872f2087c98
* Add utility for converting SkCanvas to CGContextcaryclark@chromium.org2011-05-173-2/+136
| | | | | | | | | | | | | | | | | | | | | | | | | Skia on Mac uses Skia to render WebKit, and CG to render UI elements. The CG elements need a transcribed graphics context that preserves the canvas matrix, and the canvas clip. The BitLockerSkia utility class sets up a CGContext from the SkCanvas, locks the bitmap's bits, and releases the lock when the class goes out of scope. Each time the CGContext is retrieved, it is rebuilt. This permits the caller to modify the same canvas between calls. Outside of the unit test, there are no callers to this utility for now. BUG=79463 TEST=SkiaUtilsMacTest.* Review URL: http://codereview.chromium.org/7031006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85692 0039d316-1c4b-4281-b951-d872f2087c98
* skia roll. 1322:1339ctguil@chromium.org2011-05-161-2/+0
| | | | | | Review URL: http://codereview.chromium.org/7010009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85557 0039d316-1c4b-4281-b951-d872f2087c98
* Fix DCHECK - BitmapPlatformDevice requires begin and end platform paint ↵vandebo@chromium.org2011-05-121-0/+2
| | | | | | | | | | | calls to match. BUG=NONE TEST=Use print preview from history page. Review URL: http://codereview.chromium.org/7016027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85212 0039d316-1c4b-4281-b951-d872f2087c98
* Assert on BeginPlatformPaint/EndPlatformPaint mismatch.ctguil@chromium.org2011-05-112-4/+18
| | | | | | | | | BUG=80616 TEST=none Review URL: http://codereview.chromium.org/6949012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85019 0039d316-1c4b-4281-b951-d872f2087c98
* Update SkPDFDeviceFactory for change in Skia.vandebo@chromium.org2011-05-092-12/+8
| | | | | | | | | | | - Use SkPDFDeviceFactory instead of duplicating it's functionaily (which changed in this roll). BUG=79519 TEST=NONE Review URL: http://codereview.chromium.org/6965009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84631 0039d316-1c4b-4281-b951-d872f2087c98
* roll skiareed@google.com2011-05-091-2/+0
| | | | | | Review URL: http://codereview.chromium.org/6968009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84619 0039d316-1c4b-4281-b951-d872f2087c98
* Remove debug code so that canvas is painted correctly.arthurhsu@chromium.org2011-05-051-4/+1
| | | | | | | | | | BUG=81465 TEST=none Review URL: http://codereview.chromium.org/6931007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84288 0039d316-1c4b-4281-b951-d872f2087c98
* Roll skia to r1241.bsalomon@google.com2011-05-041-0/+4
| | | | | | | Adds functions to GL interface table. Use static initializer syntax for in-proccess bindings (more likely to see compiler errors when skia struct is changed without correspsonding update to gl_bindings_in_process.cc) Review URL: http://codereview.chromium.org/6931005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84113 0039d316-1c4b-4281-b951-d872f2087c98
* roll skiareed@google.com2011-05-031-0/+1
| | | | | | Review URL: http://codereview.chromium.org/6913023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83886 0039d316-1c4b-4281-b951-d872f2087c98
* Fix print preview clipping issues due to scaling.ctguil@chromium.org2011-04-302-9/+9
| | | | | | | | BUG=79941 TEST=none Review URL: http://codereview.chromium.org/6879098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83657 0039d316-1c4b-4281-b951-d872f2087c98
* Update Chrome's Skia Device to use the new device factory interface ↵vandebo@chromium.org2011-04-2916-44/+58
| | | | | | | | | | | | | (http://code.google.com/p/skia/source/detail?r=1180). Remove valgrind suppression. BUG=80836 TEST=NONE Review URL: http://codereview.chromium.org/6883255 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83555 0039d316-1c4b-4281-b951-d872f2087c98
* linux components: tag exported Skia functions with SK_APIevan@chromium.org2011-04-285-6/+11
| | | | | | | | | When we build libskia as a component, we need to mark the functions we use from outside of Skia. Review URL: http://codereview.chromium.org/6905077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83413 0039d316-1c4b-4281-b951-d872f2087c98
* Update Skia to r1206.evan@chromium.org2011-04-281-1/+1
| | | | | | | | Also turn on SK_IGNORE_CF_OPTIMIZATION to disable a color filter optimization. TBR=reed git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83353 0039d316-1c4b-4281-b951-d872f2087c98