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

Unified Diff: content/browser/renderer_host/compositing_iosurface_context_mac.h

Issue 408103004: Mac: Fix bad framerate when capturing tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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
Index: content/browser/renderer_host/compositing_iosurface_context_mac.h
diff --git a/content/browser/renderer_host/compositing_iosurface_context_mac.h b/content/browser/renderer_host/compositing_iosurface_context_mac.h
index 52a9898929375d32a9e66a2c71b66afc5df1c739..316940169fc791fd2c3eb2abbf818839549fd85c 100644
--- a/content/browser/renderer_host/compositing_iosurface_context_mac.h
+++ b/content/browser/renderer_host/compositing_iosurface_context_mac.h
@@ -50,7 +50,6 @@ class CompositingIOSurfaceContext
return shader_program_cache_.get();
}
CGLContextObj cgl_context() const { return cgl_context_; }
- bool is_vsync_disabled() const { return is_vsync_disabled_; }
int window_number() const { return window_number_; }
// content::GpuDataManagerObserver implementation.
@@ -63,7 +62,6 @@ class CompositingIOSurfaceContext
int window_number,
base::ScopedTypeRef<CGLContextObj> clg_context_strong,
CGLContextObj clg_context,
- bool is_vsync_disabled_,
scoped_ptr<CompositingIOSurfaceShaderPrograms> shader_program_cache);
virtual ~CompositingIOSurfaceContext();
@@ -72,7 +70,6 @@ class CompositingIOSurfaceContext
// Weak, backed by |cgl_context_strong_|.
CGLContextObj cgl_context_;
- bool is_vsync_disabled_;
scoped_ptr<CompositingIOSurfaceShaderPrograms> shader_program_cache_;
bool poisoned_;
« no previous file with comments | « content/browser/compositor/delegated_frame_host.h ('k') | content/browser/renderer_host/compositing_iosurface_context_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698