| Index: gpu/command_buffer/service/framebuffer_manager.h
|
| diff --git a/gpu/command_buffer/service/framebuffer_manager.h b/gpu/command_buffer/service/framebuffer_manager.h
|
| index 67257dafd25d4526363dd4a5bb12493d9140d338..b0ee38992d835ee145919da0a7ca05c3946b508b 100644
|
| --- a/gpu/command_buffer/service/framebuffer_manager.h
|
| +++ b/gpu/command_buffer/service/framebuffer_manager.h
|
| @@ -62,6 +62,10 @@ class GPU_EXPORT Framebuffer : public base::RefCounted<Framebuffer> {
|
| virtual void AddToSignature(
|
| TextureManager* texture_manager, std::string* signature) const = 0;
|
| virtual bool FormsFeedbackLoop(TextureRef* texture, GLint level) const = 0;
|
| + virtual bool EmulatingRGB() const = 0;
|
| +
|
| + virtual bool Initialized() const = 0;
|
| + virtual void SetInitialized(bool initialized) = 0;
|
|
|
| protected:
|
| friend class base::RefCounted<Attachment>;
|
| @@ -76,6 +80,8 @@ class GPU_EXPORT Framebuffer : public base::RefCounted<Framebuffer> {
|
|
|
| bool HasUnclearedAttachment(GLenum attachment) const;
|
| bool HasUnclearedColorAttachments() const;
|
| + bool HasUninitializedDrawBuffers() const;
|
| + void SetDrawBuffersAsInitialized();
|
|
|
| void ClearUnclearedIntOr3DTexturesOrPartiallyClearedTextures(
|
| GLES2Decoder* decoder,
|
| @@ -172,6 +178,7 @@ class GPU_EXPORT Framebuffer : public base::RefCounted<Framebuffer> {
|
|
|
| // Return true if any draw buffers has an alpha channel.
|
| bool HasAlphaMRT() const;
|
| + bool EmulatingRGB() const;
|
|
|
| // Return false if any two active color attachments have different internal
|
| // formats.
|
|
|