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

Unified Diff: cc/software_renderer.h

Issue 11232051: Remove static thread pointers from CC (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address code review comments and fix all cc_unittests Created 8 years, 2 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: cc/software_renderer.h
diff --git a/cc/software_renderer.h b/cc/software_renderer.h
index a3a35d8f90f08cad304f203d1919f48446e559aa..0d12f4ab0cdc4a9e1d6e1702a4281a5f8d67929d 100644
--- a/cc/software_renderer.h
+++ b/cc/software_renderer.h
@@ -21,7 +21,7 @@ class RenderPassDrawQuad;
class SoftwareRenderer : public DirectRenderer {
public:
- static scoped_ptr<SoftwareRenderer> create(RendererClient*, ResourceProvider*, WebKit::WebCompositorSoftwareOutputDevice*);
+ static scoped_ptr<SoftwareRenderer> create(RendererClient*, ResourceProvider*, WebKit::WebCompositorSoftwareOutputDevice*, bool hasImplThread);
virtual ~SoftwareRenderer();
virtual const RendererCapabilities& capabilities() const OVERRIDE;
@@ -49,7 +49,7 @@ protected:
virtual bool flippedFramebuffer() const OVERRIDE;
private:
- SoftwareRenderer(RendererClient*, ResourceProvider*, WebKit::WebCompositorSoftwareOutputDevice*);
+ SoftwareRenderer(RendererClient*, ResourceProvider*, WebKit::WebCompositorSoftwareOutputDevice*, bool hasImplThread);
bool isSoftwareResource(ResourceProvider::ResourceId) const;
@@ -61,6 +61,7 @@ private:
void drawUnsupportedQuad(const DrawingFrame&, const DrawQuad*);
RendererCapabilities m_capabilities;
+ bool m_hasImplThread;
bool m_visible;
WebKit::WebCompositorSoftwareOutputDevice* m_outputDevice;

Powered by Google App Engine
This is Rietveld 408576698