Commit Graph

8798 Commits

Author SHA1 Message Date
reed@google.com
fed04b3431 remove fConvolutionProcs from State, and just use it locally
BUG=
R=humper@google.com

Review URL: https://codereview.chromium.org/23796005

git-svn-id: http://skia.googlecode.com/svn/trunk@11118 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 20:31:17 +00:00
edisonn@google.com
bca421b468 pdfviewer: (part 1) store the offset of the location of object in file/stream. In order to use the feature, enable the macro defined in SkPdfConfig.h
Review URL: https://codereview.chromium.org/23456022

git-svn-id: http://skia.googlecode.com/svn/trunk@11117 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 20:00:21 +00:00
vandebo@chromium.org
938ea62176 [PDF] Rewind the font stream if font subsetting fails.
R=edisonn@google.com

Review URL: https://codereview.chromium.org/23654012

git-svn-id: http://skia.googlecode.com/svn/trunk@11116 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 19:44:44 +00:00
commit-bot@chromium.org
5242ed761f Add device-independent rendering of ovals, take two.
This permits GPU support for arbitrary matrices. The only exception is 
not all stroked ovals are supported, as thin ovals + fat strokes do not
produce elliptical borders.

R=bsalomon@google.com, robertphillips@google.com

Author: jvanverth@google.com

Review URL: https://chromiumcodereview.appspot.com/23701013

git-svn-id: http://skia.googlecode.com/svn/trunk@11115 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 19:26:51 +00:00
reed@google.com
40039a350b simplify making translate only invmatrix
BUG=
R=humper@google.com

Review URL: https://codereview.chromium.org/23875010

git-svn-id: http://skia.googlecode.com/svn/trunk@11114 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 19:09:57 +00:00
robertphillips@google.com
f4f3faade6 Tweak to r11099 for N4 & Ubuntu13
git-svn-id: http://skia.googlecode.com/svn/trunk@11113 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 18:55:42 +00:00
commit-bot@chromium.org
215a682d2d Add getGLMatrix method to MatrixState
Removes redundant code by consolidating it into a single method. No
change in functionality, this is strictly a refactoring.

R=bsalomon@google.com

Author: cdalton@nvidia.com

Review URL: https://chromiumcodereview.appspot.com/23767005

git-svn-id: http://skia.googlecode.com/svn/trunk@11112 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 18:28:42 +00:00
commit-bot@chromium.org
9188a15f84 Add a GrGpuGL reference for GrGLProgram/GrGLUniformManager
Updates GrGLProgram and GrGLUniformManager to keep a GrGpuGL reference
instead of one for GrGLContextInfo. No change in functionality, this
is in preparation to support fixed function GL calls for vertexless
shaders.

R=bsalomon@google.com

Author: cdalton@nvidia.com

Review URL: https://chromiumcodereview.appspot.com/23636011

git-svn-id: http://skia.googlecode.com/svn/trunk@11111 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 18:28:24 +00:00
commit-bot@chromium.org
cf292b7b32 Added a missing filter in SkFlattenable::InitializeFlattenables().
BUG=
R=reed@google.com, scroggo@google.com, djsollen@google.com, mtklein@google.com

Author: sugoi@chromium.org

Review URL: https://chromiumcodereview.appspot.com/23444005

git-svn-id: http://skia.googlecode.com/svn/trunk@11110 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 18:28:08 +00:00
commit-bot@chromium.org
a8c09668f9 ARM Skia NEON patches - 18 - Preparation work for BitmapProcState
BitmapProcState: clean a little and get rid of some asm

replacing the apparently stupid dx+dx+dx leads to more instructions
being generated.

Signed-off-by: Kévin PETIT <kevin.petit@arm.com>

BitmapProcState: move code common to C and NEON to a separate header

Signed-off-by: Kévin PETIT <kevin.petit@arm.com>

BUG=
R=djsollen@google.com

Author: kevin.petit.arm@gmail.com

Review URL: https://chromiumcodereview.appspot.com/21931002

git-svn-id: http://skia.googlecode.com/svn/trunk@11109 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 18:27:57 +00:00
robertphillips@google.com
fd47a121dc Win7 Performance trigger rebaseline
git-svn-id: http://skia.googlecode.com/svn/trunk@11108 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 17:56:42 +00:00
robertphillips@google.com
b85564afff Warning/error fix for r11099 on Mac 10.6
git-svn-id: http://skia.googlecode.com/svn/trunk@11107 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 17:53:34 +00:00
epoger@google.com
8e03aa45d1 Ignore failures in fontmgr_iter angle/gpu GM tests on Windows
BUG=skia:1597
TBR=bungeman
(SkipBuildbotRuns)

Review URL: https://codereview.chromium.org/23551008

git-svn-id: http://skia.googlecode.com/svn/trunk@11106 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 17:48:33 +00:00
epoger@google.com
5e81697a27 Ignore failures in gradtext_pdf-mac GM tests
BUG=skia:476
TBR=edisonn
(SkipBuildbotRuns)

Review URL: https://codereview.chromium.org/23989002

