Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Side by Side Diff: cc/output/gl_renderer.h

Issue 1341423006: Removing GL context rate limiting feature and related wrappers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed mojo autogens Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/layers/texture_layer_unittest.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/cancelable_callback.h" 8 #include "base/cancelable_callback.h"
9 #include "cc/base/cc_export.h" 9 #include "cc/base/cc_export.h"
10 #include "cc/base/scoped_ptr_deque.h" 10 #include "cc/base/scoped_ptr_deque.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 TextureMailboxDeleter* texture_mailbox_deleter, 55 TextureMailboxDeleter* texture_mailbox_deleter,
56 int highp_threshold_min); 56 int highp_threshold_min);
57 57
58 ~GLRenderer() override; 58 ~GLRenderer() override;
59 59
60 const RendererCapabilitiesImpl& Capabilities() const override; 60 const RendererCapabilitiesImpl& Capabilities() const override;
61 61
62 // Waits for rendering to finish. 62 // Waits for rendering to finish.
63 void Finish() override; 63 void Finish() override;
64 64
65 void DoNoOp() override;
66 void SwapBuffers(const CompositorFrameMetadata& metadata) override; 65 void SwapBuffers(const CompositorFrameMetadata& metadata) override;
67 66
68 virtual bool IsContextLost(); 67 virtual bool IsContextLost();
69 68
70 protected: 69 protected:
71 GLRenderer(RendererClient* client, 70 GLRenderer(RendererClient* client,
72 const RendererSettings* settings, 71 const RendererSettings* settings,
73 OutputSurface* output_surface, 72 OutputSurface* output_surface,
74 ResourceProvider* resource_provider, 73 ResourceProvider* resource_provider,
75 TextureMailboxDeleter* texture_mailbox_deleter, 74 TextureMailboxDeleter* texture_mailbox_deleter,
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 513
515 SkBitmap on_demand_tile_raster_bitmap_; 514 SkBitmap on_demand_tile_raster_bitmap_;
516 ResourceId on_demand_tile_raster_resource_id_; 515 ResourceId on_demand_tile_raster_resource_id_;
517 BoundGeometry bound_geometry_; 516 BoundGeometry bound_geometry_;
518 DISALLOW_COPY_AND_ASSIGN(GLRenderer); 517 DISALLOW_COPY_AND_ASSIGN(GLRenderer);
519 }; 518 };
520 519
521 } // namespace cc 520 } // namespace cc
522 521
523 #endif // CC_OUTPUT_GL_RENDERER_H_ 522 #endif // CC_OUTPUT_GL_RENDERER_H_
OLDNEW
« no previous file with comments | « cc/layers/texture_layer_unittest.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698