| Index: webkit/glue/webpreferences.cc
|
| ===================================================================
|
| --- webkit/glue/webpreferences.cc (revision 107226)
|
| +++ webkit/glue/webpreferences.cc (working copy)
|
| @@ -79,6 +79,7 @@
|
| force_compositing_mode(false),
|
| allow_webui_compositing(false),
|
| composite_to_texture_enabled(false),
|
| + fixed_position_compositing_enabled(false),
|
| accelerated_layers_enabled(false),
|
| accelerated_video_enabled(false),
|
| accelerated_2d_canvas_enabled(false),
|
| @@ -264,6 +265,11 @@
|
| // Enable composite to offscreen texture if requested on the command line.
|
| settings->setCompositeToTextureEnabled(composite_to_texture_enabled);
|
|
|
| + // Enable compositing for fixed position elements if requested
|
| + // on the command line.
|
| + settings->setAcceleratedCompositingForFixedPositionEnabled(
|
| + fixed_position_compositing_enabled);
|
| +
|
| // Enable gpu-accelerated 2d canvas if requested on the command line.
|
| settings->setAccelerated2dCanvasEnabled(accelerated_2d_canvas_enabled);
|
|
|
|
|