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

Unified Diff: experimental/fiddle/OSMesaContextHolder.h

Issue 1349163003: experiment/fiddle (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 3 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: experimental/fiddle/OSMesaContextHolder.h
diff --git a/experimental/fiddle/OSMesaContextHolder.h b/experimental/fiddle/OSMesaContextHolder.h
new file mode 100644
index 0000000000000000000000000000000000000000..aee819c450886aebf4da33995eae33fd7dc9d35e
--- /dev/null
+++ b/experimental/fiddle/OSMesaContextHolder.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright 2015 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+#ifndef OSMesaContextHolder_DEFINED
+#define OSMesaContextHolder_DEFINED
+
+struct osmesa_context;
+
+class OSMesaContextHolder {
mtklein 2015/09/17 13:58:22 Why is this code not just in fiddle_main?
+public:
+ OSMesaContextHolder();
+ ~OSMesaContextHolder();
+
+private:
+ osmesa_context* fOSMesaContext;
+};
+
+////////////////////////////////////////////////////////////////////////////////
+
+#endif // OSMesaContextHolder_DEFINED

Powered by Google App Engine
This is Rietveld 408576698