Searched defs:skewport (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/cc/resources/
H A Dpicture_layer_tiling_unittest.cc520 gfx::Rect skewport = tiling->ComputeSkewport(2.0, viewport_in_content_space); local
527 EXPECT_EQ(0, skewport.x());
528 EXPECT_EQ(10, skewport.y());
529 EXPECT_EQ(25, skewport.width());
530 EXPECT_EQ(35, skewport.height());
551 } else if (skewport.Intersects(tile->content_rect()) ||
H A Dpicture_layer_tiling.cc374 gfx::Rect skewport = visible_rect_in_content_space; local
376 return skewport;
381 return skewport;
400 // Compute the maximum skewport based on |skewport_limit|.
401 gfx::Rect max_skewport = skewport;
405 // Inset the skewport by the needed adjustment.
406 skewport.Inset(extrapolation_multiplier * (new_x - old_x),
411 // Clip the skewport to |max_skewport|.
412 skewport.Intersect(max_skewport);
414 // Finally, ensure that visible rect is contained in the skewport
445 gfx::Rect skewport = ComputeSkewport(current_frame_time_in_seconds, local
[all...]

Completed in 56 milliseconds