edisonn@google.com
768bc6a920
pdfviewer: add ability to run on gpu
...
Review URL: https://codereview.chromium.org/22684002
git-svn-id: http://skia.googlecode.com/svn/trunk@10638 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-08 12:42:13 +00:00
djsollen@google.com
1efccd297e
Create a gypi that contains all the SK_API header files for use by clients (i.e. chromium).
...
R=robertphillips@google.com , torne@chromium.org
Review URL: https://codereview.chromium.org/22474010
git-svn-id: http://skia.googlecode.com/svn/trunk@10637 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-08 12:31:05 +00:00
edisonn@google.com
16291e51d5
pdfviewer: remove save/restore used with q/Q operators (we already do there save and restore)
...
Review URL: https://codereview.chromium.org/22678003
git-svn-id: http://skia.googlecode.com/svn/trunk@10636 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-08 11:40:26 +00:00
commit-bot@chromium.org
641a249196
ARM Skia NEON patches - 11 - Blitter_RGB16
...
Blitter_RGB16: fixes and improvements
- fix alpha calculation: it was still using the old version of
SkAlpha255To256. 11 more tests pass in gm.
- clean a lot the code: the existing code was "a bit" messy with
a lot of duplicated hardcoded constants, got rid of all this.
- improve speed a little: part of it as a side-effect of the change
in the way alpha is calculated but also by grouping loads and stores.
One "issue" was present and still remains: the NEON code doesn't give
the same result as the black blitter on black. It accounts for dozens
of mismatches in gm. Is this considered "not too bad"? Would you be
interested in a NEON version of the black blitter? The current
comments seem to indicate that the black blitter is here only to give
a performance boost when NEON is not presents so I didn't write a NEON
version.
BUG=
R=djsollen@google.com , tomhudson@google.com , reed@google.com
Author: kevin.petit.arm@gmail.com
Review URL: https://chromiumcodereview.appspot.com/18666005
git-svn-id: http://skia.googlecode.com/svn/trunk@10635 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-08 10:51:45 +00:00
skia.committer@gmail.com
d55e357a8e
Sanitizing source files in Housekeeper-Nightly
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10634 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-08 07:01:20 +00:00
commit-bot@chromium.org
d2623a1a0b
Use Path Ops to generate PDF clips
...
R=vandebo@chromium.org , edisonn@google.com , caryclark@google.com
Author: richardlin@chromium.org
Review URL: https://chromiumcodereview.appspot.com/21161003
git-svn-id: http://skia.googlecode.com/svn/trunk@10633 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-08 02:52:05 +00:00
robertphillips@google.com
b265741cc1
Revert r10603 (Remove operator== from SkPaint) due to Chrome failures
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10632 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 22:36:29 +00:00
senorblanco@chromium.org
3484df6ff2
New baselines for imagefiltersbase, after r10626.
...
TBR=jvanverth@google.com
Review URL: https://codereview.chromium.org/22623004
git-svn-id: http://skia.googlecode.com/svn/trunk@10631 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 21:36:15 +00:00
edisonn@google.com
4f898b78bb
pdfviewer: absolute minimal; to al least render (even if poorly) ICC based color spaces, based on RGB
...
Review URL: https://codereview.chromium.org/22624002
git-svn-id: http://skia.googlecode.com/svn/trunk@10630 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 21:11:57 +00:00
scroggo@google.com
590a5af121
Beginning work to refactor jpeg tile decoding.
...
Keep common code together, so we can fix bugs in tile and normal decode
simultaneously.
Convert if-then chains to switch statements for readability.
Add getBitmapConfig, common to both normal and tile decode, which
ensures that they behave the same. getBitmapConfig uses the code
originally in onDecode, so subsetting grayscale into A8 now works.
In getBitmapConfig, handle JCS_YCCK properly.
Fix a bug where requesting A8 from a JCS_CMYK image would
result in a total failure to decode, since we would change
out_color_space to an invalid choice.
Factor common code for applying dither and changing the
out_color_space into apply_dither_mode (final name TBD). Skips
CMYK like normal decoding did before.
BUG=skia:1472
BUG=https://b.corp.google.com/issue?id=9466275
BUG=https://b.corp.google.com/issue?id=9189955
R=mtklein@google.com
Review URL: https://codereview.chromium.org/22290002
git-svn-id: http://skia.googlecode.com/svn/trunk@10629 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 21:09:13 +00:00
scroggo@google.com
a1a515474d
Fix failure exits from JPEG onBuildTileIndex.
...
The setjmp exited without deleting the SkJPEGImageIndex, and
another exit condition deleted the huffman index even though
it had not been created yet. Create member functions on
SkJPEGImageIndex to make the jpeg calls so it can keep track
of what has been created, and avoid destroying anything else.
Remove unnecessary lines to set values to their default values.
Move all SkJPEGImageIndex code entirely inside #ifdef ANDROID
blocks, since no piece of it is used except by ANDROID only
code.
BUG=skia:1471
R=djsollen@google.com , mtklein@google.com
Review URL: https://codereview.chromium.org/21891007
git-svn-id: http://skia.googlecode.com/svn/trunk@10628 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 21:02:32 +00:00
scroggo@google.com
2fe638ef06
Update GM baselines for 8888->4444 fix.
...
Review URL: https://codereview.chromium.org/22621002
git-svn-id: http://skia.googlecode.com/svn/trunk@10627 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 20:23:26 +00:00
junov@chromium.org
f44fcdca01
Upstreaming DropShadowImageFilter into skia, from Blink
...
GM imagefiltersbase will need rebaselining after this change
R=senorblanco@chromium.org
Committed: https://code.google.com/p/skia/source/detail?r=10583
Review URL: https://codereview.chromium.org/22258005
git-svn-id: http://skia.googlecode.com/svn/trunk@10626 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 20:00:55 +00:00
scroggo@google.com
d79277f678
Support decoding subsets from JPG on Android.
...
Previously we only supported it for the framework. Making this
change allows us to test subset decoding in skimage, to make sure
we don't break it.
Will require rebaselining android skimage results.
R=djsollen@google.com
Review URL: https://codereview.chromium.org/21612003
git-svn-id: http://skia.googlecode.com/svn/trunk@10625 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 19:53:53 +00:00
commit-bot@chromium.org
28621517f4
Fix BGRA readback on Android
...
R=bsalomon@google.com , robertphillips@google.com
Author: snorp@snorp.net
Review URL: https://chromiumcodereview.appspot.com/22522002
git-svn-id: http://skia.googlecode.com/svn/trunk@10624 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 19:43:45 +00:00
scroggo@google.com
7bb36ab259
Fix build.
...
Use SkIntToScalar.
Reflect that 8888 can be copied to 4444 in BitmapCopyTest.
Unreviewed.
git-svn-id: http://skia.googlecode.com/svn/trunk@10623 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 19:39:56 +00:00
mtklein@google.com
9c9d4a7002
Restore SkPath(const SkPath&) to copy the generation ID on Android.
...
BUG=
R=bsalomon@google.com , bungeman@google.com , reed@google.com
Review URL: https://codereview.chromium.org/22471002
git-svn-id: http://skia.googlecode.com/svn/trunk@10622 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 19:17:53 +00:00
scroggo@google.com
8dc8bc5547
Add downsample from 8888 to 4444.
...
Extend SkBitmap::copyTo to copy from a source with
SkARGB_8888_Config to a destination bitmap with
SkARGB_4444_Config.
BUG=http://code.google.com/p/chromium/issues/detail?id=245774
R=reed@google.com
Review URL: https://codereview.chromium.org/22350003
git-svn-id: http://skia.googlecode.com/svn/trunk@10621 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 19:16:05 +00:00
jvanverth@google.com
0b39619e4b
More GM rebaselines
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10620 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 18:57:24 +00:00
dierk@google.com
619e48044e
Rebaselining GM's for gradient GM change.
...
rebaselining gm's
BUG=
Review URL: https://codereview.chromium.org/22391004
git-svn-id: http://skia.googlecode.com/svn/trunk@10619 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 18:12:46 +00:00
zachr@google.com
74c5ab19fd
add ui for mutli-rebaselining
...
R=epoger@google.com
Review URL: https://codereview.chromium.org/22580004
git-svn-id: http://skia.googlecode.com/svn/trunk@10618 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 18:06:39 +00:00
edisonn@google.com
e57c62d039
pdfviewer: fix font rotation issues
...
Review URL: https://codereview.chromium.org/22407005
git-svn-id: http://skia.googlecode.com/svn/trunk@10617 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 18:04:15 +00:00
bsalomon@google.com
c6233285be
Mark dashing gpu as expected to fail on win7/gpu/intel
...
R=jvanverth@google.com
Review URL: https://codereview.chromium.org/22407004
git-svn-id: http://skia.googlecode.com/svn/trunk@10616 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 17:43:05 +00:00
bungeman@google.com
839702b619
Add getFamilyNames to SkTypeface.
...
Committed: https://code.google.com/p/skia/source/detail?r=10589
Committed: https://code.google.com/p/skia/source/detail?r=10592
Committed: https://code.google.com/p/skia/source/detail?r=10608
Review URL: https://codereview.chromium.org/21716005
git-svn-id: http://skia.googlecode.com/svn/trunk@10615 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 17:09:22 +00:00
commit-bot@chromium.org
488a337ea9
gm/bitmapcopy: create the bitmap in a secondary canvas, since the one in which we draw might be backed by PDF and then accessBitmap does not work.
...
R=borenet@google.com , jvanverth@google.com
Author: edisonn@google.com
Review URL: https://chromiumcodereview.appspot.com/22353006
git-svn-id: http://skia.googlecode.com/svn/trunk@10614 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 17:03:09 +00:00
jvanverth@google.com
f7f19ac419
Ignore gif_test.gif, take two. Add missing comma.
...
Unreviewed.
git-svn-id: http://skia.googlecode.com/svn/trunk@10613 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 16:52:05 +00:00
commit-bot@chromium.org
2515242ee0
Add SkCanvas::drawPosTextBounded.
...
This allows subclasses which need bounding box information to get it
from the caller if it has already been computed.
BUG=chromium:269080
R=reed@google.com , tomhudson@chromium.org , tomhudson@google.com
Author: jbroman@chromium.org
Review URL: https://chromiumcodereview.appspot.com/22585002
git-svn-id: http://skia.googlecode.com/svn/trunk@10612 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 16:22:47 +00:00
jvanverth@google.com
fbd370572a
Try to ignore gif_test.gif in skimage test
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10610 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 16:07:43 +00:00
robertphillips@google.com
f7af91bd79
Reverting r10608 (Add getFamilyNames to SkTypeface) due to compilation failures
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10609 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 15:56:51 +00:00
bungeman@google.com
246b1c266f
Add getFamilyNames to SkTypeface.
...
Committed: https://code.google.com/p/skia/source/detail?r=10589
Committed: https://code.google.com/p/skia/source/detail?r=10592
Review URL: https://codereview.chromium.org/21716005
git-svn-id: http://skia.googlecode.com/svn/trunk@10608 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 15:46:29 +00:00
zachr@google.com
6f8e2c5e87
download and rebaseline images using server
...
BUG=
R=epoger@google.com
Review URL: https://codereview.chromium.org/20654006
git-svn-id: http://skia.googlecode.com/svn/trunk@10607 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 15:43:04 +00:00
bsalomon@google.com
2865676b84
Allow multiple images for flaky dashing GM on intel/win7/gpu
...
R=epoger@google.com
Review URL: https://codereview.chromium.org/22327004
git-svn-id: http://skia.googlecode.com/svn/trunk@10606 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 15:35:35 +00:00
reed@google.com
ebbda765e1
enable SK_FONTHOST_USES_FONTMGR for mac and win. linux fontmgr not ready
...
BUG=
Review URL: https://codereview.chromium.org/22406004
git-svn-id: http://skia.googlecode.com/svn/trunk@10605 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 15:30:09 +00:00
commit-bot@chromium.org
8ba1ad3a0b
Mozilla diabolical clamp case added to gm/gradients.cpp
...
Added diabolical clamp case.
BUG=
R=reed@google.com
Author: dierk@google.com
Review URL: https://chromiumcodereview.appspot.com/22484002
git-svn-id: http://skia.googlecode.com/svn/trunk@10604 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 15:22:13 +00:00
commit-bot@chromium.org
37ffe8a5a3
Remove operator== from SkPaint
...
R=mtklein@google.com , reed@google.com
Author: sglez@google.com
Review URL: https://chromiumcodereview.appspot.com/21949007
git-svn-id: http://skia.googlecode.com/svn/trunk@10603 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 15:22:05 +00:00
bsalomon@google.com
a4eb459fd1
Revert "rebaseline gpu dashing on win7"
...
This reverts commit r10577.
git-svn-id: http://skia.googlecode.com/svn/trunk@10602 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 13:34:26 +00:00
bsalomon@google.com
75796db3b3
Revert "Add blend optimization helpers and use to convert rect draws to clears."
...
This reverts commit r10537.
git-svn-id: http://skia.googlecode.com/svn/trunk@10601 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 13:34:14 +00:00
bsalomon@google.com
b334366ad0
Revert "Sanitizing source files in Housekeeper-Nightly"
...
This reverts commit r10594.
git-svn-id: http://skia.googlecode.com/svn/trunk@10600 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 13:34:08 +00:00
bsalomon@google.com
c911ada8bd
Revert "Rebaseline flaky non AA lines on intel/win/gpu"
...
This reverts commit r10566.
git-svn-id: http://skia.googlecode.com/svn/trunk@10599 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 13:34:01 +00:00
edisonn@google.com
0f90190084
pdfviewer: /Pattern color space, uses the matrix of the last content stream, not the global matrix.
...
Review URL: https://codereview.chromium.org/22460004
git-svn-id: http://skia.googlecode.com/svn/trunk@10595 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 11:56:16 +00:00
skia.committer@gmail.com
6eef65eeb7
Sanitizing source files in Housekeeper-Nightly
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10594 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 07:00:58 +00:00
bungeman@google.com
ad6477d02a
Work around broken SkFontMgr_fontconfig.cpp for test.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10593 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 03:17:12 +00:00
bungeman@google.com
a980269c24
Add getFamilyNames to SkTypeface.
...
Committed: https://code.google.com/p/skia/source/detail?r=10589
Review URL: https://codereview.chromium.org/21716005
git-svn-id: http://skia.googlecode.com/svn/trunk@10592 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 02:45:25 +00:00
commit-bot@chromium.org
1c4c9ef437
Move SkComposeImageFilter into its own {.h, .cpp} files
...
In http://crrev.com/21154002 , SkComposeImageFilter will be used
outside of tests. Consequently, this moves SkComposeImageFilter from
SkTestImageFilters.{h, cpp} into its own {.h, .cpp} files.
BUG=181613
R=senorblanco@chromium.org
Author: ajuma@chromium.org
Review URL: https://chromiumcodereview.appspot.com/22438003
git-svn-id: http://skia.googlecode.com/svn/trunk@10591 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-07 00:07:51 +00:00
jvanverth@google.com
7ca6d2f070
Reverting r10589: Add getFamilyNames to SkTypeface
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10590 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-06 23:31:44 +00:00
bungeman@google.com
990d85f02b
Add getFamilyNames to SkTypeface.
...
Review URL: https://codereview.chromium.org/21716005
git-svn-id: http://skia.googlecode.com/svn/trunk@10589 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-06 22:53:04 +00:00
edisonn@google.com
2273f9b45f
pdfviewer: load image pain settings (like transparency), pass the page number, report failure if at least one render fails, and check that xref section starts with xref keyword.
...
Review URL: https://codereview.chromium.org/22465006
git-svn-id: http://skia.googlecode.com/svn/trunk@10588 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-06 21:48:44 +00:00
jvanverth@google.com
9c8b4eaf28
Reverting r10583: Upstreaming DropShadowImageFilter into skia, from Blink
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10587 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-06 21:12:59 +00:00
bsalomon@google.com
ab3c67832f
Regenerate bitmaps before each draw in tilemodes_npot GM
...
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/22415004
git-svn-id: http://skia.googlecode.com/svn/trunk@10586 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-06 20:47:52 +00:00
borenet@google.com
7627535b8f
Re-organize Android scripts
...
Addresses https://code.google.com/p/skia/issues/detail?id=1486
R=djsollen@google.com
Review URL: https://codereview.chromium.org/22411004
git-svn-id: http://skia.googlecode.com/svn/trunk@10585 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-06 20:32:29 +00:00