| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_FRAMEBUFFER_MANAGER_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_FRAMEBUFFER_MANAGER_H_ |
| 6 #define GPU_COMMAND_BUFFER_SERVICE_FRAMEBUFFER_MANAGER_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_FRAMEBUFFER_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/logging.h" | |
| 11 #include "base/ref_counted.h" | 10 #include "base/ref_counted.h" |
| 12 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
| 13 #include "gpu/command_buffer/service/gl_utils.h" | 12 #include "gpu/command_buffer/service/gl_utils.h" |
| 14 #include "gpu/command_buffer/service/renderbuffer_manager.h" | 13 #include "gpu/command_buffer/service/renderbuffer_manager.h" |
| 15 | 14 |
| 16 namespace gpu { | 15 namespace gpu { |
| 17 namespace gles2 { | 16 namespace gles2 { |
| 18 | 17 |
| 19 // This class keeps track of the frambebuffers and their attached renderbuffers | 18 // This class keeps track of the frambebuffers and their attached renderbuffers |
| 20 // so we can correctly clear them. | 19 // so we can correctly clear them. |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 typedef std::map<GLuint, FramebufferInfo::Ref> FramebufferInfoMap; | 89 typedef std::map<GLuint, FramebufferInfo::Ref> FramebufferInfoMap; |
| 91 FramebufferInfoMap framebuffer_infos_; | 90 FramebufferInfoMap framebuffer_infos_; |
| 92 | 91 |
| 93 DISALLOW_COPY_AND_ASSIGN(FramebufferManager); | 92 DISALLOW_COPY_AND_ASSIGN(FramebufferManager); |
| 94 }; | 93 }; |
| 95 | 94 |
| 96 } // namespace gles2 | 95 } // namespace gles2 |
| 97 } // namespace gpu | 96 } // namespace gpu |
| 98 | 97 |
| 99 #endif // GPU_COMMAND_BUFFER_SERVICE_FRAMEBUFFER_MANAGER_H_ | 98 #endif // GPU_COMMAND_BUFFER_SERVICE_FRAMEBUFFER_MANAGER_H_ |
| 100 | |
| 101 | |
| OLD | NEW |