Commit Graph

8917 Commits

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

R=bsalomon@google.com

Author: cdalton@nvidia.com

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

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

R=bsalomon@google.com

Author: cdalton@nvidia.com

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

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

Author: sugoi@chromium.org

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

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

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

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

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

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

BUG=
R=djsollen@google.com

Author: kevin.petit.arm@gmail.com

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

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

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

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

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

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

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

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

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

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



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

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

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

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

R=robertphillips@google.com

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

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

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

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

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

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

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

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

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

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