Commit Graph

8843 Commits

Author SHA1 Message Date
bsalomon@google.com
50b2e33dc6 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
2013-09-09 19:45:23 +00:00
bsalomon@google.com
4442895241 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
2013-09-09 19:05:13 +00:00
bsalomon@google.com
47c6b7ffd4 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
2013-09-09 18:30:00 +00:00
bsalomon@google.com
fc502a7da1 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
2013-09-09 18:18:45 +00:00
epoger@google.com
eb70ef12a8 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
2013-09-09 18:13:41 +00:00
bsalomon@google.com
74fe0c0d53 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
2013-09-09 17:45:30 +00:00
bsalomon@google.com
f27f83b63c 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
2013-09-09 16:26:48 +00:00
bsalomon@google.com
4121f9574a 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
2013-09-09 16:19:40 +00:00
bsalomon@google.com
82d1223aec 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
2013-09-09 15:36:26 +00:00
borenet@google.com
a5ed2ae409 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
2013-09-09 15:24:40 +00:00
borenet@google.com
aa84ac3117 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
2013-09-09 15:13:25 +00:00
commit-bot@chromium.org
ce6da4d96a 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
2013-09-09 14:55:37 +00:00
reed@google.com
beba935f65 remove SK_IGNORE_IMAGE_PRESCALE flag (no longer used)
git-svn-id: http://skia.googlecode.com/svn/trunk@11153 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-09 14:20:55 +00:00
reed@google.com
ef0e3190d3 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
2013-09-09 13:42:39 +00:00
commit-bot@chromium.org
a4de8c257e 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
2013-09-09 13:38:37 +00:00
rmistry@google.com
18c7617a30 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
2013-09-09 12:34:40 +00:00
rmistry@google.com
5be1f7bada Whitespace change to trigger rebuilds.
git-svn-id: http://skia.googlecode.com/svn/trunk@11149 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-09 11:40:49 +00:00
rmistry@google.com
2482ae2a6a Whitespace change to test emailing on the master.
git-svn-id: http://skia.googlecode.com/svn/trunk@11147 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-09 11:30:19 +00:00
bungeman@google.com
53cbb0baac 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
2013-09-08 19:36:58 +00:00
jvanverth@google.com
14bb80841b Rebaselines for r11137.
https://codereview.chromium.org/23785005/


git-svn-id: http://skia.googlecode.com/svn/trunk@11144 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-07 16:18:33 +00:00
skia.committer@gmail.com
b3ec29d2d8 Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@11143 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-07 07:01:16 +00:00
commit-bot@chromium.org
1acc3d7cc2 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
2013-09-06 23:13:05 +00:00
commit-bot@chromium.org
b57a30d8f5 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
2013-09-06 21:46:30 +00:00
commit-bot@chromium.org
a91f031653 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
2013-09-06 20:19:56 +00:00
bsalomon@google.com
e65d76f0fc Remove coverage msaa func from android grglinterface setup
git-svn-id: http://skia.googlecode.com/svn/trunk@11139 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-06 20:08:50 +00:00
commit-bot@chromium.org
040fd8f567 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
2013-09-06 20:00:41 +00:00
commit-bot@chromium.org
96a7a9623f 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
2013-09-06 19:46:48 +00:00
commit-bot@chromium.org
6485b0be74 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
2013-09-06 19:05:11 +00:00
commit-bot@chromium.org
1e627276c5 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
2013-09-06 18:57:14 +00:00
djsollen@google.com
6d2fef9834 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
2013-09-06 18:00:04 +00:00
epoger@google.com
80f9cf18cc 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
2013-09-06 17:26:09 +00:00
jvanverth@google.com
bfe2b9d3a2 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
2013-09-06 16:57:29 +00:00
commit-bot@chromium.org
91a798f121 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
2013-09-06 15:31:06 +00:00
commit-bot@chromium.org
04c500fd75 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
2013-09-06 15:28:01 +00:00
robertphillips@google.com
b7061176c7 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
2013-09-06 14:16:12 +00:00
djsollen@google.com
b27eba7c28 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
2013-09-06 12:59:50 +00:00
reed@google.com
e15d9ecef8 move platformConvolutionProcs() call to right before we need it
git-svn-id: http://skia.googlecode.com/svn/trunk@11127 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-06 12:57:45 +00:00
skia.committer@gmail.com
6fc1b49989 Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@11126 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-06 07:01:45 +00:00
jvanverth@google.com
d459487667 Third set of rebaselines for r11115.
git-svn-id: http://skia.googlecode.com/svn/trunk@11125 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-06 03:34:03 +00:00
commit-bot@chromium.org
a8e5a06f69 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
2013-09-05 23:44:09 +00:00
bsalomon@google.com
67db510c9c Revert "alpha threshold bitmap shader"
This reverts commit r11122.

git-svn-id: http://skia.googlecode.com/svn/trunk@11123 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 22:48:05 +00:00
commit-bot@chromium.org
4ec4cf93b7 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
2013-09-05 21:54:04 +00:00
jvanverth@google.com
818f73e9cf Second set of rebaselines for r11115.
git-svn-id: http://skia.googlecode.com/svn/trunk@11121 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 20:57:02 +00:00
reed@google.com
48e926044c add SkConvolutionProcs* to the none platformConvolutionProcs() signature
git-svn-id: http://skia.googlecode.com/svn/trunk@11120 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 20:51:43 +00:00
jvanverth@google.com
2bb0f90b1a First set of rebaselines for r11115.
git-svn-id: http://skia.googlecode.com/svn/trunk@11119 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 20:47:15 +00:00
reed@google.com
fed04b3431 remove fConvolutionProcs from State, and just use it locally
BUG=
R=humper@google.com

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

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

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

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

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

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

Author: jvanverth@google.com

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

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

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

git-svn-id: http://skia.googlecode.com/svn/trunk@11114 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-05 19:09:57 +00:00