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

Side by Side Diff: cc/render_pass_draw_quad.h

Issue 11344050: Fix DrawQuad copy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tests Created 8 years, 1 month 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/draw_quad_unittest.cc ('k') | cc/render_pass_draw_quad.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 "cc/draw_quad.h" 10 #include "cc/draw_quad.h"
(...skipping 23 matching lines...) Expand all
34 RenderPassDrawQuad(const SharedQuadState*, const gfx::Rect&, RenderPass::Id renderPassId, bool isReplica, ResourceProvider::ResourceId maskResourceId, const gfx::Rect& contentsChangedSinceLastFrame, float maskTexCoordScaleX, float maskT exCoordScaleY, float maskTexCoordOffsetX, float maskTexCoordOffsetY); 34 RenderPassDrawQuad(const SharedQuadState*, const gfx::Rect&, RenderPass::Id renderPassId, bool isReplica, ResourceProvider::ResourceId maskResourceId, const gfx::Rect& contentsChangedSinceLastFrame, float maskTexCoordScaleX, float maskT exCoordScaleY, float maskTexCoordOffsetX, float maskTexCoordOffsetY);
35 35
36 RenderPass::Id m_renderPassId; 36 RenderPass::Id m_renderPassId;
37 bool m_isReplica; 37 bool m_isReplica;
38 ResourceProvider::ResourceId m_maskResourceId; 38 ResourceProvider::ResourceId m_maskResourceId;
39 gfx::Rect m_contentsChangedSinceLastFrame; 39 gfx::Rect m_contentsChangedSinceLastFrame;
40 float m_maskTexCoordScaleX; 40 float m_maskTexCoordScaleX;
41 float m_maskTexCoordScaleY; 41 float m_maskTexCoordScaleY;
42 float m_maskTexCoordOffsetX; 42 float m_maskTexCoordOffsetX;
43 float m_maskTexCoordOffsetY; 43 float m_maskTexCoordOffsetY;
44
45 DISALLOW_COPY_AND_ASSIGN(RenderPassDrawQuad);
46 }; 44 };
47 45
48 } 46 }
49 47
50 #endif 48 #endif
OLDNEW
« no previous file with comments | « cc/draw_quad_unittest.cc ('k') | cc/render_pass_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698