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

Unified Diff: Source/platform/graphics/GraphicsTypes3D.h

Issue 749653002: WebGL: clarify which Front or Back buffer is used by each API. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address nits Created 6 years, 1 month 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: Source/platform/graphics/GraphicsTypes3D.h
diff --git a/Source/platform/graphics/GraphicsTypes3D.h b/Source/platform/graphics/GraphicsTypes3D.h
index 33349a4cb087a7db6875ad096ae6330676b810fb..d76bb1a8185651cffeb1446624e21e7cd767f1b7 100644
--- a/Source/platform/graphics/GraphicsTypes3D.h
+++ b/Source/platform/graphics/GraphicsTypes3D.h
@@ -57,4 +57,10 @@ const unsigned GC3D_COMPRESSED_ATC_RGBA_INTERPOLATED_ALPHA_AMD = 0x87EE;
const unsigned GC3D_MAP_CHROMIUM = 0x78F1;
const unsigned GC3D_SCANOUT_CHROMIUM = 0x78F2;
-#endif
+namespace blink {
+
+enum SourceDrawingBuffer { FrontBuffer, BackBuffer };
+
+} // namespace blink
+
+#endif // GraphicsTypes3D_h

Powered by Google App Engine
This is Rietveld 408576698