Commit Graph

3347 Commits

Author SHA1 Message Date
reed@google.com
42aea289cb handle null-device correctly in setDevice
git-svn-id: http://skia.googlecode.com/svn/trunk@3518 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-28 16:19:15 +00:00
tomhudson@google.com
19224c3d79 Fix a memory leak in SkAAClip::translate().
Originally proposed by Jochen Eisinger.

http://codereview.appspot.com/5934053/



git-svn-id: http://skia.googlecode.com/svn/trunk@3517 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-28 15:46:37 +00:00
bsalomon@google.com
95cd7bdf2b Make printf in GrContext about partial pixel coverage be debug-only
git-svn-id: http://skia.googlecode.com/svn/trunk@3516 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-28 15:35:05 +00:00
bsalomon@google.com
d4df21793d shadows GPU GM rebaseline from r3514
git-svn-id: http://skia.googlecode.com/svn/trunk@3515 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-28 15:33:55 +00:00
bsalomon@google.com
8500322537 disable GPU blur on small paths
Change originally by Guanqun.Lu@gmail.com with minor edits and sample added by me

COULD POSSIBLY CHANGE GPU RESULTS OF GM SLIDES WITH BLUR, WILL REBASILINE IF SO.

Review URL: https://codereview.appspot.com/5940045/



git-svn-id: http://skia.googlecode.com/svn/trunk@3514 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-28 14:44:37 +00:00
robertphillips@google.com
3672b580a5 Removed redundant typedef from GrDebugGL class
Comitted on behalf of Guanqun.Lu@gmail.com

http://codereview.appspot.com/5924049/



git-svn-id: http://skia.googlecode.com/svn/trunk@3513 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-28 12:50:24 +00:00
epoger@google.com
f86574dd68 whitespace change to trigger Skia buildbot
git-svn-id: http://skia.googlecode.com/svn/trunk@3512 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-27 20:14:55 +00:00
bsalomon@google.com
a5d2203f58 Use a single GrDrawState in GrContext for direct and buffered drawing
Review URL: http://codereview.appspot.com/5933043/


git-svn-id: http://skia.googlecode.com/svn/trunk@3507 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-27 17:40:15 +00:00
bsalomon@google.com
a5d056ae0b Reland 3503 with fix
git-svn-id: http://skia.googlecode.com/svn/trunk@3506 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-27 15:59:58 +00:00
reed@google.com
9fe287bd07 add debuggin matrix-proc to validate its output before calling the samplers
Review URL: https://codereview.appspot.com/5901063

git-svn-id: http://skia.googlecode.com/svn/trunk@3505 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-27 15:54:28 +00:00
bsalomon@google.com
290e5363bb Revert 3503
git-svn-id: http://skia.googlecode.com/svn/trunk@3504 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-27 14:34:08 +00:00
bsalomon@google.com
67bddc497e Make GrDrawState object used by GrDrawTarget be settable; set in GrInOrderDrawBuffer playback
Review URL: http://codereview.appspot.com/5908062/



git-svn-id: http://skia.googlecode.com/svn/trunk@3503 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-27 14:27:27 +00:00
caryclark@google.com
f47c217cc8 overzealously deleted files
git-svn-id: http://skia.googlecode.com/svn/trunk@3502 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-27 13:45:24 +00:00
caryclark@google.com
11fa4a7095 Files to build Cary's Shape Ops test projects.
These will be moved to experimental/Intersection
later.

git-svn-id: http://skia.googlecode.com/svn/trunk@3501 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-27 13:27:36 +00:00
caryclark@google.com
d88e0894d0 work in progress
nearly coincident mostly work
support files for creating projects from gyp

git-svn-id: http://skia.googlecode.com/svn/trunk@3500 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-27 13:23:51 +00:00
vandebo@chromium.org
6e08bfeca9 [PDF] Really fix font metric array initialization.
Review URL: https://codereview.appspot.com/5919043

git-svn-id: http://skia.googlecode.com/svn/trunk@3499 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-26 23:58:04 +00:00
bsalomon@google.com
2e3d144dfd Make GrDrawState ref counted. (Small step towards a perf improvement.)
Review URL: http://codereview.appspot.com/5905069/




