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

Side by Side Diff: cc/CCProxy.h

Issue 10917153: Update cc snapshot to r127918 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/CCPrioritizedTextureTest.cpp ('k') | cc/CCRenderPass.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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 CCProxy_h 5 #ifndef CCProxy_h
6 #define CCProxy_h 6 #define CCProxy_h
7 7
8 #include "IntRect.h" 8 #include "IntRect.h"
9 #include <public/WebCompositorOutputSurface.h> 9 #include <public/WebCompositorOutputSurface.h>
10 #include <wtf/Noncopyable.h> 10 #include <wtf/Noncopyable.h>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 virtual void setVisible(bool) = 0; 53 virtual void setVisible(bool) = 0;
54 54
55 // Attempts to initialize the layer renderer. Returns false if the context i sn't usable for compositing. 55 // Attempts to initialize the layer renderer. Returns false if the context i sn't usable for compositing.
56 virtual bool initializeRenderer() = 0; 56 virtual bool initializeRenderer() = 0;
57 57
58 // Attempts to recreate the context and layer renderer after a context lost. Returns false if the renderer couldn't be 58 // Attempts to recreate the context and layer renderer after a context lost. Returns false if the renderer couldn't be
59 // reinitialized. 59 // reinitialized.
60 virtual bool recreateContext() = 0; 60 virtual bool recreateContext() = 0;
61 61
62 virtual int compositorIdentifier() const = 0;
63
64 virtual void implSideRenderingStats(CCRenderingStats&) = 0; 62 virtual void implSideRenderingStats(CCRenderingStats&) = 0;
65 63
66 virtual const RendererCapabilities& rendererCapabilities() const = 0; 64 virtual const RendererCapabilities& rendererCapabilities() const = 0;
67 65
68 virtual void setNeedsAnimate() = 0; 66 virtual void setNeedsAnimate() = 0;
69 virtual void setNeedsCommit() = 0; 67 virtual void setNeedsCommit() = 0;
70 virtual void setNeedsRedraw() = 0; 68 virtual void setNeedsRedraw() = 0;
71 69
72 virtual void didAddAnimation() = 0; 70 virtual void didAddAnimation() = 0;
73 71
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 #if !ASSERT_DISABLED 118 #if !ASSERT_DISABLED
121 ASSERT(CCProxy::isMainThreadBlocked()); 119 ASSERT(CCProxy::isMainThreadBlocked());
122 CCProxy::setMainThreadBlocked(false); 120 CCProxy::setMainThreadBlocked(false);
123 #endif 121 #endif
124 } 122 }
125 }; 123 };
126 124
127 } 125 }
128 126
129 #endif 127 #endif
OLDNEW
« no previous file with comments | « cc/CCPrioritizedTextureTest.cpp ('k') | cc/CCRenderPass.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698