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

Unified Diff: core/cross/class_manager.cc

Issue 2825074: Initial version rendering 2D path for O3D. This will eventually allow O3D app... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/o3d/
Patch Set: '' Created 10 years, 4 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
« no previous file with comments | « core/cross/cairo/texture_cairo.cc ('k') | core/cross/client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/cross/class_manager.cc
===================================================================
--- core/cross/class_manager.cc (revision 57528)
+++ core/cross/class_manager.cc (working copy)
@@ -66,6 +66,7 @@
#include "core/cross/transform.h"
#include "core/cross/tree_traversal.h"
#include "core/cross/viewport.h"
+#include "core/cross/cairo/image_2d.h"
namespace o3d {
@@ -178,6 +179,11 @@
AddTypedClass<TreeTraversal>();
AddTypedClass<VertexBuffer>();
AddTypedClass<Viewport>();
+
+ // Specific Objects for Cairo
+#if defined(RENDERER_CAIRO)
+ AddTypedClass<Image2D>();
+#endif
}
void ClassManager::AddClass(const ObjectBase::Class* object_class,
« no previous file with comments | « core/cross/cairo/texture_cairo.cc ('k') | core/cross/client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698