Home
last modified time | relevance | path

Searched refs:shared_quad_state (Results 1 – 25 of 79) sorted by relevance

1234

/external/chromium_org/cc/quads/
Ddraw_quad.h56 return shared_quad_state->content_to_target_transform; in quadTransform()
59 return shared_quad_state->visible_content_rect; in visibleContentRect()
61 gfx::Rect clipRect() const { return shared_quad_state->clip_rect; } in clipRect()
62 bool isClipped() const { return shared_quad_state->is_clipped; } in isClipped()
63 float opacity() const { return shared_quad_state->opacity; } in opacity()
87 const SharedQuadState* shared_quad_state; variable
92 if (needs_blending || shared_quad_state->opacity < 1.0f) in ShouldDrawWithBlending()
114 return rect.right() == shared_quad_state->content_bounds.width(); in IsRightEdge()
120 return rect.bottom() == shared_quad_state->content_bounds.height(); in IsBottomEdge()
134 void SetAll(const SharedQuadState* shared_quad_state,
Ddraw_quad.cc30 shared_quad_state() { in DrawQuad()
33 void DrawQuad::SetAll(const SharedQuadState* shared_quad_state, in SetAll() argument
51 this->shared_quad_state = shared_quad_state; in SetAll()
53 DCHECK(shared_quad_state); in SetAll()
62 TracedValue::SetIDRef(shared_quad_state, value, "shared_state"); in AsValueInto()
70 shared_quad_state->content_to_target_transform, in AsValueInto()
85 shared_quad_state->content_to_target_transform, in AsValueInto()
100 shared_quad_state->content_to_target_transform, in AsValueInto()
Dsurface_draw_quad.cc16 void SurfaceDrawQuad::SetNew(const SharedQuadState* shared_quad_state, in SetNew() argument
22 DrawQuad::SetAll(shared_quad_state, DrawQuad::SURFACE_CONTENT, rect, in SetNew()
27 void SurfaceDrawQuad::SetAll(const SharedQuadState* shared_quad_state, in SetAll() argument
33 DrawQuad::SetAll(shared_quad_state, DrawQuad::SURFACE_CONTENT, rect, in SetAll()
Ddebug_border_draw_quad.cc18 void DebugBorderDrawQuad::SetNew(const SharedQuadState* shared_quad_state, in SetNew() argument
25 DrawQuad::SetAll(shared_quad_state, DrawQuad::DEBUG_BORDER, rect, opaque_rect, in SetNew()
31 void DebugBorderDrawQuad::SetAll(const SharedQuadState* shared_quad_state, in SetAll() argument
38 DrawQuad::SetAll(shared_quad_state, DrawQuad::DEBUG_BORDER, rect, opaque_rect, in SetAll()
Dcheckerboard_draw_quad.cc15 void CheckerboardDrawQuad::SetNew(const SharedQuadState* shared_quad_state, in SetNew() argument
21 DrawQuad::SetAll(shared_quad_state, DrawQuad::CHECKERBOARD, rect, opaque_rect, in SetNew()
26 void CheckerboardDrawQuad::SetAll(const SharedQuadState* shared_quad_state, in SetAll() argument
32 DrawQuad::SetAll(shared_quad_state, DrawQuad::CHECKERBOARD, rect, opaque_rect, in SetAll()
Dstream_video_draw_quad.cc16 void StreamVideoDrawQuad::SetNew(const SharedQuadState* shared_quad_state, in SetNew() argument
23 DrawQuad::SetAll(shared_quad_state, DrawQuad::STREAM_VIDEO_CONTENT, rect, in SetNew()
29 void StreamVideoDrawQuad::SetAll(const SharedQuadState* shared_quad_state, in SetAll() argument
36 DrawQuad::SetAll(shared_quad_state, DrawQuad::STREAM_VIDEO_CONTENT, rect, in SetAll()
Dsolid_color_draw_quad.cc16 void SolidColorDrawQuad::SetNew(const SharedQuadState* shared_quad_state, in SetNew() argument
23 DrawQuad::SetAll(shared_quad_state, DrawQuad::SOLID_COLOR, rect, opaque_rect, in SetNew()
29 void SolidColorDrawQuad::SetAll(const SharedQuadState* shared_quad_state, in SetAll() argument
36 DrawQuad::SetAll(shared_quad_state, DrawQuad::SOLID_COLOR, rect, opaque_rect, in SetAll()
Dcontent_draw_quad_base.cc21 void ContentDrawQuadBase::SetNew(const SharedQuadState* shared_quad_state, in SetNew() argument
30 DrawQuad::SetAll(shared_quad_state, material, rect, opaque_rect, in SetNew()
37 void ContentDrawQuadBase::SetAll(const SharedQuadState* shared_quad_state, in SetAll() argument
46 DrawQuad::SetAll(shared_quad_state, material, rect, opaque_rect, in SetAll()
Dtile_draw_quad.cc21 void TileDrawQuad::SetNew(const SharedQuadState* shared_quad_state, in SetNew() argument
29 ContentDrawQuadBase::SetNew(shared_quad_state, in SetNew()
40 void TileDrawQuad::SetAll(const SharedQuadState* shared_quad_state, in SetAll() argument
49 ContentDrawQuadBase::SetAll(shared_quad_state, DrawQuad::TILED_CONTENT, rect, in SetAll()
Drender_pass.cc104 while (iter->shared_quad_state != source->shared_quad_state_list[sqs_i]) { in CopyAll()
108 DCHECK(iter->shared_quad_state == source->shared_quad_state_list[sqs_i]); in CopyAll()
209 const SharedQuadState* shared_quad_state, in CopyFromAndAppendRenderPassDrawQuad() argument
213 copy_quad->shared_quad_state = shared_quad_state; in CopyFromAndAppendRenderPassDrawQuad()
220 const SharedQuadState* shared_quad_state) { in CopyFromAndAppendDrawQuad() argument
258 quad_list.back()->shared_quad_state = shared_quad_state; in CopyFromAndAppendDrawQuad()
Dio_surface_draw_quad.cc19 void IOSurfaceDrawQuad::SetNew(const SharedQuadState* shared_quad_state, in SetNew() argument
27 DrawQuad::SetAll(shared_quad_state, DrawQuad::IO_SURFACE_CONTENT, rect, in SetNew()
34 void IOSurfaceDrawQuad::SetAll(const SharedQuadState* shared_quad_state, in SetAll() argument
42 DrawQuad::SetAll(shared_quad_state, DrawQuad::IO_SURFACE_CONTENT, rect, in SetAll()
Dpicture_draw_quad.cc20 void PictureDrawQuad::SetNew(const SharedQuadState* shared_quad_state, in SetNew() argument
31 shared_quad_state, in SetNew()
45 void PictureDrawQuad::SetAll(const SharedQuadState* shared_quad_state, in SetAll() argument
56 ContentDrawQuadBase::SetAll(shared_quad_state, in SetAll()
Dyuv_video_draw_quad.cc21 void YUVVideoDrawQuad::SetNew(const SharedQuadState* shared_quad_state, in SetNew() argument
32 DrawQuad::SetAll(shared_quad_state, DrawQuad::YUV_VIDEO_CONTENT, rect, in SetNew()
42 void YUVVideoDrawQuad::SetAll(const SharedQuadState* shared_quad_state, in SetAll() argument
53 DrawQuad::SetAll(shared_quad_state, DrawQuad::YUV_VIDEO_CONTENT, rect, in SetAll()
Drender_pass_draw_quad.cc23 void RenderPassDrawQuad::SetNew(const SharedQuadState* shared_quad_state, in SetNew() argument
37 SetAll(shared_quad_state, in SetNew()
50 void RenderPassDrawQuad::SetAll(const SharedQuadState* shared_quad_state, in SetAll() argument
64 DrawQuad::SetAll(shared_quad_state, DrawQuad::RENDER_PASS, rect, opaque_rect, in SetAll()
/external/chromium_org/cc/layers/
Dsolid_color_layer_impl.cc32 SharedQuadState* shared_quad_state, in AppendSolidQuads() argument
59 shared_quad_state, quad_rect, visible_quad_rect, color, false); in AppendSolidQuads()
68 SharedQuadState* shared_quad_state = in AppendQuads() local
70 PopulateSharedQuadState(shared_quad_state); in AppendQuads()
73 render_pass, content_bounds(), shared_quad_state, append_quads_data); in AppendQuads()
79 shared_quad_state, in AppendQuads()
Dnine_patch_layer_impl.cc88 SharedQuadState* shared_quad_state = in AppendQuads() local
90 PopulateSharedQuadState(shared_quad_state); in AppendQuads()
93 render_pass, content_bounds(), shared_quad_state, append_quads_data); in AppendQuads()
223 quad->SetNew(shared_quad_state, in AppendQuads()
240 quad->SetNew(shared_quad_state, in AppendQuads()
257 quad->SetNew(shared_quad_state, in AppendQuads()
274 quad->SetNew(shared_quad_state, in AppendQuads()
291 quad->SetNew(shared_quad_state, in AppendQuads()
308 quad->SetNew(shared_quad_state, in AppendQuads()
325 quad->SetNew(shared_quad_state, in AppendQuads()
[all …]
Ddelegated_renderer_layer_impl_unittest.cc537 SharedQuadState* shared_quad_state = in SetUpTest() local
539 shared_quad_state->SetAll(child_pass_transform, in SetUpTest()
550 color_quad->SetNew(shared_quad_state, in SetUpTest()
557 color_quad->SetNew(shared_quad_state, in SetUpTest()
576 SharedQuadState* shared_quad_state = pass->CreateAndAppendSharedQuadState(); in SetUpTest() local
577 shared_quad_state->SetAll(root_pass_transform, in SetUpTest()
588 render_pass_quad->SetNew(shared_quad_state, in SetUpTest()
600 color_quad->SetNew(shared_quad_state, in SetUpTest()
607 color_quad->SetNew(shared_quad_state, in SetUpTest()
614 color_quad->SetNew(shared_quad_state, in SetUpTest()
[all …]
Dsurface_layer_impl.cc44 SharedQuadState* shared_quad_state = in AppendQuads() local
46 PopulateSharedQuadState(shared_quad_state); in AppendQuads()
49 render_pass, content_bounds(), shared_quad_state, append_quads_data); in AppendQuads()
63 quad->SetNew(shared_quad_state, quad_rect, visible_quad_rect, surface_id_); in AppendQuads()
Dvideo_layer_impl.cc160 SharedQuadState* shared_quad_state = in AppendQuads() local
162 shared_quad_state->SetAll(transform, in AppendQuads()
172 render_pass, rotated_size, shared_quad_state, append_quads_data); in AppendQuads()
209 texture_quad->SetNew(shared_quad_state, in AppendQuads()
235 shared_quad_state, in AppendQuads()
258 texture_quad->SetNew(shared_quad_state, in AppendQuads()
280 shared_quad_state, in AppendQuads()
294 io_surface_quad->SetNew(shared_quad_state, in AppendQuads()
318 solid_color_draw_quad->SetAll(shared_quad_state, in AppendQuads()
Dio_surface_layer_impl.cc71 SharedQuadState* shared_quad_state = in AppendQuads() local
73 PopulateSharedQuadState(shared_quad_state); in AppendQuads()
76 render_pass, content_bounds(), shared_quad_state, append_quads_data); in AppendQuads()
89 quad->SetNew(shared_quad_state, in AppendQuads()
Dsolid_color_scrollbar_layer_impl.cc101 SharedQuadState* shared_quad_state = in AppendQuads() local
103 PopulateSharedQuadState(shared_quad_state); in AppendQuads()
106 render_pass, content_bounds(), shared_quad_state, append_quads_data); in AppendQuads()
119 shared_quad_state, thumb_quad_rect, visible_quad_rect, color_, false); in AppendQuads()
Dpainted_scrollbar_layer_impl.cc82 SharedQuadState* shared_quad_state = in AppendQuads() local
84 PopulateSharedQuadState(shared_quad_state); in AppendQuads()
87 render_pass, content_bounds(), shared_quad_state, append_quads_data); in AppendQuads()
105 quad->SetNew(shared_quad_state, in AppendQuads()
126 quad->SetNew(shared_quad_state, in AppendQuads()
Drender_surface_unittest.cc122 SharedQuadState* shared_quad_state = render_pass->shared_quad_state_list[0]; in TEST() local
126 shared_quad_state->content_to_target_transform.matrix().getDouble(0, 3)); in TEST()
129 shared_quad_state->content_to_target_transform.matrix().getDouble(1, 3)); in TEST()
131 gfx::Rect(shared_quad_state->visible_content_rect)); in TEST()
132 EXPECT_EQ(1.f, shared_quad_state->opacity); in TEST()
/external/chromium_org/content/common/
Dcc_messages_unittest.cc78 Compare(a->shared_quad_state, b->shared_quad_state); in Compare()
320 checkerboard_in->shared_quad_state); in TEST_F()
332 debugborder_in->shared_quad_state); in TEST_F()
345 iosurface_in->shared_quad_state); in TEST_F()
375 renderpass_in->shared_quad_state, in TEST_F()
401 solidcolor_in->shared_quad_state); in TEST_F()
413 streamvideo_in->shared_quad_state); in TEST_F()
425 surface_in->shared_quad_state); in TEST_F()
442 texture_in->shared_quad_state); in TEST_F()
454 pass_cmp->CopyFromAndAppendDrawQuad(tile_in, tile_in->shared_quad_state); in TEST_F()
[all …]
Dcc_messages_perftest.cc72 quad->shared_quad_state = render_pass->shared_quad_state_list.back(); in TEST_F()
89 quad->shared_quad_state = render_pass->shared_quad_state_list.back(); in TEST_F()
106 quad->shared_quad_state = render_pass->shared_quad_state_list.back(); in TEST_F()
123 quad->shared_quad_state = render_pass->shared_quad_state_list.back(); in TEST_F()
143 quad->shared_quad_state = render_pass->shared_quad_state_list.back(); in TEST_F()

1234