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

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

Issue 2121043002: 16 bpp video stream capture, render and WebGL usage - Realsense R200 & SR300 support. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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
« no previous file with comments | « cc/output/software_renderer.cc ('k') | cc/quads/draw_quad_unittest.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 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 CC_QUADS_DRAW_QUAD_H_ 5 #ifndef CC_QUADS_DRAW_QUAD_H_
6 #define CC_QUADS_DRAW_QUAD_H_ 6 #define CC_QUADS_DRAW_QUAD_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 28 matching lines...) Expand all
39 INVALID, 39 INVALID,
40 DEBUG_BORDER, 40 DEBUG_BORDER,
41 PICTURE_CONTENT, 41 PICTURE_CONTENT,
42 RENDER_PASS, 42 RENDER_PASS,
43 SOLID_COLOR, 43 SOLID_COLOR,
44 STREAM_VIDEO_CONTENT, 44 STREAM_VIDEO_CONTENT,
45 SURFACE_CONTENT, 45 SURFACE_CONTENT,
46 TEXTURE_CONTENT, 46 TEXTURE_CONTENT,
47 TILED_CONTENT, 47 TILED_CONTENT,
48 YUV_VIDEO_CONTENT, 48 YUV_VIDEO_CONTENT,
49 MATERIAL_LAST = YUV_VIDEO_CONTENT 49 Y_VIDEO_CONTENT,
50 MATERIAL_LAST = Y_VIDEO_CONTENT
50 }; 51 };
51 52
52 DrawQuad(const DrawQuad& other); 53 DrawQuad(const DrawQuad& other);
53 virtual ~DrawQuad(); 54 virtual ~DrawQuad();
54 55
55 Material material; 56 Material material;
56 57
57 // This rect, after applying the quad_transform(), gives the geometry that 58 // This rect, after applying the quad_transform(), gives the geometry that
58 // this quad should draw to. This rect lives in content space. 59 // this quad should draw to. This rect lives in content space.
59 gfx::Rect rect; 60 gfx::Rect rect;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 const gfx::Rect& rect, 145 const gfx::Rect& rect,
145 const gfx::Rect& opaque_rect, 146 const gfx::Rect& opaque_rect,
146 const gfx::Rect& visible_rect, 147 const gfx::Rect& visible_rect,
147 bool needs_blending); 148 bool needs_blending);
148 virtual void ExtendValue(base::trace_event::TracedValue* value) const = 0; 149 virtual void ExtendValue(base::trace_event::TracedValue* value) const = 0;
149 }; 150 };
150 151
151 } // namespace cc 152 } // namespace cc
152 153
153 #endif // CC_QUADS_DRAW_QUAD_H_ 154 #endif // CC_QUADS_DRAW_QUAD_H_
OLDNEW
« no previous file with comments | « cc/output/software_renderer.cc ('k') | cc/quads/draw_quad_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698