Commit Graph

3207 Commits

Author SHA1 Message Date
reed@google.com
954f56c77e rebaseline
git-svn-id: http://skia.googlecode.com/svn/trunk@3528 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-28 19:34:27 +00:00
bsalomon@google.com
4fd99ea449 Fix comparison of GrPaint::fCoverage (which is a byte not a uint32_t)
git-svn-id: http://skia.googlecode.com/svn/trunk@3527 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-28 18:45:58 +00:00
robertphillips@google.com
d91f370835 Moved Debug GL interface to src/gpu/gl/debug in preparation for splitting it up.
http://codereview.appspot.com/5938054/



git-svn-id: http://skia.googlecode.com/svn/trunk@3526 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-28 18:22:01 +00:00
bungeman@google.com
2227306aea Update skia's gyp to 1284 (was 1139).
http://codereview.appspot.com/5935050/


git-svn-id: http://skia.googlecode.com/svn/trunk@3525 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-28 18:18:26 +00:00
vandebo@chromium.org
fa1dd11f0e Revert r3523 and r2522
Review URL: https://codereview.appspot.com/5939051

git-svn-id: http://skia.googlecode.com/svn/trunk@3524 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-28 17:33:26 +00:00
vandebo@chromium.org
f0f562af5b Fix build break.
Review URL: https://codereview.appspot.com/5934055

git-svn-id: http://skia.googlecode.com/svn/trunk@3523 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-28 17:30:12 +00:00
vandebo@chromium.org
354fd0e2b1 Fix Coverity reports. (Mostly use of uninitialised values.)
CID=537,103419,103631,103632,103633

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

git-svn-id: http://skia.googlecode.com/svn/trunk@3522 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-28 17:25:21 +00:00
caryclark@google.com
988ad539ec shape ops builders; fix typo
git-svn-id: http://skia.googlecode.com/svn/trunk@3521 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-28 17:04:08 +00:00
caryclark@google.com
a5764233aa first support at shape ops support for quads
git-svn-id: http://skia.googlecode.com/svn/trunk@3520 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-28 16:20:21 +00:00
robertphillips@google.com
d3b9fbbc48 Code changes for ANGLE GL interface. .gyp file changes will be delivered later.
http://codereview.appspot.com/5940046/



git-svn-id: http://skia.googlecode.com/svn/trunk@3519 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-28 16:19:11 +00:00
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