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

Unified Diff: cc/surfaces/display.h

Issue 2194013002: cc: Delete the Renderer base class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dcheck-delegating
Patch Set: delete-renderer-base-class: rebase Created 4 years, 4 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/resources/video_resource_updater.cc ('k') | cc/surfaces/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/display.h
diff --git a/cc/surfaces/display.h b/cc/surfaces/display.h
index a1ace90e14aa9816bfc3de6087ebdccfcfd9e71d..bf786ae15c48bf839311097c02ce2bf894b17fd4 100644
--- a/cc/surfaces/display.h
+++ b/cc/surfaces/display.h
@@ -10,7 +10,6 @@
#include "base/macros.h"
#include "cc/output/output_surface_client.h"
-#include "cc/output/renderer.h"
#include "cc/resources/returned_resource.h"
#include "cc/scheduler/begin_frame_source.h"
#include "cc/surfaces/display_scheduler.h"
@@ -106,11 +105,6 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient,
// SurfaceDamageObserver implementation.
void OnSurfaceDamaged(const SurfaceId& surface, bool* changed) override;
- void SetEnlargePassTextureAmountForTesting(
- const gfx::Size& enlarge_texture_amount) {
- enlarge_texture_amount_ = enlarge_texture_amount;
- }
-
bool has_scheduler() const { return !!scheduler_; }
DirectRenderer* renderer_for_testing() const { return renderer_.get(); }
@@ -135,7 +129,6 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient,
bool swapped_since_resize_ = false;
gfx::Rect external_clip_;
gfx::Rect external_viewport_;
- gfx::Size enlarge_texture_amount_;
bool output_is_secure_ = false;
// The begin_frame_source_ is often known by the output_surface_ and
« no previous file with comments | « cc/resources/video_resource_updater.cc ('k') | cc/surfaces/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698