| 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 c469bf8743503a90eccdb57dad657f6477667414..a52c65dd2747e4702bc1a14d55bb80295edd3855 100644
|
| --- a/gpu/command_buffer/service/framebuffer_manager.h
|
| +++ b/gpu/command_buffer/service/framebuffer_manager.h
|
| @@ -46,7 +46,8 @@ class GPU_EXPORT Framebuffer : public base::RefCounted<Framebuffer> {
|
| virtual bool CanRenderTo() const = 0;
|
| virtual void DetachFromFramebuffer(Framebuffer* framebuffer) const = 0;
|
| virtual bool ValidForAttachmentType(
|
| - GLenum attachment_type, uint32 max_color_attachments) = 0;
|
| + GLenum attachment_type, uint32 max_color_attachments,
|
| + bool allow_float_color_attachment) = 0;
|
| virtual void AddToSignature(
|
| TextureManager* texture_manager, std::string* signature) const = 0;
|
|
|
| @@ -115,7 +116,7 @@ class GPU_EXPORT Framebuffer : public base::RefCounted<Framebuffer> {
|
| // Note that receiving GL_FRAMEBUFFER_COMPLETE from this function does
|
| // not mean the real OpenGL will consider it framebuffer complete. It just
|
| // means it passed our tests.
|
| - GLenum IsPossiblyComplete() const;
|
| + GLenum IsPossiblyComplete(bool allow_float_color_attachment) const;
|
|
|
| // Implements optimized glGetFramebufferStatus.
|
| GLenum GetStatus(TextureManager* texture_manager, GLenum target) const;
|
|
|