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

Unified Diff: content/common/gpu/gpu_channel.cc

Issue 10106015: Allow textures to be moved from one GL context group to another. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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: content/common/gpu/gpu_channel.cc
===================================================================
--- content/common/gpu/gpu_channel.cc (revision 133771)
+++ content/common/gpu/gpu_channel.cc (working copy)
@@ -18,6 +18,7 @@
#include "content/common/gpu/gpu_messages.h"
#include "content/public/common/content_client.h"
#include "content/public/common/content_switches.h"
+#include "gpu/command_buffer/service/display.h"
#include "ui/gfx/gl/gl_context.h"
#include "ui/gfx/gl/gl_surface.h"
@@ -40,6 +41,7 @@
bool software)
: gpu_channel_manager_(gpu_channel_manager),
client_id_(client_id),
+ display_(new gpu::gles2::Display),
share_group_(share_group ? share_group : new gfx::GLShareGroup),
watchdog_(watchdog),
software_(software),
@@ -178,6 +180,7 @@
this,
share_group,
window,
+ display_,
gfx::Size(),
disallowed_features_,
init_params.allowed_extensions,
@@ -319,6 +322,7 @@
this,
share_group,
gfx::GLSurfaceHandle(),
+ display_.get(),
size,
disallowed_features_,
init_params.allowed_extensions,

Powered by Google App Engine
This is Rietveld 408576698