| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 ~GLRenderer() override; | 59 ~GLRenderer() override; |
| 60 | 60 |
| 61 const RendererCapabilitiesImpl& Capabilities() const override; | 61 const RendererCapabilitiesImpl& Capabilities() const override; |
| 62 | 62 |
| 63 // Waits for rendering to finish. | 63 // Waits for rendering to finish. |
| 64 void Finish() override; | 64 void Finish() override; |
| 65 | 65 |
| 66 void SwapBuffers(const CompositorFrameMetadata& metadata) override; | 66 void SwapBuffers(const CompositorFrameMetadata& metadata) override; |
| 67 void SwapBuffersComplete() override; | 67 void SwapBuffersComplete() override; |
| 68 | 68 |
| 69 void DidReceiveTextureInUseResponses( |
| 70 const gpu::TextureInUseResponses& responses) override; |
| 71 |
| 69 virtual bool IsContextLost(); | 72 virtual bool IsContextLost(); |
| 70 | 73 |
| 71 protected: | 74 protected: |
| 72 GLRenderer(RendererClient* client, | 75 GLRenderer(RendererClient* client, |
| 73 const RendererSettings* settings, | 76 const RendererSettings* settings, |
| 74 OutputSurface* output_surface, | 77 OutputSurface* output_surface, |
| 75 ResourceProvider* resource_provider, | 78 ResourceProvider* resource_provider, |
| 76 TextureMailboxDeleter* texture_mailbox_deleter, | 79 TextureMailboxDeleter* texture_mailbox_deleter, |
| 77 int highp_threshold_min); | 80 int highp_threshold_min); |
| 78 | 81 |
| (...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 524 | 527 |
| 525 SkBitmap on_demand_tile_raster_bitmap_; | 528 SkBitmap on_demand_tile_raster_bitmap_; |
| 526 ResourceId on_demand_tile_raster_resource_id_; | 529 ResourceId on_demand_tile_raster_resource_id_; |
| 527 BoundGeometry bound_geometry_; | 530 BoundGeometry bound_geometry_; |
| 528 DISALLOW_COPY_AND_ASSIGN(GLRenderer); | 531 DISALLOW_COPY_AND_ASSIGN(GLRenderer); |
| 529 }; | 532 }; |
| 530 | 533 |
| 531 } // namespace cc | 534 } // namespace cc |
| 532 | 535 |
| 533 #endif // CC_OUTPUT_GL_RENDERER_H_ | 536 #endif // CC_OUTPUT_GL_RENDERER_H_ |
| OLD | NEW |