reed@google.com
cde269a6a6
Revert "try enabling FONTHOST_USES_FONTMGR and see what breaks"
...
This reverts commit a289c38fc14664b5ba1269cfe08b3048cdbd1e97.
git-svn-id: http://skia.googlecode.com/svn/trunk@10468 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-31 18:25:33 +00:00
edisonn@google.com
f111a4b685
pdfviewer: transparency groups - implementation of non-isolated and non-knockout flags
...
Review URL: https://codereview.chromium.org/21288002
git-svn-id: http://skia.googlecode.com/svn/trunk@10467 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-31 18:22:36 +00:00
reed@google.com
b14d5bc091
try enabling FONTHOST_USES_FONTMGR and see what breaks
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10466 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-31 18:08:49 +00:00
reed@google.com
b14ecdaeea
add dox to SkTDynamicHash, fix typo of Key instead of KEY
...
BUG=
R=mtklein@google.com
Review URL: https://codereview.chromium.org/21028008
git-svn-id: http://skia.googlecode.com/svn/trunk@10465 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-31 18:02:55 +00:00
reed@google.com
e027a6ed9b
adapt FontConfig to use SK_FONTHOST_USES_FONTMGR
...
BUG=
Review URL: https://codereview.chromium.org/21331003
git-svn-id: http://skia.googlecode.com/svn/trunk@10463 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-31 17:37:31 +00:00
mtklein@google.com
caacc8f4e1
Remove a stray double assign that g++ 4.8 thinks has ill-defined sequencing.
...
BUG=
R=bungeman@google.com
Review URL: https://codereview.chromium.org/21352003
git-svn-id: http://skia.googlecode.com/svn/trunk@10462 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-31 16:01:25 +00:00
djsollen@google.com
29bf862515
Upstream changes from Android
...
R=scroggo@google.com
Review URL: https://codereview.chromium.org/21053009
git-svn-id: http://skia.googlecode.com/svn/trunk@10461 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-31 15:48:10 +00:00
robertphillips@google.com
631a59b939
added drawVertices path to GameBench
...
https://codereview.chromium.org/21168006/
git-svn-id: http://skia.googlecode.com/svn/trunk@10459 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-31 14:57:53 +00:00
djsollen@google.com
f7542ba18e
update gyp for ARM builds to be more well defined.
...
R=mtklein@google.com
Review URL: https://codereview.chromium.org/21096005
git-svn-id: http://skia.googlecode.com/svn/trunk@10454 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-31 12:57:27 +00:00
skia.committer@gmail.com
76015b0953
Sanitizing source files in Housekeeper-Nightly
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10449 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-31 07:01:00 +00:00
senorblanco@chromium.org
dd9875d833
Rebaseline blur tests for r10444. Max color mismatch 1.
...
TBR=
BUG=
Review URL: https://codereview.chromium.org/21235011
git-svn-id: http://skia.googlecode.com/svn/trunk@10448 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-31 01:17:42 +00:00
robertphillips@google.com
f2776ee02a
Alter assert that is causing Chromium compilation failure
...
../../third_party/skia/include/core/SkTypeface.h:303:19: error: implicit conversion turns string literal into bool: 'const char [14]' to 'bool' [-Werror,-Wstring-conversion]
SkASSERT(!"unimplemented");
~^~~~~~~~~~~~~~~
git-svn-id: http://skia.googlecode.com/svn/trunk@10447 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-31 00:00:56 +00:00
commit-bot@chromium.org
46724e457e
+ ,fLastAllocated(NULL)
...
BUG=
R=scroggo@google.com
Author: mtklein@google.com
Review URL: https://chromiumcodereview.appspot.com/21046011
git-svn-id: http://skia.googlecode.com/svn/trunk@10446 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-30 21:54:10 +00:00
reed@google.com
7fdcd444a1
support SK_FONTHOST_USES_FONTMGR on mac
...
BUG=
Review URL: https://codereview.chromium.org/21142004
git-svn-id: http://skia.googlecode.com/svn/trunk@10445 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-30 21:25:49 +00:00
senorblanco@chromium.org
d71732a5ba
Optimize the blur convolution by only applying domain clamping where necessary. Split the blur convolution into left and right margins which have clamping applied and a center portion which doesn't. Also reorder the convolve_gaussian() parameters to match GrConvolutionEffect params. Correctness is covered by existing tests; performance is covered by BlurImageFilter bench.
...
R=bsalomon@google.com
Review URL: https://codereview.chromium.org/21224003
git-svn-id: http://skia.googlecode.com/svn/trunk@10444 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-30 21:11:05 +00:00
bungeman@google.com
2faef552ff
Remove old default implementation of SkTypeface::onGetUPEM.
...
In order to introduce onGetUPEM there was written a generic but slow
version in SkTypeface.cpp. All ports now implement this method and the
declaration is now marked as pure virtual.
git-svn-id: http://skia.googlecode.com/svn/trunk@10442 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-30 19:32:16 +00:00
reed@google.com
30ddd615c4
refactoring for SK_FONTHOST_USES_FONTMGR option
...
BUG=
R=bungeman@google.com
Review URL: https://codereview.chromium.org/21149008
git-svn-id: http://skia.googlecode.com/svn/trunk@10440 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-30 17:47:39 +00:00
commit-bot@chromium.org
2d859346dd
leading slash confuses non-git tools that read .gitignore, like ag
...
BUG=
R=scroggo@google.com
Author: mtklein@google.com
Review URL: https://chromiumcodereview.appspot.com/21055005
git-svn-id: http://skia.googlecode.com/svn/trunk@10439 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-30 17:23:01 +00:00
edisonn@google.com
24cdf13b31
pdfviewer: more prerequired work to have examples working for transparency work items.
...
Review URL: https://codereview.chromium.org/21252003
git-svn-id: http://skia.googlecode.com/svn/trunk@10438 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-30 16:06:12 +00:00
bensong@google.com
43e4f6ef79
Adds links to dashboard plots for skp bench values out of range. (SkipBuildbotRuns).
...
They are single-line plots for the specific bench/platform/config combos.
Review URL: https://codereview.chromium.org/21157003
git-svn-id: http://skia.googlecode.com/svn/trunk@10437 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-30 14:47:04 +00:00
mtklein@google.com
72761f031f
ndk r8d->r8e, adding mips toolchain
...
tested:
platform_tools/android/bin/android_make -d nexus_4 -j 4 BUILDTYPE=Release && platform_tools/android/bin/android_make -d razr_i BUILDTYPE=Release -j 4 && echo "OK"
BUG=
R=djsollen@google.com
Review URL: https://codereview.chromium.org/19670018
git-svn-id: http://skia.googlecode.com/svn/trunk@10435 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-30 14:14:14 +00:00
mtklein@google.com
ca7ff06683
Rebaseline a couple of Nexus 7 GPU GMs for thumb2.
...
The max color mismatch across all these is 1, and they're all in blurs.
BUG=
R=bsalomon@google.com
Review URL: https://codereview.chromium.org/21246002
git-svn-id: http://skia.googlecode.com/svn/trunk@10434 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-30 13:35:54 +00:00
edisonn@google.com
88fc03dd1f
pdfviewer: add doPage function, cet stream from Contents
...
Review URL: https://codereview.chromium.org/21049009
git-svn-id: http://skia.googlecode.com/svn/trunk@10433 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-30 13:34:10 +00:00
commit-bot@chromium.org
38bad32cf5
fold SK_CPU_HAS_CONDITION_INSTR through as always defined
...
BUG=
R=reed@google.com
Author: mtklein@google.com
Review URL: https://chromiumcodereview.appspot.com/21122005
git-svn-id: http://skia.googlecode.com/svn/trunk@10432 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-30 13:16:29 +00:00
commit-bot@chromium.org
5abacf6720
add scalar stubs for neon functions to give arm guys a place to work
...
BUG=
R=djsollen@google.com , reed@google.com
Author: humper@google.com
Review URL: https://chromiumcodereview.appspot.com/20749003
git-svn-id: http://skia.googlecode.com/svn/trunk@10431 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-30 13:16:18 +00:00
commit-bot@chromium.org
05256f6811
set a correct breakpoint for gdbserver, gdb can stop here before the app is running, and we can set more breakpoints if we need. For previous one, gdb will not stop, so it will run the app and exit.
...
R=djsollen@google.com , borenet@google.com
Author: yunchao.he@intel.com
Review URL: https://chromiumcodereview.appspot.com/20671002
git-svn-id: http://skia.googlecode.com/svn/trunk@10430 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-30 13:16:07 +00:00
robertphillips@google.com
073a32ecb6
Fix compiler warning/error in r10428
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10429 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-30 12:29:20 +00:00
robertphillips@google.com
17ad2bd077
Fix quickReject computation for blurs
...
https://codereview.chromium.org/17035007/
git-svn-id: http://skia.googlecode.com/svn/trunk@10428 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-30 12:15:19 +00:00
edisonn@google.com
641cce90c9
pdfviewer: fix condition for element in array, reset back the default color to white, and verify type before value in PDF API mapper
...
Review URL: https://codereview.chromium.org/21017004
git-svn-id: http://skia.googlecode.com/svn/trunk@10427 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-30 12:09:14 +00:00
skia.committer@gmail.com
16d53aac9c
Sanitizing source files in Housekeeper-Nightly
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10426 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-30 07:01:00 +00:00
bungeman@google.com
6a774a1f26
Fix subpixel metrics with GDI.
...
The previous code uncovered a rather strange issue with GDI, where it
appears that alternating between two HFONTs with the same attributes but
vastly different heights does not appear to invalidate the the 'x'
metrics (the 'y' metrics appear to be correct). As a result it is
possible to get completely useless results from GetGlyphOutlineW. This
change works around the issue by simply scaling the one font to the
required sizes, which also saves us an HFONT.
Review URL: https://codereview.chromium.org/21047008
git-svn-id: http://skia.googlecode.com/svn/trunk@10425 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-30 01:07:48 +00:00
bungeman@google.com
a3aaf16e0f
Fix invalid comparison between int16 and int16be in name table code.
...
Review URL: https://codereview.chromium.org/21138005
git-svn-id: http://skia.googlecode.com/svn/trunk@10424 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-29 22:25:02 +00:00
edisonn@google.com
4ef4bed00e
pdfviewer: load files with missing xref (we need in order to help with testing, as most good pdfx in the whild miss the xref). add period as a valid character to start a real value.
...
Review URL: https://codereview.chromium.org/21096006
git-svn-id: http://skia.googlecode.com/svn/trunk@10423 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-29 22:14:45 +00:00
mtklein@google.com
d49173afc8
always have conditional instruction
...
BUG=
R=djsollen@google.com
Review URL: https://codereview.chromium.org/21155002
git-svn-id: http://skia.googlecode.com/svn/trunk@10422 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-29 20:53:14 +00:00
mtklein@google.com
069aea7f2c
one more thing to try before rebaselining android
...
BUG=
R=djsollen@google.com
Review URL: https://codereview.chromium.org/21112004
git-svn-id: http://skia.googlecode.com/svn/trunk@10420 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-29 19:30:00 +00:00
edisonn@google.com
e878e726bd
pdfviewer: more plumming for soft masks, blend modes and transparency groups
...
Review URL: https://codereview.chromium.org/21125002
git-svn-id: http://skia.googlecode.com/svn/trunk@10419 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-29 19:10:58 +00:00
reed@google.com
08df48d241
expose getFamilyName to public SkTypeface
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10418 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-29 18:54:08 +00:00
senorblanco@chromium.org
e8232bc6f0
Small optimization for convolution shader: only apply the bounds check in direction of convolution, not both. This requires generating different versions of the shader depending on direction.
...
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/20789003
git-svn-id: http://skia.googlecode.com/svn/trunk@10417 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-29 18:45:44 +00:00
mtklein@google.com
b3915b5a9f
Turn thumb back on.
...
We expect this might break Android GMs. If it does I'll rebaseline or revert.
BUG=
R=djsollen@google.com
Review URL: https://codereview.chromium.org/21096004
git-svn-id: http://skia.googlecode.com/svn/trunk@10415 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-29 18:33:33 +00:00
commit-bot@chromium.org
4dcd062803
Matrix decomposition cleanup: Add is_degenerate_2x2(), and fix some asserts
...
(atan2 can take a zero x value, but both x == 0 and y == 0 is undefined).
R=reed@google.com , robertphillips@google.com
Author: jvanverth@google.com
Review URL: https://chromiumcodereview.appspot.com/20303003
git-svn-id: http://skia.googlecode.com/svn/trunk@10410 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-29 14:43:31 +00:00
djsollen@google.com
81152f4d5b
adjust performance triggers for flakes on the Windows bots.
...
R=borenet@google.com , robertphillips@google.com
Review URL: https://codereview.chromium.org/21076002
git-svn-id: http://skia.googlecode.com/svn/trunk@10408 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-29 13:29:49 +00:00
edisonn@google.com
96ba3aa2fa
pdfviewer: fix a few warnings
...
Review URL: https://codereview.chromium.org/20662003
git-svn-id: http://skia.googlecode.com/svn/trunk@10404 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-28 20:04:35 +00:00
edisonn@google.com
a0cefa18fc
pdfviewer: gs operator implementation: dashing and font
...
Review URL: https://codereview.chromium.org/20810002
git-svn-id: http://skia.googlecode.com/svn/trunk@10403 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-28 18:34:14 +00:00
skia.committer@gmail.com
27e21fe577
Sanitizing source files in Housekeeper-Nightly
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10402 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-28 07:01:03 +00:00
bungeman@google.com
791386c77d
Rebaseline for 10399 and 10400 (GDI metrics).
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10401 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-28 00:53:43 +00:00
bungeman@google.com
7c86d8eb3a
Disable GDI slight hinting.
...
FontHostTest fails because 'Times New Roman' 'o' and 'g' have
a different number of points in their hinted and un-hinted versions.
Disable slight hinting until this is understood.
git-svn-id: http://skia.googlecode.com/svn/trunk@10400 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-27 21:42:21 +00:00
bungeman@google.com
0abbff9987
Fix metrics on Windows.
...
With this change, Skia's metrics are much better in general, and
specifically can be made to match the metrics produced by current
Blink code. This allows Blink to use Skia's metrics.
This change will require a number of rebaselines in Skia, since
previous metrics were quite different. This will require about five
rebaslines in Blink, as the new code may cause GDI's matrix to differ
in the low bits.
Review URL: https://codereview.chromium.org/20585004
git-svn-id: http://skia.googlecode.com/svn/trunk@10399 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-27 20:37:56 +00:00
skia.committer@gmail.com
aeefb2afe7
Sanitizing source files in Housekeeper-Nightly
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10398 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-27 07:01:06 +00:00
commit-bot@chromium.org
149f4f5b40
differentiate mag and min filters
...
BUG=
R=bsalomon@google.com , robertphillips@google.com
Author: humper@google.com
Review URL: https://chromiumcodereview.appspot.com/20809002
git-svn-id: http://skia.googlecode.com/svn/trunk@10397 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-26 20:40:06 +00:00
senorblanco@chromium.org
0989b21d5a
Remove Nexus10 strokes3_gpu expectations. This one seems to change every run (uninit? driver bug?).
...
TBR=fmalita
BUG=
Review URL: https://codereview.chromium.org/20501004
git-svn-id: http://skia.googlecode.com/svn/trunk@10396 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-26 19:55:28 +00:00