| 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 aa1111813e1fee36b1cc8b99f9cb06bebe8ccc06..7955ac1791d83ee2e69ef714f58d3e71cb8e7fd5 100644
|
| --- a/gpu/command_buffer/service/framebuffer_manager.h
|
| +++ b/gpu/command_buffer/service/framebuffer_manager.h
|
| @@ -181,12 +181,16 @@ class GPU_EXPORT Framebuffer : public base::RefCounted<Framebuffer> {
|
| };
|
|
|
| struct DecoderFramebufferState {
|
| - DecoderFramebufferState():
|
| - clear_state_dirty(true) {}
|
| + DecoderFramebufferState();
|
| + ~DecoderFramebufferState();
|
|
|
| // State saved for clearing so we can clear render buffers and then
|
| // restore to these values.
|
| bool clear_state_dirty;
|
| +
|
| + // The currently bound framebuffers
|
| + scoped_refptr<Framebuffer> bound_read_framebuffer;
|
| + scoped_refptr<Framebuffer> bound_draw_framebuffer;
|
| };
|
|
|
| // This class keeps track of the frambebuffers and their attached renderbuffers
|
|
|