Lines Matching refs:viewport
1041 // Draw a blue quad that covers the entire device viewport. It should be
1064 // Draw a green quad that covers the entire device viewport. The stencil
1312 gfx::Rect viewport(this->device_viewport_size_);
1320 CreateTestRenderPass(id, viewport, transform_to_root);
1337 gfx::Vector2d offset(viewport.bottom_right() - blue_rect.bottom_right());
1349 viewport, // Intentionally bigger than clip.
1351 viewport,
1352 viewport.size(),
1354 viewport,
1360 // One viewport-filling green quad.
1362 FakePicturePileImpl::CreateFilledPile(pile_tile_size, viewport.size());
1365 green_pile->add_draw_rect_with_paint(viewport, green_paint);
1370 CreateTestSharedQuadState(green_content_to_target_transform, viewport);
1374 viewport,
1377 viewport.size(),
1379 viewport,
1397 gfx::Rect viewport(this->device_viewport_size_);
1405 CreateTestRenderPass(id, viewport, transform_to_root);
1415 FakePicturePileImpl::CreateFilledPile(pile_tile_size, viewport.size());
1418 green_pile->add_draw_rect_with_paint(viewport, red_paint);
1426 CreateTestSharedQuadState(green_content_to_target_transform, viewport);
1457 gfx::Point(viewport.width() / 2, viewport.height() / 2),
1458 gfx::Size(viewport.width() / 2, viewport.height() / 2));
1461 green_content_to_target_transform, viewport, bottom_right_rect);
1465 bottom_right_green_shared_state.get(), viewport, SK_ColorGREEN, false);
1526 // Fill left half of viewport with green.
1528 gfx::Rect half_green_rect(gfx::Size(viewport.width() / 2, viewport.height()));