Move LayerBuffer cache to the compositor

Now that NativeDisplay can be shared between the compositor and the
paint task, we can move the LayerBuffer cache to the compositor. This
allows surfaces to be potentially reused between different paint tasks
and will eventually allow OpenGL contexts to be preserved between
instances of GL rasterization.
This commit is contained in:
Martin Robinson 2015-06-30 16:32:14 -07:00
parent 2e1c9785dc
commit e115c3d3c4
12 changed files with 174 additions and 226 deletions

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#![feature(box_syntax)]
#![feature(iter_cmp)]
#![feature(slice_bytes)]
#![feature(vec_push_all)]
@ -43,6 +44,7 @@ pub use constellation::Constellation;
pub mod compositor_task;
mod buffer_map;
mod compositor_layer;
mod compositor;
mod headless;