git-svn-id: http://skia.googlecode.com/svn/trunk@3498 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-26 20:33:54 +00:00
epoger@google.com
4db4adc0e1 Build libjpeg from source for all platforms
(We were already doing so on Mac and Windows.)
Review URL: https://codereview.appspot.com/5909067

git-svn-id: http://skia.googlecode.com/svn/trunk@3497 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-26 20:04:54 +00:00
epoger@google.com
9fee7ad449 Copy libjpeg.gyp from third_party/externals/libjpeg/ to gyp/
This should get our use of libjpeg-from-source unblocked; see http://code.google.com/p/skia/issues/detail?id=543 ('wrap libjpeg.gyp from Chrome's libjpeg port, rather than making our own copy') for a better long-term solution.
Review URL: https://codereview.appspot.com/5908058

git-svn-id: http://skia.googlecode.com/svn/trunk@3496 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-26 18:29:26 +00:00
robertphillips@google.com
ba0cc3ef11 Extended debug GL interface to include textures.
http://codereview.appspot.com/5903043/



git-svn-id: http://skia.googlecode.com/svn/trunk@3495 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-26 17:58:35 +00:00
djsollen@google.com
ba28d03e94 Create macro for registering classes for deserialization
Review URL: https://codereview.appspot.com/5909063

git-svn-id: http://skia.googlecode.com/svn/trunk@3494 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-26 17:57:35 +00:00
djsollen@google.com
d43b0a87f8 Make use of the functions in the flattenable reader/writer
Review URL: https://codereview.appspot.com/5905066

git-svn-id: http://skia.googlecode.com/svn/trunk@3493 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-26 17:34:39 +00:00
bsalomon@google.com
39d4f3a02c restore line accidentally deleted in MatrixTest.cpp in r3491
git-svn-id: http://skia.googlecode.com/svn/trunk@3492 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-26 17:25:45 +00:00
bsalomon@google.com
9ed2ecd3ac Another fix for fixed point (nan == nan in fixed pt)
git-svn-id: http://skia.googlecode.com/svn/trunk@3491 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-26 15:57:37 +00:00
djsollen@google.com
cefc865090 Fix test to use the flattenable writer class instead of
flattening the object directly.
Review URL: https://codereview.appspot.com/5901059

git-svn-id: http://skia.googlecode.com/svn/trunk@3490 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-26 15:52:10 +00:00
bsalomon@google.com
fdf6eb75ab fix compilation bug in fixed pt
git-svn-id: http://skia.googlecode.com/svn/trunk@3489 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-26 15:33:05 +00:00
bsalomon@google.com
8fe84b53a6 Add SkMatrix::cheapEqualTo, use in Gr code
Review URL: http://codereview.appspot.com/5865057/



git-svn-id: http://skia.googlecode.com/svn/trunk@3488 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-26 15:24:27 +00:00
bsalomon@google.com
22f42b71fc [GPU] when paint has patheffect, it should fallback to path render
Comitted on behalf of Guanqun.Lu@gmail.com

THIS MAY CAUSE GM TO GO RED, WILL REBASELINE.

Review URL: http://codereview.appspot.com/5885057/



git-svn-id: http://skia.googlecode.com/svn/trunk@3487 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-26 14:36:55 +00:00
reed@google.com
d8bf41bf22 add baselines
git-svn-id: http://skia.googlecode.com/svn/trunk@3486 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-26 14:02:45 +00:00
bungeman@google.com
8c5847f2ef Rebaseline for 3480.
git-svn-id: http://skia.googlecode.com/svn/trunk@3485 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-23 21:39:08 +00:00
djsollen@google.com
41b46be215 Fix android build
git-svn-id: http://skia.googlecode.com/svn/trunk@3484 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-23 19:36:53 +00:00
djsollen@google.com
a2ca41e3af Cleanup Macros arround static initializers for SkFlattenable.
This CL also removes an unused debugging function from the class
Review URL: https://codereview.appspot.com/5890043

git-svn-id: http://skia.googlecode.com/svn/trunk@3483 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-23 19:00:34 +00:00
epoger@google.com
52c5cbf566 Make "make gyp" work on Windows
git-svn-id: http://skia.googlecode.com/svn/trunk@3482 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-23 18:14:25 +00:00
robertphillips@google.com
ec51cb8634 Improved codec link-forcing system by adding Encoder/Decoder creation entry points
http://codereview.appspot.com/5881055/




