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

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

Issue 1533773002: Delete CC. (Closed) Base URL: git@github.com:domokit/mojo.git@cl-2e
Patch Set: rebase Created 5 years 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/quads/texture_draw_quad.cc ('k') | cc/quads/tile_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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CC_QUADS_TILE_DRAW_QUAD_H_
6 #define CC_QUADS_TILE_DRAW_QUAD_H_
7
8 #include "cc/quads/content_draw_quad_base.h"
9
10 namespace cc {
11
12 class TileDrawQuad : public ContentDrawQuadBase {
13 public:
14 TileDrawQuad();
15 ~TileDrawQuad() override;
16
17 void SetNew(const SharedQuadState* shared_quad_state,
18 const gfx::Rect& rect,
19 const gfx::Rect& opaque_rect,
20 const gfx::Rect& visible_rect,
21 unsigned resource_id,
22 const gfx::RectF& tex_coord_rect,
23 const gfx::Size& texture_size,
24 bool swizzle_contents,
25 bool nearest_neighbor);
26
27 void SetAll(const SharedQuadState* shared_quad_state,
28 const gfx::Rect& rect,
29 const gfx::Rect& opaque_rect,
30 const gfx::Rect& visible_rect,
31 bool needs_blending,
32 unsigned resource_id,
33 const gfx::RectF& tex_coord_rect,
34 const gfx::Size& texture_size,
35 bool swizzle_contents,
36 bool nearest_neighbor);
37
38 unsigned resource_id;
39
40 void IterateResources(const ResourceIteratorCallback& callback) override;
41
42 static const TileDrawQuad* MaterialCast(const DrawQuad*);
43
44 private:
45 void ExtendValue(base::trace_event::TracedValue* value) const override;
46 };
47
48 } // namespace cc
49
50 #endif // CC_QUADS_TILE_DRAW_QUAD_H_
OLDNEW
« no previous file with comments | « cc/quads/texture_draw_quad.cc ('k') | cc/quads/tile_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698