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

Side by Side Diff: cc/quads/render_pass_draw_quad.h

Issue 2205133003: Implement new RPDQ copy logic for CALayer promotion. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp60_more_refactor
Patch Set: Comments from ccameron. Created 4 years, 4 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
« no previous file with comments | « cc/output/overlay_unittest.cc ('k') | cc/quads/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 CC_QUADS_RENDER_PASS_DRAW_QUAD_H_ 5 #ifndef CC_QUADS_RENDER_PASS_DRAW_QUAD_H_
6 #define CC_QUADS_RENDER_PASS_DRAW_QUAD_H_ 6 #define CC_QUADS_RENDER_PASS_DRAW_QUAD_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "cc/base/cc_export.h" 12 #include "cc/base/cc_export.h"
13 #include "cc/output/filter_operations.h" 13 #include "cc/output/filter_operations.h"
14 #include "cc/quads/draw_quad.h" 14 #include "cc/quads/draw_quad.h"
15 #include "cc/quads/render_pass_id.h" 15 #include "cc/quads/render_pass_id.h"
16 #include "cc/resources/resource_provider.h"
17 16
18 namespace cc { 17 namespace cc {
19 18
20 class CC_EXPORT RenderPassDrawQuad : public DrawQuad { 19 class CC_EXPORT RenderPassDrawQuad : public DrawQuad {
21 public: 20 public:
22 static const size_t kMaskResourceIdIndex = 0; 21 static const size_t kMaskResourceIdIndex = 0;
23 22
24 RenderPassDrawQuad(); 23 RenderPassDrawQuad();
25 RenderPassDrawQuad(const RenderPassDrawQuad& other); 24 RenderPassDrawQuad(const RenderPassDrawQuad& other);
26 ~RenderPassDrawQuad() override; 25 ~RenderPassDrawQuad() override;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 74
76 static const RenderPassDrawQuad* MaterialCast(const DrawQuad*); 75 static const RenderPassDrawQuad* MaterialCast(const DrawQuad*);
77 76
78 private: 77 private:
79 void ExtendValue(base::trace_event::TracedValue* value) const override; 78 void ExtendValue(base::trace_event::TracedValue* value) const override;
80 }; 79 };
81 80
82 } // namespace cc 81 } // namespace cc
83 82
84 #endif // CC_QUADS_RENDER_PASS_DRAW_QUAD_H_ 83 #endif // CC_QUADS_RENDER_PASS_DRAW_QUAD_H_
OLDNEW
« no previous file with comments | « cc/output/overlay_unittest.cc ('k') | cc/quads/render_pass_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698