bungeman@google.com [Fri, 23 Mar 2012 18:11:47 +0000 (18:11 +0000)]
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
tomhudson@google.com [Fri, 23 Mar 2012 15:38:28 +0000 (15:38 +0000)]
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
reed@google.com [Fri, 23 Mar 2012 15:37:41 +0000 (15:37 +0000)]
rebaseline (no perceptible diff)
git-svn-id: http://skia.googlecode.com/svn/trunk@3477
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 23 Mar 2012 15:36:36 +0000 (15:36 +0000)]
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
vandebo@chromium.org [Fri, 23 Mar 2012 15:17:37 +0000 (15:17 +0000)]
[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
tomhudson@google.com [Fri, 23 Mar 2012 14:46:48 +0000 (14:46 +0000)]
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
bungeman@google.com [Fri, 23 Mar 2012 14:11:43 +0000 (14:11 +0000)]
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
bsalomon@google.com [Thu, 22 Mar 2012 21:29:10 +0000 (21:29 +0000)]
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
caryclark@google.com [Thu, 22 Mar 2012 21:11:17 +0000 (21:11 +0000)]
work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@3471
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Thu, 22 Mar 2012 20:45:15 +0000 (20:45 +0000)]
[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
robertphillips@google.com [Thu, 22 Mar 2012 20:43:56 +0000 (20:43 +0000)]
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
epoger@google.com [Thu, 22 Mar 2012 18:20:06 +0000 (18:20 +0000)]
landing patch from codereview.appspot.com/5874051/
git-svn-id: http://skia.googlecode.com/svn/trunk@3468
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Thu, 22 Mar 2012 17:56:29 +0000 (17:56 +0000)]
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
epoger@google.com [Thu, 22 Mar 2012 15:37:22 +0000 (15:37 +0000)]
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
epoger@google.com [Thu, 22 Mar 2012 15:15:07 +0000 (15:15 +0000)]
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
tomhudson@google.com [Thu, 22 Mar 2012 14:44:46 +0000 (14:44 +0000)]
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
epoger@google.com [Thu, 22 Mar 2012 14:35:10 +0000 (14:35 +0000)]
Delete unix_test_app directory and its contents.
Leon added this in March 2011 ( http://code.google.com/p/skia/source/detail?spec=svn938&r=938 ), but it's not maintained anymore.
Review URL: https://codereview.appspot.com/5876055
git-svn-id: http://skia.googlecode.com/svn/trunk@3463
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 22 Mar 2012 14:12:15 +0000 (14:12 +0000)]
Fix for SampleApp command line parsing issue.
http://codereview.appspot.com/5785054/
git-svn-id: http://skia.googlecode.com/svn/trunk@3462
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 22 Mar 2012 14:09:28 +0000 (14:09 +0000)]
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
vandebo@chromium.org [Wed, 21 Mar 2012 23:11:46 +0000 (23:11 +0000)]
Move SkBitSet to utils.
Review URL: https://codereview.appspot.com/5875043
git-svn-id: http://skia.googlecode.com/svn/trunk@3460
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Wed, 21 Mar 2012 20:59:49 +0000 (20:59 +0000)]
Utils must not depend on Views.
http://codereview.appspot.com/5867051/
git-svn-id: http://skia.googlecode.com/svn/trunk@3459
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Wed, 21 Mar 2012 20:31:08 +0000 (20:31 +0000)]
Revert "[PDF] Move most of the headers to be private."
This reverts r3457
TBR=epoger@google.com
Review URL: https://codereview.appspot.com/5866051
git-svn-id: http://skia.googlecode.com/svn/trunk@3458
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Wed, 21 Mar 2012 19:59:04 +0000 (19:59 +0000)]
[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/5865048/
Review URL: https://codereview.appspot.com/5868049
git-svn-id: http://skia.googlecode.com/svn/trunk@3457
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 21 Mar 2012 19:46:50 +0000 (19:46 +0000)]
Re-attempting Linux debug GL interface compiler complaint fix.
Fixed two additional compiler complaints.
http://codereview.appspot.com/5845068/
git-svn-id: http://skia.googlecode.com/svn/trunk@3456
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 21 Mar 2012 17:57:55 +0000 (17:57 +0000)]
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
vandebo@chromium.org [Wed, 21 Mar 2012 17:55:04 +0000 (17:55 +0000)]
Revert "[PDF] Move most of the headers to be private."
This reverts r3453
TBR=epoger@google.com
Review URL: https://codereview.appspot.com/5869048
git-svn-id: http://skia.googlecode.com/svn/trunk@3454
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Wed, 21 Mar 2012 17:45:06 +0000 (17:45 +0000)]
[PDF] Move most of the headers to be private.
Compute font stats in SkPDFDocument in order to make more of the headers private.
Review URL: https://codereview.appspot.com/5865048
git-svn-id: http://skia.googlecode.com/svn/trunk@3453
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Wed, 21 Mar 2012 17:34:30 +0000 (17:34 +0000)]
[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
vandebo@chromium.org [Wed, 21 Mar 2012 17:11:27 +0000 (17:11 +0000)]
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
vandebo@chromium.org [Wed, 21 Mar 2012 16:45:47 +0000 (16:45 +0000)]
[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
djsollen@google.com [Wed, 21 Mar 2012 15:39:03 +0000 (15:39 +0000)]
Upstream changes from Android repository.
Review URL: https://codereview.appspot.com/5752055
git-svn-id: http://skia.googlecode.com/svn/trunk@3449
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 21 Mar 2012 13:05:04 +0000 (13:05 +0000)]
Reverting Linux compiler complaint patch - again
git-svn-id: http://skia.googlecode.com/svn/trunk@3448
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 21 Mar 2012 12:26:18 +0000 (12:26 +0000)]
Partial re-delivery of Linux compiler complaint changes.
Was originally delivered as r3428 but was backed out due to pixel diffs on Mac mini.
http://codereview.appspot.com/5845068/
git-svn-id: http://skia.googlecode.com/svn/trunk@3447
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 21 Mar 2012 12:25:48 +0000 (12:25 +0000)]
Cast the result of SK_OFFSETOF to size_t to match offsetof() and avoid narrowing conversion errors
git-svn-id: http://skia.googlecode.com/svn/trunk@3446
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Tue, 20 Mar 2012 21:18:43 +0000 (21:18 +0000)]
Move SkClampRange into src/effects, where it isn't being advertised as
something for end-users.
http://codereview.appspot.com/5864044/
git-svn-id: http://skia.googlecode.com/svn/trunk@3445
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 20 Mar 2012 21:17:58 +0000 (21:17 +0000)]
Add GrDrawTarget::drawIndexedInstance, use in default text context.
Review URL: http://codereview.appspot.com/5848064/
git-svn-id: http://skia.googlecode.com/svn/trunk@3444
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Tue, 20 Mar 2012 21:11:59 +0000 (21:11 +0000)]
work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@3443
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 20 Mar 2012 17:40:58 +0000 (17:40 +0000)]
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
bsalomon@google.com [Tue, 20 Mar 2012 15:36:32 +0000 (15:36 +0000)]
Convert SkMatrix::I() assignments to SkMatrix::reset() calls
git-svn-id: http://skia.googlecode.com/svn/trunk@3441
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Tue, 20 Mar 2012 15:28:14 +0000 (15:28 +0000)]
Add temp android modification to the GLSL version check
Review URL: https://codereview.appspot.com/5845076
git-svn-id: http://skia.googlecode.com/svn/trunk@3440
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 20 Mar 2012 15:13:04 +0000 (15:13 +0000)]
reverting to 3437
git-svn-id: http://skia.googlecode.com/svn/trunk@3439
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 20 Mar 2012 14:51:47 +0000 (14:51 +0000)]
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
djsollen@google.com [Tue, 20 Mar 2012 14:24:38 +0000 (14:24 +0000)]
Fix scaling issue when drawing text on a path.
If the paint is stroked and the font size is small
we were incorrectly rendering the sample text.
Review URL: https://codereview.appspot.com/5844060
git-svn-id: http://skia.googlecode.com/svn/trunk@3437
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 19 Mar 2012 21:18:04 +0000 (21:18 +0000)]
Revert r3435, no perf win
git-svn-id: http://skia.googlecode.com/svn/trunk@3436
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 19 Mar 2012 21:09:08 +0000 (21:09 +0000)]
inline GrDrawTarget::copyDrawState
git-svn-id: http://skia.googlecode.com/svn/trunk@3435
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Mon, 19 Mar 2012 21:04:52 +0000 (21:04 +0000)]
Compile with c++0x.
http://codereview.appspot.com/5841074/
git-svn-id: http://skia.googlecode.com/svn/trunk@3434
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Mon, 19 Mar 2012 19:44:19 +0000 (19:44 +0000)]
Add basic support for vertical text into freetype.
Review URL: https://codereview.appspot.com/5794081
git-svn-id: http://skia.googlecode.com/svn/trunk@3433
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 19 Mar 2012 18:26:34 +0000 (18:26 +0000)]
add optional updateMatrixClip param to getTopDevice(). Chrome should set this
only when it is needed, and in doing so it can stop using the layeriter just
to get its top device.
git-svn-id: http://skia.googlecode.com/svn/trunk@3432
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 19 Mar 2012 18:18:32 +0000 (18:18 +0000)]
rebaselin gpu versions
git-svn-id: http://skia.googlecode.com/svn/trunk@3431
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Mon, 19 Mar 2012 17:33:58 +0000 (17:33 +0000)]
rolling back to r3427
git-svn-id: http://skia.googlecode.com/svn/trunk@3430
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Mon, 19 Mar 2012 16:54:28 +0000 (16:54 +0000)]
Forcing buildbots to re-run
git-svn-id: http://skia.googlecode.com/svn/trunk@3429
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Mon, 19 Mar 2012 16:19:02 +0000 (16:19 +0000)]
Addressed compiler warnings in the Debug GL Interface on Linux.
http://codereview.appspot.com/5845068/
git-svn-id: http://skia.googlecode.com/svn/trunk@3428
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Mon, 19 Mar 2012 15:27:13 +0000 (15:27 +0000)]
Another fix to r3423, reinstate blitter code that was commented out for
testing and apparently isn't exercised by any of our GMs or tests.
git-svn-id: http://skia.googlecode.com/svn/trunk@3427
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Mon, 19 Mar 2012 14:42:13 +0000 (14:42 +0000)]
Added debug GL Interface. This interface tracks various GL objects in order to find leaks & invalid accesses.
Core Review: http://codereview.appspot.com/5846049/
git-svn-id: http://skia.googlecode.com/svn/trunk@3426
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Mon, 19 Mar 2012 14:20:56 +0000 (14:20 +0000)]
Fix Android, too, by providing cross-platform NULL version of new factory.
Another cowboy build fix.
git-svn-id: http://skia.googlecode.com/svn/trunk@3425
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Mon, 19 Mar 2012 14:11:03 +0000 (14:11 +0000)]
Remove stale #include.
Unreviewed cowboy commit to fix build.
git-svn-id: http://skia.googlecode.com/svn/trunk@3424
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Mon, 19 Mar 2012 13:49:50 +0000 (13:49 +0000)]
(SSE2) acceleration for rectangular opaque erases.
15% speedup for rectangles < 31 px wide, 5% for larger.
http://codereview.appspot.com/5843050/
git-svn-id: http://skia.googlecode.com/svn/trunk@3423
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 19 Mar 2012 13:06:19 +0000 (13:06 +0000)]
Make the text context not have to save / restore GrDrawState at each draw.
Reivew URL: http://codereview.appspot.com/5844049/
git-svn-id: http://skia.googlecode.com/svn/trunk@3422
2bbb7eff-a529-9590-31e7-
b0007b416f81
junov@chromium.org [Fri, 16 Mar 2012 20:54:17 +0000 (20:54 +0000)]
GPU blit speedup: avoid texture filtering and texture domain when not necessary
BUG=crbug.com/102284
REVIEW=http://codereview.appspot.com/5836047/
TEST=code path already covered by gm/nocolorbleed gm/bitmapfilters and others
git-svn-id: http://skia.googlecode.com/svn/trunk@3421
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Fri, 16 Mar 2012 19:50:37 +0000 (19:50 +0000)]
[PDF] Fix shaders when the initial transform has a translation.
Fixes chromium bug 115041
Review URL: https://codereview.appspot.com/5849045
git-svn-id: http://skia.googlecode.com/svn/trunk@3420
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Fri, 16 Mar 2012 19:01:38 +0000 (19:01 +0000)]
Add libjpeg.gyp that wraps third_party/externals/libjpeg/libjpeg.gyp
Review URL: https://codereview.appspot.com/5848046
git-svn-id: http://skia.googlecode.com/svn/trunk@3419
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Fri, 16 Mar 2012 18:28:24 +0000 (18:28 +0000)]
Add os_posix gyp variable, nesting variables dicts as needed to do so.
Review URL: https://codereview.appspot.com/5845050
git-svn-id: http://skia.googlecode.com/svn/trunk@3418
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 16 Mar 2012 17:50:37 +0000 (17:50 +0000)]
Skip unnecessary copies in GrPaint operator ==
Review URL: http://codereview.appspot.com/5846046/
git-svn-id: http://skia.googlecode.com/svn/trunk@3417
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Fri, 16 Mar 2012 17:16:25 +0000 (17:16 +0000)]
Delete 'obsolete' directory, most of whose contents have been there more than a year.
git-svn-id: http://skia.googlecode.com/svn/trunk@3416
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 16 Mar 2012 15:41:40 +0000 (15:41 +0000)]
Call reset() in text context rather than set to SkMatrix::I(). Perf improvement in bench.
git-svn-id: http://skia.googlecode.com/svn/trunk@3415
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 16 Mar 2012 14:58:07 +0000 (14:58 +0000)]
add IRect variant of getBounds()
git-svn-id: http://skia.googlecode.com/svn/trunk@3414
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 16 Mar 2012 14:38:06 +0000 (14:38 +0000)]
decal mode babystep
git-svn-id: http://skia.googlecode.com/svn/trunk@3413
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 16 Mar 2012 14:02:46 +0000 (14:02 +0000)]
Split GrTextContext into baseclass and subclass
This is a step towards enabling alternate text rendering code paths (GLyphy in particular)
Committed on behalf of baranowski@chromium.org
Review URL: http://codereview.appspot.com/5796071/
git-svn-id: http://skia.googlecode.com/svn/trunk@3412
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Fri, 16 Mar 2012 13:52:49 +0000 (13:52 +0000)]
Make all gyp targets automatically include common.gypi
Do this, rather than including common.gypi explicitly in all our gyp files, so that gyp files we use but do not maintain (e.g., third_party/externals/libjpeg/libjpeg.gyp) will include common.gypi too.
Review URL: https://codereview.appspot.com/5820068
git-svn-id: http://skia.googlecode.com/svn/trunk@3411
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 15 Mar 2012 21:18:11 +0000 (21:18 +0000)]
forward declare SkRect
git-svn-id: http://skia.googlecode.com/svn/trunk@3410
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 15 Mar 2012 21:17:03 +0000 (21:17 +0000)]
add getBounds() helper
git-svn-id: http://skia.googlecode.com/svn/trunk@3409
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 15 Mar 2012 19:52:39 +0000 (19:52 +0000)]
update baseline
git-svn-id: http://skia.googlecode.com/svn/trunk@3408
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 15 Mar 2012 19:51:54 +0000 (19:51 +0000)]
update baseline
git-svn-id: http://skia.googlecode.com/svn/trunk@3407
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Thu, 15 Mar 2012 18:16:39 +0000 (18:16 +0000)]
Close a couple of minor memory leaks, add a valgrind suppression file to
mute complaints about apparent driver bugs.
http://codereview.appspot.com/5837046/
git-svn-id: http://skia.googlecode.com/svn/trunk@3406
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 15 Mar 2012 17:47:06 +0000 (17:47 +0000)]
Change vertex buffer size for draw buffer. Hopefully helps with some of the perf regression of r3382 on txt drawing.
git-svn-id: http://skia.googlecode.com/svn/trunk@3405
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Thu, 15 Mar 2012 16:04:27 +0000 (16:04 +0000)]
Fix broken android build
git-svn-id: http://skia.googlecode.com/svn/trunk@3404
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Thu, 15 Mar 2012 15:49:51 +0000 (15:49 +0000)]
Add CreateFallbackForScript to SkTypeface for Android.
WebKit uses HarfBuzz directly to do Complex Text Layout, so it needs to get the
proper SkTypeface to pass it to HarfBuzz. However, on Android, fallback scripts
have no name, and we can only get them by file name each time (CreateFromFile).
This actually breaks the semantics of SkTypeface, which states 'The ID should
be unique for the underlying font file/data, not unique per typeface instance.'
And add 2 helper function to convert between FallbackScripts enum and font file
name. These are useful for WebKit's FontCache, which needs string as key.
https://codereview.appspot.com/5797066/
git-svn-id: http://skia.googlecode.com/svn/trunk@3403
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Thu, 15 Mar 2012 15:01:34 +0000 (15:01 +0000)]
Cleanup sample slide for drawTextOnPath
Review URL: https://codereview.appspot.com/5834048
git-svn-id: http://skia.googlecode.com/svn/trunk@3402
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 15 Mar 2012 14:40:46 +0000 (14:40 +0000)]
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
reed@google.com [Thu, 15 Mar 2012 14:34:40 +0000 (14:34 +0000)]
don't clamp the stopScale to 0 unless it originally exceeded the clip. This is
a tweak on the fix in 3366, but in that earlier change, I mistakenly changed
> to >=. This CL just restores the compare to >
git-svn-id: http://skia.googlecode.com/svn/trunk@3400
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 15 Mar 2012 14:21:49 +0000 (14:21 +0000)]
Rebaseline GMs from r3397
git-svn-id: http://skia.googlecode.com/svn/trunk@3399
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 15 Mar 2012 13:51:08 +0000 (13:51 +0000)]
Allow compiler to optimize applying quadratic UV matrix to verts
Code Review: http://codereview.appspot.com/5833048/
git-svn-id: http://skia.googlecode.com/svn/trunk@3398
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Thu, 15 Mar 2012 13:39:51 +0000 (13:39 +0000)]
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
tomhudson@google.com [Thu, 15 Mar 2012 13:07:25 +0000 (13:07 +0000)]
Expand SkMatrix type mask from uint8 to uint32, aligning the struct
so there's no uninitialized padding and potentially allowing future
expansion.
http://codereview.appspot.com/5824056/
http://code.google.com/p/skia/issues/detail?id=354
git-svn-id: http://skia.googlecode.com/svn/trunk@3395
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 15 Mar 2012 12:10:47 +0000 (12:10 +0000)]
make commonBitmap un-virtual. That was a leftover from previous subclassing
I think.
git-svn-id: http://skia.googlecode.com/svn/trunk@3394
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 14 Mar 2012 20:15:47 +0000 (20:15 +0000)]
update test
git-svn-id: http://skia.googlecode.com/svn/trunk@3393
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 14 Mar 2012 20:15:04 +0000 (20:15 +0000)]
add baselines
git-svn-id: http://skia.googlecode.com/svn/trunk@3392
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 14 Mar 2012 20:12:36 +0000 (20:12 +0000)]
add baselines
git-svn-id: http://skia.googlecode.com/svn/trunk@3391
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 14 Mar 2012 20:05:35 +0000 (20:05 +0000)]
unittest for kUTF32_TextEncoding
git-svn-id: http://skia.googlecode.com/svn/trunk@3390
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 14 Mar 2012 20:05:13 +0000 (20:05 +0000)]
add baselines
git-svn-id: http://skia.googlecode.com/svn/trunk@3389
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 14 Mar 2012 20:00:42 +0000 (20:00 +0000)]
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
reed@google.com [Wed, 14 Mar 2012 19:41:55 +0000 (19:41 +0000)]
add kUTF32_TextEncoding
git-svn-id: http://skia.googlecode.com/svn/trunk@3387
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Wed, 14 Mar 2012 18:34:15 +0000 (18:34 +0000)]
Fix four memory leaks uncovered by valgrinding gm tests.
All are triggered by PDF code.
Two are missing unref's on SkData.
One is a missing unref on a SkAdvancedTypefaceMetrics.
The last is missing destruction of SkClipStack internal state.
BUG=526
Review URL: https://codereview.appspot.com/5824049
git-svn-id: http://skia.googlecode.com/svn/trunk@3386
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Wed, 14 Mar 2012 18:33:54 +0000 (18:33 +0000)]
Disable overly heavy benchmark - 15x slower than any other benchmark
and not giving us particularly important information. It may be useful
to occasionally reactivate it when trying to optimize rectangle blits,
but otherwise it was a waste to have clogging up the performance bots.
git-svn-id: http://skia.googlecode.com/svn/trunk@3385
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 14 Mar 2012 18:06:26 +0000 (18:06 +0000)]
This update fixes the problem with GLX failing to find a valid configuration on Linux laptops (Issue 513).
The base issue here was that the default GLX implementation on some Linux laptops lies about its version numbering. Code in SkNativeGLContext_unix.cpp was checking the version number to avoid using FBConfigs in versions prior to 1.3 and thus incorrectly stopped processing.
To resolve this a separate configuration path has been added that uses the pre-1.3 method (i.e., XGetVisualInfo and glXGetConfig). The run-time version check has also been removed and a #define has been added to toggle between the two implementations. This allows the FBConfig method to be used with the wayward GLX implementation while the legacy method can be used with older implementations.
Please see http://codereview.appspot.com/5823049/ for more information.
git-svn-id: http://skia.googlecode.com/svn/trunk@3384
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 14 Mar 2012 14:13:11 +0000 (14:13 +0000)]
Rebaselines from r3382 for bots that completed before bot reset.
git-svn-id: http://skia.googlecode.com/svn/trunk@3383
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 14 Mar 2012 13:27:54 +0000 (13:27 +0000)]
Batch path draws.
THIS IS EXPECTED TO SUBTLY CHANGE ONE GM IMAGE, WILL REBASELINE.
Review URL: http://codereview.appspot.com/5796080/
git-svn-id: http://skia.googlecode.com/svn/trunk@3382
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 14 Mar 2012 12:21:17 +0000 (12:21 +0000)]
enable fractionalint (64bit) math in bitmap procs
git-svn-id: http://skia.googlecode.com/svn/trunk@3381
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 14 Mar 2012 12:19:00 +0000 (12:19 +0000)]
add baselines
git-svn-id: http://skia.googlecode.com/svn/trunk@3380
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 14 Mar 2012 12:17:44 +0000 (12:17 +0000)]
add baselines
git-svn-id: http://skia.googlecode.com/svn/trunk@3379
2bbb7eff-a529-9590-31e7-
b0007b416f81