| OLD | NEW | 
|    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 
|    2 // Use of this source code is governed by a BSD-style license that can be |    2 // Use of this source code is governed by a BSD-style license that can be | 
|    3 // found in the LICENSE file. |    3 // found in the LICENSE file. | 
|    4  |    4  | 
|    5 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ |    5 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ | 
|    6 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ |    6 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ | 
|    7  |    7  | 
|    8 #include "gpu/command_buffer/common/gles2_cmd_format.h" |    8 #include "gpu/command_buffer/common/gles2_cmd_format.h" | 
|    9 #include "gpu/command_buffer/common/gles2_cmd_utils.h" |    9 #include "gpu/command_buffer/common/gles2_cmd_utils.h" | 
|   10 #include "gpu/command_buffer/service/buffer_manager.h" |   10 #include "gpu/command_buffer/service/buffer_manager.h" | 
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  104  |  104  | 
|  105   Framebuffer* GetFramebuffer(GLuint service_id) { |  105   Framebuffer* GetFramebuffer(GLuint service_id) { | 
|  106     return group_->framebuffer_manager()->GetFramebuffer(service_id); |  106     return group_->framebuffer_manager()->GetFramebuffer(service_id); | 
|  107   } |  107   } | 
|  108  |  108  | 
|  109   Renderbuffer* GetRenderbuffer( |  109   Renderbuffer* GetRenderbuffer( | 
|  110       GLuint service_id) { |  110       GLuint service_id) { | 
|  111     return group_->renderbuffer_manager()->GetRenderbuffer(service_id); |  111     return group_->renderbuffer_manager()->GetRenderbuffer(service_id); | 
|  112   } |  112   } | 
|  113  |  113  | 
|  114   Texture* GetTexture(GLuint client_id) { |  114   TextureRef* GetTexture(GLuint client_id) { | 
|  115     return group_->texture_manager()->GetTexture(client_id); |  115     return group_->texture_manager()->GetTexture(client_id); | 
|  116   } |  116   } | 
|  117  |  117  | 
|  118   Shader* GetShader(GLuint client_id) { |  118   Shader* GetShader(GLuint client_id) { | 
|  119     return group_->shader_manager()->GetShader(client_id); |  119     return group_->shader_manager()->GetShader(client_id); | 
|  120   } |  120   } | 
|  121  |  121  | 
|  122   Program* GetProgram(GLuint client_id) { |  122   Program* GetProgram(GLuint client_id) { | 
|  123     return group_->program_manager()->GetProgram(client_id); |  123     return group_->program_manager()->GetProgram(client_id); | 
|  124   } |  124   } | 
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  539  protected: |  539  protected: | 
|  540   virtual void SetUp() OVERRIDE; |  540   virtual void SetUp() OVERRIDE; | 
|  541   virtual void TearDown() OVERRIDE; |  541   virtual void TearDown() OVERRIDE; | 
|  542  |  542  | 
|  543 }; |  543 }; | 
|  544  |  544  | 
|  545 }  // namespace gles2 |  545 }  // namespace gles2 | 
|  546 }  // namespace gpu |  546 }  // namespace gpu | 
|  547  |  547  | 
|  548 #endif  // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ |  548 #endif  // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ | 
| OLD | NEW |