зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1399389 - update Cargo.lock and webrender_ffi_generated.h for webrender_bindings updating. r=nical
MozReview-Commit-ID: 8FIu1K1jjxM
This commit is contained in:
Родитель
5b15c33523
Коммит
95b77b8a45
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/* Generated with cbindgen:0.1.28 */
|
||||
/* Generated with cbindgen:0.1.29 */
|
||||
|
||||
/* DO NOT MODIFY THIS MANUALLY! This file was generated using cbindgen.
|
||||
* To generate this file:
|
||||
|
@ -132,6 +132,31 @@ enum class LineStyle : uint8_t {
|
|||
Sentinel /* this must be last for serialization purposes. */
|
||||
};
|
||||
|
||||
// An enum representing the available verbosity level filters of the logging
|
||||
// framework.
|
||||
//
|
||||
// A `LogLevelFilter` may be compared directly to a [`LogLevel`](enum.LogLevel.html).
|
||||
// Use this type to [`get()`](struct.MaxLogLevelFilter.html#method.get) and
|
||||
// [`set()`](struct.MaxLogLevelFilter.html#method.set) the
|
||||
// [`MaxLogLevelFilter`](struct.MaxLogLevelFilter.html), or to match with the getter
|
||||
// [`max_log_level()`](fn.max_log_level.html).
|
||||
enum class LogLevelFilter : uintptr_t {
|
||||
// A level lower than all log levels.
|
||||
Off = 0,
|
||||
// Corresponds to the `Error` log level.
|
||||
Error = 1,
|
||||
// Corresponds to the `Warn` log level.
|
||||
Warn = 2,
|
||||
// Corresponds to the `Info` log level.
|
||||
Info = 3,
|
||||
// Corresponds to the `Debug` log level.
|
||||
Debug = 4,
|
||||
// Corresponds to the `Trace` log level.
|
||||
Trace = 5,
|
||||
|
||||
Sentinel /* this must be last for serialization purposes. */
|
||||
};
|
||||
|
||||
enum class MixBlendMode : uint32_t {
|
||||
Normal = 0,
|
||||
Multiply = 1,
|
||||
|
@ -665,6 +690,8 @@ struct GlyphOptions {
|
|||
|
||||
typedef YuvColorSpace WrYuvColorSpace;
|
||||
|
||||
typedef LogLevelFilter WrLogLevelFilter;
|
||||
|
||||
struct ByteSlice {
|
||||
const uint8_t *buffer;
|
||||
size_t len;
|
||||
|
@ -881,6 +908,10 @@ extern void AddFontData(WrFontKey aKey,
|
|||
|
||||
extern void DeleteFontData(WrFontKey aKey);
|
||||
|
||||
extern void gecko_printf_stderr_output(const char *aMsg);
|
||||
|
||||
extern void gfx_critical_error(const char *aMsg);
|
||||
|
||||
extern void gfx_critical_note(const char *aMsg);
|
||||
|
||||
extern bool gfx_use_wrench();
|
||||
|
@ -1262,6 +1293,10 @@ WR_INLINE
|
|||
void wr_dp_save(WrState *aState)
|
||||
WR_FUNC;
|
||||
|
||||
WR_INLINE
|
||||
void wr_init_external_log_handler(WrLogLevelFilter aLogFilter)
|
||||
WR_FUNC;
|
||||
|
||||
extern bool wr_moz2d_render_cb(ByteSlice aBlob,
|
||||
uint32_t aWidth,
|
||||
uint32_t aHeight,
|
||||
|
@ -1441,6 +1476,10 @@ void wr_scroll_layer_with_id(DocumentHandle *aDh,
|
|||
LayoutPoint aNewScrollOrigin)
|
||||
WR_FUNC;
|
||||
|
||||
WR_INLINE
|
||||
void wr_shutdown_external_log_handler()
|
||||
WR_FUNC;
|
||||
|
||||
WR_INLINE
|
||||
void wr_state_delete(WrState *aState)
|
||||
WR_DESTRUCTOR_SAFE_FUNC;
|
||||
|
|
|
@ -1615,6 +1615,7 @@ dependencies = [
|
|||
"bincode 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"euclid 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gleam 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"log 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rayon 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"thread_profiler 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"webrender 0.53.1",
|
||||
|
|
|
@ -1627,6 +1627,7 @@ dependencies = [
|
|||
"bincode 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"euclid 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gleam 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"log 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rayon 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"thread_profiler 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"webrender 0.53.1",
|
||||
|
|
Загрузка…
Ссылка в новой задаче