Prevent deferred canvases from recording draw operations that use an SkPaint object...
authorjunov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 31 Jul 2012 21:01:51 +0000 (21:01 +0000)
committerjunov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 31 Jul 2012 21:01:51 +0000 (21:01 +0000)
commit10f7f97d4213a251d63fcfcfd6e55b7b528d949a
tree4fb161784d71679a0fc3780b97e94d2ad785b775
parent98e8b6de04e4c20451fbe3353645e3e384a76550
Prevent deferred canvases from recording draw operations that use an SkPaint object that indirectly references a GPU resource.
The specific case targeted by this patch is SkBitmapProcShaders that use an SkBitmap object that references a GPU texture.

BUG=http://code.google.com/p/chromium/issues/detail?id=139204
Review URL: https://codereview.appspot.com/6447068

git-svn-id: http://skia.googlecode.com/svn/trunk@4871 2bbb7eff-a529-9590-31e7-b0007b416f81
src/utils/SkDeferredCanvas.cpp