git-svn-id: http://skia.googlecode.com/svn/trunk@11105 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 17:29:08 +00:00
epoger@google.com
2913eae6b3 tiny fix to GM expectations: fix newlines at ends of files
Review URL: https://codereview.chromium.org/23706009

git-svn-id: http://skia.googlecode.com/svn/trunk@11104 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 17:23:12 +00:00
epoger@google.com
7f5f6e6e30 Revert r11102 (mistakenly committed)
git-svn-id: http://skia.googlecode.com/svn/trunk@11103 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 17:19:37 +00:00
epoger@google.com
e5ee52e1f0 whitespace-only fix to manually-modified GM expectations
git-svn-id: http://skia.googlecode.com/svn/trunk@11102 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 17:18:08 +00:00
epoger@google.com
b36861317f Ignore failures in mixed_xfermodes_gpu GM test on Nexus 4
BUG=skia:1596
TBR=robertphillips

Review URL: https://codereview.chromium.org/23518007

git-svn-id: http://skia.googlecode.com/svn/trunk@11101 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 17:00:31 +00:00
edisonn@google.com
0fd25d8b22 pdfviewer: track what objects have been used during rendering. It will be the base of reporting unused objects to warn about ineficiencies in pdf generations, tests, and what features are not implemented fully.
Review URL: https://codereview.chromium.org/23601017

git-svn-id: http://skia.googlecode.com/svn/trunk@11100 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 16:40:34 +00:00
robertphillips@google.com
3dfa4cc07c Add test to exercise extreme blur sigmas
https://codereview.chromium.org/23530039/



git-svn-id: http://skia.googlecode.com/svn/trunk@11099 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 16:39:03 +00:00
epoger@google.com
c0246cd3d8 Ignore failures in arithmode_gpu GM test on Nexus 4
BUG=skia:1595
R=robertphillips@google.com

Review URL: https://codereview.chromium.org/23569009

git-svn-id: http://skia.googlecode.com/svn/trunk@11098 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 16:30:35 +00:00
epoger@google.com
a8856e6740 Update unreviewed mass baselines from r11086 based on code changes overnight
BUG=skia:1578

These results had been mass-committed, without review.  Given that they were
unreviewed in the first place, they are just as valid now.

R=robertphillips@google.com

Review URL: https://codereview.chromium.org/23983007

git-svn-id: http://skia.googlecode.com/svn/trunk@11097 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 16:26:20 +00:00
epoger@google.com
f049ac1098 Revert r11093/r11094 (rebaselines); I will re-land most of them in a different fashion
R=robertphillips@google.com

Review URL: https://codereview.chromium.org/23461028

git-svn-id: http://skia.googlecode.com/svn/trunk@11095 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 15:13:25 +00:00
robertphillips@google.com
705c377d36 Image rebaselines
git-svn-id: http://skia.googlecode.com/svn/trunk@11094 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 14:18:42 +00:00
robertphillips@google.com
1b25f045ea Image rebaselines
git-svn-id: http://skia.googlecode.com/svn/trunk@11093 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 14:13:51 +00:00
skia.committer@gmail.com
c3723db387 Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@11092 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 07:01:19 +00:00
humper@google.com
d1af237d7d fix the onIsEqual method on the new bicubic effect to consider the texture accesses as well as the textures
git-svn-id: http://skia.googlecode.com/svn/trunk@11090 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-04 20:32:58 +00:00
humper@google.com
30df03ce78 forgot to guard GPU includes when SK_SUPPORT_GPU not defined
git-svn-id: http://skia.googlecode.com/svn/trunk@11089 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-04 19:57:11 +00:00
bsalomon@google.com
08bc50854b Fix ES2 context init.
R=robertphillips@google.com

Review URL: https://codereview.chromium.org/23534045

git-svn-id: http://skia.googlecode.com/svn/trunk@11088 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-04 19:32:14 +00:00
humper@google.com
3aad3b01af add support for high quality image filtering on the GPU
R=bsalomon@google.com, reed@google.com

Review URL: https://codereview.chromium.org/23779003

git-svn-id: http://skia.googlecode.com/svn/trunk@11087 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-04 19:23:53 +00:00
epoger@google.com
f0595b39a9 Check in expectations for all GM tests that don't have any yet, marked appropriately
BUG=skia:1578
R=borenet@google.com, reed@google.com

Review URL: https://codereview.chromium.org/23949003

git-svn-id: http://skia.googlecode.com/svn/trunk@11086 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-04 19:04:56 +00:00
djsollen@google.com
1037c7b9f2 fix build breakage for missing SkScalarToInt
Review URL: https://codereview.chromium.org/23718005

git-svn-id: http://skia.googlecode.com/svn/trunk@11085 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-04 18:20:30 +00:00
djsollen@google.com
19bcf6e807 fix broken clang build
R=mtklein@google.com

Review URL: https://codereview.chromium.org/23724014

git-svn-id: http://skia.googlecode.com/svn/trunk@11084 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-04 17:35:39 +00:00
edisonn@google.com
e91260c3e7 pdfviewer: fix break, include the right header.
Review URL: https://codereview.chromium.org/23493018

