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

Unified Diff: ui/gl/gl_image.h

Issue 1432963003: [Ozone] Extends the lifetime of VaapiWrapper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: ui/gl/gl_image.h
diff --git a/ui/gl/gl_image.h b/ui/gl/gl_image.h
index c96d3d31dd2033c0a09a88fdf3b90d2c1c6e09b8..c3445f108df5301a97d38cbcf4cef0063e598888 100644
--- a/ui/gl/gl_image.h
+++ b/ui/gl/gl_image.h
@@ -33,6 +33,9 @@ class GL_EXPORT GLImage : public base::RefCounted<GLImage> {
// Destroys the image.
virtual void Destroy(bool have_context) = 0;
+ // Query the image status
+ virtual bool IsValid() = 0;
+
// Get the size of the image.
virtual gfx::Size GetSize() = 0;

Powered by Google App Engine
This is Rietveld 408576698