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

Unified Diff: ui/gl/gl_surface_stub.cc

Issue 1583283004: Ensure alpha channel in backbuffer is correct with DirectComposition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/gl_surface_stub.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_stub.cc
diff --git a/ui/gl/gl_surface_stub.cc b/ui/gl/gl_surface_stub.cc
index c49165fee1e5ee857821e4551a8b2764168c1831..ad5b0b3fe4537314cc4bdf28d49132d86376ef03 100644
--- a/ui/gl/gl_surface_stub.cc
+++ b/ui/gl/gl_surface_stub.cc
@@ -9,6 +9,12 @@ namespace gfx {
void GLSurfaceStub::Destroy() {
}
+bool GLSurfaceStub::Resize(const gfx::Size& size,
+ float scale_factor,
+ bool has_alpha) {
+ return true;
+}
+
bool GLSurfaceStub::IsOffscreen() {
return false;
}
@@ -25,6 +31,10 @@ void* GLSurfaceStub::GetHandle() {
return NULL;
}
+bool GLSurfaceStub::BuffersFlipped() const {
+ return buffers_flipped_;
+}
+
GLSurfaceStub::~GLSurfaceStub() {}
} // namespace gfx
« no previous file with comments | « ui/gl/gl_surface_stub.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698