Home
last modified time | relevance | path

Searched refs:DrawQuad (Results 1 – 25 of 74) sorted by relevance

123

/external/chromium_org/cc/quads/
Drender_pass.cc35 : ListContainer<DrawQuad>(sizeof(kLargestDrawQuad), in QuadList()
110 DrawQuad* quad = &*iter; in CopyAll()
112 if (quad->material == DrawQuad::RENDER_PASS) { in CopyAll()
218 DrawQuad* RenderPass::CopyFromAndAppendDrawQuad( in CopyFromAndAppendDrawQuad()
219 const DrawQuad* quad, in CopyFromAndAppendDrawQuad()
222 case DrawQuad::CHECKERBOARD: in CopyFromAndAppendDrawQuad()
225 case DrawQuad::DEBUG_BORDER: in CopyFromAndAppendDrawQuad()
228 case DrawQuad::IO_SURFACE_CONTENT: in CopyFromAndAppendDrawQuad()
231 case DrawQuad::PICTURE_CONTENT: in CopyFromAndAppendDrawQuad()
234 case DrawQuad::TEXTURE_CONTENT: in CopyFromAndAppendDrawQuad()
[all …]
Ddraw_quad_unittest.cc87 void CompareDrawQuad(DrawQuad* quad, in CompareDrawQuad()
88 DrawQuad* copy, in CompareDrawQuad()
112 DrawQuad* copy_new = \
118 DrawQuad* copy_all = \
124 DrawQuad* copy_new = render_pass->CopyFromAndAppendRenderPassDrawQuad( \
130 DrawQuad* copy_all = render_pass->CopyFromAndAppendRenderPassDrawQuad( \
361 EXPECT_EQ(DrawQuad::CHECKERBOARD, copy_quad->material); in TEST()
366 EXPECT_EQ(DrawQuad::CHECKERBOARD, copy_quad->material); in TEST()
377 EXPECT_EQ(DrawQuad::DEBUG_BORDER, copy_quad->material); in TEST()
383 EXPECT_EQ(DrawQuad::DEBUG_BORDER, copy_quad->material); in TEST()
[all …]
Dsurface_draw_quad.cc22 DrawQuad::SetAll(shared_quad_state, DrawQuad::SURFACE_CONTENT, rect, in SetNew()
33 DrawQuad::SetAll(shared_quad_state, DrawQuad::SURFACE_CONTENT, rect, in SetAll()
41 const SurfaceDrawQuad* SurfaceDrawQuad::MaterialCast(const DrawQuad* quad) { in MaterialCast()
42 DCHECK_EQ(quad->material, DrawQuad::SURFACE_CONTENT); in MaterialCast()
Ddebug_border_draw_quad.cc25 DrawQuad::SetAll(shared_quad_state, DrawQuad::DEBUG_BORDER, rect, opaque_rect, in SetNew()
38 DrawQuad::SetAll(shared_quad_state, DrawQuad::DEBUG_BORDER, rect, opaque_rect, in SetAll()
48 const DrawQuad* quad) { in MaterialCast()
49 DCHECK(quad->material == DrawQuad::DEBUG_BORDER); in MaterialCast()
Dcheckerboard_draw_quad.cc21 DrawQuad::SetAll(shared_quad_state, DrawQuad::CHECKERBOARD, rect, opaque_rect, in SetNew()
32 DrawQuad::SetAll(shared_quad_state, DrawQuad::CHECKERBOARD, rect, opaque_rect, in SetAll()
41 const DrawQuad* quad) { in MaterialCast()
42 DCHECK(quad->material == DrawQuad::CHECKERBOARD); in MaterialCast()
Dstream_video_draw_quad.cc23 DrawQuad::SetAll(shared_quad_state, DrawQuad::STREAM_VIDEO_CONTENT, rect, in SetNew()
36 DrawQuad::SetAll(shared_quad_state, DrawQuad::STREAM_VIDEO_CONTENT, rect, in SetAll()
48 const DrawQuad* quad) { in MaterialCast()
49 DCHECK(quad->material == DrawQuad::STREAM_VIDEO_CONTENT); in MaterialCast()
Dsolid_color_draw_quad.cc23 DrawQuad::SetAll(shared_quad_state, DrawQuad::SOLID_COLOR, rect, opaque_rect, in SetNew()
36 DrawQuad::SetAll(shared_quad_state, DrawQuad::SOLID_COLOR, rect, opaque_rect, in SetAll()
46 const DrawQuad* quad) { in MaterialCast()
47 DCHECK(quad->material == DrawQuad::SOLID_COLOR); in MaterialCast()
Dio_surface_draw_quad.cc27 DrawQuad::SetAll(shared_quad_state, DrawQuad::IO_SURFACE_CONTENT, rect, in SetNew()
42 DrawQuad::SetAll(shared_quad_state, DrawQuad::IO_SURFACE_CONTENT, rect, in SetAll()
55 const DrawQuad* quad) { in MaterialCast()
56 DCHECK(quad->material == DrawQuad::IO_SURFACE_CONTENT); in MaterialCast()
Dyuv_video_draw_quad.cc32 DrawQuad::SetAll(shared_quad_state, DrawQuad::YUV_VIDEO_CONTENT, rect, in SetNew()
53 DrawQuad::SetAll(shared_quad_state, DrawQuad::YUV_VIDEO_CONTENT, rect, in SetAll()
73 const DrawQuad* quad) { in MaterialCast()
74 DCHECK(quad->material == DrawQuad::YUV_VIDEO_CONTENT); in MaterialCast()
Ddraw_polygon.h20 class DrawQuad; variable
27 DrawPolygon(DrawQuad* original_ref,
31 DrawPolygon(DrawQuad* original_ref,
57 const DrawQuad* original_ref() const { return original_ref_; } in original_ref()
79 DrawQuad* original_ref_;
Ddraw_quad.cc27 DrawQuad::DrawQuad() in DrawQuad() function in cc::DrawQuad
33 void DrawQuad::SetAll(const SharedQuadState* shared_quad_state, in SetAll()
57 DrawQuad::~DrawQuad() { in ~DrawQuad()
60 void DrawQuad::AsValueInto(base::debug::TracedValue* value) const { in AsValueInto()
Dtexture_draw_quad.cc39 DrawQuad::SetAll(shared_quad_state, DrawQuad::TEXTURE_CONTENT, rect, in SetNew()
63 DrawQuad::SetAll(shared_quad_state, DrawQuad::TEXTURE_CONTENT, rect, in SetAll()
82 const TextureDrawQuad* TextureDrawQuad::MaterialCast(const DrawQuad* quad) { in MaterialCast()
83 DCHECK(quad->material == DrawQuad::TEXTURE_CONTENT); in MaterialCast()
Dcontent_draw_quad_base.cc22 DrawQuad::Material material, in SetNew()
30 DrawQuad::SetAll(shared_quad_state, material, rect, opaque_rect, in SetNew()
38 DrawQuad::Material material, in SetAll()
46 DrawQuad::SetAll(shared_quad_state, material, rect, opaque_rect, in SetAll()
Dtile_draw_quad.cc30 DrawQuad::TILED_CONTENT, in SetNew()
49 ContentDrawQuadBase::SetAll(shared_quad_state, DrawQuad::TILED_CONTENT, rect, in SetAll()
60 const TileDrawQuad* TileDrawQuad::MaterialCast(const DrawQuad* quad) { in MaterialCast()
61 DCHECK(quad->material == DrawQuad::TILED_CONTENT); in MaterialCast()
Drender_pass.h31 class DrawQuad; variable
37 class QuadList : public ListContainer<DrawQuad> {
91 DrawQuad* CopyFromAndAppendDrawQuad(const DrawQuad* quad,
123 DrawQuadType* CopyFromAndAppendTypedDrawQuad(const DrawQuad* quad) { in CopyFromAndAppendTypedDrawQuad()
Dpicture_draw_quad.cc32 DrawQuad::PICTURE_CONTENT, in SetNew()
57 DrawQuad::PICTURE_CONTENT, in SetAll()
78 const PictureDrawQuad* PictureDrawQuad::MaterialCast(const DrawQuad* quad) { in MaterialCast()
79 DCHECK(quad->material == DrawQuad::PICTURE_CONTENT); in MaterialCast()
Dcontent_draw_quad_base.h17 class CC_EXPORT ContentDrawQuadBase : public DrawQuad {
20 DrawQuad::Material material,
29 DrawQuad::Material material,
Drender_pass_draw_quad.cc64 DrawQuad::SetAll(shared_quad_state, DrawQuad::RENDER_PASS, rect, opaque_rect, in SetAll()
81 const DrawQuad* quad) { in MaterialCast()
82 DCHECK_EQ(quad->material, DrawQuad::RENDER_PASS); in MaterialCast()
Dlist_container_unittest.cc30 class SimpleDrawQuad : public DrawQuad {
58 class MockDrawQuad : public DrawQuad {
68 ListContainer<DrawQuad> list(sizeof(kLargestDrawQuad)); in TEST()
85 ListContainer<DrawQuad> list(sizeof(kLargestDrawQuad)); in TEST()
96 ListContainer<DrawQuad> list(sizeof(kLargestDrawQuad)); in TEST()
118 ListContainer<DrawQuad> list(sizeof(kLargestDrawQuad)); in TEST()
439 ListContainer<DrawQuad> list(sizeof(kLargestDrawQuad)); in TEST()
452 for (ListContainer<DrawQuad>::Iterator iter = list.begin(); in TEST()
461 ListContainer<DrawQuad> list(sizeof(kLargestDrawQuad)); in TEST()
470 ListContainer<DrawQuad>::Iterator iter = list.begin(); in TEST()
[all …]
Ddraw_quad.h34 class CC_EXPORT DrawQuad {
52 virtual ~DrawQuad();
132 DrawQuad();
/external/chromium_org/content/common/
Dcc_messages.cc305 const cc::DrawQuad* quad = &*iter; in Write()
315 case cc::DrawQuad::CHECKERBOARD: in Write()
318 case cc::DrawQuad::DEBUG_BORDER: in Write()
321 case cc::DrawQuad::IO_SURFACE_CONTENT: in Write()
324 case cc::DrawQuad::PICTURE_CONTENT: in Write()
327 case cc::DrawQuad::TEXTURE_CONTENT: in Write()
330 case cc::DrawQuad::RENDER_PASS: in Write()
333 case cc::DrawQuad::SOLID_COLOR: in Write()
336 case cc::DrawQuad::SURFACE_CONTENT: in Write()
339 case cc::DrawQuad::TILED_CONTENT: in Write()
[all …]
Dcc_messages.h130 IPC_ENUM_TRAITS_MAX_VALUE(cc::DrawQuad::Material, cc::DrawQuad::MATERIAL_LAST)
150 IPC_STRUCT_TRAITS_BEGIN(cc::DrawQuad)
159 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
164 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
170 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
177 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
187 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
193 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
199 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
204 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
[all …]
/external/chromium_org/cc/surfaces/
Dsurface_aggregator_test_helpers.h28 quad.material = DrawQuad::SOLID_COLOR; in SolidColorQuad()
35 quad.material = DrawQuad::SURFACE_CONTENT; in SurfaceQuad()
42 quad.material = DrawQuad::RENDER_PASS; in RenderPassQuad()
47 DrawQuad::Material material;
57 : material(DrawQuad::INVALID), in Quad()
84 void TestQuadMatchesExpectations(Quad expected_quad, const DrawQuad* quad);
Dsurface_aggregator_test_helpers.cc80 case DrawQuad::SOLID_COLOR: in AddQuadInPass()
83 case DrawQuad::SURFACE_CONTENT: in AddQuadInPass()
86 case DrawQuad::RENDER_PASS: in AddQuadInPass()
109 void TestQuadMatchesExpectations(Quad expected_quad, const DrawQuad* quad) { in TestQuadMatchesExpectations()
111 case DrawQuad::SOLID_COLOR: { in TestQuadMatchesExpectations()
112 ASSERT_EQ(DrawQuad::SOLID_COLOR, quad->material); in TestQuadMatchesExpectations()
120 case DrawQuad::RENDER_PASS: { in TestQuadMatchesExpectations()
121 ASSERT_EQ(DrawQuad::RENDER_PASS, quad->material); in TestQuadMatchesExpectations()
/external/chromium_org/cc/output/
Dsoftware_renderer.cc230 void SoftwareRenderer::DoDrawQuad(DrawingFrame* frame, const DrawQuad* quad) { in DoDrawQuad()
264 case DrawQuad::CHECKERBOARD: in DoDrawQuad()
267 case DrawQuad::DEBUG_BORDER: in DoDrawQuad()
270 case DrawQuad::PICTURE_CONTENT: in DoDrawQuad()
273 case DrawQuad::RENDER_PASS: in DoDrawQuad()
276 case DrawQuad::SOLID_COLOR: in DoDrawQuad()
279 case DrawQuad::TEXTURE_CONTENT: in DoDrawQuad()
282 case DrawQuad::TILED_CONTENT: in DoDrawQuad()
285 case DrawQuad::SURFACE_CONTENT: in DoDrawQuad()
290 case DrawQuad::INVALID: in DoDrawQuad()
[all …]

123