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

Unified Diff: cc/layers/texture_layer.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/blink/web_external_texture_layer_impl.cc ('k') | cc/layers/texture_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/texture_layer.h
diff --git a/cc/layers/texture_layer.h b/cc/layers/texture_layer.h
index 53f2d8d4065ff073012eff833109ae706766ceef..0c0b2ec237d948b2be265aa66298a70f4fe5884a 100644
--- a/cc/layers/texture_layer.h
+++ b/cc/layers/texture_layer.h
@@ -124,11 +124,6 @@ class CC_EXPORT TextureLayer : public Layer {
// at draw time. Defaults to false.
void SetBlendBackgroundColor(bool blend);
- // Sets whether this context should rate limit on damage to prevent too many
- // frames from being queued up before the compositor gets a chance to run.
- // Requires a non-nil client. Defaults to false.
- void SetRateLimitContext(bool rate_limit);
-
// Code path for plugins which supply their own mailbox.
void SetTextureMailbox(const TextureMailbox& mailbox,
scoped_ptr<SingleReleaseCallback> release_callback);
@@ -167,7 +162,6 @@ class CC_EXPORT TextureLayer : public Layer {
float vertex_opacity_[4];
bool premultiplied_alpha_;
bool blend_background_color_;
- bool rate_limit_context_;
scoped_ptr<TextureMailboxHolder::MainThreadReference> holder_ref_;
bool needs_set_mailbox_;
« no previous file with comments | « cc/blink/web_external_texture_layer_impl.cc ('k') | cc/layers/texture_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698