robertphillips@google.com
d41a1dc7a8
rolling back to r3427
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3430 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-19 17:33:58 +00:00
robertphillips@google.com
63883bff32
Forcing buildbots to re-run
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3429 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-19 16:54:28 +00:00
robertphillips@google.com
34c54e4423
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
2012-03-19 16:19:02 +00:00
tomhudson@google.com
57e080c1eb
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
2012-03-19 15:27:13 +00:00
robertphillips@google.com
0da3719050
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
2012-03-19 14:42:13 +00:00
tomhudson@google.com
6c5ccd95f7
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
2012-03-19 14:20:56 +00:00
tomhudson@google.com
20949e2fbd
Remove stale #include.
...
Unreviewed cowboy commit to fix build.
git-svn-id: http://skia.googlecode.com/svn/trunk@3424 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-19 14:11:03 +00:00
tomhudson@google.com
8dd90a926a
(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
2012-03-19 13:49:50 +00:00
bsalomon@google.com
26936d071f
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
2012-03-19 13:06:19 +00:00
junov@chromium.org
f32a9b60ff
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
2012-03-16 20:54:17 +00:00
vandebo@chromium.org
293a758929
[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
2012-03-16 19:50:37 +00:00
epoger@google.com
ce47fec10c
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
2012-03-16 19:01:38 +00:00
epoger@google.com
573e8ba41c
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
2012-03-16 18:28:24 +00:00
bsalomon@google.com
dddf6f6363
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
2012-03-16 17:50:37 +00:00
tomhudson@google.com
f97ef2f98e
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
2012-03-16 17:16:25 +00:00
bsalomon@google.com
022a3e1f3e
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
2012-03-16 15:41:40 +00:00
reed@google.com
80e1459c32
add IRect variant of getBounds()
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3414 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-16 14:58:07 +00:00
reed@google.com
0beaba5b34
decal mode babystep
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3413 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-16 14:38:06 +00:00
bsalomon@google.com
f4a9c82918
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
2012-03-16 14:02:46 +00:00
epoger@google.com
aa3b6a965e
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
2012-03-16 13:52:49 +00:00
reed@google.com
fb2d3c6981
forward declare SkRect
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3410 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-15 21:18:11 +00:00
reed@google.com
86b2e43a33
add getBounds() helper
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3409 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-15 21:17:03 +00:00
reed@google.com
c329641248
update baseline
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3408 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-15 19:52:39 +00:00
reed@google.com
6983042b68
update baseline
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3407 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-15 19:51:54 +00:00
tomhudson@google.com
0435f161fc
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
2012-03-15 18:16:39 +00:00
bsalomon@google.com
6036149354
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
2012-03-15 17:47:06 +00:00
djsollen@google.com
b8ff633dba
Fix broken android build
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3404 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-15 16:04:27 +00:00
djsollen@google.com
ff029606bd
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
2012-03-15 15:49:51 +00:00
djsollen@google.com
ae8ae3d1a2
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
2012-03-15 15:01:34 +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
reed@google.com
0724f4320d
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
2012-03-15 14:34:40 +00:00
bsalomon@google.com
61f2f2c1c9
Rebaseline GMs from r3397
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3399 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-15 14:21:49 +00:00
bsalomon@google.com
1971317bb4
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
2012-03-15 13:51:08 +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
tomhudson@google.com
601d312bd4
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
2012-03-15 13:07:25 +00:00
reed@google.com
49794c0cbd
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
2012-03-15 12:10:47 +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
0bc9aedcb2
add baselines
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3392 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-14 20:15:04 +00:00
reed@google.com
45d143daa1
add baselines
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3391 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-14 20:12:36 +00:00
reed@google.com
dc5f76d806
unittest for kUTF32_TextEncoding
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3390 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-14 20:05:35 +00:00
reed@google.com
e5d7078747
add baselines
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3389 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-14 20:05:13 +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
reed@google.com
68bc6f7b45
add kUTF32_TextEncoding
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3387 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-14 19:41:55 +00:00
vandebo@chromium.org
610f716b00
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
2012-03-14 18:34:15 +00:00
tomhudson@google.com
af2313e7e7
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
2012-03-14 18:33:54 +00:00
robertphillips@google.com
bb89cda7e7
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
2012-03-14 18:06:26 +00:00
bsalomon@google.com
71d59a495f
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
2012-03-14 14:13:11 +00:00
bsalomon@google.com
fb4ce6fe9f
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
2012-03-14 13:27:54 +00:00
reed@google.com
77613a5038
enable fractionalint (64bit) math in bitmap procs
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3381 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-14 12:21:17 +00:00
reed@google.com
9faea3af2d
add baselines
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3380 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-14 12:19:00 +00:00