summaryrefslogtreecommitdiff
path: root/chromium/ui/gl/gl_surface.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/gl/gl_surface.cc')
-rw-r--r--chromium/ui/gl/gl_surface.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/chromium/ui/gl/gl_surface.cc b/chromium/ui/gl/gl_surface.cc
index 8284db4f327..9d304c947d5 100644
--- a/chromium/ui/gl/gl_surface.cc
+++ b/chromium/ui/gl/gl_surface.cc
@@ -197,6 +197,10 @@ bool GLSurface::SupportsProtectedVideo() const {
return false;
}
+bool GLSurface::SupportsOverridePlatformSize() const {
+ return false;
+}
+
bool GLSurface::SetDrawRectangle(const gfx::Rect& rect) {
return false;
}
@@ -241,6 +245,10 @@ bool GLSurface::SupportsGpuVSync() const {
return false;
}
+bool GLSurface::SupportsDelegatedInk() {
+ return false;
+}
+
void GLSurface::SetGpuVSyncEnabled(bool enabled) {}
GLSurface* GLSurface::GetCurrent() {
@@ -465,6 +473,10 @@ bool GLSurfaceAdapter::SupportsProtectedVideo() const {
return surface_->SupportsProtectedVideo();
}
+bool GLSurfaceAdapter::SupportsOverridePlatformSize() const {
+ return surface_->SupportsOverridePlatformSize();
+}
+
bool GLSurfaceAdapter::SetDrawRectangle(const gfx::Rect& rect) {
return surface_->SetDrawRectangle(rect);
}
@@ -521,6 +533,10 @@ bool GLSurfaceAdapter::IsCurrent() {
return surface_->IsCurrent();
}
+bool GLSurfaceAdapter::SupportsDelegatedInk() {
+ return surface_->SupportsDelegatedInk();
+}
+
GLSurfaceAdapter::~GLSurfaceAdapter() {}
scoped_refptr<GLSurface> InitializeGLSurfaceWithFormat(