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

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

Issue 7762009: Manually merging trunk revs 95836 and 96904 to 835 branch (second attempt) (Closed) Base URL: svn://svn.chromium.org/chrome/branches/835/src/
Patch Set: Created 9 years, 4 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/common/id_allocator.h ('k') | gpu/command_buffer/service/context_group.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.h
===================================================================
--- gpu/command_buffer/service/context_group.h (revision 98483)
+++ gpu/command_buffer/service/context_group.h (working copy)
@@ -36,7 +36,7 @@
public:
typedef scoped_refptr<ContextGroup> Ref;
- ContextGroup();
+ explicit ContextGroup(bool bind_generates_resource);
~ContextGroup();
// This should only be called by GLES2Decoder.
@@ -48,6 +48,10 @@
have_context_ = have_context;
}
+ bool bind_generates_resource() {
+ return bind_generates_resource_;
+ }
+
uint32 max_vertex_attribs() const {
return max_vertex_attribs_;
}
@@ -113,6 +117,7 @@
// Whether or not this context is initialized.
bool initialized_;
bool have_context_;
+ bool bind_generates_resource_;
uint32 max_vertex_attribs_;
uint32 max_texture_units_;
« no previous file with comments | « gpu/command_buffer/common/id_allocator.h ('k') | gpu/command_buffer/service/context_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698