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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 Framebuffer(FramebufferManager* manager, GLuint service_id); | 78 Framebuffer(FramebufferManager* manager, GLuint service_id); |
79 | 79 |
80 GLuint service_id() const { | 80 GLuint service_id() const { |
81 return service_id_; | 81 return service_id_; |
82 } | 82 } |
83 | 83 |
84 bool HasUnclearedAttachment(GLenum attachment) const; | 84 bool HasUnclearedAttachment(GLenum attachment) const; |
85 bool HasUnclearedColorAttachments() const; | 85 bool HasUnclearedColorAttachments() const; |
86 | 86 |
87 bool HasSRGBAttachments() const; | 87 bool HasSRGBAttachments() const; |
| 88 bool HasDepthStencilFormatAttachment(GLenum attachment) const; |
88 | 89 |
89 void ClearUnclearedIntOr3DTexturesOrPartiallyClearedTextures( | 90 void ClearUnclearedIntOr3DTexturesOrPartiallyClearedTextures( |
90 GLES2Decoder* decoder, | 91 GLES2Decoder* decoder, |
91 TextureManager* texture_manager); | 92 TextureManager* texture_manager); |
92 | 93 |
93 bool HasUnclearedIntRenderbufferAttachments() const; | 94 bool HasUnclearedIntRenderbufferAttachments() const; |
94 | 95 |
95 void ClearUnclearedIntRenderbufferAttachments( | 96 void ClearUnclearedIntRenderbufferAttachments( |
96 RenderbufferManager* renderbuffer_manager); | 97 RenderbufferManager* renderbuffer_manager); |
97 | 98 |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 | 334 |
334 scoped_refptr<FramebufferCompletenessCache> framebuffer_combo_complete_cache_; | 335 scoped_refptr<FramebufferCompletenessCache> framebuffer_combo_complete_cache_; |
335 | 336 |
336 DISALLOW_COPY_AND_ASSIGN(FramebufferManager); | 337 DISALLOW_COPY_AND_ASSIGN(FramebufferManager); |
337 }; | 338 }; |
338 | 339 |
339 } // namespace gles2 | 340 } // namespace gles2 |
340 } // namespace gpu | 341 } // namespace gpu |
341 | 342 |
342 #endif // GPU_COMMAND_BUFFER_SERVICE_FRAMEBUFFER_MANAGER_H_ | 343 #endif // GPU_COMMAND_BUFFER_SERVICE_FRAMEBUFFER_MANAGER_H_ |
OLD | NEW |