mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Move DISPLAY_PORT_SIZE_FACTOR to block.rs.
This commit is contained in:
parent
55a93107ce
commit
7414edab05
2 changed files with 3 additions and 4 deletions
|
@ -89,9 +89,6 @@ use webrender_helpers::{WebRenderDisplayListConverter, WebRenderFrameBuilder};
|
|||
use webrender_traits;
|
||||
use wrapper::{LayoutNodeLayoutData, NonOpaqueStyleAndLayoutData};
|
||||
|
||||
/// The number of screens of data we're allowed to generate display lists for in each direction.
|
||||
pub const DISPLAY_PORT_SIZE_FACTOR: i32 = 8;
|
||||
|
||||
/// The number of screens we have to traverse before we decide to generate new display lists.
|
||||
const DISPLAY_PORT_THRESHOLD_SIZE_FACTOR: i32 = 4;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue