platform/upstream/libSkiaSharp.git
11 years agotiny fix to GM expectations: fix newlines at ends of files
epoger@google.com [Thu, 5 Sep 2013 17:23:12 +0000 (17:23 +0000)]
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

11 years agoRevert r11102 (mistakenly committed)
epoger@google.com [Thu, 5 Sep 2013 17:19:37 +0000 (17:19 +0000)]
Revert r11102 (mistakenly committed)

git-svn-id: http://skia.googlecode.com/svn/trunk@11103 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agowhitespace-only fix to manually-modified GM expectations
epoger@google.com [Thu, 5 Sep 2013 17:18:08 +0000 (17:18 +0000)]
whitespace-only fix to manually-modified GM expectations

git-svn-id: http://skia.googlecode.com/svn/trunk@11102 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoIgnore failures in mixed_xfermodes_gpu GM test on Nexus 4
epoger@google.com [Thu, 5 Sep 2013 17:00:31 +0000 (17:00 +0000)]
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

11 years agopdfviewer: track what objects have been used during rendering. It will be the base...
edisonn@google.com [Thu, 5 Sep 2013 16:40:34 +0000 (16:40 +0000)]
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

11 years agoAdd test to exercise extreme blur sigmas
robertphillips@google.com [Thu, 5 Sep 2013 16:39:03 +0000 (16:39 +0000)]
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

11 years agoIgnore failures in arithmode_gpu GM test on Nexus 4
epoger@google.com [Thu, 5 Sep 2013 16:30:35 +0000 (16:30 +0000)]
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

11 years agoUpdate unreviewed mass baselines from r11086 based on code changes overnight
epoger@google.com [Thu, 5 Sep 2013 16:26:20 +0000 (16:26 +0000)]
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

11 years agoRevert r11093/r11094 (rebaselines); I will re-land most of them in a different fashion
epoger@google.com [Thu, 5 Sep 2013 15:13:25 +0000 (15:13 +0000)]
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

11 years agoImage rebaselines
robertphillips@google.com [Thu, 5 Sep 2013 14:18:42 +0000 (14:18 +0000)]
Image rebaselines

git-svn-id: http://skia.googlecode.com/svn/trunk@11094 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoImage rebaselines
robertphillips@google.com [Thu, 5 Sep 2013 14:13:51 +0000 (14:13 +0000)]
Image rebaselines

git-svn-id: http://skia.googlecode.com/svn/trunk@11093 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoSanitizing source files in Housekeeper-Nightly
skia.committer@gmail.com [Thu, 5 Sep 2013 07:01:19 +0000 (07:01 +0000)]
Sanitizing source files in Housekeeper-Nightly

git-svn-id: http://skia.googlecode.com/svn/trunk@11092 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agofix the onIsEqual method on the new bicubic effect to consider the texture accesses...
humper@google.com [Wed, 4 Sep 2013 20:32:58 +0000 (20:32 +0000)]
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

11 years agoforgot to guard GPU includes when SK_SUPPORT_GPU not defined
humper@google.com [Wed, 4 Sep 2013 19:57:11 +0000 (19:57 +0000)]
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

11 years agoFix ES2 context init.
bsalomon@google.com [Wed, 4 Sep 2013 19:32:14 +0000 (19:32 +0000)]
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

11 years agoadd support for high quality image filtering on the GPU
humper@google.com [Wed, 4 Sep 2013 19:23:53 +0000 (19:23 +0000)]
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

11 years agoCheck in expectations for all GM tests that don't have any yet, marked appropriately
epoger@google.com [Wed, 4 Sep 2013 19:04:56 +0000 (19:04 +0000)]
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

11 years agofix build breakage for missing SkScalarToInt
djsollen@google.com [Wed, 4 Sep 2013 18:20:30 +0000 (18:20 +0000)]
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

11 years agofix broken clang build
djsollen@google.com [Wed, 4 Sep 2013 17:35:39 +0000 (17:35 +0000)]
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

11 years agopdfviewer: fix break, include the right header.
edisonn@google.com [Wed, 4 Sep 2013 17:29:06 +0000 (17:29 +0000)]
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

11 years agoRewrite SkTRegistry to take any trivially-copyable type.
mtklein@google.com [Wed, 4 Sep 2013 17:20:18 +0000 (17:20 +0000)]
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

11 years agoAdd SkCanvasStack and update the Canvas utilities to use it.
djsollen@google.com [Wed, 4 Sep 2013 17:16:00 +0000 (17:16 +0000)]
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

11 years agoReverting r11075.
jvanverth@google.com [Wed, 4 Sep 2013 16:40:37 +0000 (16:40 +0000)]
Reverting r11075.

git-svn-id: http://skia.googlecode.com/svn/trunk@11080 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAdd empty GM expectations for any platforms that don't have them yet
epoger@google.com [Wed, 4 Sep 2013 16:39:40 +0000 (16:39 +0000)]
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

11 years agosvndiff.py: properly handle empty expectations dictionary
epoger@google.com [Wed, 4 Sep 2013 16:27:16 +0000 (16:27 +0000)]
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

11 years agoMark imageblur and imagefiltersbase GM tests as ignore-failure on Android-IntelRhb...
epoger@google.com [Wed, 4 Sep 2013 15:35:40 +0000 (15:35 +0000)]
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

11 years agoAdd device-independent GPU rendering of ovals.
commit-bot@chromium.org [Wed, 4 Sep 2013 14:14:17 +0000 (14:14 +0000)]
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

11 years agofix error in android setup script
djsollen@google.com [Wed, 4 Sep 2013 13:49:30 +0000 (13:49 +0000)]
fix error in android setup script

git-svn-id: http://skia.googlecode.com/svn/trunk@11074 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoCheck in some expectations for Xoom skimage.
scroggo@google.com [Wed, 4 Sep 2013 13:30:38 +0000 (13:30 +0000)]
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

11 years agoAdd expectations for GalaxyNexus release.
scroggo@google.com [Wed, 4 Sep 2013 13:10:52 +0000 (13:10 +0000)]
Add expectations for GalaxyNexus release.

git-svn-id: http://skia.googlecode.com/svn/trunk@11072 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoSanitizing source files in Housekeeper-Nightly
skia.committer@gmail.com [Wed, 4 Sep 2013 07:01:39 +0000 (07:01 +0000)]
Sanitizing source files in Housekeeper-Nightly

git-svn-id: http://skia.googlecode.com/svn/trunk@11071 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoRemove uses of GR_RELEASE.
commit-bot@chromium.org [Tue, 3 Sep 2013 23:32:08 +0000 (23:32 +0000)]
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

11 years agoFix convex path renderer bounds computation
commit-bot@chromium.org [Tue, 3 Sep 2013 21:28:55 +0000 (21:28 +0000)]
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

11 years agoFix Matrix44Test and double-to-float conversion in SVD code
jvanverth@google.com [Tue, 3 Sep 2013 19:46:16 +0000 (19:46 +0000)]
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

11 years agoRevise SVD code to remove arctangents.
commit-bot@chromium.org [Tue, 3 Sep 2013 19:08:14 +0000 (19:08 +0000)]
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

11 years agoRemove 3 remaining base-* dirs in expectations/gm
epoger@google.com [Tue, 3 Sep 2013 18:34:01 +0000 (18:34 +0000)]
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

11 years agoAdd forgotten file from https://code.google.com/p/skia/source/detail?r=11063
epoger@google.com [Tue, 3 Sep 2013 18:31:25 +0000 (18:31 +0000)]
Add forgotten file from https://code.google.com/p/skia/source/detail?r=11063

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11064 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agorebaseline.py: fix --add-new when there are no expectations at all
epoger@google.com [Tue, 3 Sep 2013 18:27:19 +0000 (18:27 +0000)]
rebaseline.py: fix --add-new when there are no expectations at all
BUG=skia:1582
R=rmistry@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11063 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix bug in SkWriter32.
mtklein@google.com [Tue, 3 Sep 2013 18:07:01 +0000 (18:07 +0000)]
Fix bug in SkWriter32.

If you give SkWriter32 external storage but that external storage is too small
for the first reservation you make, you'll hit an assert in debug mode.

I think the answer is to simply remove the SkASSERT.  Added a test.

BUG=
R=reed@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11062 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAdd missing hairlines baselines
bsalomon@google.com [Tue, 3 Sep 2013 18:00:42 +0000 (18:00 +0000)]
Add missing hairlines baselines

git-svn-id: http://skia.googlecode.com/svn/trunk@11061 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAdd OpenGL 4.4 support to SkNativeGLContext and GrGLCreateNativeInterface android...
commit-bot@chromium.org [Tue, 3 Sep 2013 17:50:50 +0000 (17:50 +0000)]
Add OpenGL 4.4 support to SkNativeGLContext and GrGLCreateNativeInterface android versions.

R=robertphillips@google.com

Author: bsalomon@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11060 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agorebaselines
bsalomon@google.com [Tue, 3 Sep 2013 17:48:42 +0000 (17:48 +0000)]
rebaselines

git-svn-id: http://skia.googlecode.com/svn/trunk@11059 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agorebaseline.py: add --bugs and --unreviewed flags
epoger@google.com [Tue, 3 Sep 2013 17:32:15 +0000 (17:32 +0000)]
rebaseline.py: add --bugs and --unreviewed flags
BUG=skia:1569
R=borenet@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11058 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoHamfisted "fix" for pinterest blur crash
robertphillips@google.com [Tue, 3 Sep 2013 17:17:43 +0000 (17:17 +0000)]
Hamfisted "fix" for pinterest blur crash

https://codereview.chromium.org/23819014/

git-svn-id: http://skia.googlecode.com/svn/trunk@11057 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix bounds computation in GrAAHairlineRenderer
commit-bot@chromium.org [Tue, 3 Sep 2013 14:56:17 +0000 (14:56 +0000)]
Fix bounds computation in GrAAHairlineRenderer

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

Author: bsalomon@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11054 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoInitial creation of GM expectations for Android-IntelRhb-SGX544
epoger@google.com [Tue, 3 Sep 2013 13:55:33 +0000 (13:55 +0000)]
Initial creation of GM expectations for Android-IntelRhb-SGX544
BUG=skia:1581

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11053 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoUbuntu x86 Release image rebaselines
robertphillips@google.com [Tue, 3 Sep 2013 12:32:51 +0000 (12:32 +0000)]
Ubuntu x86 Release image rebaselines

git-svn-id: http://skia.googlecode.com/svn/trunk@11052 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoGalaxy Nexus image rebaselines
robertphillips@google.com [Tue, 3 Sep 2013 12:22:40 +0000 (12:22 +0000)]
Galaxy Nexus image rebaselines

git-svn-id: http://skia.googlecode.com/svn/trunk@11051 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoNexus7 Performace trigger baselines
robertphillips@google.com [Sun, 1 Sep 2013 11:23:31 +0000 (11:23 +0000)]
Nexus7 Performace trigger baselines

git-svn-id: http://skia.googlecode.com/svn/trunk@11050 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoSanitizing source files in Housekeeper-Nightly
skia.committer@gmail.com [Sat, 31 Aug 2013 07:01:28 +0000 (07:01 +0000)]
Sanitizing source files in Housekeeper-Nightly

git-svn-id: http://skia.googlecode.com/svn/trunk@11049 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agogm: add self-test to confirm that ignore-failure field is respected
epoger@google.com [Fri, 30 Aug 2013 20:19:25 +0000 (20:19 +0000)]
gm: add self-test to confirm that ignore-failure field is respected
BUG=skia:1578
R=scroggo@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11047 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoIsolate VertexBuilder from GrGLShaderBuilder
commit-bot@chromium.org [Fri, 30 Aug 2013 20:17:31 +0000 (20:17 +0000)]
Isolate VertexBuilder from GrGLShaderBuilder

Adds a nested class to GrGLShaderBuilder called VertexBuilder. Now
GrGLShaderBuilder can only modify the fragment shader directly. In
order to modify the vertex shader, the client code needs to call
getVertexShader, which will return null for vertex-less shaders.

R=bsalomon@google.com

Author: cdalton@nvidia.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11046 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoRename ShaderType enum to ShaderVisibility
commit-bot@chromium.org [Fri, 30 Aug 2013 19:43:59 +0000 (19:43 +0000)]
Rename ShaderType enum to ShaderVisibility

Renames ShaderType in GrGLShaderBuilder to ShaderVisibility. It is now
used solely as a bitfield. Methods that previously accepted a single
ShaderType value are split into separate calls:

 - getShader -> vsGetShader, gsGetShader, fsGetShader
 - emiitFunction -> fsEmitFunction
 - appendTextureLookup -> fsAppendTextureLookup

No change in functionality. This is a refactoring to allow us to
separate the vertex/geometry and fragment parts of GrGLShaderBuilder.

R=bsalomon@google.com

Author: cdalton@nvidia.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11044 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAdd bit to GrGLCaps for fixed function support
commit-bot@chromium.org [Fri, 30 Aug 2013 19:43:47 +0000 (19:43 +0000)]
Add bit to GrGLCaps for fixed function support

R=robertphillips@google.com

Author: bsalomon@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11043 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAdd missing .outs
sglez@google.com [Fri, 30 Aug 2013 18:54:54 +0000 (18:54 +0000)]
Add missing .outs

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11042 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix rtree bench
sglez@google.com [Fri, 30 Aug 2013 18:38:53 +0000 (18:38 +0000)]
Fix rtree bench

R=caryclark@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11041 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix invalid enum error when checking for core profile in GrGLInterface::validate()
bsalomon@google.com [Fri, 30 Aug 2013 18:25:21 +0000 (18:25 +0000)]
Fix invalid enum error when checking for core profile in GrGLInterface::validate()

R=robertphillips@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11040 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoNexus 4 image rebaselines for r11021
robertphillips@google.com [Fri, 30 Aug 2013 17:44:13 +0000 (17:44 +0000)]
Nexus 4 image rebaselines for r11021

git-svn-id: http://skia.googlecode.com/svn/trunk@11039 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix rtree tests build error
sglez@google.com [Fri, 30 Aug 2013 17:43:31 +0000 (17:43 +0000)]
Fix rtree tests build error

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11038 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoR-Tree -- Don't sort draw commands unless specified.
sglez@google.com [Fri, 30 Aug 2013 17:27:47 +0000 (17:27 +0000)]
R-Tree -- Don't sort draw commands unless specified.
We expect Webkit and Bink to give us draw commands in a reasonable x,y order.
We can maintain correctness and get a 17% recording speedup for the R-Tree by
not sorting in x and y when bulk-loading.

R=caryclark@google.com, reed@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11037 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoImage rebaselines for r11021
robertphillips@google.com [Fri, 30 Aug 2013 17:26:16 +0000 (17:26 +0000)]
Image rebaselines for r11021

git-svn-id: http://skia.googlecode.com/svn/trunk@11036 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix stroked oval and rrect rendering on Ubuntu-x86-Release.
commit-bot@chromium.org [Fri, 30 Aug 2013 16:34:52 +0000 (16:34 +0000)]
Fix stroked oval and rrect rendering on Ubuntu-x86-Release.

The Ubuntu-x86 compiler was optimizing out a case where I was
reseting the isStroked boolean based on the new inner radii.
This changes it to check the radii at the time the effect is
created, which tricks the compiler into doing the right thing.

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

Author: jvanverth@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11035 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAdd ShouldSkip variant that can read a --match flag directly.
commit-bot@chromium.org [Fri, 30 Aug 2013 15:52:46 +0000 (15:52 +0000)]
Add ShouldSkip variant that can read a --match flag directly.

Just seemed like we were going through lots of hoops for this common case.

BUG=
R=scroggo@google.com

Author: mtklein@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11034 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoModify GLSL version declaration to allow access to compat. features
commit-bot@chromium.org [Fri, 30 Aug 2013 15:52:36 +0000 (15:52 +0000)]
Modify GLSL version declaration to allow access to compat. features

R=robertphillips@google.com

Author: bsalomon@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11033 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAdd glTexGen funcs to interface
commit-bot@chromium.org [Fri, 30 Aug 2013 15:52:12 +0000 (15:52 +0000)]
Add glTexGen funcs to interface

R=robertphillips@google.com

Author: bsalomon@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11032 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoImage rebaselines for r11021
robertphillips@google.com [Fri, 30 Aug 2013 15:02:48 +0000 (15:02 +0000)]
Image rebaselines for r11021

git-svn-id: http://skia.googlecode.com/svn/trunk@11030 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoImage rebaselines for r11021
robertphillips@google.com [Fri, 30 Aug 2013 14:36:44 +0000 (14:36 +0000)]
Image rebaselines for r11021

git-svn-id: http://skia.googlecode.com/svn/trunk@11029 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoImage rebaselines for r11021
robertphillips@google.com [Fri, 30 Aug 2013 13:56:08 +0000 (13:56 +0000)]
Image rebaselines for r11021

git-svn-id: http://skia.googlecode.com/svn/trunk@11026 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoImage rebaselines for r11021
robertphillips@google.com [Fri, 30 Aug 2013 13:31:06 +0000 (13:31 +0000)]
Image rebaselines for r11021

git-svn-id: http://skia.googlecode.com/svn/trunk@11025 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoStop running bench_pictures with msaa4 on Galaxy Nexus
borenet@google.com [Fri, 30 Aug 2013 13:19:18 +0000 (13:19 +0000)]
Stop running bench_pictures with msaa4 on Galaxy Nexus

Hopefully this works around https://code.google.com/p/skia/issues/detail?id=1560

R=robertphillips@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11023 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoMove SkBitmapDevice functions to their own file
robertphillips@google.com [Fri, 30 Aug 2013 13:12:10 +0000 (13:12 +0000)]
Move SkBitmapDevice functions to their own file

https://codereview.chromium.org/23553006/

git-svn-id: http://skia.googlecode.com/svn/trunk@11022 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoRemove blur from text labels in tilemodes* GMs
robertphillips@google.com [Fri, 30 Aug 2013 12:41:42 +0000 (12:41 +0000)]
Remove blur from text labels in tilemodes* GMs

https://codereview.chromium.org/23617003/

git-svn-id: http://skia.googlecode.com/svn/trunk@11021 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoSanitizing source files in Housekeeper-Nightly
skia.committer@gmail.com [Fri, 30 Aug 2013 07:01:34 +0000 (07:01 +0000)]
Sanitizing source files in Housekeeper-Nightly

git-svn-id: http://skia.googlecode.com/svn/trunk@11017 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoReplace SkTScopedPtr with SkAutoTDelete in Skia.
commit-bot@chromium.org [Thu, 29 Aug 2013 22:14:04 +0000 (22:14 +0000)]
Replace SkTScopedPtr with SkAutoTDelete in Skia.

BUG=
R=djsollen@google.com, reed@google.com, vandebo@chromium.org

Author: mtklein@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11016 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agofix windows test error for CanvasStateTest.cpp
djsollen@google.com [Thu, 29 Aug 2013 20:36:22 +0000 (20:36 +0000)]
fix windows test error for CanvasStateTest.cpp

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11015 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years ago[PDF] Fix image references.
commit-bot@chromium.org [Thu, 29 Aug 2013 20:26:41 +0000 (20:26 +0000)]
[PDF] Fix image references.

Chrome doesn't seem to honor the reference to the pixel ref. A copy is necessary for unpremultiplication anyway, so pull that part in now.

BUG=chromium:279640
R=reed@google.com

Author: vandebo@chromium.org

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11014 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoCreate a semi-stable API for capturing the state of an SkCanvas and reconstructing...
djsollen@google.com [Thu, 29 Aug 2013 20:20:40 +0000 (20:20 +0000)]
Create a semi-stable API for capturing the state of an SkCanvas and reconstructing that state across different versions of Skia.

R=joth@chromium.org, mtklein@google.com, reed@google.com, scroggo@google.com

Committed: https://code.google.com/p/skia/source/detail?r=11010

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11013 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agodump out sizeof(void*) in header
reed@google.com [Thu, 29 Aug 2013 20:20:39 +0000 (20:20 +0000)]
dump out sizeof(void*) in header

BUG=
R=rmistry@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11012 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoRevert "Create a semi-stable API for capturing the state of an SkCanvas and reconstru...
djsollen@google.com [Thu, 29 Aug 2013 19:41:56 +0000 (19:41 +0000)]
Revert "Create a semi-stable API for capturing the state of an SkCanvas and reconstructing that state across different versions of Skia."

This reverts r11010.

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11011 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoCreate a semi-stable API for capturing the state of an SkCanvas and reconstructing...
djsollen@google.com [Thu, 29 Aug 2013 19:29:09 +0000 (19:29 +0000)]
Create a semi-stable API for capturing the state of an SkCanvas and reconstructing that state across different versions of Skia.

R=joth@chromium.org, mtklein@google.com, reed@google.com, scroggo@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11010 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoGalaxy Nexus image rebaselines for r10936 (Blur refactoring)
robertphillips@google.com [Thu, 29 Aug 2013 18:20:53 +0000 (18:20 +0000)]
Galaxy Nexus image rebaselines for r10936 (Blur refactoring)

git-svn-id: http://skia.googlecode.com/svn/trunk@11009 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agorebaseline.py self-test: validate that unknown fields are maintained
epoger@google.com [Thu, 29 Aug 2013 18:04:20 +0000 (18:04 +0000)]
rebaseline.py self-test: validate that unknown fields are maintained
BUG=skia:1569
R=bsalomon@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11008 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoMoving out of order call to TexParameteri in GrGpuGL::onCreateTexture
junov@chromium.org [Thu, 29 Aug 2013 16:22:09 +0000 (16:22 +0000)]
Moving out of order call to TexParameteri in GrGpuGL::onCreateTexture

BUG=crbug.com/278940
R=robertphillips@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11007 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoRevert determinant-based ScaleTranslate inverse.
commit-bot@chromium.org [Thu, 29 Aug 2013 15:34:50 +0000 (15:34 +0000)]
Revert determinant-based ScaleTranslate inverse.
The current code fails the unit tests on Ubuntu32 Release.
This will pass the tests, and also removes sk_bzero().

R=reed@google.com, robertphillips@google.com, shawnsingh@chromium.org

Author: jvanverth@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11006 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoGet debugger compiling in NoGPU config
robertphillips@google.com [Thu, 29 Aug 2013 13:22:28 +0000 (13:22 +0000)]
Get debugger compiling in NoGPU config

git-svn-id: http://skia.googlecode.com/svn/trunk@11001 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoYet another patch for 10995
robertphillips@google.com [Thu, 29 Aug 2013 12:53:23 +0000 (12:53 +0000)]
Yet another patch for 10995

git-svn-id: http://skia.googlecode.com/svn/trunk@10998 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoPatch for 10995
robertphillips@google.com [Thu, 29 Aug 2013 12:40:26 +0000 (12:40 +0000)]
Patch for 10995

git-svn-id: http://skia.googlecode.com/svn/trunk@10997 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoPatch for r10995
robertphillips@google.com [Thu, 29 Aug 2013 12:10:20 +0000 (12:10 +0000)]
Patch for r10995

git-svn-id: http://skia.googlecode.com/svn/trunk@10996 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoSplit SkDevice into SkBaseDevice and SkBitmapDevice
robertphillips@google.com [Thu, 29 Aug 2013 11:54:56 +0000 (11:54 +0000)]
Split SkDevice into SkBaseDevice and SkBitmapDevice

https://codereview.chromium.org/22978012/

git-svn-id: http://skia.googlecode.com/svn/trunk@10995 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoReland 'Update expectations for skimage.'
scroggo@google.com [Thu, 29 Aug 2013 10:24:44 +0000 (10:24 +0000)]
Reland 'Update expectations for skimage.'