git-svn-id: http://skia.googlecode.com/svn/trunk@3481 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-23 18:13:47 +00:00
bungeman@google.com
34f10260ad Glyph advances from generateAdvance do not always match generateMetrics results.
http://codereview.appspot.com/5841071/


git-svn-id: http://skia.googlecode.com/svn/trunk@3480 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-23 18:11:47 +00:00
tomhudson@google.com
eebd62a7ef Update GetAdvancedTypefaceMetrics API in usually-unbuilt files.
Originally caught by LJin.zq
http://code.google.com/p/skia/issues/detail?id=405



git-svn-id: http://skia.googlecode.com/svn/trunk@3478 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-23 15:38:28 +00:00
reed@google.com
623f0ae407 rebaseline (no perceptible diff)
git-svn-id: http://skia.googlecode.com/svn/trunk@3477 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-23 15:37:41 +00:00
reed@google.com
8926b169f6 apply imagefilter to all draw calls
Review URL: https://codereview.appspot.com/5856048

git-svn-id: http://skia.googlecode.com/svn/trunk@3476 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-23 15:36:36 +00:00
vandebo@chromium.org
c3a0d2e4c5 [PDF] Fix font metric array initialization.
Review URL: https://codereview.appspot.com/5885055

git-svn-id: http://skia.googlecode.com/svn/trunk@3475 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-23 15:17:37 +00:00
tomhudson@google.com
6db75fc2c3 Initialize margin, which was being used uninitialized in compute_bounds()
on some code paths we apparently aren't exercising.
Caught by Matt Woodrow & gwright@kde.org

http://codereview.appspot.com/5519056/
http://code.google.com/p/skia/issues/detail?id=435



git-svn-id: http://skia.googlecode.com/svn/trunk@3474 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-23 14:46:48 +00:00
bungeman@google.com
5e41b37b23 Remove circular dependency of views and animator.
http://codereview.appspot.com/5874056/


git-svn-id: http://skia.googlecode.com/svn/trunk@3473 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-23 14:11:43 +00:00
bsalomon@google.com
6f86c3e0a6 fix clang compilation warning
Submitted on behalf of Guanqun.Lu@gmail.com

Review URL: http://codereview.appspot.com/5833045/


git-svn-id: http://skia.googlecode.com/svn/trunk@3472 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-22 21:29:10 +00:00
caryclark@google.com
752b60e633 work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@3471 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-22 21:11:17 +00:00
vandebo@chromium.org
7d6c8f997f [PDF] Move most of the headers to be private.
Compute font stats in SkPDFDocument in order to make more of the headers private.

Previous review: https://codereview.appspot.com/5868049/

Review URL: https://codereview.appspot.com/5875049

git-svn-id: http://skia.googlecode.com/svn/trunk@3470 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-22 20:45:15 +00:00
robertphillips@google.com
7c9594259b Extended debug GL interface to include tracking of render buffers
http://codereview.appspot.com/5875050/



git-svn-id: http://skia.googlecode.com/svn/trunk@3469 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-22 20:43:56 +00:00
epoger@google.com
5fd53858f8 landing patch from http://codereview.appspot.com/5874051/
git-svn-id: http://skia.googlecode.com/svn/trunk@3468 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-22 18:20:06 +00:00
bungeman@google.com
f85abda8c9 Remove mutual dependency of gr and skgr.
http://codereview.appspot.com/5879043/


git-svn-id: http://skia.googlecode.com/svn/trunk@3467 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-22 17:56:29 +00:00
epoger@google.com
c62923d6ad Move unix_test_app/main.cpp to src/views/unix/skia_unix.cpp
Review URL: https://codereview.appspot.com/5881048

git-svn-id: http://skia.googlecode.com/svn/trunk@3466 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-22 15:37:22 +00:00
epoger@google.com
5aab34030f Revert r3463, because it broke Linux.
Review URL: https://codereview.appspot.com/5876056

git-svn-id: http://skia.googlecode.com/svn/trunk@3465 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-22 15:15:07 +00:00
tomhudson@google.com
24878f71d2 Reset Ganesh TextureDomain after use.
http://codereview.appspot.com/5877049/
http://code.google.com/p/skia/issues/detail?id=540



git-svn-id: http://skia.googlecode.com/svn/trunk@3464 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-22 14:44:46 +00:00