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

Unified Diff: gpu/command_buffer/service/texture_definition.cc

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
« no previous file with comments | « no previous file | ui/gl/gl_image.h » ('j') | ui/gl/gl_surface_ozone.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/texture_definition.cc
diff --git a/gpu/command_buffer/service/texture_definition.cc b/gpu/command_buffer/service/texture_definition.cc
index ed3e8b62023ee636c6febfd12a9a90e3ac4e4460..33c167e80b18ab46cffa1ba0342bb5fed208044d 100644
--- a/gpu/command_buffer/service/texture_definition.cc
+++ b/gpu/command_buffer/service/texture_definition.cc
@@ -32,6 +32,7 @@ class GLImageSync : public gl::GLImage {
// Implement GLImage.
void Destroy(bool have_context) override;
+ bool IsValid() override;
gfx::Size GetSize() override;
unsigned GetInternalFormat() override;
bool BindTexImage(unsigned target) override;
@@ -74,6 +75,10 @@ GLImageSync::~GLImageSync() {
void GLImageSync::Destroy(bool have_context) {
}
+bool GLImageSync::IsValid() {
+ return true;
+}
+
gfx::Size GLImageSync::GetSize() {
return size_;
}
« no previous file with comments | « no previous file | ui/gl/gl_image.h » ('j') | ui/gl/gl_surface_ozone.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698