robertphillips@google.com
e9c0469a49
Pseudo-reverted r4396 (SkGrPixelRef files are still in source pool but are unused)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4402 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-29 00:30:13 +00:00
robertphillips@google.com
ecf1f3299a
Temporarily readding SkGrTexturePixelRef.h/.cpp until WebKit is transitioned to SkGrPixelRef
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4401 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-28 21:59:38 +00:00
vandebo@chromium.org
da6c569334
[PDF] Fix PDF code to not crash on SkComposeShader.
...
Review URL: https://codereview.appspot.com/6354053
git-svn-id: http://skia.googlecode.com/svn/trunk@4400 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-28 21:37:20 +00:00
robertphillips@google.com
23579275c7
Fixed memory deletion error in instance counting mechanism
...
http://codereview.appspot.com/6344057/
git-svn-id: http://skia.googlecode.com/svn/trunk@4399 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-28 21:30:45 +00:00
robertphillips@google.com
5088eb49fe
Moved SkGrTexturePixelRef to SkGrPixelRef
...
http://codereview.appspot.com/6344054/
git-svn-id: http://skia.googlecode.com/svn/trunk@4397 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-28 20:59:13 +00:00
robertphillips@google.com
d881bc194d
Collapsed SkGrTexturePixelRef and SkGrRenderTargetPixelRef into SkGrPixelRef using new GrSurface class
...
http://codereview.appspot.com/6359045/
git-svn-id: http://skia.googlecode.com/svn/trunk@4396 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-28 20:02:39 +00:00
scroggo@google.com
fc937347bf
Disable pipe for bitmapfilters gm on Android.
...
Until I can investigate why the test is broken.
Review URL: https://codereview.appspot.com/6357045
git-svn-id: http://skia.googlecode.com/svn/trunk@4395 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-28 19:55:06 +00:00
bsalomon@google.com
c0961f5d23
Rebaseline MSAA16 AA clip images. We now enable MSAA when stencil clipping if the clip element is AA.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4393 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-28 19:50:27 +00:00
bsalomon@google.com
d1e533f09f
Change CT assert to RT assert
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4391 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-28 18:56:22 +00:00
bsalomon@google.com
ded4f4b163
Initial support for GL_NV_path_renering. Experimental, there are still some issues to resolve, set gyp variable skia_nv_path_rendering=1 or build flag GR_GL_USE_NV_PATH_RENDERING to enable.
...
http://codereview.appspot.com/6349049/
git-svn-id: http://skia.googlecode.com/svn/trunk@4390 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-28 18:48:06 +00:00
epoger@google.com
28060e7c94
Improve sorting of skdiff output, and make it consistent across platforms
...
BUG=https://code.google.com/p/skia/issues/detail?id=677
Review URL: https://codereview.appspot.com/6351045
git-svn-id: http://skia.googlecode.com/svn/trunk@4388 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-28 16:47:34 +00:00
djsollen@google.com
7f562ad0ad
fix the build
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4387 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-28 16:19:03 +00:00
scroggo@google.com
3ab3175030
Turn off the blurs GM for Pipe playback.
...
It was failing on FIXED. Turn it off while we fix the real problem.
Review URL: https://codereview.appspot.com/6349051
git-svn-id: http://skia.googlecode.com/svn/trunk@4386 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-28 16:09:39 +00:00
djsollen@google.com
e341cb37e6
Separate target architecture type and width into separate variables.
...
Also add support for building mac in 64 bit mode.
Review URL: https://codereview.appspot.com/6343050
git-svn-id: http://skia.googlecode.com/svn/trunk@4385 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-28 16:08:05 +00:00
scroggo@google.com
565254bc93
Fix SkGPipe drawing, and turn it on by default.
...
A recent change broke SkGPipe. Fix it, and turn on pipe drawing
in GM by default so we will catch these in the future.
We already had a bug where SkGPipeWriter had to use its Cross Process
flag to work, so for a quick fix, force the reader to use the Cross
Process flag as well. The bug to allow both cross and non cross process
is http://code.google.com/p/skia/issues/detail?id=663
Review URL: https://codereview.appspot.com/6333071
git-svn-id: http://skia.googlecode.com/svn/trunk@4384 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-28 15:41:32 +00:00
reed@google.com
dbc936dff3
add SkData::NewFromCString()
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4383 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-28 15:40:09 +00:00
robertphillips@google.com
fe65943d30
fixed another clang++ compiler error
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4382 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-28 01:01:53 +00:00
robertphillips@google.com
fffc8d01b5
Added EOF marker to address clang++ error
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4381 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-28 00:29:23 +00:00
robertphillips@google.com
58b20215f6
Split GrSWMaskHelper into its own files
...
http://codereview.appspot.com/6350046/
git-svn-id: http://skia.googlecode.com/svn/trunk@4380 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-27 20:44:52 +00:00
robertphillips@google.com
eca2dfb002
fixed missing "return" error
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4379 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-27 20:13:49 +00:00
junov@chromium.org
ef76060cbf
Adding checksum to SkFlatData to accelerate SkPicture recording.
...
The checksum triggers an early exit in the mem compare use to search for duplicate flattened objects. Also, call to memcmp was replaced with 64-bit at a time comparison loop.
Review URL: http://codereview.appspot.com/6339046/
BUG=http://code.google.com/p/chromium/issues/detail?id=54079
TEST=Checksum and PictureRecord tests in bench.exe
git-svn-id: http://skia.googlecode.com/svn/trunk@4378 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-27 20:03:16 +00:00
robertphillips@google.com
97fafe1b5e
Altered SkInstCnt to print out atexit
...
http://codereview.appspot.com/6348043/
git-svn-id: http://skia.googlecode.com/svn/trunk@4377 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-27 19:52:20 +00:00
robertphillips@google.com
b74af872cc
Separated Inst counting from the SK_DEBUG #define (now SK_ENABLE_INST_COUNT)
...
http://codereview.appspot.com/6353047/
git-svn-id: http://skia.googlecode.com/svn/trunk@4376 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-27 19:41:42 +00:00
reed@google.com
006db0f1b8
land https://codereview.appspot.com/6349043/
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4375 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-27 19:33:29 +00:00
robertphillips@google.com
1d89c93b2a
Added ReadPixels format-supported check to GL Caps
...
http://codereview.appspot.com/6336055/
git-svn-id: http://skia.googlecode.com/svn/trunk@4374 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-27 19:31:41 +00:00
epoger@google.com
7f581a9728
whitespace change to trigger Skia buildbots after updating Android build
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4373 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-27 19:08:37 +00:00
epoger@google.com
082f665d65
whitespace change to trigger Skia buildbots after updating Android build
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4372 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-27 19:06:59 +00:00
borenet@google.com
dd3d08ea8e
When building for Android, package executables in APKs (trunk)
...
Review URL: https://codereview.appspot.com/6307101
git-svn-id: http://skia.googlecode.com/svn/trunk@4368 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-27 19:04:39 +00:00
reed@google.com
26344cfaff
add explicit purgeAll() so we don't get foiled by the min cache-limit
...
call unref instead of delete on the GrFontScaler
Review URL: https://codereview.appspot.com/6353045
git-svn-id: http://skia.googlecode.com/svn/trunk@4366 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-27 18:23:01 +00:00
robertphillips@google.com
c0c1daa7f6
Enable Scratch texture detach in SW path renderer's onDrawPath (again)
...
http://codereview.appspot.com/6331057/
git-svn-id: http://skia.googlecode.com/svn/trunk@4365 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-27 18:02:57 +00:00
bungeman@google.com
488379e5ac
Bump max flattenable from 64 to 1024.
...
Ran into limit on Mac.
git-svn-id: http://skia.googlecode.com/svn/trunk@4364 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-27 15:57:34 +00:00
reed@google.com
e4e75dca21
remove duplicate definition of SkAlign8()
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4363 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-27 15:41:54 +00:00
reed@google.com
c6faa5a0c4
add SkAlign8 and SkIsAlign8 macros
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4362 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-27 15:07:11 +00:00
robertphillips@google.com
386319eebb
Fixed Resource counting bug in AutoScratchTexture detach mechanism
...
http://codereview.appspot.com/6356043/
git-svn-id: http://skia.googlecode.com/svn/trunk@4361 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-27 14:59:18 +00:00
reed@google.com
51f3866995
fix leak of Light object (in this private instance, the caller is transferring
...
ownership of the object, so the receive does not need to call ref).
Review URL: https://codereview.appspot.com/6348045
git-svn-id: http://skia.googlecode.com/svn/trunk@4360 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-27 14:24:29 +00:00
robertphillips@google.com
0456e0b7b8
Added Inst counting to SkFlattenable-derived classes
...
http://codereview.appspot.com/6355043/
git-svn-id: http://skia.googlecode.com/svn/trunk@4359 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-27 14:03:26 +00:00
reed@google.com
4bca84d3cf
don't leak filters
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4358 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-27 14:00:06 +00:00
epoger@google.com
1513f6e1a3
write my own os.path.abspath() to work around Win path-length limits
...
BUG=https://code.google.com/p/skia/issues/detail?id=674
Review URL: https://codereview.appspot.com/6342052
git-svn-id: http://skia.googlecode.com/svn/trunk@4357 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-27 13:38:37 +00:00
bsalomon@google.com
a4f6b10818
Make GrInOrderDrawBuffer playback command driven
...
Review URL: http://codereview.appspot.com/6341052/
git-svn-id: http://skia.googlecode.com/svn/trunk@4356 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-26 21:04:22 +00:00
robertphillips@google.com
69ffcf0d34
Fixed alignment issue in Linux build
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4355 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-26 21:01:05 +00:00
robertphillips@google.com
409566a17d
Removed cached copy of the GrDebugGLInterface
...
http://codereview.appspot.com/6329068/
git-svn-id: http://skia.googlecode.com/svn/trunk@4354 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-26 20:19:41 +00:00
reed@google.com
fa35e3ddcc
plumb SkInstCnt to all subclasses of GrRefCnt
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4353 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-26 20:16:17 +00:00
reed@google.com
a23d048209
remove SkInstCnt tracking of SkViewRegistry
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4352 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-26 20:15:42 +00:00
reed@google.com
814df5e851
don't add SkViewRegistry to SkInstCnt
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4351 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-26 19:54:52 +00:00
reed@google.com
79655480e7
remove bogus SkViewFactory reference
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4350 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-26 19:48:09 +00:00
reed@google.com
31f5ccd188
add dump for SkWStream inst-leaks
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4349 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-26 19:25:18 +00:00
reed@google.com
563a3b4102
more SkInstCnt plumbing
...
fix some typeface leaks
git-svn-id: http://skia.googlecode.com/svn/trunk@4348 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-26 19:24:50 +00:00
reed@google.com
73e19fb1ba
show # of unknown subclasses in dump
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4347 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-26 18:58:03 +00:00
tomhudson@google.com
1909e15a6d
In GrBatchedTextContext, use GrSafeSetNull(), for more safeness!
...
http://codereview.appspot.com/6326058/
git-svn-id: http://skia.googlecode.com/svn/trunk@4345 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-26 17:57:03 +00:00
reed@google.com
fcb57b5570
more SkInstCnt plumbing
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4344 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-26 17:55:30 +00:00