| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/9702118
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127192 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=90078
TEST=none
Review URL: http://codereview.chromium.org/9699078
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127068 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
The alternative would be to add SK_API to that function.
BUG=90078
TEST=none
Review URL: http://codereview.chromium.org/9705064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127036 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
these for an upcoming WebKit change.
Review URL: http://codereview.chromium.org/9704043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126942 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=92608
TEST=
Review URL: http://codereview.chromium.org/9203001
TBR=keishi@chromium.org
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126899 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=92608
TEST=
Review URL: http://codereview.chromium.org/9203001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126889 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/9696042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126442 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch does the following things:
- Add missing SK_USE_POSIX_THREADS in skia.gyp.
This enables the patch sent by David Turner making SkMutex POD in order to
remove static initializers (on Android, Linux and Mac).
- Remove static initializers in SkFontHost_fontconfig.cpp and
SkMemory_new_handler.cpp. Note that the global_fc_typefaces map was
populated but never read therefore I removed it. Let me know if I'm wrong.
BUG=94925
Review URL: http://codereview.chromium.org/9668002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126385 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
SkMatrixToCGAffineTransform and SkiaBitLocker are both used by WebKit.
BUG=90078
TEST=none
Review URL: http://codereview.chromium.org/9648024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125892 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=96091
R=thakis@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9669005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125881 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
parameter.
BUG=100898
R=pkasting@chromium.org
TBR=sky@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9581040
TBR=tfarina@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9621019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125478 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=100898
R=pkasting@chromium.org
TBR=sky@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9581040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125473 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/9496005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123997 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/9347043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123282 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/9391016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121884 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/9380029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121698 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/9346023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121451 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
"""
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
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/9192026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118440 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/9199012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117659 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/9019015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115540 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|