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

Unified Diff: ui/gl/gl_image.h

Issue 2742593002: Add GLImageDXGI (Closed)
Patch Set: centralize cast Created 3 years, 9 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 | « ui/gl/BUILD.gn ('k') | ui/gl/gl_image_dxgi.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_image.h
diff --git a/ui/gl/gl_image.h b/ui/gl/gl_image.h
index 44680193317aad5c031eff3ca9381ef83fac0e0f..f0d08423a6f1f3206138c8d50b22e87b325bca4b 100644
--- a/ui/gl/gl_image.h
+++ b/ui/gl/gl_image.h
@@ -86,10 +86,7 @@ class GL_EXPORT GLImage : public base::RefCounted<GLImage> {
virtual bool EmulatingRGB() const;
// An identifier for subclasses. Necessary for safe downcasting.
- enum class Type {
- NONE,
- IOSURFACE
- };
+ enum class Type { NONE, IOSURFACE, DXGI_IMAGE };
virtual Type GetType() const;
protected:
« no previous file with comments | « ui/gl/BUILD.gn ('k') | ui/gl/gl_image_dxgi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698