git-svn-id: http://skia.googlecode.com/svn/trunk@11083 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-04 17:29:06 +00:00
mtklein@google.com
bd6343b1d6 Rewrite SkTRegistry to take any trivially-copyable type.
Obviously these are all currently function pointers of type T(*)(P) for various
T and P.  In bench refactoring, I'm trying to register a function pointer of
type T(*)(), which can't be done as is (passing P=void doesn't work).  This
also lets us register things like primitives, which is conceivable useful.

BUG=
R=reed@google.com, scroggo@google.com

Review URL: https://codereview.chromium.org/23453031

git-svn-id: http://skia.googlecode.com/svn/trunk@11082 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-04 17:20:18 +00:00
djsollen@google.com
339e79fbea Add SkCanvasStack and update the Canvas utilities to use it.
BUG=
R=reed@google.com

Review URL: https://codereview.chromium.org/23865004

git-svn-id: http://skia.googlecode.com/svn/trunk@11081 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-04 17:16:00 +00:00
jvanverth@google.com
059a5a339b Reverting r11075.
git-svn-id: http://skia.googlecode.com/svn/trunk@11080 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-04 16:40:37 +00:00
epoger@google.com
14486ea9e3 Add empty GM expectations for any platforms that don't have them yet
R=borenet@google.com

Review URL: https://codereview.chromium.org/23686008

git-svn-id: http://skia.googlecode.com/svn/trunk@11079 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-04 16:39:40 +00:00
epoger@google.com
d73531a722 svndiff.py: properly handle empty expectations dictionary
BUG=skia:1588
R=jvanverth@google.com

Review URL: https://codereview.chromium.org/23769005

git-svn-id: http://skia.googlecode.com/svn/trunk@11078 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-04 16:27:16 +00:00
epoger@google.com
48282edff9 Mark imageblur and imagefiltersbase GM tests as ignore-failure on Android-IntelRhb-SGX544-x86
BUG=skia:1581

Review URL: https://codereview.chromium.org/23637004

git-svn-id: http://skia.googlecode.com/svn/trunk@11076 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-04 15:35:40 +00:00
commit-bot@chromium.org
97f74abcbc Add device-independent GPU rendering of ovals.
This permits GPU support for arbitrary matrices. The only exception is not all stroked ovals are supported, as thin ovals and fat strokes do not produce ellipses.

R=robertphillips@google.com, bsalomon@google.com

Author: jvanverth@google.com

Review URL: https://chromiumcodereview.appspot.com/23719004

git-svn-id: http://skia.googlecode.com/svn/trunk@11075 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-04 14:14:17 +00:00
djsollen@google.com
40415c587d fix error in android setup script
git-svn-id: http://skia.googlecode.com/svn/trunk@11074 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-04 13:49:30 +00:00
scroggo@google.com
4d844d7e77 Check in some expectations for Xoom skimage.
Since they have not been able to run at all, they have not created
any expectations, so these are copied from

Test-Android-Nexus10-MaliT604-Arm7-Debug.json
and
Test-Android-Nexus10-MaliT604-Arm7-Release.json

Add "reviewed-by-human": false to track that they were copied from
another device's expectations.

git-svn-id: http://skia.googlecode.com/svn/trunk@11073 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-04 13:30:38 +00:00
scroggo@google.com
b3e6fe8559 Add expectations for GalaxyNexus release.
git-svn-id: http://skia.googlecode.com/svn/trunk@11072 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-04 13:10:52 +00:00
skia.committer@gmail.com
85092f05c4 Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@11071 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-04 07:01:39 +00:00
commit-bot@chromium.org
5651512aa3 Remove uses of GR_RELEASE.
Instead of using GR_RELEASE new code should just use SK_RELEASE, like its
counterpart SK_DEBUG instead of GR_DEBUG.

R=bsalomon@google.com, robertphillips@google.com

Author: tfarina@chromium.org

Review URL: https://chromiumcodereview.appspot.com/23479017

git-svn-id: http://skia.googlecode.com/svn/trunk@11070 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-03 23:32:08 +00:00
commit-bot@chromium.org
106655efdf Fix convex path renderer bounds computation
R=jvanverth@google.com

Author: bsalomon@google.com

Review URL: https://chromiumcodereview.appspot.com/23905005

git-svn-id: http://skia.googlecode.com/svn/trunk@11069 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-03 21:28:55 +00:00
jvanverth@google.com
25f72ed034 Fix Matrix44Test and double-to-float conversion in SVD code
git-svn-id: http://skia.googlecode.com/svn/trunk@11067 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-03 19:46:16 +00:00
commit-bot@chromium.org
5b2e2640ed Revise SVD code to remove arctangents.
Also added bench for timing matrix decomposition.

R=reed@google.com

Author: jvanverth@google.com

Review URL: https://chromiumcodereview.appspot.com/23596006

git-svn-id: http://skia.googlecode.com/svn/trunk@11066 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-03 19:08:14 +00:00
epoger@google.com
e2b103fba2 Remove 3 remaining base-* dirs in expectations/gm
reviewed as https://codereview.chromium.org/23584003/


git-svn-id: http://skia.googlecode.com/svn/trunk@11065 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-03 18:34:01 +00:00