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

Unified Diff: sky/shell/gpu/rasterizer.cc

Issue 1168993002: Update the native_viewport interface to allow specification of the surface configuration, currently… (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Hopefully got all of the linux compile issues now... Created 5 years, 6 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
Index: sky/shell/gpu/rasterizer.cc
diff --git a/sky/shell/gpu/rasterizer.cc b/sky/shell/gpu/rasterizer.cc
index 52a5525c8d19d8b3e195fc47094ba3e57e4a7e38..cb56a054a45c903b721e0366c10dff1113763ba8 100644
--- a/sky/shell/gpu/rasterizer.cc
+++ b/sky/shell/gpu/rasterizer.cc
@@ -37,7 +37,8 @@ base::WeakPtr<Rasterizer> Rasterizer::GetWeakPtr() {
}
void Rasterizer::OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget) {
- surface_ = gfx::GLSurface::CreateViewGLSurface(widget);
+ surface_ = gfx::GLSurface::CreateViewGLSurface(widget,
+ gfx::SurfaceConfiguration());
CHECK(surface_) << "GLSurface required.";
}

Powered by Google App Engine
This is Rietveld 408576698