author WR Updater Bot <>
Fri, 09 Nov 2018 02:57:29 +0000
changeset 445363 c898249d585f090b16e75c66d710ea5aa5a0e64b
parent 442280 a4333f1bf9796e90f3f8a6b719af437608222abf
child 453672 d884f9b54dc622c7e499633aec2180c236ea5ed5
permissions -rw-r--r--
Bug 1505862 - Send the interleaved WR display list dump to logcat. r=kats Using the gfx.webrender.dl.dump-* prefs is supposed to print a display list dump with the gecko and WR display items appropriately interleaved. However on Android the gecko items get sent to logcat via printf_stderr, and the WR display items get sent to stderr, and so get lost. This makes the WR items also go to logcat so that they show up properly. Depends on D11421 Differential Revision:

header = """/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at */"""
autogen_warning = """/* DO NOT MODIFY THIS MANUALLY! This file was generated using cbindgen.
 * To generate this file:
 *   1. Get the latest cbindgen using `cargo install --force cbindgen`
 *      a. Alternatively, you can clone `` and use a tagged release
 *   2. Run `rustup run nightly cbindgen toolkit/library/rust/ --lockfile Cargo.lock --crate webrender_bindings -o gfx/webrender_bindings/webrender_ffi_generated.h`
include_version = true
braces = "SameLine"
line_length = 100
tab_width = 2
language = "C++"
namespaces = ["mozilla", "wr"]

# Skip constants because we don't have any
item_types = ["globals", "enums", "structs", "unions", "typedefs", "opaque", "functions"]

parse_deps = true
include = ["log", "webrender", "webrender_api"]
expand = ["euclid"]

prefix = "WR_INLINE"
postfix = "WR_FUNC"
args = "Vertical"
rename_args = "GeckoCase"

derive_eq = true

add_sentinel = true
derive_helper_methods = true

"target_os = windows" = "XP_WIN"
"target_os = macos" = "XP_MACOSX"
"target_os = android" = "ANDROID"