Chromium Code Reviews| Index: skia/ext/platform_canvas.h |
| =================================================================== |
| --- skia/ext/platform_canvas.h (revision 80026) |
| +++ skia/ext/platform_canvas.h (working copy) |
| @@ -114,6 +114,18 @@ |
| PlatformCanvas& operator=(const PlatformCanvas&); |
| }; |
| +// These calls should surround calls to platform drawing routines, the |
| +// surface returned here can be used with the native platform routines |
|
vangelis
2011/04/01 23:35:53
Period missing from the end of the comment.
alokp
2011/04/04 17:00:13
Done.
|
| +// |
| +// Call EndPlatformPaint when you are done and want to use skia operations |
| +// after calling the platform-specific BeginPlatformPaint; this will |
| +// synchronize the bitmap to OS if necessary. |
| +// |
| +// Note: These functions will eventually replace |
| +// PlatformCanvas::beginPlatformPaint and PlatformCanvas::endPlatformPaint. |
| +SK_API PlatformDevice::PlatformSurface BeginPlatformPaint(SkCanvas* canvas); |
| +SK_API void EndPlatformPaint(SkCanvas* canvas); |
| + |
| } // namespace skia |
| #endif // SKIA_EXT_PLATFORM_CANVAS_H_ |