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

Unified Diff: gpu/command_buffer/service/async_pixel_transfer_manager_egl.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: Final cleanups 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: gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc
diff --git a/gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc b/gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc
index e7a3a6ce4623adaafb8142964139a46e0928c92c..977822eb11d720a813d5cb796cceef53cd06b0d3 100644
--- a/gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc
+++ b/gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc
@@ -97,7 +97,8 @@ class TransferThread : public base::Thread {
void Init() override {
gfx::GLShareGroup* share_group = NULL;
- surface_ = new gfx::PbufferGLSurfaceEGL(gfx::Size(1, 1));
+ surface_ = new gfx::PbufferGLSurfaceEGL(gfx::Size(1, 1),
+ gfx::SurfaceConfiguration());
surface_->Initialize();
context_ = gfx::GLContext::CreateGLContext(
share_group, surface_.get(), gfx::PreferDiscreteGpu);
« no previous file with comments | « examples/surfaces_app/surfaces_app.cc ('k') | gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698