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

Unified Diff: gpu/command_buffer/service/context_group.cc

Issue 2061743004: Implement native GMB backbuffers in the GLES2 Command Decoder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments from piman. Created 4 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
« no previous file with comments | « gpu/command_buffer/service/context_group.h ('k') | gpu/command_buffer/service/context_group_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/context_group.cc
diff --git a/gpu/command_buffer/service/context_group.cc b/gpu/command_buffer/service/context_group.cc
index ad3dcdf616b3d87fa4d79f33da5187f1df844fea..ea0f9ce9d7cd12a4993b8fc316fee5179a7e42e1 100644
--- a/gpu/command_buffer/service/context_group.cc
+++ b/gpu/command_buffer/service/context_group.cc
@@ -63,7 +63,8 @@ ContextGroup::ContextGroup(
const scoped_refptr<FramebufferCompletenessCache>&
framebuffer_completeness_cache,
const scoped_refptr<FeatureInfo>& feature_info,
- bool bind_generates_resource)
+ bool bind_generates_resource,
+ gpu::ImageFactory* image_factory)
: gpu_preferences_(gpu_preferences),
mailbox_manager_(mailbox_manager),
memory_tracker_(memory_tracker),
@@ -99,7 +100,8 @@ ContextGroup::ContextGroup(
max_uniform_buffer_bindings_(0u),
uniform_buffer_offset_alignment_(1u),
program_cache_(NULL),
- feature_info_(feature_info) {
+ feature_info_(feature_info),
+ image_factory_(image_factory) {
{
DCHECK(feature_info_);
if (!mailbox_manager_.get())
« no previous file with comments | « gpu/command_buffer/service/context_group.h ('k') | gpu/command_buffer/service/context_group_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698