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

Side by Side Diff: cc/test/fake_proxy.h

Issue 11748031: cc: remove loseOutputSurface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « cc/single_thread_proxy.cc ('k') | cc/thread_proxy.h » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_TEST_FAKE_PROXY_H_ 5 #ifndef CC_TEST_FAKE_PROXY_H_
6 #define CC_TEST_FAKE_PROXY_H_ 6 #define CC_TEST_FAKE_PROXY_H_
7 7
8 #include "cc/layer_tree_host.h" 8 #include "cc/layer_tree_host.h"
9 #include "cc/proxy.h" 9 #include "cc/proxy.h"
10 #include "cc/thread.h" 10 #include "cc/thread.h"
(...skipping 19 matching lines...) Expand all
30 virtual void setNeedsCommit() OVERRIDE { } 30 virtual void setNeedsCommit() OVERRIDE { }
31 virtual void setNeedsRedraw() OVERRIDE { } 31 virtual void setNeedsRedraw() OVERRIDE { }
32 virtual void setDeferCommits(bool) OVERRIDE { } 32 virtual void setDeferCommits(bool) OVERRIDE { }
33 virtual void mainThreadHasStoppedFlinging() OVERRIDE { } 33 virtual void mainThreadHasStoppedFlinging() OVERRIDE { }
34 virtual bool commitRequested() const OVERRIDE; 34 virtual bool commitRequested() const OVERRIDE;
35 virtual void start() OVERRIDE { } 35 virtual void start() OVERRIDE { }
36 virtual void stop() OVERRIDE { } 36 virtual void stop() OVERRIDE { }
37 virtual void forceSerializeOnSwapBuffers() OVERRIDE { } 37 virtual void forceSerializeOnSwapBuffers() OVERRIDE { }
38 virtual size_t maxPartialTextureUpdates() const OVERRIDE; 38 virtual size_t maxPartialTextureUpdates() const OVERRIDE;
39 virtual void acquireLayerTextures() OVERRIDE { } 39 virtual void acquireLayerTextures() OVERRIDE { }
40 virtual void loseOutputSurface() OVERRIDE { }
41 virtual bool commitPendingForTesting() OVERRIDE; 40 virtual bool commitPendingForTesting() OVERRIDE;
42 41
43 virtual RendererCapabilities& rendererCapabilities(); 42 virtual RendererCapabilities& rendererCapabilities();
44 void setMaxPartialTextureUpdates(size_t); 43 void setMaxPartialTextureUpdates(size_t);
45 44
46 private: 45 private:
47 RendererCapabilities m_capabilities; 46 RendererCapabilities m_capabilities;
48 size_t m_maxPartialTextureUpdates; 47 size_t m_maxPartialTextureUpdates;
49 }; 48 };
50 49
51 } // namespace cc 50 } // namespace cc
52 51
53 #endif // CC_TEST_FAKE_PROXY_H_ 52 #endif // CC_TEST_FAKE_PROXY_H_
OLDNEW
« no previous file with comments | « cc/single_thread_proxy.cc ('k') | cc/thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698