summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_output_surface_client.h
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-24 19:48:56 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-24 19:48:56 +0000
commit3b2eb8890490df87ed957ba5076bcb5a39832c3c (patch)
tree69f90778f6a6a5b14da80bbaf886bfec97783b88 /cc/test/fake_output_surface_client.h
parent1502e60861419bd0499f9b52a11b90fc55dc1abc (diff)
downloadchromium_src-3b2eb8890490df87ed957ba5076bcb5a39832c3c.zip
chromium_src-3b2eb8890490df87ed957ba5076bcb5a39832c3c.tar.gz
chromium_src-3b2eb8890490df87ed957ba5076bcb5a39832c3c.tar.bz2
Remove offscreen compositor contexts.
After https://codereview.chromium.org/250083002/ cc no longer uses an offscreen context for ganesh filters. Instead using the main onscreen context. So, delete the code to create offscreen contexts for the compositor. R=abarth@chromium.org, boliu@chromium.org, enne@chromium.org, piman@chromium.org, enne, piman BUG=366132,366130 Review URL: https://codereview.chromium.org/251343002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265974 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_output_surface_client.h')
-rw-r--r--cc/test/fake_output_surface_client.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/cc/test/fake_output_surface_client.h b/cc/test/fake_output_surface_client.h
index b572c5e..4f0486a 100644
--- a/cc/test/fake_output_surface_client.h
+++ b/cc/test/fake_output_surface_client.h
@@ -14,13 +14,11 @@ class FakeOutputSurfaceClient : public OutputSurfaceClient {
public:
FakeOutputSurfaceClient()
: begin_frame_count_(0),
- deferred_initialize_result_(true),
deferred_initialize_called_(false),
did_lose_output_surface_called_(false),
memory_policy_(0) {}
- virtual bool DeferredInitialize(
- scoped_refptr<ContextProvider> offscreen_context_provider) OVERRIDE;
+ virtual void DeferredInitialize() OVERRIDE;
virtual void ReleaseGL() OVERRIDE {}
virtual void SetNeedsRedrawRect(const gfx::Rect& damage_rect) OVERRIDE {}
virtual void BeginFrame(const BeginFrameArgs& args) OVERRIDE;
@@ -38,10 +36,6 @@ class FakeOutputSurfaceClient : public OutputSurfaceClient {
int begin_frame_count() { return begin_frame_count_; }
- void set_deferred_initialize_result(bool result) {
- deferred_initialize_result_ = result;
- }
-
bool deferred_initialize_called() {
return deferred_initialize_called_;
}
@@ -54,7 +48,6 @@ class FakeOutputSurfaceClient : public OutputSurfaceClient {
private:
int begin_frame_count_;
- bool deferred_initialize_result_;
bool deferred_initialize_called_;
bool did_lose_output_surface_called_;
ManagedMemoryPolicy memory_policy_;