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 #include "gpu/command_buffer/service/renderbuffer_manager.h" | 5 #include "gpu/command_buffer/service/renderbuffer_manager.h" |
| 6 #include "base/debug/trace_event.h" |
6 #include "base/logging.h" | 7 #include "base/logging.h" |
7 #include "base/debug/trace_event.h" | 8 #include "base/strings/stringprintf.h" |
8 #include "base/stringprintf.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/gles2_cmd_decoder.h" | 10 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
11 #include "gpu/command_buffer/service/memory_tracking.h" | 11 #include "gpu/command_buffer/service/memory_tracking.h" |
12 #include "ui/gl/gl_implementation.h" | 12 #include "ui/gl/gl_implementation.h" |
13 | 13 |
14 namespace gpu { | 14 namespace gpu { |
15 namespace gles2 { | 15 namespace gles2 { |
16 | 16 |
17 RenderbufferManager::RenderbufferManager( | 17 RenderbufferManager::RenderbufferManager( |
18 MemoryTracker* memory_tracker, | 18 MemoryTracker* memory_tracker, |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 return GL_RGB; | 182 return GL_RGB; |
183 } | 183 } |
184 } | 184 } |
185 return impl_format; | 185 return impl_format; |
186 } | 186 } |
187 | 187 |
188 } // namespace gles2 | 188 } // namespace gles2 |
189 } // namespace gpu | 189 } // namespace gpu |
190 | 190 |
191 | 191 |
OLD | NEW |