Now that expectations have moved to use the builder_name rather than
the gm_subdir (see https://code.google.com/p/skia/source/detail?r=10923),
check in a new set which uses the proper name.

Committed: https://code.google.com/p/skia/source/detail?r=10969

Reverted in https://code.google.com/p/skia/source/detail?r=10970
due to failures on builders without an attached device. Can
resubmit once https://codereview.chromium.org/23495007/ is
submitted.

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

git-svn-id: http://skia.googlecode.com/svn/trunk@10993 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoSanitizing source files in Housekeeper-Nightly
skia.committer@gmail.com [Thu, 29 Aug 2013 07:01:20 +0000 (07:01 +0000)]
Sanitizing source files in Housekeeper-Nightly

git-svn-id: http://skia.googlecode.com/svn/trunk@10992 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoexport SkFontMgr_New_... experimental functions for testing in chrome
reed@google.com [Wed, 28 Aug 2013 20:31:58 +0000 (20:31 +0000)]
export SkFontMgr_New_... experimental functions for testing in chrome

BUG=
R=eae@chromium.org

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

git-svn-id: http://skia.googlecode.com/svn/trunk@10991 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoDon't require getLength on Mac.
scroggo@google.com [Wed, 28 Aug 2013 19:13:13 +0000 (19:13 +0000)]
Don't require getLength on Mac.

For consistency with our other image decoders, do not depend on getLength
in Mac specific decoder.

BUG=skia:1570
R=djsollen@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@10990 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoRemove temporary workaround TODOs from tools/tests/run.sh
epoger@google.com [Wed, 28 Aug 2013 19:04:05 +0000 (19:04 +0000)]
Remove temporary workaround TODOs from tools/tests/run.sh

R=rmistry@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@10989 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoRemove sk_bzero usage from SkMatrix44 for improved performance.
shawnsingh@chromium.org [Wed, 28 Aug 2013 18:55:25 +0000 (18:55 +0000)]
Remove sk_bzero usage from SkMatrix44 for improved performance.

sk_bzero is not efficient for initializing small chunks of memory. Instead,
directly initializing matrix values when needed results in substantial
performance improvements.

BUG=skia:1558
R=reed@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@10988 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoDelete empty subdirs under tools/tests/rebaseline
epoger@google.com [Wed, 28 Aug 2013 18:47:49 +0000 (18:47 +0000)]
Delete empty subdirs under tools/tests/rebaseline

git-svn-id: http://skia.googlecode.com/svn/trunk@10987 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoTest decoders when hasLength returns false.
scroggo@google.com [Wed, 28 Aug 2013 18:33:31 +0000 (18:33 +0000)]
Test decoders when hasLength returns false.

Compare the result of a decode of a stream without a length to the
result of the same stream with a length. Ensures that our decoders
work regardless of whether hasLength returns true (since the decode
potentially follows two paths).

R=epoger@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@10984 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agobbh_shootout: Move bitmap rendering out of the timing codepath.
commit-bot@chromium.org [Wed, 28 Aug 2013 16:02:47 +0000 (16:02 +0000)]
bbh_shootout: Move bitmap rendering out of the timing codepath.

R=reed@google.com

Author: sglez@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@10983 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix case where GrGLEffectMatrix gives back a dangling ptr for the coords var name.
commit-bot@chromium.org [Wed, 28 Aug 2013 15:59:13 +0000 (15:59 +0000)]
Fix case where GrGLEffectMatrix gives back a dangling ptr for the coords var name.

R=robertphillips@google.com

Author: bsalomon@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@10982 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agofix state machine so we know simple only loops once, but we can call maprect in debug...
reed@google.com [Wed, 28 Aug 2013 15:23:19 +0000 (15:23 +0000)]
fix state machine so we know simple only loops once, but we can call maprect in debug mode

Revert "Revert of r10943."

This reverts commit 9e83074cce521d3cc3b8b3a9b819a612a07d800a.

BUG=
R=tomhudson@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@10981 2bbb7eff-a529-9590-31e7-b0007b416f81