OLD | NEW |
1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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 CC_OUTPUT_GL_RENDERER_H_ | 5 #ifndef CC_OUTPUT_GL_RENDERER_H_ |
6 #define CC_OUTPUT_GL_RENDERER_H_ | 6 #define CC_OUTPUT_GL_RENDERER_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 | 536 |
537 // The method FlippedFramebuffer determines whether the framebuffer associated | 537 // The method FlippedFramebuffer determines whether the framebuffer associated |
538 // with a DrawingFrame is flipped. It makes the assumption that the | 538 // with a DrawingFrame is flipped. It makes the assumption that the |
539 // DrawingFrame is being used as part of a render pass. If a DrawingFrame is | 539 // DrawingFrame is being used as part of a render pass. If a DrawingFrame is |
540 // not being used as part of a render pass, setting it here forces | 540 // not being used as part of a render pass, setting it here forces |
541 // FlippedFramebuffer to return |true|. | 541 // FlippedFramebuffer to return |true|. |
542 bool force_drawing_frame_framebuffer_unflipped_ = false; | 542 bool force_drawing_frame_framebuffer_unflipped_ = false; |
543 | 543 |
544 BoundGeometry bound_geometry_; | 544 BoundGeometry bound_geometry_; |
545 ColorLUTCache color_lut_cache_; | 545 ColorLUTCache color_lut_cache_; |
| 546 |
| 547 base::WeakPtrFactory<GLRenderer> weak_ptr_factory_; |
| 548 |
546 DISALLOW_COPY_AND_ASSIGN(GLRenderer); | 549 DISALLOW_COPY_AND_ASSIGN(GLRenderer); |
547 }; | 550 }; |
548 | 551 |
549 } // namespace cc | 552 } // namespace cc |
550 | 553 |
551 #endif // CC_OUTPUT_GL_RENDERER_H_ | 554 #endif // CC_OUTPUT_GL_RENDERER_H_ |
OLD | NEW |