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

Side by Side Diff: gpu/command_buffer/service/shader_manager.cc

Issue 16632010: Use a direct include of strings headers in extensions/, google_apis/, gpu/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 #include "gpu/command_buffer/service/shader_manager.h" 5 #include "gpu/command_buffer/service/shader_manager.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/string_util.h" 10 #include "base/strings/string_util.h"
11 11
12 namespace gpu { 12 namespace gpu {
13 namespace gles2 { 13 namespace gles2 {
14 14
15 Shader::Shader(GLuint service_id, GLenum shader_type) 15 Shader::Shader(GLuint service_id, GLenum shader_type)
16 : use_count_(0), 16 : use_count_(0),
17 service_id_(service_id), 17 service_id_(service_id),
18 shader_type_(shader_type), 18 shader_type_(shader_type),
19 valid_(false), 19 valid_(false),
20 compilation_status_(NOT_COMPILED) { 20 compilation_status_(NOT_COMPILED) {
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 DCHECK(shader); 174 DCHECK(shader);
175 DCHECK(IsOwned(shader)); 175 DCHECK(IsOwned(shader));
176 shader->DecUseCount(); 176 shader->DecUseCount();
177 RemoveShader(shader); 177 RemoveShader(shader);
178 } 178 }
179 179
180 } // namespace gles2 180 } // namespace gles2
181 } // namespace gpu 181 } // namespace gpu
182 182
183 183
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/renderbuffer_manager.cc ('k') | gpu/command_buffer/service/texture_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698