| 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 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 Framebuffer(FramebufferManager* manager, GLuint service_id); | 79 Framebuffer(FramebufferManager* manager, GLuint service_id); |
| 80 | 80 |
| 81 GLuint service_id() const { | 81 GLuint service_id() const { |
| 82 return service_id_; | 82 return service_id_; |
| 83 } | 83 } |
| 84 | 84 |
| 85 bool HasUnclearedAttachment(GLenum attachment) const; | 85 bool HasUnclearedAttachment(GLenum attachment) const; |
| 86 bool HasUnclearedColorAttachments() const; | 86 bool HasUnclearedColorAttachments() const; |
| 87 | 87 |
| 88 bool HasSRGBAttachments() const; | 88 bool HasSRGBAttachments() const; |
| 89 bool HasDepthStencilFormatAttachment(GLenum attachment) const; | 89 bool HasDepthStencilFormatAttachment() const; |
| 90 | 90 |
| 91 void ClearUnclearedIntOr3DTexturesOrPartiallyClearedTextures( | 91 void ClearUnclearedIntOr3DTexturesOrPartiallyClearedTextures( |
| 92 GLES2Decoder* decoder, | 92 GLES2Decoder* decoder, |
| 93 TextureManager* texture_manager); | 93 TextureManager* texture_manager); |
| 94 | 94 |
| 95 bool HasUnclearedIntRenderbufferAttachments() const; | 95 bool HasUnclearedIntRenderbufferAttachments() const; |
| 96 | 96 |
| 97 void ClearUnclearedIntRenderbufferAttachments( | 97 void ClearUnclearedIntRenderbufferAttachments( |
| 98 RenderbufferManager* renderbuffer_manager); | 98 RenderbufferManager* renderbuffer_manager); |
| 99 | 99 |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 | 378 |
| 379 scoped_refptr<FramebufferCompletenessCache> framebuffer_combo_complete_cache_; | 379 scoped_refptr<FramebufferCompletenessCache> framebuffer_combo_complete_cache_; |
| 380 | 380 |
| 381 DISALLOW_COPY_AND_ASSIGN(FramebufferManager); | 381 DISALLOW_COPY_AND_ASSIGN(FramebufferManager); |
| 382 }; | 382 }; |
| 383 | 383 |
| 384 } // namespace gles2 | 384 } // namespace gles2 |
| 385 } // namespace gpu | 385 } // namespace gpu |
| 386 | 386 |
| 387 #endif // GPU_COMMAND_BUFFER_SERVICE_FRAMEBUFFER_MANAGER_H_ | 387 #endif // GPU_COMMAND_BUFFER_SERVICE_FRAMEBUFFER_MANAGER_H_ |
| OLD | NEW |