Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(256)

Side by Side Diff: gpu/command_buffer/service/framebuffer_manager.h

Issue 2149523002: Make invalidateFramebuffer no-op for DEPTH_STENCIL attachment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make invalidateFramebuffer no-op for DEPTH_STENCIL attachment Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698