platform/upstream/libSkiaSharp.git
11 years agovarious bug fixes.
djsollen@google.com [Wed, 11 Sep 2013 16:56:20 +0000 (16:56 +0000)]
various bug fixes.

1. update mac support for md5
2. update default build to be thumb

(SkipBuildbotRuns)

R=mtklein@google.com

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

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

11 years agoIgnore the .git directory in sanitize_source_files, remove .git directory...
borenet@google.com [Wed, 11 Sep 2013 13:01:27 +0000 (13:01 +0000)]
Ignore the .git directory in sanitize_source_files, remove .git directory...

R=rmistry@google.com

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

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

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

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

11 years agoAdd explicit double -> SkScalar conversion to fix werror on Windows.
mtklein@google.com [Tue, 10 Sep 2013 19:51:10 +0000 (19:51 +0000)]
Add explicit double -> SkScalar conversion to fix werror on Windows.

BUG=

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

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

11 years agore-enable GrIODB
bsalomon@google.com [Tue, 10 Sep 2013 19:47:01 +0000 (19:47 +0000)]
re-enable GrIODB

R=robertphillips@google.com
BUG=

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

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

11 years agoAdd missing dependency to unbreak NOGPU build.
mtklein@google.com [Tue, 10 Sep 2013 19:42:07 +0000 (19:42 +0000)]
Add missing dependency to unbreak NOGPU build.

BUG=

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

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

11 years agoMajor bench refactoring.
mtklein@google.com [Tue, 10 Sep 2013 19:23:38 +0000 (19:23 +0000)]
Major bench refactoring.
   - Use FLAGS_.
   - Remove outer repeat loop.
   - Tune inner loop automatically.

BUG=skia:1590
R=epoger@google.com, scroggo@google.com

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

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

11 years agocheck for --resourcePath in addition to -i to match the --help string
reed@google.com [Tue, 10 Sep 2013 19:12:07 +0000 (19:12 +0000)]
check for --resourcePath in addition to -i to match the --help string

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

11 years agoRebaseline fontscaler image for Mac 10.8
robertphillips@google.com [Tue, 10 Sep 2013 18:55:27 +0000 (18:55 +0000)]
Rebaseline fontscaler image for Mac 10.8

https://codereview.chromium.org/23536042/

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

11 years agoFix for ovals failing on Xoom.
jvanverth@google.com [Tue, 10 Sep 2013 18:24:37 +0000 (18:24 +0000)]
Fix for ovals failing on Xoom.

The fallback path for ellipses when we don't have GLSL derivative
instructions was only setting one attribute in the effect stage, but
we use two attributes.

R=robertphillips@google.com

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

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

11 years agoFix uninitialized string bug
robertphillips@google.com [Tue, 10 Sep 2013 17:37:03 +0000 (17:37 +0000)]
Fix uninitialized string bug

https://codereview.chromium.org/23499013/

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

11 years agoFix bench logging for --repeat 1
borenet@google.com [Tue, 10 Sep 2013 17:22:43 +0000 (17:22 +0000)]
Fix bench logging for --repeat 1

Addressing https://code.google.com/p/skia/issues/detail?id=1607

R=scroggo@google.com

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

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

11 years agorevert experimental r11177
epoger@google.com [Tue, 10 Sep 2013 08:49:29 +0000 (08:49 +0000)]
revert experimental r11177

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

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

11 years agoexperiment: remove 340 of the 664 GM expectations for this platform
epoger@google.com [Tue, 10 Sep 2013 07:55:51 +0000 (07:55 +0000)]
experiment: remove 340 of the 664 GM expectations for this platform
BUG=skia:1566

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

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

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

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

11 years agostragglers rebaseline. (flakes?)
bsalomon@google.com [Mon, 9 Sep 2013 23:59:06 +0000 (23:59 +0000)]
stragglers rebaseline. (flakes?)

R=epoger@google.com
BUG=

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

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

11 years agorebaseline cpu configs of scaled_tiledmodes_npot DW bot
bsalomon@google.com [Mon, 9 Sep 2013 23:48:46 +0000 (23:48 +0000)]
rebaseline cpu configs of scaled_tiledmodes_npot DW bot

R=epoger@google.com, humper@google.com

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

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

11 years agoEven more bulk rebaselining
bsalomon@google.com [Mon, 9 Sep 2013 23:42:27 +0000 (23:42 +0000)]
Even more bulk rebaselining

R=epoger@google.com
BUG=

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

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

11 years agoMore bulk rebaselining. I reviewed all the images, mostly from CLs.
bsalomon@google.com [Mon, 9 Sep 2013 20:36:21 +0000 (20:36 +0000)]
More bulk rebaselining. I reviewed all the images, mostly from CLs.

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

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

11 years agoChange old PRG to be SkLCGRandom; change new one to SkRandom
commit-bot@chromium.org [Mon, 9 Sep 2013 20:09:12 +0000 (20:09 +0000)]
Change old PRG to be SkLCGRandom; change new one to SkRandom

The goal here is to get people to start using the new random number
generator, while leaving the old one in place so we don't have to
rebaseline GMs.

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

