Add default param to SkDevice::writePixels b/c WK is relying on old signature. (Function will be made protected once WK calls the Canvas version)
git-svn-id: http://skia.googlecode.com/svn/trunk@2666 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
0ba52fcf93
commit
ae0fb058dd
@ -122,7 +122,7 @@ public:
|
|||||||
* not kARGB_8888_Config then this parameter is ignored.
|
* not kARGB_8888_Config then this parameter is ignored.
|
||||||
*/
|
*/
|
||||||
virtual void writePixels(const SkBitmap& bitmap, int x, int y,
|
virtual void writePixels(const SkBitmap& bitmap, int x, int y,
|
||||||
SkCanvas::Config8888 config8888);
|
SkCanvas::Config8888 config8888 = SkCanvas::kNative_Premul_Config8888);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the device's associated gpu render target, or NULL.
|
* Return the device's associated gpu render target, or NULL.
|
||||||
|
Loading…
Reference in New Issue
Block a user