bsalomon@google.com
0bf4d47e3c
fix uninitialized adcd
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9177 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-05-17 13:31:57 +00:00
bsalomon@google.com
2f2d1306ec
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
2013-05-17 13:31:40 +00:00
robertphillips@google.com
83d1a68141
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
2013-05-17 12:50:27 +00:00
skia.committer@gmail.com
8be02fc2a7
Sanitizing source files in Housekeeper-Nightly
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9174 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-05-17 07:01:11 +00:00
bsalomon@google.com
9a9c3d5535
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
2013-05-16 20:54:05 +00:00
bsalomon@google.com
f438c97258
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
2013-05-16 19:58:46 +00:00
scroggo@google.com
719a3733ae
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
2013-05-16 19:35:39 +00:00
djsollen@google.com
9401deeb10
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
2013-05-16 18:38:43 +00:00
borenet@google.com
8371e704b7
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
2013-05-16 18:12:34 +00:00
commit-bot@chromium.org
05403dfe24
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
2013-05-16 14:53:28 +00:00
reed@google.com
57de5cfe42
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
2013-05-16 13:51:07 +00:00
commit-bot@chromium.org
6bb3efc4db
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
2013-05-16 13:14:46 +00:00
skia.committer@gmail.com
539f364e80
Sanitizing source files in Housekeeper-Nightly
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9159 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-05-16 07:01:00 +00:00
mike@reedtribe.org
1c5a94f5e0
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
2013-05-16 04:20:23 +00:00
reed@google.com
1ef08bb532
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
2013-05-15 20:55:49 +00:00
reed@google.com
a774adf3a1
lua not building on android ??? disabling for now
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9156 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-05-15 20:16:20 +00:00
djsollen@google.com
6930b57221
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
2013-05-15 20:11:20 +00:00
reed@google.com
9bf99c31a9
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
2013-05-15 20:07:22 +00:00
reed@google.com
e52d2911a1
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
2013-05-15 20:01:07 +00:00
reed@google.com
04df4732b7
disable lua_pictures tool from make for now
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9150 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-05-15 19:42:16 +00:00
reed@google.com
dff7e11c20
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
2013-05-15 19:34:20 +00:00
scroggo@google.com
9da0e1de1d
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
2013-05-15 18:14:36 +00:00
bsalomon@google.com
0c89db2929
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
2013-05-15 17:53:04 +00:00
bsalomon@google.com
d09ab84678
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
2013-05-15 17:30:26 +00:00
bungeman@google.com
cefd981a4c
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
2013-05-15 15:07:32 +00:00
scroggo@google.com
f98118e65c
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
2013-05-15 14:53:49 +00:00
robertphillips@google.com
347fd4e9fd
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
2013-05-15 14:18:32 +00:00
bsalomon@google.com
6db962617f
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
2013-05-15 13:10:18 +00:00
skia.committer@gmail.com
eafdf126d4
Sanitizing source files in Housekeeper-Nightly
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9135 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-05-15 07:01:09 +00:00
robertphillips@google.com
ba46534869
Performance trigger rebaseline
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9133 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-05-14 23:48:28 +00:00
commit-bot@chromium.org
5da3f22003
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
2013-05-14 20:11:23 +00:00
bsalomon@google.com
944c504961
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
2013-05-14 19:55:56 +00:00
robertphillips@google.com
afd1cba523
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
2013-05-14 19:47:47 +00:00
epoger@google.com
26515baa90
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
2013-05-14 18:58:12 +00:00
bsalomon@google.com
3c58723202
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
2013-05-14 18:20:00 +00:00
commit-bot@chromium.org
969fd6afc4
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
2013-05-14 18:16:40 +00:00
scroggo@google.com
4fed643cb9
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
2013-05-14 17:50:02 +00:00
scroggo@google.com
6ca30ca849
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
2013-05-14 17:30:17 +00:00
robertphillips@google.com
1a095191b2
Compiler warning/error fix for r9120
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9121 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-05-14 16:43:02 +00:00
robertphillips@google.com
dd3f365482
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
2013-05-14 16:37:31 +00:00
epoger@google.com
ce057fec92
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
2013-05-14 15:17:46 +00:00
bsalomon@google.com
7d9ffc8a04
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
2013-05-14 14:20:28 +00:00
skia.committer@gmail.com
0431b87a98
Sanitizing source files in Housekeeper-Nightly
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9117 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-05-14 07:01:11 +00:00
reed@google.com
381bb43efb
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
2013-05-13 19:43:59 +00:00
bsalomon@google.com
b515881446
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
2013-05-13 18:50:25 +00:00
bsalomon@google.com
8686be2fc3
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
2013-05-13 18:48:40 +00:00
commit-bot@chromium.org
166726b117
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
2013-05-13 14:41:03 +00:00
robertphillips@google.com
63a3f6f5d9
Fix for Debug check failures in r9108
...
git-svn-id: http://skia.googlecode.com/svn/trunk@9109 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-05-13 14:40:34 +00:00
robertphillips@google.com
1d2f631594
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
2013-05-13 14:10:31 +00:00
commit-bot@chromium.org
c7a20e4093
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
2013-05-13 14:09:13 +00:00