gecko-dev/servo/ports/cef
Patrick Walton 43b02049e1 servo: Merge #3752 - gfx: Switch the default to CPU painting (from pcwalton:default-cpu); r=larsbergstrom
We've discussed this some and I think there's consensus to do it as a
pragmatic decision for now. CPU painting is more stable, especially with
buggy drivers, and faster (because we aren't caching the necessary
OpenGL objects yet and possibly for other reasons), so it provides a
better "out of the box" experience for newcomers to Servo who don't know
to pass the `-c` option. This patch continues to reftest both Skia and
Skia-GL out of a desire to keep options open. Skia-GL remains a
first-class citizen.

r? @metajack

Source-Repo: https://github.com/servo/servo
Source-Revision: 1fd7650de504611016d1ce10a5af2c1a4e0f6b9c
2014-10-21 21:18:33 -06:00
..
browser.rs servo: Merge #3438 - Upgrade Rust (from servo:rustup) 2014-09-20 15:35:08 -07:00
Cargo.lock servo: Merge #3749 - gfx: Update rust-azure to pick up arcs, gradients, and subpixel text (from pcwalton:update-rust-azure); r=metajack 2014-10-21 19:54:37 -06:00
Cargo.toml servo: Merge #3563 - Move windowing code out of compositor, take 2. r=larsberg (from mbrubeck:app2) 2014-10-10 13:12:37 -07:00
command_line.rs servo: Merge #3230 - Cargoify servo (from servo:cargoify) 2014-09-09 08:18:18 -06:00
core.rs servo: Merge #3752 - gfx: Switch the default to CPU painting (from pcwalton:default-cpu); r=larsbergstrom 2014-10-21 21:18:33 -06:00
eutil.rs servo: Merge #3230 - Cargoify servo (from servo:cargoify) 2014-09-09 08:18:18 -06:00
lib.rs servo: Merge #3679 - Embedding string list (from zmike:embedding-string_list); r=larsbergstrom 2014-10-15 09:48:24 -06:00
mem.rs servo: Merge #3260 - Only pass extra link flags on OS X (from metajack:fix-cef-linux) 2014-09-09 15:19:50 -06:00
README.md servo: Merge #3230 - Cargoify servo (from servo:cargoify) 2014-09-09 08:18:18 -06:00
request.rs servo: Merge #3230 - Cargoify servo (from servo:cargoify) 2014-09-09 08:18:18 -06:00
string_list.rs servo: Merge #3679 - Embedding string list (from zmike:embedding-string_list); r=larsbergstrom 2014-10-15 09:48:24 -06:00
string.rs servo: Merge #3679 - Embedding string list (from zmike:embedding-string_list); r=larsbergstrom 2014-10-15 09:48:24 -06:00
task.rs servo: Merge #3230 - Cargoify servo (from servo:cargoify) 2014-09-09 08:18:18 -06:00
types.rs servo: Merge #3230 - Cargoify servo (from servo:cargoify) 2014-09-09 08:18:18 -06:00
urlrequest.rs servo: Merge #3230 - Cargoify servo (from servo:cargoify) 2014-09-09 08:18:18 -06:00

How to test:

  1. Go to http://cefbuilds.com/ and download a binary for your OS/arch
  2. Unpack the (huge) archive
  3. Create both Debug and Release build types for CEF (./build.sh [Debug|Release])
  4. Build servo
  5. Run a CEF-based executable with the embedding crate preloaded:
    • Linux: LD_LIBRARY_PATH=/path/to/cef-bin-unpack-dir/out/$build_type LD_PRELOAD=/path/to/servo/build/libembedding-*.so [CEF EXE]
  6. Enjoy CEF-powered crashes

Notes:

  • Running with the Debug build in GDB is EXTREMELY slow on startup. Only use this if you are actively debugging an unimplemented CEF interaction.