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

Side by Side Diff: cc/render_pass_draw_quad.h

Issue 11145033: cc: Get rid of CC*.h temporary header files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased - fixed the conflicts hopefuly 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 | Annotate | Revision Log
« no previous file with comments | « cc/render_pass.cc ('k') | cc/render_surface.cc » ('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 CCRenderPassDrawQuad_h 5 #ifndef CCRenderPassDrawQuad_h
6 #define CCRenderPassDrawQuad_h 6 #define CCRenderPassDrawQuad_h
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "CCDrawQuad.h" 10 #include "CCDrawQuad.h"
11 #include "CCRenderPass.h" 11 #include "CCRenderPass.h"
12 #include "CCResourceProvider.h" 12 #include "cc/resource_provider.h"
13 #include "IntRect.h" 13 #include "IntRect.h"
14 14
15 namespace cc { 15 namespace cc {
16 16
17 class CCRenderPassDrawQuad : public CCDrawQuad { 17 class CCRenderPassDrawQuad : public CCDrawQuad {
18 public: 18 public:
19 static scoped_ptr<CCRenderPassDrawQuad> create(const CCSharedQuadState*, con st IntRect&, CCRenderPass::Id renderPassId, bool isReplica, CCResourceProvider:: ResourceId maskResourceId, const IntRect& contentsChangedSinceLastFrame, float m askTexCoordScaleX, float maskTexCoordScaleY, float maskTexCoordOffsetX, float ma skTexCoordOffsetY); 19 static scoped_ptr<CCRenderPassDrawQuad> create(const CCSharedQuadState*, con st IntRect&, CCRenderPass::Id renderPassId, bool isReplica, CCResourceProvider:: ResourceId maskResourceId, const IntRect& contentsChangedSinceLastFrame, float m askTexCoordScaleX, float maskTexCoordScaleY, float maskTexCoordOffsetX, float ma skTexCoordOffsetY);
20 20
21 CCRenderPass::Id renderPassId() const { return m_renderPassId; } 21 CCRenderPass::Id renderPassId() const { return m_renderPassId; }
22 bool isReplica() const { return m_isReplica; } 22 bool isReplica() const { return m_isReplica; }
(...skipping 19 matching lines...) Expand all
42 float m_maskTexCoordScaleY; 42 float m_maskTexCoordScaleY;
43 float m_maskTexCoordOffsetX; 43 float m_maskTexCoordOffsetX;
44 float m_maskTexCoordOffsetY; 44 float m_maskTexCoordOffsetY;
45 45
46 DISALLOW_COPY_AND_ASSIGN(CCRenderPassDrawQuad); 46 DISALLOW_COPY_AND_ASSIGN(CCRenderPassDrawQuad);
47 }; 47 };
48 48
49 } 49 }
50 50
51 #endif 51 #endif
OLDNEW
« no previous file with comments | « cc/render_pass.cc ('k') | cc/render_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698