Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2296)

Unified Diff: runtime/embedders/openglui/common/graphics_handler.h

Issue 12212074: Support for non-DOM canvases/contexts (backed by bitaps). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/embedders/openglui/common/graphics_handler.h
===================================================================
--- runtime/embedders/openglui/common/graphics_handler.h (revision 18200)
+++ runtime/embedders/openglui/common/graphics_handler.h (working copy)
@@ -36,13 +36,9 @@
void SetViewport(int left, int top, int width, int height);
- SkCanvas* CreateCanvas();
+ SkCanvas* CreateDisplayCanvas();
+ SkCanvas* CreateBitmapCanvas(int width, int height);
- void Flush() {
- // TODO(gram): see if we really need this.
- grcontext->flush();
- }
-
virtual ~GraphicsHandler() {
}

Powered by Google App Engine
This is Rietveld 408576698