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

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

Issue 2190543005: Command buffer: feedback loop detection for CopyTexSubImage3D (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bot failure: split tests, previous calls to CopyTexSubImage3D may make framebuffer incomplete Created 4 years, 4 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
« no previous file with comments | « no previous file | gpu/command_buffer/service/framebuffer_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 virtual bool IsLayerValid() const = 0; 61 virtual bool IsLayerValid() const = 0;
62 62
63 virtual bool CanRenderTo(const FeatureInfo* feature_info) const = 0; 63 virtual bool CanRenderTo(const FeatureInfo* feature_info) const = 0;
64 virtual void DetachFromFramebuffer(Framebuffer* framebuffer) const = 0; 64 virtual void DetachFromFramebuffer(Framebuffer* framebuffer) const = 0;
65 virtual bool ValidForAttachmentType(GLenum attachment_type, 65 virtual bool ValidForAttachmentType(GLenum attachment_type,
66 ContextType context_type, 66 ContextType context_type,
67 uint32_t max_color_attachments) = 0; 67 uint32_t max_color_attachments) = 0;
68 virtual size_t GetSignatureSize(TextureManager* texture_manager) const = 0; 68 virtual size_t GetSignatureSize(TextureManager* texture_manager) const = 0;
69 virtual void AddToSignature( 69 virtual void AddToSignature(
70 TextureManager* texture_manager, std::string* signature) const = 0; 70 TextureManager* texture_manager, std::string* signature) const = 0;
71 virtual bool FormsFeedbackLoop(TextureRef* texture, GLint level) const = 0; 71 virtual bool FormsFeedbackLoop(
72 TextureRef* texture, GLint level, GLint layer) const = 0;
72 virtual bool EmulatingRGB() const = 0; 73 virtual bool EmulatingRGB() const = 0;
73 74
74 protected: 75 protected:
75 friend class base::RefCounted<Attachment>; 76 friend class base::RefCounted<Attachment>;
76 virtual ~Attachment() {} 77 virtual ~Attachment() {}
77 }; 78 };
78 79
79 Framebuffer(FramebufferManager* manager, GLuint service_id); 80 Framebuffer(FramebufferManager* manager, GLuint service_id);
80 81
81 GLuint service_id() const { 82 GLuint service_id() const {
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 379
379 scoped_refptr<FramebufferCompletenessCache> framebuffer_combo_complete_cache_; 380 scoped_refptr<FramebufferCompletenessCache> framebuffer_combo_complete_cache_;
380 381
381 DISALLOW_COPY_AND_ASSIGN(FramebufferManager); 382 DISALLOW_COPY_AND_ASSIGN(FramebufferManager);
382 }; 383 };
383 384
384 } // namespace gles2 385 } // namespace gles2
385 } // namespace gpu 386 } // namespace gpu
386 387
387 #endif // GPU_COMMAND_BUFFER_SERVICE_FRAMEBUFFER_MANAGER_H_ 388 #endif // GPU_COMMAND_BUFFER_SERVICE_FRAMEBUFFER_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/service/framebuffer_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698