platform/upstream/libSkiaSharp.git
11 years agoWhitespace change to test emailing on the master.
rmistry@google.com [Mon, 9 Sep 2013 11:30:19 +0000 (11:30 +0000)]
Whitespace change to test emailing on the master.

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

11 years agoReturn canonical logfont size to 64.
bungeman@google.com [Sun, 8 Sep 2013 19:36:58 +0000 (19:36 +0000)]
Return canonical logfont size to 64.

This is to fix crbug/277301. With skia:r9057 the canonical logfont size
was set to 2048 in an attempt to get better font metrics. The font size
is now being handled in a cleaner way, so this motivation no longer
exists. However, when the logfont size is large GDI will substitute a
vector font for a bitmap font. This results in incorrect results for
bitmap fonts as they are no longer properly detected by the typeface.

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

11 years agoRebaselines for r11137.
jvanverth@google.com [Sat, 7 Sep 2013 16:18:33 +0000 (16:18 +0000)]
Rebaselines for r11137.

https://codereview.chromium.org/23785005/

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

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

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

11 years agoReplace uses of GR_DEBUGCODE by SkDEBUGCODE.
commit-bot@chromium.org [Fri, 6 Sep 2013 23:13:05 +0000 (23:13 +0000)]
Replace uses of GR_DEBUGCODE by SkDEBUGCODE.

BUG=None
TEST=none, no functional changes.
R=bsalomon@google.com, robertphillips@google.com

Author: tfarina@chromium.org

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

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

11 years agoRemove dead code from libwebp image decoder
commit-bot@chromium.org [Fri, 6 Sep 2013 21:46:30 +0000 (21:46 +0000)]
Remove dead code from libwebp image decoder

R=scroggo@google.com, markkilgard@gmail.com

Author: bsalomon@google.com

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

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

11 years agoAdd a requiresVertexShader method to GrGLEffect
commit-bot@chromium.org [Fri, 6 Sep 2013 20:19:56 +0000 (20:19 +0000)]
Add a requiresVertexShader method to GrGLEffect

Adds requiresVertexShader to GrGLEffect and updates the necessary
effects to override it and return true. Also reworks GrGLProgram
and GrGLShaderBuilder so the program creates all the GL effects
at the beginning, and determines if it needs a vertex shader before
creating the shader builder.

R=bsalomon@google.com

Author: cdalton@nvidia.com

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

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

11 years agoRemove coverage msaa func from android grglinterface setup
bsalomon@google.com [Fri, 6 Sep 2013 20:08:50 +0000 (20:08 +0000)]
Remove coverage msaa func from android grglinterface setup

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

11 years agoRip out CSAA support
commit-bot@chromium.org [Fri, 6 Sep 2013 20:00:41 +0000 (20:00 +0000)]
Rip out CSAA support

R=robertphillips@google.com

Author: bsalomon@google.com

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

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

11 years agoFix for aliasing in device-independent ovals on Nexus 10.
commit-bot@chromium.org [Fri, 6 Sep 2013 19:46:48 +0000 (19:46 +0000)]
Fix for aliasing in device-independent ovals on Nexus 10.

Switch to using two attributes so that dFdx and dFdy generate valid results.

R=robertphillips@google.com

Author: jvanverth@google.com

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

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

11 years agoSwitch out random number generator for tests, benches, samples.
commit-bot@chromium.org [Fri, 6 Sep 2013 19:05:11 +0000 (19:05 +0000)]
Switch out random number generator for tests, benches, samples.

This change makes tests, benches and samples use the new SkMWCRandom PRNG. GMs will be saved for another time, as they'll require rebaselining.

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

Author: jvanverth@google.com

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

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

11 years agoFallback to GLES context when GL context setup fails at any stage.
commit-bot@chromium.org [Fri, 6 Sep 2013 18:57:14 +0000 (18:57 +0000)]
Fallback to GLES context when GL context setup fails at any stage.

R=robertphillips@google.com

Author: bsalomon@google.com

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

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

11 years agoUpdate the freetype backed fonthost to keep the style and fixed width attributes...
djsollen@google.com [Fri, 6 Sep 2013 18:00:04 +0000 (18:00 +0000)]
Update the freetype backed fonthost to keep the style and fixed width attributes for a font stream.

This fixes a regression in Android when switching from FontHost_android

R=reed@google.com

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

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

11 years agorebaseline.py: add bug-filing URL to error message
epoger@google.com [Fri, 6 Sep 2013 17:26:09 +0000 (17:26 +0000)]
rebaseline.py: add bug-filing URL to error message

R=bsalomon@google.com

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

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

11 years agoMove oval and rect renderer includes to private interface
jvanverth@google.com [Fri, 6 Sep 2013 16:57:29 +0000 (16:57 +0000)]
Move oval and rect renderer includes to private interface

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

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

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

11 years agoalpha threshold bitmap shader
commit-bot@chromium.org [Fri, 6 Sep 2013 15:31:06 +0000 (15:31 +0000)]
alpha threshold bitmap shader

Committed: http://code.google.com/p/skia/source/detail?r=11122

R=reed@google.com

Author: bsalomon@google.com

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

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

11 years agoUpdate to allow packed depth-stencil on ES3
commit-bot@chromium.org [Fri, 6 Sep 2013 15:28:01 +0000 (15:28 +0000)]
Update to allow packed depth-stencil on ES3

R=robertphillips@google.com

