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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h

Issue 14844004: gpu: Refactor to support cross-channel shared textures (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix accidentally reverted behavior Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc ('k') | gpu/command_buffer/service/test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698