Index: gpu/command_buffer/service/context_group.h |
=================================================================== |
--- gpu/command_buffer/service/context_group.h (revision 49807) |
+++ gpu/command_buffer/service/context_group.h (working copy) |
@@ -9,6 +9,7 @@ |
#include "base/basictypes.h" |
#include "base/linked_ptr.h" |
#include "base/scoped_ptr.h" |
+#include "gpu/command_buffer/service/gles2_cmd_validation.h" |
namespace gpu { |
@@ -88,6 +89,10 @@ |
IdAllocator* GetIdAllocator(unsigned namepsace_id); |
+ const Validators* validators() const { |
+ return &validators_; |
+ } |
+ |
private: |
// Whether or not this context is initialized. |
bool initialized_; |
@@ -115,6 +120,8 @@ |
typedef std::map<uint32, linked_ptr<IdAllocator> > IdAllocatorMap; |
IdAllocatorMap id_namespaces_; |
+ Validators validators_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ContextGroup); |
}; |