bsalomon@google.com [Fri, 17 May 2013 18:01:38 +0000 (18:01 +0000)]
Revert "Revert "Revert "Pass bounds into draw calls in path renderers."""
git-svn-id: http://skia.googlecode.com/svn/trunk@9181
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 17 May 2013 14:10:59 +0000 (14:10 +0000)]
Make rebaseline.py pull msaa images
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/
15299005
git-svn-id: http://skia.googlecode.com/svn/trunk@9179
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 17 May 2013 13:31:57 +0000 (13:31 +0000)]
fix uninitialized adcd
git-svn-id: http://skia.googlecode.com/svn/trunk@9177
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 17 May 2013 13:31:40 +0000 (13:31 +0000)]
Revert "Revert "Pass bounds into draw calls in path renderers.""
This reverts commit
2b80eb179df14c7c8d67b8ef2b2ee60efc504f65.
git-svn-id: http://skia.googlecode.com/svn/trunk@9176
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 17 May 2013 12:50:27 +0000 (12:50 +0000)]
Add special handling of rectori case for gpu
https://codereview.chromium.org/
15080010/
git-svn-id: http://skia.googlecode.com/svn/trunk@9175
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Fri, 17 May 2013 07:01:11 +0000 (07:01 +0000)]
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@9174
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 16 May 2013 20:54:05 +0000 (20:54 +0000)]
Revert "Pass bounds into draw calls in path renderers."
This reverts commit
9e6c4259d8453b893b4abc28beba8f77226d18d1.
git-svn-id: http://skia.googlecode.com/svn/trunk@9173
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 16 May 2013 19:58:46 +0000 (19:58 +0000)]
Pass bounds into draw calls in path renderers.
R=jvanverth@google.com, robertphillips@google.com
Review URL: https://codereview.chromium.org/
14882011
git-svn-id: http://skia.googlecode.com/svn/trunk@9171
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Thu, 16 May 2013 19:35:39 +0000 (19:35 +0000)]
Band-aid for subsetted bitmaps in SKPs.
Partial fix for https://code.google.com/p/skia/issues/detail?id=1301.
Instead of firing an assert when the recorded width and height do
not match the encoded data's width and height, take a subset of
the bitmap of the correct size.
The bitmap may be drawn incorrectly, since it will not necessarily
be the correct subset (though it will be the correct size). The
complete fix will be to record the offset to the stream. Holding off
on that since it will change the PICTURE_VERSION. There is still
more work to do on read/writeBitmap, and I would like to change
PICTURE_VERSION as few times as possible.
BUG=https://code.google.com/p/skia/issues/detail?id=1301
R=djsollen@google.com
Review URL: https://codereview.chromium.org/
15159004
git-svn-id: http://skia.googlecode.com/svn/trunk@9169
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Thu, 16 May 2013 18:38:43 +0000 (18:38 +0000)]
Make the use of fallback fonts in Android a runtime decision.
R=reed@google.com
Review URL: https://codereview.chromium.org/
14972022
git-svn-id: http://skia.googlecode.com/svn/trunk@9168
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Thu, 16 May 2013 18:12:34 +0000 (18:12 +0000)]
Fix android_run_skia to work with multiple attached devices
(SkipBuildbotRuns)
R=djsollen@google.com
Review URL: https://codereview.chromium.org/
15199005
git-svn-id: http://skia.googlecode.com/svn/trunk@9167
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Thu, 16 May 2013 14:53:28 +0000 (14:53 +0000)]
Remove the fno-rtti excluders now that fno-rtti is only passed to c++ files.
R=djsollen@google.com
Author: bungeman@google.com
Review URL: https://chromiumcodereview.appspot.com/
15210003
git-svn-id: http://skia.googlecode.com/svn/trunk@9165
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 16 May 2013 13:51:07 +0000 (13:51 +0000)]
add the following fields to the lua accumulate table:
- rrect.rect
- rrect[1..8] for radii
- rrect.type = "empty|rect|oval|simple|complex"
- path.isRect, path.isOval
Review URL: https://codereview.chromium.org/
15192003
git-svn-id: http://skia.googlecode.com/svn/trunk@9163
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Thu, 16 May 2013 13:14:46 +0000 (13:14 +0000)]
Better method for rendering AA ellipses.
This uses the standard ellipse equation as a signed distance
test, and adjusts the result by the length of the gradient
at that point to get a better approximation of the distance
to the ellipse. It replaces the standard ellipse and
roundrect shader renderers.
Also adds a check to see if the curvature extrema of the
stroke are less than the curvature extrema of the ellipse (i.e.
the radius of curvature is larger). In this case, it's no
longer an ellipse and we can't use this renderer.
Only supports stroking for near-circular ellipses.
R=bsalomon@google.com, robertphillips@google.com
Author: jvanverth@google.com
Review URL: https://chromiumcodereview.appspot.com/
14938004
git-svn-id: http://skia.googlecode.com/svn/trunk@9162
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Thu, 16 May 2013 07:01:00 +0000 (07:01 +0000)]
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@9159
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Thu, 16 May 2013 04:20:23 +0000 (04:20 +0000)]
lua accumulate now receives a table of the draw parameters
git-svn-id: http://skia.googlecode.com/svn/trunk@9158
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 15 May 2013 20:55:49 +0000 (20:55 +0000)]
use define to work-around localeconf() missingness in android
BUG=
Review URL: https://codereview.chromium.org/
14689008
git-svn-id: http://skia.googlecode.com/svn/trunk@9157
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 15 May 2013 20:16:20 +0000 (20:16 +0000)]
lua not building on android ??? disabling for now
git-svn-id: http://skia.googlecode.com/svn/trunk@9156
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Wed, 15 May 2013 20:11:20 +0000 (20:11 +0000)]
Move the FontConfigTypeface class into private header.
R=reed@google.com
Review URL: https://codereview.chromium.org/
15111004
git-svn-id: http://skia.googlecode.com/svn/trunk@9154
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 15 May 2013 20:07:22 +0000 (20:07 +0000)]
fix typo in dependency line (don't name file, just dir)
git-svn-id: http://skia.googlecode.com/svn/trunk@9153
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 15 May 2013 20:01:07 +0000 (20:01 +0000)]
add direct_dependencies for picture_utils, and add cflags_cc for android's gypi
Review URL: https://codereview.chromium.org/
14620020
git-svn-id: http://skia.googlecode.com/svn/trunk@9152
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 15 May 2013 19:42:16 +0000 (19:42 +0000)]
disable lua_pictures tool from make for now
git-svn-id: http://skia.googlecode.com/svn/trunk@9150
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 15 May 2013 19:34:20 +0000 (19:34 +0000)]
add SkLuaCanvas
add lua 5.2 to third_party
BUG=
R=bungeman@google.com
Review URL: https://codereview.chromium.org/
14907017
git-svn-id: http://skia.googlecode.com/svn/trunk@9149
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Wed, 15 May 2013 18:14:36 +0000 (18:14 +0000)]
Use separate subset directories in skimage.
Create separate directories for the results of decodeSubset and
extractSubset, and use the same name for each version, so that
they can be compared easily, using skdiff or visual inspection.
R=epoger@google.com
Review URL: https://codereview.chromium.org/
14672017
git-svn-id: http://skia.googlecode.com/svn/trunk@9148
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 15 May 2013 17:53:04 +0000 (17:53 +0000)]
Disable blending when there is an effect that reads the dst and draw state blend is 1,0.
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/
15199008
git-svn-id: http://skia.googlecode.com/svn/trunk@9147
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 15 May 2013 17:30:26 +0000 (17:30 +0000)]
Don't make dst copies when color stage requires dst but color writes are disabled.
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/
15001035
git-svn-id: http://skia.googlecode.com/svn/trunk@9146
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Wed, 15 May 2013 15:07:32 +0000 (15:07 +0000)]
Fix vertical text scaling and clipping on Mac.
https://codereview.chromium.org/
15064003/
git-svn-id: http://skia.googlecode.com/svn/trunk@9142
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Wed, 15 May 2013 14:53:49 +0000 (14:53 +0000)]
Provide a function to print the name of a Format.
Also use SkToU32 instead of a flat cast.
R=djsollen@google.com
Review URL: https://codereview.chromium.org/
14565005
git-svn-id: http://skia.googlecode.com/svn/trunk@9139
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 15 May 2013 14:18:32 +0000 (14:18 +0000)]
Add aligned case to game bench
https://codereview.chromium.org/
15167005/
git-svn-id: http://skia.googlecode.com/svn/trunk@9138
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 15 May 2013 13:10:18 +0000 (13:10 +0000)]
Finish mixed_xfermodes GM.
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/
15012026
git-svn-id: http://skia.googlecode.com/svn/trunk@9137
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Wed, 15 May 2013 07:01:09 +0000 (07:01 +0000)]
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@9135
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 14 May 2013 23:48:28 +0000 (23:48 +0000)]
Performance trigger rebaseline
git-svn-id: http://skia.googlecode.com/svn/trunk@9133
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Tue, 14 May 2013 20:11:23 +0000 (20:11 +0000)]
Fix includes in SkLayerDrawLooper.h. It was previously not possible to
include this header unless SkPoint and SkPaint were previously defined.
BUG=
R=reed@google.com, senorblanco@chromium.org
Author: jbroman@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
14607015
git-svn-id: http://skia.googlecode.com/svn/trunk@9130
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 14 May 2013 19:55:56 +0000 (19:55 +0000)]
Remove assert that is no longer valid.
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/
14671017
git-svn-id: http://skia.googlecode.com/svn/trunk@9129
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 14 May 2013 19:47:47 +0000 (19:47 +0000)]
Re-add isIRect test for AA rect drawing
https://codereview.chromium.org/
14820035/
git-svn-id: http://skia.googlecode.com/svn/trunk@9128
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Tue, 14 May 2013 18:58:12 +0000 (18:58 +0000)]
Add gm/confirm_no_failures_in_json.py
The CompareGMs step will use this (instead of running skdiff over the image
files) to decide whether to go red or green.
R=rmistry@google.com
Review URL: https://codereview.chromium.org/
15100003
git-svn-id: http://skia.googlecode.com/svn/trunk@9127
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 14 May 2013 18:20:00 +0000 (18:20 +0000)]
Update rebaseline.py for N10.
R=jvanverth@google.com
Review URL: https://codereview.chromium.org/
14581014
git-svn-id: http://skia.googlecode.com/svn/trunk@9126
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Tue, 14 May 2013 18:16:40 +0000 (18:16 +0000)]
Sort points for PDF's draw rect, to match raster and GPU implementation.
R=caryclark@google.com, vandebo@google.com
Author: edisonn@google.com
Review URL: https://chromiumcodereview.appspot.com/
15162005
git-svn-id: http://skia.googlecode.com/svn/trunk@9125
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Tue, 14 May 2013 17:50:02 +0000 (17:50 +0000)]
Create a self test for skimage.
Runs skimage twice: once to create an expectations file, and a
second time comparing against the file. Uses the files in
resources as test files.
R=epoger@google.com
Review URL: https://codereview.chromium.org/
14969007
git-svn-id: http://skia.googlecode.com/svn/trunk@9123
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Tue, 14 May 2013 17:30:17 +0000 (17:30 +0000)]
skimage: report failure if expectation not found.
If the expectation file exists, but the particular file being
decoded has no expectation, report a failure.
This is more appropriate since the intended use is that an
expectation will be created for each file. Without an expectation,
we cannot know whether the decoder has changed.
R=epoger@google.com
Review URL: https://codereview.chromium.org/
15094011
git-svn-id: http://skia.googlecode.com/svn/trunk@9122
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 14 May 2013 16:43:02 +0000 (16:43 +0000)]
Compiler warning/error fix for r9120
git-svn-id: http://skia.googlecode.com/svn/trunk@9121
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 14 May 2013 16:37:31 +0000 (16:37 +0000)]
Add GM to track thin rectangle rendering
https://codereview.chromium.org/
15012024/
git-svn-id: http://skia.googlecode.com/svn/trunk@9120
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Tue, 14 May 2013 15:17:46 +0000 (15:17 +0000)]
GM: include filename extension (.png) of each output file in JSON summary
Doing this so that, once we *do* start writing PDF checksums into the JSON
summary, we'll be able to distinguish those from the PNG checksums.
Otherwise, we could have naming collisions.
R=scroggo@google.com
Review URL: https://codereview.chromium.org/
14890017
git-svn-id: http://skia.googlecode.com/svn/trunk@9119
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 14 May 2013 14:20:28 +0000 (14:20 +0000)]
Make GrAAConvexPathRender support paths with > 64K verts.
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/
15120004
git-svn-id: http://skia.googlecode.com/svn/trunk@9118
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Tue, 14 May 2013 07:01:11 +0000 (07:01 +0000)]
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@9117
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 13 May 2013 19:43:59 +0000 (19:43 +0000)]
add separate impl file for SkFontMgr_fontconfig, so we don't polute
SkFontHost_fontconfig, which should be sharable w/ android. Eventaully
we will remove that FontHost file completely, and just use the SkFontMgr.
R=djsollen@google.com
Review URL: https://codereview.chromium.org/
15077008
git-svn-id: http://skia.googlecode.com/svn/trunk@9114
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 13 May 2013 18:50:25 +0000 (18:50 +0000)]
Key shader on whether frag pos read is relative to top-left or bottom-left
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/
14633007
git-svn-id: http://skia.googlecode.com/svn/trunk@9113
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 13 May 2013 18:48:40 +0000 (18:48 +0000)]
Remove 16bit asserts and casts of string length.
R=reed@google.com
Review URL: https://codereview.chromium.org/
14711011
git-svn-id: http://skia.googlecode.com/svn/trunk@9112
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Mon, 13 May 2013 14:41:03 +0000 (14:41 +0000)]
Fix stroked roundrects on Nexus 10.
Due to floating point precision errors, using the formula b^2x^2 + a^2y^2 - a^2b^2
doesn't work on the Nexus 10 GPU. Changed to use x^2/a^2 + y^2/b^2 - 1.
Addresses issue 1290.
R=bsalomon@google.com
Author: jvanverth@google.com
Review URL: https://chromiumcodereview.appspot.com/
15039016
git-svn-id: http://skia.googlecode.com/svn/trunk@9110
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Mon, 13 May 2013 14:40:34 +0000 (14:40 +0000)]
Fix for Debug check failures in r9108
git-svn-id: http://skia.googlecode.com/svn/trunk@9109
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Mon, 13 May 2013 14:10:31 +0000 (14:10 +0000)]
add bench for blurred rectori case
https://codereview.chromium.org/
14690014/
git-svn-id: http://skia.googlecode.com/svn/trunk@9108
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Mon, 13 May 2013 14:09:13 +0000 (14:09 +0000)]
API modifications needed to upstream Android font changes.
Committed: http://code.google.com/p/skia/source/detail?r=9083
R=reed@google.com
Author: djsollen@google.com
Review URL: https://chromiumcodereview.appspot.com/
14761003
git-svn-id: http://skia.googlecode.com/svn/trunk@9107
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Mon, 13 May 2013 13:38:35 +0000 (13:38 +0000)]
Partial revert of r9087
https://codereview.chromium.org/
14858035/
git-svn-id: http://skia.googlecode.com/svn/trunk@9106
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Sat, 11 May 2013 13:21:43 +0000 (13:21 +0000)]
Check for NULL texture in GrAutoScratchTexture::detach()
R=sugoi@chromium.org, robertphillips@google.com
Author: bsalomon@google.com
Review URL: https://chromiumcodereview.appspot.com/
14683009
git-svn-id: http://skia.googlecode.com/svn/trunk@9104
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Sat, 11 May 2013 07:01:34 +0000 (07:01 +0000)]
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@9103
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 10 May 2013 19:08:22 +0000 (19:08 +0000)]
Don't call purgeCache() from within GrResource memebers.
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/
14864020
git-svn-id: http://skia.googlecode.com/svn/trunk@9102
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Fri, 10 May 2013 18:29:43 +0000 (18:29 +0000)]
[PDF] Only output the Dests dictionary if it isn't epmpty
R=edisonn@google.com
Review URL: https://codereview.chromium.org/
15028012
git-svn-id: http://skia.googlecode.com/svn/trunk@9100
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 10 May 2013 17:22:48 +0000 (17:22 +0000)]
Fix memory leak in SkTypeface.cpp
https://codereview.chromium.org/
14617019/
git-svn-id: http://skia.googlecode.com/svn/trunk@9099
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 10 May 2013 17:14:06 +0000 (17:14 +0000)]
Remove GrPathCmd
R=reed@google.com
Review URL: https://codereview.chromium.org/
15068008
git-svn-id: http://skia.googlecode.com/svn/trunk@9097
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Fri, 10 May 2013 15:16:13 +0000 (15:16 +0000)]
add wildcard test name matching to gm and bench.
This adds the same set of options in unit tests, i.e:
--match [~][^]match[$] [~][^]match[$] ...
~ causes a matching test to always be skipped
^ requires the start of the test to match
$ requires the end of the test to match
^ and $ requires an exact match
If a test does not match any list entry,
it is skipped unless some list entry starts with ~
Review URL: https://codereview.chromium.org/
14746017
git-svn-id: http://skia.googlecode.com/svn/trunk@9096
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 10 May 2013 14:51:54 +0000 (14:51 +0000)]
Fix memory leak in filter tool
https://codereview.chromium.org/
15029008/
(SkipBuildbotRuns)
git-svn-id: http://skia.googlecode.com/svn/trunk@9094
2bbb7eff-a529-9590-31e7-
b0007b416f81
junov@chromium.org [Fri, 10 May 2013 14:39:26 +0000 (14:39 +0000)]
Remove duplicated code in SkPictureRecord::drawRRect
Review URL: https://codereview.chromium.org/
15057005
git-svn-id: http://skia.googlecode.com/svn/trunk@9093
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 10 May 2013 14:12:08 +0000 (14:12 +0000)]
Make gms use getTopDevice() rather than getDevice().
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/
14885012
git-svn-id: http://skia.googlecode.com/svn/trunk@9091
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 10 May 2013 14:09:54 +0000 (14:09 +0000)]
Further defer devRect computation in gpu rect drawing
https://codereview.chromium.org/
14798007/
git-svn-id: http://skia.googlecode.com/svn/trunk@9090
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 10 May 2013 13:16:13 +0000 (13:16 +0000)]
Update shader rect drawing path for r9087 (removal of isIRect "opt")
https://codereview.chromium.org/
14972013/
(SkipBuildbotRuns)
git-svn-id: http://skia.googlecode.com/svn/trunk@9089
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 10 May 2013 11:05:58 +0000 (11:05 +0000)]
Remove isIRect "optimization" & defer computation of device Rect in AA rect rendering
https://chromiumcodereview.appspot.com/
14890021/
git-svn-id: http://skia.googlecode.com/svn/trunk@9087
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Fri, 10 May 2013 07:01:04 +0000 (07:01 +0000)]
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@9086
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 9 May 2013 22:47:33 +0000 (22:47 +0000)]
Reverting 9083 & 9084 due to Android failures
git-svn-id: http://skia.googlecode.com/svn/trunk@9085
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 9 May 2013 22:02:35 +0000 (22:02 +0000)]
fix warning/error of uninitialized len
BUG=
Review URL: https://codereview.chromium.org/
15001019
git-svn-id: http://skia.googlecode.com/svn/trunk@9084
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Thu, 9 May 2013 20:54:20 +0000 (20:54 +0000)]
API modifications needed to upstream Android font changes.
R=reed@google.com
Author: djsollen@google.com
Review URL: https://chromiumcodereview.appspot.com/
14761003
git-svn-id: http://skia.googlecode.com/svn/trunk@9083
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Thu, 9 May 2013 20:01:26 +0000 (20:01 +0000)]
Revert r9081
Review URL: https://codereview.chromium.org/
14773022
git-svn-id: http://skia.googlecode.com/svn/trunk@9082
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Thu, 9 May 2013 19:37:41 +0000 (19:37 +0000)]
add SkString::append(const char c)
R=bsalomon@google.com
Review URL: https://codereview.chromium.org/
14813013
git-svn-id: http://skia.googlecode.com/svn/trunk@9081
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 9 May 2013 19:08:57 +0000 (19:08 +0000)]
Fix for compiler warnings/errors in r9078
git-svn-id: http://skia.googlecode.com/svn/trunk@9079
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 9 May 2013 19:03:48 +0000 (19:03 +0000)]
Added game-like bench marks
https://codereview.chromium.org/
14772019/
git-svn-id: http://skia.googlecode.com/svn/trunk@9078
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Thu, 9 May 2013 18:09:06 +0000 (18:09 +0000)]
GM self-test: add --writePath and --mismatchPath , but in a way that works cross-platform
R=scroggo@google.com
Review URL: https://codereview.chromium.org/
15085007
git-svn-id: http://skia.googlecode.com/svn/trunk@9077
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Thu, 9 May 2013 18:05:32 +0000 (18:05 +0000)]
Fix some warnings in SkPath.
R=caryclark@google.com
Review URL: https://codereview.chromium.org/
14969003
git-svn-id: http://skia.googlecode.com/svn/trunk@9076
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Thu, 9 May 2013 16:15:20 +0000 (16:15 +0000)]
remove unneeded reference to SkTScopedPtr
R=djsollen@google.com, scroggo@google.com
Author: reed@google.com
Review URL: https://chromiumcodereview.appspot.com/
14057013
git-svn-id: http://skia.googlecode.com/svn/trunk@9075
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Thu, 9 May 2013 14:55:46 +0000 (14:55 +0000)]
Make GrGLShaderBuilder check whether GrEffect advertised that it would require the dst color or fragment position
R=senorblanco@chromium.org, robertphillips@google.com
Author: bsalomon@google.com
Review URL: https://chromiumcodereview.appspot.com/
14998007
git-svn-id: http://skia.googlecode.com/svn/trunk@9074
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 9 May 2013 13:45:02 +0000 (13:45 +0000)]
Move loops that chain together effects into GrGLShaderBuilder from GrGLProgram.
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/
14925010
git-svn-id: http://skia.googlecode.com/svn/trunk@9073
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Thu, 9 May 2013 07:02:04 +0000 (07:02 +0000)]
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@9072
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 8 May 2013 21:08:21 +0000 (21:08 +0000)]
need to clamp all of the cubic points after a chop, in case our finite precision
meant we didn't compute values below the chop-point.
crbug:234190
R=caryclark@google.com
Review URL: https://codereview.chromium.org/
14607012
git-svn-id: http://skia.googlecode.com/svn/trunk@9071
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Wed, 8 May 2013 19:14:23 +0000 (19:14 +0000)]
Write/compare against expectations in skimage tool.
skimage:
Add two new modes: one to write expectations to a json file, and
another to compare results against expectations.
Use SkPATH_SEPARATOR instead of '/'.
gm_expectations:
Split into a static library so it can be used by skimage.
Make functions non static and move function definitions into source
file.
Capitalize static member functions to follow the coding style
guidelines.
BUG=https://code.google.com/p/skia/issues/detail?id=1241
R=epoger@google.com
Review URL: https://codereview.chromium.org/
14670021
git-svn-id: http://skia.googlecode.com/svn/trunk@9069
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 8 May 2013 17:46:48 +0000 (17:46 +0000)]
negate FontBox.bottom, since it is negative, but we want it positive (doh)
git-svn-id: http://skia.googlecode.com/svn/trunk@9067
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 8 May 2013 16:24:05 +0000 (16:24 +0000)]
fix BitmapHasher unittest failure as of r9064
git-svn-id: http://skia.googlecode.com/svn/trunk@9066
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 8 May 2013 16:04:02 +0000 (16:04 +0000)]
Re-land r9059 with empty cityhash.gyp, instead of deleted cityhash.gyp
R=rmistry@google.com
Review URL: https://codereview.chromium.org/
15060008/
git-svn-id: http://skia.googlecode.com/svn/trunk@9064
2bbb7eff-a529-9590-31e7-
b0007b416f81
junov@chromium.org [Wed, 8 May 2013 15:39:13 +0000 (15:39 +0000)]
Fix behavior of SkPicture::kUsePathBoundsForClip_RecordingFlag to handle inverse fills and all clip ops correctly.
BUG=crbug.com/229011
TEST=Picture unit test + complexclip* GMs
Review URL: https://codereview.chromium.org/
14820021
git-svn-id: http://skia.googlecode.com/svn/trunk@9063
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 8 May 2013 15:32:41 +0000 (15:32 +0000)]
remove dead code (SkBitmapSampler)
git-svn-id: http://skia.googlecode.com/svn/trunk@9062
2bbb7eff-a529-9590-31e7-
b0007b416f81
jvanverth@google.com [Wed, 8 May 2013 15:31:43 +0000 (15:31 +0000)]
Revert r9055.
Unreviewed.
git-svn-id: http://skia.googlecode.com/svn/trunk@9061
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 8 May 2013 15:22:36 +0000 (15:22 +0000)]
Roll out r9059 to unbreak bots
git-svn-id: http://skia.googlecode.com/svn/trunk@9060
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 8 May 2013 14:49:50 +0000 (14:49 +0000)]
Remove third-party cityhash, unused since r8992
R=djsollen@google.com
Review URL: https://codereview.chromium.org/
15027013
git-svn-id: http://skia.googlecode.com/svn/trunk@9059
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 8 May 2013 14:19:08 +0000 (14:19 +0000)]
we only need one fontmetrics, since the paint (and fontcache) now know explicitly
if they are horizontal or vertical.
Review URL: https://codereview.chromium.org/
14940018
git-svn-id: http://skia.googlecode.com/svn/trunk@9058
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 8 May 2013 14:11:28 +0000 (14:11 +0000)]
Use more fields from OutlineFontMEtrics: linegap, bbox.
Up our canonical size to 2048 to reduce precision loss.
R=bungeman@google.com
Review URL: https://codereview.chromium.org/
14759021
git-svn-id: http://skia.googlecode.com/svn/trunk@9057
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 8 May 2013 14:10:28 +0000 (14:10 +0000)]
GM self-test: add option to exercise --writePath and --mismatchPath, but not on bots
(individual developers can set WRITE_IMAGE_FILES=1 for local testing)
R=rmistry@google.com
Review URL: https://codereview.chromium.org/
14863009
git-svn-id: http://skia.googlecode.com/svn/trunk@9056
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Wed, 8 May 2013 13:59:36 +0000 (13:59 +0000)]
Better method for rendering AA ellipses.
This uses the standard ellipse equation as a signed distance
test, and adjusts the result by the length of the gradient
at that point to get a better approximation of the distance
to the ellipse. It replaces the standard ellipse and
roundrect shader renderers.
Also adds a check to see if the curvature extrema of the
stroke are less than the curvature extrema of the ellipse (i.e.
the radius of curvature is larger). In this case, it's no
longer an ellipse and we can't use this renderer.
Committed: http://code.google.com/p/skia/source/detail?r=9016
R=bsalomon@google.com, robertphillips@google.com
Author: jvanverth@google.com
Review URL: https://chromiumcodereview.appspot.com/
14938004
git-svn-id: http://skia.googlecode.com/svn/trunk@9055
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 8 May 2013 13:25:02 +0000 (13:25 +0000)]
add SK_API
git-svn-id: http://skia.googlecode.com/svn/trunk@9054
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 8 May 2013 12:49:49 +0000 (12:49 +0000)]
Comment out invalid assert.
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/
15021008
git-svn-id: http://skia.googlecode.com/svn/trunk@9053
2bbb7eff-a529-9590-31e7-
b0007b416f81
rmistry@google.com [Wed, 8 May 2013 11:18:34 +0000 (11:18 +0000)]
Autogen has been reset. Whitespace change to trigger rebuilds
git-svn-id: http://skia.googlecode.com/svn/trunk@9052
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Wed, 8 May 2013 07:01:40 +0000 (07:01 +0000)]
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@9051
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Wed, 8 May 2013 01:55:49 +0000 (01:55 +0000)]
share derivative code with extrema logic, remove some dead code.
git-svn-id: http://skia.googlecode.com/svn/trunk@9050
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Wed, 8 May 2013 01:15:54 +0000 (01:15 +0000)]
fix impl for conic derivative (tangent)
git-svn-id: http://skia.googlecode.com/svn/trunk@9049
2bbb7eff-a529-9590-31e7-
b0007b416f81