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 362e0b8f5b719e7a0428094f315c11b3746d54a5..0641c35fa78095082552710f9db7035e20f5da67 100644 |
--- a/gpu/command_buffer/service/framebuffer_manager.h |
+++ b/gpu/command_buffer/service/framebuffer_manager.h |
@@ -36,6 +36,7 @@ class FramebufferManager { |
virtual GLsizei samples() const = 0; |
virtual bool cleared() const = 0; |
virtual void set_cleared() = 0; |
+ virtual bool IsTexture(TextureManager::TextureInfo* texture) const = 0; |
}; |
explicit FramebufferInfo(GLuint service_id); |
@@ -72,8 +73,12 @@ class FramebufferManager { |
return has_been_bound_ && !IsDeleted(); |
} |
+ bool HasDepthAttachment() const; |
+ bool HasStencilAttachment() const; |
+ GLenum GetColorAttachmentFormat() const; |
+ |
// We can't know if the frame buffer is complete since that is |
- // implementation dependent and we'd have to check after every glTexImage |
+ // implementation dependent and we'd have to check after every glTexImage |
// call but we can know in certain cases that it's NOT complete which we |
// need to enforce the OpenGL ES 2.0 spec on top of DesktopGL. |
bool IsNotComplete() const; |