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

Side by Side Diff: cc/direct_renderer.h

Issue 11232051: Remove static thread pointers from CC (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
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 CCDirectRenderer_h 5 #ifndef CCDirectRenderer_h
6 #define CCDirectRenderer_h 6 #define CCDirectRenderer_h
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "cc/renderer.h" 9 #include "cc/renderer.h"
10 #include "cc/resource_provider.h" 10 #include "cc/resource_provider.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 virtual void enableScissorTestRect(const gfx::Rect& scissorRect) = 0; 88 virtual void enableScissorTestRect(const gfx::Rect& scissorRect) = 0;
89 virtual void disableScissorTest() = 0; 89 virtual void disableScissorTest() = 0;
90 virtual void clearFramebuffer(DrawingFrame&) = 0; 90 virtual void clearFramebuffer(DrawingFrame&) = 0;
91 virtual void drawQuad(DrawingFrame&, const CCDrawQuad*) = 0; 91 virtual void drawQuad(DrawingFrame&, const CCDrawQuad*) = 0;
92 virtual void beginDrawingFrame(DrawingFrame&) = 0; 92 virtual void beginDrawingFrame(DrawingFrame&) = 0;
93 virtual void finishDrawingFrame(DrawingFrame&) = 0; 93 virtual void finishDrawingFrame(DrawingFrame&) = 0;
94 virtual bool flippedFramebuffer() const = 0; 94 virtual bool flippedFramebuffer() const = 0;
95 95
96 ScopedPtrHashMap<CCRenderPass::Id, CachedTexture> m_renderPassTextures; 96 ScopedPtrHashMap<CCRenderPass::Id, CachedTexture> m_renderPassTextures;
97 CCResourceProvider* m_resourceProvider; 97 CCResourceProvider* m_resourceProvider;
98 CCProxy* m_proxy;
jamesr 2012/10/22 22:00:36 why are you adding a proxy pointer to this class?
98 99
99 private: 100 private:
100 DISALLOW_COPY_AND_ASSIGN(CCDirectRenderer); 101 DISALLOW_COPY_AND_ASSIGN(CCDirectRenderer);
101 }; 102 };
102 103
103 } // namespace cc 104 } // namespace cc
104 105
105 #endif // CCDirectRenderer_h 106 #endif // CCDirectRenderer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698