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

Unified Diff: runtime/embedders/openglui/common/canvas_context.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/canvas_context.h
===================================================================
--- runtime/embedders/openglui/common/canvas_context.h (revision 18200)
+++ runtime/embedders/openglui/common/canvas_context.h (working copy)
@@ -43,7 +43,7 @@
}
public:
- CanvasContext(int16_t width, int16_t height);
+ CanvasContext(int handle, int16_t width, int16_t height);
virtual ~CanvasContext();
inline void setGlobalAlpha(float alpha) {
@@ -292,11 +292,10 @@
virtual void Flush() {
canvas_->flush();
- graphics->Flush();
}
-
- void Create();
};
+CanvasContext* Context2D(int handle);
+
#endif // EMBEDDERS_OPENGLUI_COMMON_CANVAS_CONTEXT_H_
« no previous file with comments | « no previous file | runtime/embedders/openglui/common/canvas_context.cc » ('j') | runtime/embedders/openglui/common/gl.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698