scroggo@google.com
d7dbd423f2
Ensure that SkDeferredCanvas::onCreateCompatibleDevice unrefs its temp device.
...
Also update my GM to use createCompatibleDevice.
Review URL: https://codereview.appspot.com/6357061
git-svn-id: http://skia.googlecode.com/svn/trunk@4450 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-03 15:16:30 +00:00
scroggo@google.com
6ea165dd8f
Another fix for drawing bitmaps through an SkGPipe that share pixelrefs.
...
In addition to checking the offset, also check to ensure that the width
and height match, so that a subset which includes the upper left corner
will be handled properly as well.
Review URL: https://codereview.appspot.com/6352066
git-svn-id: http://skia.googlecode.com/svn/trunk@4448 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-03 14:52:08 +00:00
scroggo@google.com
aae9e27fcc
Fix buildbot.
...
GM is currently broken due to my new test. Disable the portion that
causes a crash.
Review URL: https://codereview.appspot.com/6344067
git-svn-id: http://skia.googlecode.com/svn/trunk@4418 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-02 14:36:33 +00:00
scroggo@google.com
4f1f6bf050
Properly handle extracted bitmaps in cross process/shared addr space SkGPipe.
...
Use the pixel ref which we have already copied and the appropriate pixel ref
offset.
Turn SampleDrawBitmap into a GM to test this functionality.
Review URL: https://codereview.appspot.com/6348059
git-svn-id: http://skia.googlecode.com/svn/trunk@4417 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-02 13:35:09 +00:00