Author: jvanverth@google.com

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

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

11 years agorebaseline hodge podge
bsalomon@google.com [Mon, 9 Sep 2013 19:45:23 +0000 (19:45 +0000)]
rebaseline hodge podge

Ran rebaseline.py with no args. Reverted one PDF change that I didn't understand:
Test-Mac10.6-MacMini4.1-GeForce320M-x86-Release__tilemode_gradient_pdf-mac.png

All remaining changes looked equally correct before and after.

Looks like some line snapping flakes in the mix, just rebaseling for now since there is a lot in here to sort through.

R=epoger@google.com

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

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

11 years agoThird round of GPU gradients
bsalomon@google.com [Mon, 9 Sep 2013 19:05:13 +0000 (19:05 +0000)]
Third round of GPU gradients

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

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

11 years agoMore fontscaler rebaselines after test change
bsalomon@google.com [Mon, 9 Sep 2013 18:30:00 +0000 (18:30 +0000)]
More fontscaler rebaselines after test change

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

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

11 years agoSecond round of GPU gradient rebaselines
bsalomon@google.com [Mon, 9 Sep 2013 18:18:45 +0000 (18:18 +0000)]
Second round of GPU gradient rebaselines

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

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

11 years agoCommitting unreviewed GM expectations generated by r11087: scaled_tilemode_*, scaled_...
epoger@google.com [Mon, 9 Sep 2013 18:13:41 +0000 (18:13 +0000)]
Committing unreviewed GM expectations generated by r11087: scaled_tilemode_*, scaled_tilemodes_*
BUG=skia:1603
TBR=humper

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

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

11 years agosome fontscaler rebaselines
bsalomon@google.com [Mon, 9 Sep 2013 17:45:30 +0000 (17:45 +0000)]
some fontscaler rebaselines

R=epoger@google.com

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

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

11 years agoFirst round of GPU gradient rebaseline
bsalomon@google.com [Mon, 9 Sep 2013 16:26:48 +0000 (16:26 +0000)]
First round of GPU gradient rebaseline

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

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

11 years agoReduce number of glyphs drawn by fontscaler GM to avoid N4 MSAA4 crash
bsalomon@google.com [Mon, 9 Sep 2013 16:19:40 +0000 (16:19 +0000)]
Reduce number of glyphs drawn by fontscaler GM to avoid N4 MSAA4 crash

R=reed@google.com

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

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

11 years agoTwo and three color GPU gradients without textures.
bsalomon@google.com [Mon, 9 Sep 2013 15:36:26 +0000 (15:36 +0000)]
Two and three color GPU gradients without textures.

R=bsalomon@google.com

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

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

11 years agoFix for r11156
borenet@google.com [Mon, 9 Sep 2013 15:24:40 +0000 (15:24 +0000)]
Fix for r11156

Unreviewed.

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

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

11 years agoAdd viewport CPU and GPU bench_pictures configs
borenet@google.com [Mon, 9 Sep 2013 15:13:25 +0000 (15:13 +0000)]
Add viewport CPU and GPU bench_pictures configs

R=bsalomon@google.com

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

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

11 years agoImprove handling of FF vertex array state
commit-bot@chromium.org [Mon, 9 Sep 2013 14:55:37 +0000 (14:55 +0000)]
Improve handling of FF vertex array state

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

Author: bsalomon@google.com

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

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

11 years agoremove SK_IGNORE_IMAGE_PRESCALE flag (no longer used)
reed@google.com [Mon, 9 Sep 2013 14:20:55 +0000 (14:20 +0000)]
remove SK_IGNORE_IMAGE_PRESCALE flag (no longer used)

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

11 years agomove decision to smash invmatrix into unit-space (for faster repeat/mirror to after...
reed@google.com [Mon, 9 Sep 2013 13:42:39 +0000 (13:42 +0000)]
move decision to smash invmatrix into unit-space (for faster repeat/mirror to after the call to possiblyScaleImage(), so we don't confuse that code with a munged matrix. Fixes the scaled_tilemodes gm for HQ

BUG=
R=humper@google.com

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

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

11 years agoRemove GrRefCnt.h in favor of SkRefCnt.h
commit-bot@chromium.org [Mon, 9 Sep 2013 13:38:37 +0000 (13:38 +0000)]
Remove GrRefCnt.h in favor of SkRefCnt.h

This removes GrRefCnt.h with all its tyepdefs and #defines and just switch them
to the Sk* equivalents.

GrSafeSetNull was promoted to SkSafeSetNull in SkRefCnt.h.

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

Author: tfarina@chromium.org

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

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

11 years agoWhitespace change to trigger rebuilds now that all (hopefully) slaves have been resynced.
rmistry@google.com [Mon, 9 Sep 2013 12:34:40 +0000 (12:34 +0000)]
Whitespace change to trigger rebuilds now that all (hopefully) slaves have been resynced.

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

11 years agoWhitespace change to trigger rebuilds.
rmistry@google.com [Mon, 9 Sep 2013 11:40:49 +0000 (11:40 +0000)]
Whitespace change to trigger rebuilds.

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

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