Author: bsalomon@google.com

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

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

11 years agoPush sigma-based blur interface into our GMs/benches/tests/samplecode
robertphillips@google.com [Fri, 6 Sep 2013 14:16:12 +0000 (14:16 +0000)]
Push sigma-based blur interface into our GMs/benches/tests/samplecode

https://codereview.chromium.org/23701006/

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

11 years agofix regression in fallback chain where we don't account for the original font style.
djsollen@google.com [Fri, 6 Sep 2013 12:59:50 +0000 (12:59 +0000)]
fix regression in fallback chain where we don't account for the original font style.

This CL also enforces that the language and variant are the same for all fonts
within a given fallback family.

R=reed@google.com

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

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

11 years agomove platformConvolutionProcs() call to right before we need it
reed@google.com [Fri, 6 Sep 2013 12:57:45 +0000 (12:57 +0000)]
move platformConvolutionProcs() call to right before we need it

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

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

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

11 years agoThird set of rebaselines for r11115.
jvanverth@google.com [Fri, 6 Sep 2013 03:34:03 +0000 (03:34 +0000)]
Third set of rebaselines for r11115.

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

11 years agoAdd support for ES3 MSAA.
commit-bot@chromium.org [Thu, 5 Sep 2013 23:44:09 +0000 (23:44 +0000)]
Add support for ES3 MSAA.

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

Author: bsalomon@google.com

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

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

11 years agoRevert "alpha threshold bitmap shader"
bsalomon@google.com [Thu, 5 Sep 2013 22:48:05 +0000 (22:48 +0000)]
Revert "alpha threshold bitmap shader"

This reverts commit r11122.

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

11 years agoalpha threshold bitmap shader
commit-bot@chromium.org [Thu, 5 Sep 2013 21:54:04 +0000 (21:54 +0000)]
alpha threshold bitmap shader

R=reed@google.com

Author: bsalomon@google.com

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

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

11 years agoSecond set of rebaselines for r11115.
jvanverth@google.com [Thu, 5 Sep 2013 20:57:02 +0000 (20:57 +0000)]
Second set of rebaselines for r11115.

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

11 years agoadd SkConvolutionProcs* to the none platformConvolutionProcs() signature
reed@google.com [Thu, 5 Sep 2013 20:51:43 +0000 (20:51 +0000)]
add SkConvolutionProcs* to the none platformConvolutionProcs() signature

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

11 years agoFirst set of rebaselines for r11115.
jvanverth@google.com [Thu, 5 Sep 2013 20:47:15 +0000 (20:47 +0000)]
First set of rebaselines for r11115.

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

11 years agoremove fConvolutionProcs from State, and just use it locally
reed@google.com [Thu, 5 Sep 2013 20:31:17 +0000 (20:31 +0000)]
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

11 years agopdfviewer: (part 1) store the offset of the location of object in file/stream. In...
edisonn@google.com [Thu, 5 Sep 2013 20:00:21 +0000 (20:00 +0000)]
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

11 years ago[PDF] Rewind the font stream if font subsetting fails.
vandebo@chromium.org [Thu, 5 Sep 2013 19:44:44 +0000 (19:44 +0000)]
[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

11 years agoAdd device-independent rendering of ovals, take two.
commit-bot@chromium.org [Thu, 5 Sep 2013 19:26:51 +0000 (19:26 +0000)]
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

11 years agosimplify making translate only invmatrix
reed@google.com [Thu, 5 Sep 2013 19:09:57 +0000 (19:09 +0000)]
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

11 years agoTweak to r11099 for N4 & Ubuntu13
robertphillips@google.com [Thu, 5 Sep 2013 18:55:42 +0000 (18:55 +0000)]
Tweak to r11099 for N4 & Ubuntu13

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

11 years agoAdd getGLMatrix method to MatrixState
commit-bot@chromium.org [Thu, 5 Sep 2013 18:28:42 +0000 (18:28 +0000)]
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

11 years agoAdd a GrGpuGL reference for GrGLProgram/GrGLUniformManager
commit-bot@chromium.org [Thu, 5 Sep 2013 18:28:24 +0000 (18:28 +0000)]
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

11 years agoAdded a missing filter in SkFlattenable::InitializeFlattenables().
commit-bot@chromium.org [Thu, 5 Sep 2013 18:28:08 +0000 (18:28 +0000)]
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

11 years agoARM Skia NEON patches - 18 - Preparation work for BitmapProcState
commit-bot@chromium.org [Thu, 5 Sep 2013 18:27:57 +0000 (18:27 +0000)]
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

11 years agoWin7 Performance trigger rebaseline
robertphillips@google.com [Thu, 5 Sep 2013 17:56:42 +0000 (17:56 +0000)]
Win7 Performance trigger rebaseline

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

11 years agoWarning/error fix for r11099 on Mac 10.6
robertphillips@google.com [Thu, 5 Sep 2013 17:53:34 +0000 (17:53 +0000)]
Warning/error fix for r11099 on Mac 10.6

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

11 years agoIgnore failures in fontmgr_iter angle/gpu GM tests on Windows
epoger@google.com [Thu, 5 Sep 2013 17:48:33 +0000 (17:48 +0000)]
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

11 years agoIgnore failures in gradtext_pdf-mac GM tests
epoger@google.com [Thu, 5 Sep 2013 17:29:08 +0000 (17:29 +0000)]
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

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