| 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_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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/containers/hash_tables.h" | 14 #include "base/containers/hash_tables.h" |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
| 17 #include "gpu/command_buffer/service/context_group.h" | 17 #include "gpu/command_buffer/service/context_group.h" |
| 18 #include "gpu/command_buffer/service/gl_utils.h" | 18 #include "gpu/command_buffer/service/gl_utils.h" |
| 19 #include "gpu/command_buffer/service/shader_manager.h" | 19 #include "gpu/command_buffer/service/shader_manager.h" |
| 20 #include "gpu/gpu_export.h" | 20 #include "gpu/gpu_export.h" |
| 21 | 21 |
| 22 namespace gpu { | 22 namespace gpu { |
| 23 namespace gles2 { | 23 namespace gles2 { |
| 24 | 24 |
| 25 class FeatureInfo; | 25 class FeatureInfo; |
| 26 class FramebufferCompletenessCache; | 26 class FramebufferCompletenessCache; |
| 27 class FramebufferManager; | 27 class FramebufferManager; |
| 28 class Renderbuffer; | 28 class Renderbuffer; |
| 29 class RenderbufferManager; | 29 class RenderbufferManager; |
| 30 class Texture; | |
| 31 class TextureRef; | 30 class TextureRef; |
| 32 class TextureManager; | 31 class TextureManager; |
| 33 | 32 |
| 34 // Info about a particular Framebuffer. | 33 // Info about a particular Framebuffer. |
| 35 class GPU_EXPORT Framebuffer : public base::RefCounted<Framebuffer> { | 34 class GPU_EXPORT Framebuffer : public base::RefCounted<Framebuffer> { |
| 36 public: | 35 public: |
| 37 class Attachment : public base::RefCounted<Attachment> { | 36 class Attachment : public base::RefCounted<Attachment> { |
| 38 public: | 37 public: |
| 39 virtual GLsizei width() const = 0; | 38 virtual GLsizei width() const = 0; |
| 40 virtual GLsizei height() const = 0; | 39 virtual GLsizei height() const = 0; |
| (...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 | 372 |
| 374 scoped_refptr<FramebufferCompletenessCache> framebuffer_combo_complete_cache_; | 373 scoped_refptr<FramebufferCompletenessCache> framebuffer_combo_complete_cache_; |
| 375 | 374 |
| 376 DISALLOW_COPY_AND_ASSIGN(FramebufferManager); | 375 DISALLOW_COPY_AND_ASSIGN(FramebufferManager); |
| 377 }; | 376 }; |
| 378 | 377 |
| 379 } // namespace gles2 | 378 } // namespace gles2 |
| 380 } // namespace gpu | 379 } // namespace gpu |
| 381 | 380 |
| 382 #endif // GPU_COMMAND_BUFFER_SERVICE_FRAMEBUFFER_MANAGER_H_ | 381 #endif // GPU_COMMAND_BUFFER_SERVICE_FRAMEBUFFER_MANAGER_H_ |
| OLD | NEW |