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

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

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/value_state.cc ('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
diff --git a/gpu/command_buffer/service/context_group.h b/gpu/command_buffer/service/context_group.h
index eb53252806783812af9e87764def0441bfcddb52..b6b64830803d1ea2808a9f599bf9e4888ce07a53 100644
--- a/gpu/command_buffer/service/context_group.h
+++ b/gpu/command_buffer/service/context_group.h
@@ -22,6 +22,7 @@
namespace gpu {
class TransferBufferManagerInterface;
+class ValueStateMap;
namespace gles2 {
@@ -47,6 +48,7 @@ class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> {
const scoped_refptr<MemoryTracker>& memory_tracker,
const scoped_refptr<ShaderTranslatorCache>& shader_translator_cache,
const scoped_refptr<FeatureInfo>& feature_info,
+ const scoped_refptr<ValueStateMap>& pending_valuebuffer_state,
bool bind_generates_resource);
// This should only be called by GLES2Decoder. This must be paired with a
@@ -131,6 +133,10 @@ class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> {
return valuebuffer_manager_.get();
}
+ ValueStateMap* pending_valuebuffer_state() const {
+ return pending_valuebuffer_state_.get();
+ }
+
TextureManager* texture_manager() const {
return texture_manager_.get();
}
@@ -182,6 +188,7 @@ class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> {
scoped_refptr<MemoryTracker> memory_tracker_;
scoped_refptr<ShaderTranslatorCache> shader_translator_cache_;
scoped_ptr<TransferBufferManagerInterface> transfer_buffer_manager_;
+ scoped_refptr<gpu::ValueStateMap> pending_valuebuffer_state_;
bool enforce_gl_minimums_;
bool bind_generates_resource_;
@@ -204,14 +211,14 @@ class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> {
scoped_ptr<RenderbufferManager> renderbuffer_manager_;
- scoped_ptr<ValuebufferManager> valuebuffer_manager_;
-
scoped_ptr<TextureManager> texture_manager_;
scoped_ptr<ProgramManager> program_manager_;
scoped_ptr<ShaderManager> shader_manager_;
+ scoped_ptr<ValuebufferManager> valuebuffer_manager_;
+
scoped_refptr<FeatureInfo> feature_info_;
std::vector<base::WeakPtr<gles2::GLES2Decoder> > decoders_;
« no previous file with comments | « gpu/command_buffer/common/value_state.cc ('k') | gpu/command_buffer/service/context_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698