summaryrefslogtreecommitdiffstats
path: root/skia
Commit message (Collapse)AuthorAgeFilesLines
* Remove implicit dependency from 'skia' on 'ui'.thakis@chromium.org2012-03-051-2/+6
| | | | | | | | | | | This is needed for the components build. Just adding an explicit dependency from skia to ui doesn't work because ui already depends on skia. BUG=90078 TEST=No linker errors when linking libskia.dylib Review URL: http://codereview.chromium.org/9578010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125009 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia to 3271reed@google.com2012-02-281-0/+3
| | | | | | Review URL: https://chromiumcodereview.appspot.com/9496005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123997 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dependency on Chromium base libraries and libicu for ↵reed@google.com2012-02-242-16/+7
| | | | | | | | SkFontHost_fontconfig in preparation for inclusion into Skia Review URL: https://chromiumcodereview.appspot.com/9456020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123469 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some gcc 4.6 compiler warnings in skia/ext.tony@chromium.org2012-02-242-3/+6
| | | | | | | | | BUG=None Review URL: http://codereview.chromium.org/9456022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123431 0039d316-1c4b-4281-b951-d872f2087c98
* Remove ValidFontID.bungeman@google.com2012-02-231-13/+0
| | | | | | Review URL: http://codereview.chromium.org/9347043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123282 0039d316-1c4b-4281-b951-d872f2087c98
* Roll skia to r3230bsalomon@google.com2012-02-231-0/+1
| | | | | | | Control your roll: http://codereview.chromium.org/9252024/ Review URL: https://chromiumcodereview.appspot.com/9452012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123273 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia to r3216bsalomon@google.com2012-02-171-2/+0
| | | | | | | Control: http://codereview.chromium.org/9252024/ Review URL: https://chromiumcodereview.appspot.com/9417008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122538 0039d316-1c4b-4281-b951-d872f2087c98
* Rolling skia deps from r3180 to r3196.tomhudson@google.com2012-02-161-3/+60
| | | | | | | | | | | Requires changes in include paths and new target for SSSE3 optimizations. Followup patch should tweak includes in third_party\WebKit\Source\WebKit\chromium\src\WebGraphicsContext3D.cpp and GraphicsContext3DChromium.cpp. Review URL: https://chromiumcodereview.appspot.com/9404008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122285 0039d316-1c4b-4281-b951-d872f2087c98
* revert the flag that enabled color luminance, until we understand thereed@google.com2012-02-141-1/+1
| | | | | | | page cycler perf change. Review URL: https://chromiumcodereview.appspot.com/9348093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121909 0039d316-1c4b-4281-b951-d872f2087c98
* define SK_USE_COLOR_LUMINANCE for mac-onlyreed@google.com2012-02-141-0/+1
| | | | | | Review URL: https://chromiumcodereview.appspot.com/9391016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121884 0039d316-1c4b-4281-b951-d872f2087c98
* Add a switch to invert web contents (non-accel only).dmazzoni@google.com2012-02-131-0/+1
| | | | | | | | | | | | | | | | | | | | | The switch will just be used during development of this feature. The idea is for this to be turned automatically for Windows users who enable an inverted (white-on-black) color scheme - see bug for detail. This first patch only handles the non-accelerated graphics path; a subsequent change will handle the accelerated path. BUG=112944 TEST=manually test with --invert-web-contents switch Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=120928 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=121541 Review URL: https://chromiumcodereview.appspot.com/9353012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121715 0039d316-1c4b-4281-b951-d872f2087c98
* Rolling Skia DEPS from r3160 to r3169.dmazzoni@google.com2012-02-131-30/+31
| | | | | | Review URL: https://chromiumcodereview.appspot.com/9380029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121698 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 121541 - Add a switch to invert web contents (non-accel only).dmazzoni@chromium.org2012-02-101-1/+0
| | | | | | | | | | | | | | | | | | | | | | | The switch will just be used during development of this feature. The idea is for this to be turned automatically for Windows users who enable an inverted (white-on-black) color scheme - see bug for detail. This first patch only handles the non-accelerated graphics path; a subsequent change will handle the accelerated path. BUG=112944 TEST=manually test with --invert-web-contents switch Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=120928 Review URL: http://codereview.chromium.org/9353012 TBR=dmazzoni@chromium.org Review URL: https://chromiumcodereview.appspot.com/9379022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121551 0039d316-1c4b-4281-b951-d872f2087c98
* Add a switch to invert web contents (non-accel only).dmazzoni@chromium.org2012-02-101-0/+1
| | | | | | | | | | | | | | | | | | | | The switch will just be used during development of this feature. The idea is for this to be turned automatically for Windows users who enable an inverted (white-on-black) color scheme - see bug for detail. This first patch only handles the non-accelerated graphics path; a subsequent change will handle the accelerated path. BUG=112944 TEST=manually test with --invert-web-contents switch Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=120928 Review URL: http://codereview.chromium.org/9353012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121541 0039d316-1c4b-4281-b951-d872f2087c98
* Skia DEPS roll to 3147epoger@chromium.org2012-02-104-4/+6
| | | | | | Review URL: https://chromiumcodereview.appspot.com/9346023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121451 0039d316-1c4b-4281-b951-d872f2087c98
* Intoroducing Motoya font for ChromeOSkochi@chromium.org2012-02-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | This is a retry of r120926, which was reverted. The error was due to duplicate entry in the translation resource file, which only happens on 'Official' build. We will introduce Motoya fonts (MotoyaG04Gothic, MotoyaG04Mincho) as the default Japanese font for ChromeOS. This CL is for preparing resource to define default font and Skia to check the font family is compatible with their counterparts of MS Windows fonts. Note that GTK font specification in the resource does not handle multiple fonts (e.g. "MotoyaG04Gothic 10, IPAPGothic 10") and I left it as is (see crosbug.com/17382 for details). Fontconfig should cover the compatibility check (IPAPGothic => MotoyaG04Gothic) and display the proper font. BUG=chromium-os:16690 TEST=build, run and see Japanese fonts are properly displayed in both web contents and Chrome UI. Review URL: http://codereview.chromium.org/9365012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121170 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 120926 - Intoroducing Motoya font for ChromeOSkochi@google.com2012-02-081-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | We will introduce Motoya fonts (MotoyaG04Gothic, MotoyaG04Mincho) as the default Japanese font for ChromeOS. This CL is for preparing resource to define default font and Skia to check the font family is compatible with their counterparts of MS Windows fonts. Note that GTK font specification in the resource does not handle multiple fonts (e.g. "MotoyaG04Gothic 10, IPAPGothic 10") and I left it as is (see crosbug.com/17382 for details). Fontconfig should cover the compatibility check (IPAPGothic => MotoyaG04Gothic) and display the proper font. BUG=chromium-os:16690 TEST=build, run and see Japanese fonts are properly displayed in both web contents and Chrome UI. Review URL: http://codereview.chromium.org/9309048 TBR=kochi@chromium.org Review URL: https://chromiumcodereview.appspot.com/9363017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120949 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 120928 - Add a switch to invert web contents (non-accel only).hbono@chromium.org2012-02-081-1/+0
| | | | | | | | | | | | | | | | | | | | | The switch will just be used during development of this feature. The idea is for this to be turned automatically for Windows users who enable an inverted (white-on-black) color scheme - see bug for detail. This first patch only handles the non-accelerated graphics path; a subsequent change will handle the accelerated path. BUG=112944 TEST=manually test with --invert-web-contents switch Review URL: http://codereview.chromium.org/9353012 TBR=dmazzoni@chromium.org Review URL: https://chromiumcodereview.appspot.com/9359007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120941 0039d316-1c4b-4281-b951-d872f2087c98
* Add a switch to invert web contents (non-accel only).dmazzoni@chromium.org2012-02-081-0/+1
| | | | | | | | | | | | | | | | | | The switch will just be used during development of this feature. The idea is for this to be turned automatically for Windows users who enable an inverted (white-on-black) color scheme - see bug for detail. This first patch only handles the non-accelerated graphics path; a subsequent change will handle the accelerated path. BUG=112944 TEST=manually test with --invert-web-contents switch Review URL: http://codereview.chromium.org/9353012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120928 0039d316-1c4b-4281-b951-d872f2087c98
* Intoroducing Motoya font for ChromeOSkochi@chromium.org2012-02-081-0/+4
| | | | | | | | | | | | | | | | | | | | | We will introduce Motoya fonts (MotoyaG04Gothic, MotoyaG04Mincho) as the default Japanese font for ChromeOS. This CL is for preparing resource to define default font and Skia to check the font family is compatible with their counterparts of MS Windows fonts. Note that GTK font specification in the resource does not handle multiple fonts (e.g. "MotoyaG04Gothic 10, IPAPGothic 10") and I left it as is (see crosbug.com/17382 for details). Fontconfig should cover the compatibility check (IPAPGothic => MotoyaG04Gothic) and display the proper font. BUG=chromium-os:16690 TEST=build, run and see Japanese fonts are properly displayed in both web contents and Chrome UI. Review URL: http://codereview.chromium.org/9309048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120926 0039d316-1c4b-4281-b951-d872f2087c98
* Set CG clip to empty explicitlycaryclark@chromium.org2012-01-311-1/+9
| | | | | | | | | | | | | | | Skia draws Mac user elements by creating a CoreGraphics context that mirrors Skia's SkCanvas' context. CoreGraphics does not consider a newly created path to be empty. Explicitly set it to empty so the subsequent drawing is clipped out. BUG: 111642 TEST: http://jsfiddle.net/kenjibaheux/UN3Dt/3/ Review URL: http://codereview.chromium.org/9104010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119962 0039d316-1c4b-4281-b951-d872f2087c98
* Adding SkDefferedCanvas to Chromium's build of skia junov@chromium.org2012-01-231-0/+3
| | | | | | | | | BUG=110876 TEST=none REVIEW=https://chromiumcodereview.appspot.com/9269008/ Review URL: https://chromiumcodereview.appspot.com/9269008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118713 0039d316-1c4b-4281-b951-d872f2087c98
* Skia DEPS roll to 3077epoger@chromium.org2012-01-231-1/+3
| | | | | | | BUG=110926 Review URL: https://chromiumcodereview.appspot.com/9269018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118682 0039d316-1c4b-4281-b951-d872f2087c98
* Skia DEPS roll 3039->3061epoger@chromium.org2012-01-201-1/+3
| | | | | | | The roll to 3071 caused http://crbug.com/110875 ('REGRESSION: crrev 118440 breaks HitTestMasks on all Windows platforms'); trying to roll what we can while we fix that. Review URL: https://chromiumcodereview.appspot.com/9138024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118483 0039d316-1c4b-4281-b951-d872f2087c98
* Disabled offscreen supersampling AA in skia-gpu. Instead sw-rasterize path ↵bsalomon@google.com2012-01-201-0/+1
| | | | | | | | and upload as texture. Review URL: https://chromiumcodereview.appspot.com/9241012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118468 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 118440 since it breaks views_unittests:HitTestMasks on windowssadrul@chromium.org2012-01-201-3/+2
| | | | | | | | | | | """ Skia DEPS roll 3039->3071 with gyp and test_expectations changes Review URL: https://chromiumcodereview.appspot.com/9192026 TBR=epoger@chromium.org Review URL: https://chromiumcodereview.appspot.com/9233009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118443 0039d316-1c4b-4281-b951-d872f2087c98
* Skia DEPS roll 3039->3071 with gyp and test_expectations changesepoger@chromium.org2012-01-201-2/+3
| | | | | | Review URL: https://chromiumcodereview.appspot.com/9192026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118440 0039d316-1c4b-4281-b951-d872f2087c98
* Skia DEPS roll 3035->3039 with test_expectations change.epoger@chromium.org2012-01-181-0/+5
| | | | | | | BUG=110493 Review URL: https://chromiumcodereview.appspot.com/9251013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118095 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia to 3035reed@google.com2012-01-131-1/+1
| | | | | | Review URL: http://codereview.chromium.org/9199012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117659 0039d316-1c4b-4281-b951-d872f2087c98
* Adjust the CoreGraphics context for offscreen layers.caryclark@google.com2012-01-111-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | UI elements like buttons are drawn on Mac by pointing the CoreGraphics context at the Skia bitmap associated with the current device. If the elements are drawn in a transparent context, Skia creates an offscreen layer to capture the draw, then applies the transparency. CoreGraphics does not know that it is drawing to an offscreen, so the clip and matrix need to be adjusted by the offscreen's origin, which is its position on the device. Also, use getTopDevice() instead of getDevice() to obtain the bitmap. Normally, they will return the same SkDevice (and in that case, getOrigin() will return (0,0)) but if there's a layer present, getDevice() will return the actual device instead of the tempoary offscreen. BUG:108767 TEST:http://jsfiddle.net/casaschi/JWkfA/ Review URL: http://codereview.chromium.org/9129001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117217 0039d316-1c4b-4281-b951-d872f2087c98
* Build certain Skia files targetted for Linux when building on Androidpeter@chromium.org2012-01-101-3/+16
| | | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/9131001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117027 0039d316-1c4b-4281-b951-d872f2087c98
* Beef up and reenable memory diagnostics for skia canvascpu@chromium.org2012-01-061-39/+38
| | | | | | | | | | We got a big crash spike in canary. See bug below. BUG=7913 TEST=see bug Review URL: http://codereview.chromium.org/9112026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116646 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Coverity defects in skia/ext:vandebo@chromium.org2012-01-037-25/+20
| | | | | | | | | | | | | - Three uninit ctors, two dead codes, and a misuse of var args. CID=100083, 101537, 17746, 9369, 9279, 9278 BUG=none TEST=none Review URL: http://codereview.chromium.org/8965060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116189 0039d316-1c4b-4281-b951-d872f2087c98
* Optimize |SkTypeface| creation on Linux.asvitkine@chromium.org2011-12-222-16/+67
| | | | | | | | | | | | | | | | | | Add a map to cache the results of FontConfig lookup to avoid making excessive FontConfig queries. This improves the speed of |gfx::Font| creation under Linux, which is backed by a |SkTypeface|, as well as |RenderTextLinux| drawing code. BUG=107394 TEST=In Linux Aura, launch about:tracing and notice that "RenderTextLinux::DrawVisualText SetFont" times have gone way down. Review URL: http://codereview.chromium.org/9028001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115619 0039d316-1c4b-4281-b951-d872f2087c98
* Set SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0 to tell skia to not use static ↵thakis@chromium.org2011-12-221-0/+7
| | | | | | | | | | | | | | initializers. SK_ALLOW_STATIC_GLOBAL_INITIALIZERS was added to skia by caryclark@. BUG=106984 TEST=none TBR=caryclark Review URL: http://codereview.chromium.org/8985009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115565 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia to 2922reed@google.com2011-12-221-0/+1
| | | | | | Review URL: http://codereview.chromium.org/9019015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115540 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor some parts of |FontConfigDirect::Match()| into helper functions.asvitkine@chromium.org2011-12-221-107/+114
| | | | | | | | | | | | | | | No functional changes. I'm looking to make some changes to this class to optimize SkTypeface creation on Linux. This refactoring makes the code a little bit less unwieldy to work with. BUG=none TEST=none Review URL: http://codereview.chromium.org/9021035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115454 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new ctor to CanvasSkia that takes a const SkBitmap&.tfarina@chromium.org2011-12-211-3/+3
| | | | | | | | | | BUG=100898 R=pkasting@chromium.org TBR=ben@chromium.org Review URL: http://codereview.chromium.org/9006001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115384 0039d316-1c4b-4281-b951-d872f2087c98
* Turn on max optimization for the skia libs.senorblanco@chromium.org2011-12-211-0/+9
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8965045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115378 0039d316-1c4b-4281-b951-d872f2087c98
* Push subsetter code upstreamarthurhsu@chromium.org2011-12-141-1/+2
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8921027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114354 0039d316-1c4b-4281-b951-d872f2087c98
* Rolling skia deps from 2811 to 2836tomhudson@google.com2011-12-091-1/+2
| | | | | | Review URL: http://codereview.chromium.org/8885035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113811 0039d316-1c4b-4281-b951-d872f2087c98
* Change SkFileDescriptorStream to handle failure to open the file descriptorreed@google.com2011-12-061-11/+8
| | | | | | | | (by initializing its length_ to 0), and to return the number of bytes skipped if buffer==null, rather than returning the offset. Review URL: http://codereview.chromium.org/8800017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113197 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia to 2765reed@google.com2011-11-301-1/+0
| | | | | | Review URL: http://codereview.chromium.org/8748010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112247 0039d316-1c4b-4281-b951-d872f2087c98
* enable shadermask optimization in skiareed@google.com2011-11-291-1/+1
| | | | | | Review URL: http://codereview.chromium.org/8725035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111956 0039d316-1c4b-4281-b951-d872f2087c98
* Add OVERRIDE to skia/.avi@chromium.org2011-11-232-11/+20
| | | | | | | | | BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8681014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111413 0039d316-1c4b-4281-b951-d872f2087c98
* Implement skia sandbox callbackarthurhsu@chromium.org2011-11-233-0/+44
| | | | | | | | | | BUG=103032 TEST=none Review URL: http://codereview.chromium.org/8566026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111400 0039d316-1c4b-4281-b951-d872f2087c98
* Increase the Skia default font cache from 16M to 20Mcaryclark@google.com2011-11-211-1/+1
| | | | | | | | | | | To run the page cycler Intl1 est without regression on Leopard, 20M is needed. The current 16M, or an increase to 18M, runs the test about 7% slower. BUG: 97943 Review URL: http://codereview.chromium.org/8551007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110921 0039d316-1c4b-4281-b951-d872f2087c98
* Add OVERRIDE to skia/.avi@chromium.org2011-11-211-3/+4
| | | | | | | | | BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8595024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110915 0039d316-1c4b-4281-b951-d872f2087c98
* use default limit for lcd text cutoffreed@google.com2011-11-181-3/+0
| | | | | | Review URL: http://codereview.chromium.org/8597011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110702 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia to 2713reed@google.com2011-11-181-3/+0
| | | | | | Review URL: http://codereview.chromium.org/8588042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110700 0039d316-1c4b-4281-b951-d872f2087c98