reed@google.com
9afc656df6
delay any drawing until first call to onDraw (eases debugging)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3461 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-22 14:09:28 +00:00
robertphillips@google.com
f6f123d236
Added tracking of frame buffer objects to debug GL interface
...
http://codereview.appspot.com/5866043/
git-svn-id: http://skia.googlecode.com/svn/trunk@3455 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-21 17:57:55 +00:00
vandebo@chromium.org
79d3cb4ba7
[PDF] Add GM and infrastructure to test drawing shaders with an initial transform.
...
Previous review at https://codereview.appspot.com/5867047/ and https://codereview.appspot.com/5849045/
TBR=reed@google.com
Review URL: https://codereview.appspot.com/5860044
git-svn-id: http://skia.googlecode.com/svn/trunk@3452 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-21 17:34:30 +00:00
vandebo@chromium.org
a43a532e94
Revert "[PDF] Add GM and infrastructure to test drawing shaders with an initial transform."
...
This reverts r3450
TBR=reed@google.com
Review URL: https://codereview.appspot.com/5864050
git-svn-id: http://skia.googlecode.com/svn/trunk@3451 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-21 17:11:27 +00:00
vandebo@chromium.org
b0ccdec166
[PDF] Add GM and infrastructure to test drawing shaders with an initial transform.
...
Review URL: https://codereview.appspot.com/5867047
git-svn-id: http://skia.googlecode.com/svn/trunk@3450 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-21 16:45:47 +00:00
robertphillips@google.com
8570b5c869
Adding CMYK jpeg changes w/o .gyp alterations
...
http://codereview.appspot.com/5785054/
git-svn-id: http://skia.googlecode.com/svn/trunk@3442 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-20 17:40:58 +00:00
robertphillips@google.com
0a89c90d18
reverting to 3437
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3439 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-20 15:13:04 +00:00
robertphillips@google.com
d5c9e996df
Fix for CMYK jpeg decoding issue (69 - unable to read some jpeg files on android)
...
http://codereview.appspot.com/5785054/
git-svn-id: http://skia.googlecode.com/svn/trunk@3438 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-20 14:51:47 +00:00
bungeman@google.com
f8aa18c08d
Compile with c++0x.
...
http://codereview.appspot.com/5841074/
git-svn-id: http://skia.googlecode.com/svn/trunk@3434 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-19 21:04:52 +00:00
bsalomon@google.com
1a38d5508f
Perform degenerate check in device coords in convex path renderer
...
Review URL: http://codereview.appspot.com/5821053/
git-svn-id: http://skia.googlecode.com/svn/trunk@3401 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-15 14:40:46 +00:00
tomhudson@google.com
7816a4e840
Close an (incidental) memory leak in gmmain.
...
Create a suppressions file for gm so that valgrind doesn't warn about
dubious actions the driver takes. There *may* be one of those that we
could do something about...
http://codereview.appspot.com/5820056/
git-svn-id: http://skia.googlecode.com/svn/trunk@3396 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-15 13:39:51 +00:00
reed@google.com
6005aeb3aa
update test
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3393 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-14 20:15:47 +00:00
reed@google.com
6b2f7ea7f4
tweak gm bounds to better fit the content
...
remove assert that is too strict if the src is the dst of a prev draw
(where alpha might be 0xFE, even if it *should* be 0xFF)
git-svn-id: http://skia.googlecode.com/svn/trunk@3388 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-14 20:00:42 +00:00
vandebo@chromium.org
54ff85c79d
[PDF] Fix some fixed/float-point mismatches for image shaders.
...
BUG=520
Review URL: https://codereview.appspot.com/5787061
git-svn-id: http://skia.googlecode.com/svn/trunk@3356 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-09 17:18:50 +00:00
reed@google.com
b0b462b93b
add more modes/flags to giantbitmap test
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3353 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-08 22:13:39 +00:00
reed@google.com
26b73d3128
defer any drawing until our first time, so we don't do it in our
...
constructor (which may get called multiple times)
git-svn-id: http://skia.googlecode.com/svn/trunk@3352 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-08 22:13:04 +00:00
reed@google.com
ce151d0eba
return false if the typeface cannot be found
...
from https://codereview.appspot.com/5756059/
git-svn-id: http://skia.googlecode.com/svn/trunk@3340 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-08 16:10:57 +00:00
reed@google.com
584493e653
disable PDF for now, until http://code.google.com/p/skia/issues/detail?id=520
...
is fixed
git-svn-id: http://skia.googlecode.com/svn/trunk@3338 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-08 14:40:07 +00:00
reed@google.com
4bc0a9db18
use higher precision (64bit) fixed-point for matrix proc
...
Review URL: https://codereview.appspot.com/5772044
git-svn-id: http://skia.googlecode.com/svn/trunk@3336 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-07 21:47:41 +00:00
senorblanco@chromium.org
05054f1a78
Erode and dilate image filter effects, CPU and GPU implementations.
...
Review URL: http://codereview.appspot.com/5656067/
git-svn-id: http://skia.googlecode.com/svn/trunk@3310 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-02 21:05:45 +00:00
bsalomon@google.com
5b56d9e43f
In convex path renderer, translate polygon to origin for fanPt computation
...
Review URL: http://codereview.appspot.com/5698051/
git-svn-id: http://skia.googlecode.com/svn/trunk@3241 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-23 19:18:37 +00:00
bsalomon@google.com
278dc6929b
Use cheapComputeDirection to determine normal facing in GrAAConvexPathRenderer
...
Review URL: http://codereview.appspot.com/5649083/
git-svn-id: http://skia.googlecode.com/svn/trunk@3198 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-15 16:52:51 +00:00
reed@google.com
ed3ee6418a
add test for colored text drawing (hopefully gamma corrected)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3190 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-14 16:12:49 +00:00
tomhudson@google.com
6bf38b59c9
Move GL-specific include files to their own subdirectory, to better
...
coexist alongside D3D backend.
Requires gyp change.
http://codereview.appspot.com/5665045/
git-svn-id: http://skia.googlecode.com/svn/trunk@3185 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-14 15:11:59 +00:00
epoger@google.com
7bc13a6260
Set LCD font smoothing to "medium" for gm on Mac, regardless of system settings
...
http://code.google.com/p/skia/issues/detail?id=382 ('make gm results consistent regardless of system LCDtext settings')
Review URL: https://codereview.appspot.com/5661043
git-svn-id: http://skia.googlecode.com/svn/trunk@3184 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-14 14:53:59 +00:00
bsalomon@google.com
632151bc91
Add path effect GM
...
Review URL: http://codereview.appspot.com/5649069/
git-svn-id: http://skia.googlecode.com/svn/trunk@3172 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-13 15:18:34 +00:00
bsalomon@google.com
dc3c78076e
[GPU]: Handle degenerate quads when computing UV matrix from control points
...
Review URL: http://codereview.appspot.com/5602045/
git-svn-id: http://skia.googlecode.com/svn/trunk@3125 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-31 20:46:32 +00:00
twiz@google.com
e24a07980e
Expose '--notexturecache' command line argument to gm.
...
Pass '--notexturecache' to gm to resize the Ganesh texture cache to 0. This stresses Ganesh's behaviour after a cache purge operation.
Review URL: https://codereview.appspot.com/5569079
git-svn-id: http://skia.googlecode.com/svn/trunk@3123 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-31 18:35:30 +00:00
bsalomon@google.com
9732f62eae
Fix degenerate test in convex path renderer
...
Review URL: http://codereview.appspot.com/5581058/
git-svn-id: http://skia.googlecode.com/svn/trunk@3118 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-31 15:19:21 +00:00
reed@google.com
bb0948fce2
increase height to include entire circle for large radial
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3114 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-31 14:44:13 +00:00
tomhudson@google.com
39c2515816
Add missing SkFloatToScalar() calls to fix the build.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3108 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-30 20:12:10 +00:00
tomhudson@google.com
b18e58c065
New radial gradient GM to observe banding and dithering effects.
...
Gray transparent disk in the center, shading to black transparent at edges.
git-svn-id: http://skia.googlecode.com/svn/trunk@3107 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-30 20:00:13 +00:00
bsalomon@google.com
78d6cf9f43
Remove GrAALevel enum, use explicit sample count
...
Review URL: http://codereview.appspot.com/5600045/
git-svn-id: http://skia.googlecode.com/svn/trunk@3106 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-30 18:09:31 +00:00
junov@chromium.org
bf6c1e4aff
Adding a flush method to SkCanvas
...
BUG=http://code.google.com/p/skia/issues/detail?id=467
REVIEW=http://codereview.appspot.com/5600044/
TEST=gm uses the new code path on all its test cases
git-svn-id: http://skia.googlecode.com/svn/trunk@3102 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-30 14:53:22 +00:00
bsalomon@google.com
72b55be3f3
Change background color and add paths to convexpaths gm
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3090 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-26 20:33:19 +00:00
bsalomon@google.com
0680961481
revert 3078
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3079 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-21 15:03:39 +00:00
bsalomon@google.com
495e210eb1
fix interior issues in convex path renderer
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3078 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-21 14:48:36 +00:00
epoger@google.com
e3cc2eb88f
Stop writing out XPS baselines until we resolve skia issue 455
...
BUG=455
TBR=bungeman
Review URL: https://codereview.appspot.com/5554052
git-svn-id: http://skia.googlecode.com/svn/trunk@3068 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-18 20:11:13 +00:00
junov@google.com
77e498e6ba
Updating gm's usage message
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3065 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-18 18:56:34 +00:00
junov@google.com
4370aedf7f
Adding class SkDeferredCanvas for deferred rendering.
...
TEST=added a new pass to gm, so all gm tests are run through SkDeferredCanvas
REVIEW=http://codereview.appspot.com/5430058/
git-svn-id: http://skia.googlecode.com/svn/trunk@3059 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-18 16:21:08 +00:00
reed@google.com
188bfcf766
if the y-max has neighbors (prev and next) with the same Y values, then the
...
cross will be 0, but we can still know the direction by looking at the change
in X
Fixes the hypen in #7 of this bug http://code.google.com/p/chromium/issues/detail?id=109370
git-svn-id: http://skia.googlecode.com/svn/trunk@3049 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-17 18:26:38 +00:00
bsalomon@google.com
5cc90d1322
Incorporate changes related to Tom's post-hoc comments on the convex path renderer.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3045 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-17 16:28:34 +00:00
bsalomon@google.com
69cc6ad20e
Add convex path renderer (disabled)
...
Review URL: http://codereview.appspot.com/5533061/
git-svn-id: http://skia.googlecode.com/svn/trunk@3040 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-17 14:25:10 +00:00
reed@google.com
3d19c385e7
fix cheapComputeDirection() in the non-convex case to pivot on the y-max point
...
rather than pivoting on the next. Also remove the loop, as it is just logically
wrong to think we can use this trick only a non-extrema pt.
git-svn-id: http://skia.googlecode.com/svn/trunk@3014 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-11 18:16:39 +00:00
reed@google.com
b435bd7d49
use SkIntToScalar
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3003 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-10 19:28:01 +00:00
reed@google.com
3e71a88762
add gm for reverseAddPath
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3001 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-10 18:44:37 +00:00
reed@google.com
d1ab9320b0
restore (debugged) cheapComputeDirection
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3000 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-10 18:40:03 +00:00
reed@google.com
df6bcb1412
disable for now
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2999 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-10 18:13:23 +00:00
reed@google.com
69a9943b67
add SkPath::cheapComputeDirection() plus unittests
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2996 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-10 18:00:10 +00:00
reed@google.com
63d73749fb
add SkPath::reverseAddPath()
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2995 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-10 15:33:12 +00:00