gecko-dev/gfx/webrender_bindings/webrender_ffi.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

157 строки
4.4 KiB
C
Исходник Обычный вид История

Bug 1317774 - Add webrender and dependencies. r=gfx MozReview-Commit-ID: LwDx4WjJZI9 --HG-- rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/app_units/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/app_units/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bincode/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bit-set/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/bit-set/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/bit-set/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/bit-set/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bit-vec/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/bit-vec/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/bit-vec/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/bit-vec/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bitflags/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/bitflags/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/bitflags/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/cgl/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/cgl/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/cgl/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/cgl/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/cmake/.cargo-ok rename : third_party/rust/libz-sys/.travis.yml => third_party/rust/cmake/.travis.yml rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/cmake/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/cmake/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-foundation-sys/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-foundation/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-graphics/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/core-graphics/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/core-graphics/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-text/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/core-text/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/core-text/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/deque/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/deque/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/deque/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/euclid/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/euclid/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/euclid/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/euclid/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/fnv/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/fnv/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/freetype/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/freetype/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/freetype/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/gdi32-sys/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/gl_generator/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/gleam/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/gleam/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/gleam/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/heapsize/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/ipc-channel/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/ipc-channel/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/ipc-channel/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/ipc-channel/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/ipc-channel/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/kernel32-sys/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/khronos_api/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/lazy_static/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/lazy_static/.gitignore rename : third_party/rust/libc/src/unix/bsd/openbsdlike/mod.rs => third_party/rust/libc/src/unix/bsd/netbsdlike/mod.rs rename : third_party/rust/libc/src/unix/bsd/openbsdlike/netbsd.rs => third_party/rust/libc/src/unix/bsd/netbsdlike/netbsd/mod.rs rename : third_party/rust/libc/src/unix/bsd/openbsdlike/openbsd.rs => third_party/rust/libc/src/unix/bsd/netbsdlike/openbsdlike/mod.rs rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/log/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/log/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/log/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/log/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/log/appveyor.yml rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/matches/LICENSE rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/num-traits/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/num_cpus/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/num_cpus/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/num_cpus/LICENSE-APACHE rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/offscreen_gl_context/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/offscreen_gl_context/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/osmesa-sys/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/osmesa-sys/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/post-expansion/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/quote/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rand/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/rand/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/rand/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/rand/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/rand/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rayon/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/rayon/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/rayon/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/rayon/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rayon/src/par_iter/misc.rs rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rustc-serialize/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/rustc-serialize/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/rustc-serialize/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/rustc-serialize/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/serde/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/serde_codegen/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/serde_codegen_internals/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/servo-freetype-sys/.cargo-ok rename : third_party/rust/libz-sys/src/zlib-1.2.8/zutil.h => third_party/rust/servo-freetype-sys/freetype2/src/gzip/zutil.h rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/shared_library/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/shared_library/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syn/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex_errors/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex_pos/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex_syntax/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/term/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/term/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/term/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/term/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/time/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/time/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/time/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/time/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/unicode-xid/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/unicode-xid/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/unicode-xid/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/unicode-xid/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/user32-sys/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/uuid/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/uuid/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/uuid/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/winapi-build/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/winapi/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/x11/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/xml-rs/.cargo-ok
2016-11-16 16:54:51 +03:00
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* 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 http://mozilla.org/MPL/2.0/. */
#ifndef WR_h
#define WR_h
#include "mozilla/gfx/Types.h"
#include "nsTArray.h"
Bug 1317774 - Add webrender and dependencies. r=gfx MozReview-Commit-ID: LwDx4WjJZI9 --HG-- rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/app_units/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/app_units/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bincode/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bit-set/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/bit-set/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/bit-set/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/bit-set/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bit-vec/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/bit-vec/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/bit-vec/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/bit-vec/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bitflags/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/bitflags/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/bitflags/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/cgl/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/cgl/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/cgl/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/cgl/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/cmake/.cargo-ok rename : third_party/rust/libz-sys/.travis.yml => third_party/rust/cmake/.travis.yml rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/cmake/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/cmake/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-foundation-sys/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-foundation/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-graphics/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/core-graphics/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/core-graphics/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-text/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/core-text/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/core-text/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/deque/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/deque/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/deque/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/euclid/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/euclid/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/euclid/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/euclid/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/fnv/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/fnv/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/freetype/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/freetype/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/freetype/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/gdi32-sys/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/gl_generator/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/gleam/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/gleam/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/gleam/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/heapsize/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/ipc-channel/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/ipc-channel/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/ipc-channel/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/ipc-channel/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/ipc-channel/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/kernel32-sys/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/khronos_api/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/lazy_static/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/lazy_static/.gitignore rename : third_party/rust/libc/src/unix/bsd/openbsdlike/mod.rs => third_party/rust/libc/src/unix/bsd/netbsdlike/mod.rs rename : third_party/rust/libc/src/unix/bsd/openbsdlike/netbsd.rs => third_party/rust/libc/src/unix/bsd/netbsdlike/netbsd/mod.rs rename : third_party/rust/libc/src/unix/bsd/openbsdlike/openbsd.rs => third_party/rust/libc/src/unix/bsd/netbsdlike/openbsdlike/mod.rs rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/log/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/log/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/log/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/log/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/log/appveyor.yml rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/matches/LICENSE rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/num-traits/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/num_cpus/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/num_cpus/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/num_cpus/LICENSE-APACHE rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/offscreen_gl_context/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/offscreen_gl_context/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/osmesa-sys/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/osmesa-sys/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/post-expansion/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/quote/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rand/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/rand/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/rand/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/rand/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/rand/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rayon/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/rayon/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/rayon/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/rayon/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rayon/src/par_iter/misc.rs rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rustc-serialize/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/rustc-serialize/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/rustc-serialize/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/rustc-serialize/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/serde/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/serde_codegen/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/serde_codegen_internals/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/servo-freetype-sys/.cargo-ok rename : third_party/rust/libz-sys/src/zlib-1.2.8/zutil.h => third_party/rust/servo-freetype-sys/freetype2/src/gzip/zutil.h rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/shared_library/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/shared_library/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syn/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex_errors/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex_pos/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex_syntax/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/term/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/term/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/term/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/term/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/time/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/time/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/time/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/time/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/unicode-xid/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/unicode-xid/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/unicode-xid/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/unicode-xid/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/user32-sys/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/uuid/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/uuid/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/uuid/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/winapi-build/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/winapi/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/x11/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/xml-rs/.cargo-ok
2016-11-16 16:54:51 +03:00
extern "C" {
// ----
// Functions invoked from Rust code
// ----
bool is_in_compositor_thread();
bool is_in_main_thread();
bool is_in_render_thread();
bool is_glcontext_egl(void* glcontext_ptr);
bool is_glcontext_angle(void* glcontext_ptr);
bool gfx_use_wrench();
const char* gfx_wr_resource_path_override();
void gfx_critical_note(const char* msg);
void gfx_critical_error(const char* msg);
void gecko_printf_stderr_output(const char* msg);
void* get_proc_address_from_glcontext(void* glcontext_ptr,
const char* procname);
void gecko_profiler_register_thread(const char* threadname);
void gecko_profiler_unregister_thread();
void gecko_profiler_start_marker(const char* name);
void gecko_profiler_end_marker(const char* name);
// Prelude of types necessary before including webrender_ffi_generated.h
namespace mozilla {
namespace wr {
struct FontInstanceFlags {
uint32_t bits;
bool operator==(const FontInstanceFlags& aOther) const {
return bits == aOther.bits;
}
FontInstanceFlags& operator=(uint32_t aBits) {
bits = aBits;
return *this;
}
FontInstanceFlags& operator|=(uint32_t aBits) {
bits |= aBits;
return *this;
}
FontInstanceFlags operator|(uint32_t aBits) const {
FontInstanceFlags flags = {bits | aBits};
return flags;
}
FontInstanceFlags& operator&=(uint32_t aBits) {
bits &= aBits;
return *this;
}
FontInstanceFlags operator&(uint32_t aBits) const {
FontInstanceFlags flags = {bits & aBits};
return flags;
}
MOZ_IMPLICIT operator bool() const { return bits != 0; }
enum : uint32_t {
SYNTHETIC_BOLD = 1 << 1,
EMBEDDED_BITMAPS = 1 << 2,
SUBPIXEL_BGR = 1 << 3,
TRANSPOSE = 1 << 4,
FLIP_X = 1 << 5,
FLIP_Y = 1 << 6,
SUBPIXEL_POSITION = 1 << 7,
FORCE_GDI = 1 << 16,
FONT_SMOOTHING = 1 << 16,
FORCE_AUTOHINT = 1 << 16,
NO_AUTOHINT = 1 << 17,
VERTICAL_LAYOUT = 1 << 18,
LCD_VERTICAL = 1 << 19
};
};
struct Transaction;
struct WrWindowId;
struct WrPipelineInfo;
} // namespace wr
} // namespace mozilla
void apz_register_updater(mozilla::wr::WrWindowId aWindowId);
void apz_pre_scene_swap(mozilla::wr::WrWindowId aWindowId);
void apz_post_scene_swap(mozilla::wr::WrWindowId aWindowId,
mozilla::wr::WrPipelineInfo aInfo);
void apz_run_updater(mozilla::wr::WrWindowId aWindowId);
void apz_deregister_updater(mozilla::wr::WrWindowId aWindowId);
void apz_register_sampler(mozilla::wr::WrWindowId aWindowId);
void apz_sample_transforms(mozilla::wr::WrWindowId aWindowId,
mozilla::wr::Transaction* aTransaction);
void apz_deregister_sampler(mozilla::wr::WrWindowId aWindowId);
} // extern "C"
// Some useful defines to stub out webrender binding functions for when we
// build gecko without webrender. We try to tell the compiler these functions
// are unreachable in that case, but VC++ emits a warning if it finds any
// unreachable functions invoked from destructors. That warning gets turned into
// an error and causes the build to fail. So for wr_* functions called by
// destructors in C++ classes, use WR_DESTRUCTOR_SAFE_FUNC instead, which omits
// the unreachable annotation.
#ifdef MOZ_BUILD_WEBRENDER
Bug 1317774 - Add webrender and dependencies. r=gfx MozReview-Commit-ID: LwDx4WjJZI9 --HG-- rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/app_units/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/app_units/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bincode/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bit-set/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/bit-set/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/bit-set/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/bit-set/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bit-vec/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/bit-vec/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/bit-vec/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/bit-vec/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bitflags/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/bitflags/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/bitflags/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/cgl/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/cgl/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/cgl/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/cgl/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/cmake/.cargo-ok rename : third_party/rust/libz-sys/.travis.yml => third_party/rust/cmake/.travis.yml rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/cmake/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/cmake/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-foundation-sys/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-foundation/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-graphics/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/core-graphics/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/core-graphics/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-text/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/core-text/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/core-text/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/deque/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/deque/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/deque/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/euclid/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/euclid/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/euclid/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/euclid/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/fnv/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/fnv/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/freetype/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/freetype/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/freetype/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/gdi32-sys/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/gl_generator/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/gleam/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/gleam/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/gleam/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/heapsize/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/ipc-channel/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/ipc-channel/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/ipc-channel/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/ipc-channel/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/ipc-channel/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/kernel32-sys/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/khronos_api/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/lazy_static/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/lazy_static/.gitignore rename : third_party/rust/libc/src/unix/bsd/openbsdlike/mod.rs => third_party/rust/libc/src/unix/bsd/netbsdlike/mod.rs rename : third_party/rust/libc/src/unix/bsd/openbsdlike/netbsd.rs => third_party/rust/libc/src/unix/bsd/netbsdlike/netbsd/mod.rs rename : third_party/rust/libc/src/unix/bsd/openbsdlike/openbsd.rs => third_party/rust/libc/src/unix/bsd/netbsdlike/openbsdlike/mod.rs rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/log/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/log/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/log/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/log/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/log/appveyor.yml rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/matches/LICENSE rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/num-traits/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/num_cpus/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/num_cpus/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/num_cpus/LICENSE-APACHE rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/offscreen_gl_context/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/offscreen_gl_context/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/osmesa-sys/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/osmesa-sys/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/post-expansion/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/quote/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rand/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/rand/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/rand/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/rand/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/rand/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rayon/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/rayon/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/rayon/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/rayon/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rayon/src/par_iter/misc.rs rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rustc-serialize/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/rustc-serialize/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/rustc-serialize/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/rustc-serialize/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/serde/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/serde_codegen/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/serde_codegen_internals/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/servo-freetype-sys/.cargo-ok rename : third_party/rust/libz-sys/src/zlib-1.2.8/zutil.h => third_party/rust/servo-freetype-sys/freetype2/src/gzip/zutil.h rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/shared_library/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/shared_library/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syn/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex_errors/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex_pos/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex_syntax/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/term/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/term/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/term/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/term/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/time/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/time/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/time/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/time/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/unicode-xid/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/unicode-xid/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/unicode-xid/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/unicode-xid/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/user32-sys/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/uuid/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/uuid/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/uuid/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/winapi-build/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/winapi/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/x11/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/xml-rs/.cargo-ok
2016-11-16 16:54:51 +03:00
#define WR_INLINE
#define WR_FUNC
#define WR_DESTRUCTOR_SAFE_FUNC
Bug 1317774 - Add webrender and dependencies. r=gfx MozReview-Commit-ID: LwDx4WjJZI9 --HG-- rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/app_units/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/app_units/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bincode/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bit-set/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/bit-set/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/bit-set/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/bit-set/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bit-vec/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/bit-vec/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/bit-vec/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/bit-vec/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bitflags/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/bitflags/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/bitflags/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/cgl/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/cgl/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/cgl/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/cgl/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/cmake/.cargo-ok rename : third_party/rust/libz-sys/.travis.yml => third_party/rust/cmake/.travis.yml rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/cmake/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/cmake/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-foundation-sys/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-foundation/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-graphics/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/core-graphics/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/core-graphics/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-text/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/core-text/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/core-text/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/deque/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/deque/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/deque/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/euclid/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/euclid/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/euclid/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/euclid/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/fnv/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/fnv/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/freetype/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/freetype/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/freetype/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/gdi32-sys/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/gl_generator/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/gleam/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/gleam/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/gleam/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/heapsize/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/ipc-channel/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/ipc-channel/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/ipc-channel/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/ipc-channel/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/ipc-channel/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/kernel32-sys/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/khronos_api/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/lazy_static/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/lazy_static/.gitignore rename : third_party/rust/libc/src/unix/bsd/openbsdlike/mod.rs => third_party/rust/libc/src/unix/bsd/netbsdlike/mod.rs rename : third_party/rust/libc/src/unix/bsd/openbsdlike/netbsd.rs => third_party/rust/libc/src/unix/bsd/netbsdlike/netbsd/mod.rs rename : third_party/rust/libc/src/unix/bsd/openbsdlike/openbsd.rs => third_party/rust/libc/src/unix/bsd/netbsdlike/openbsdlike/mod.rs rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/log/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/log/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/log/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/log/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/log/appveyor.yml rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/matches/LICENSE rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/num-traits/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/num_cpus/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/num_cpus/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/num_cpus/LICENSE-APACHE rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/offscreen_gl_context/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/offscreen_gl_context/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/osmesa-sys/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/osmesa-sys/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/post-expansion/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/quote/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rand/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/rand/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/rand/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/rand/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/rand/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rayon/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/rayon/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/rayon/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/rayon/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rayon/src/par_iter/misc.rs rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rustc-serialize/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/rustc-serialize/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/rustc-serialize/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/rustc-serialize/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/serde/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/serde_codegen/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/serde_codegen_internals/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/servo-freetype-sys/.cargo-ok rename : third_party/rust/libz-sys/src/zlib-1.2.8/zutil.h => third_party/rust/servo-freetype-sys/freetype2/src/gzip/zutil.h rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/shared_library/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/shared_library/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syn/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex_errors/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex_pos/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex_syntax/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/term/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/term/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/term/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/term/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/time/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/time/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/time/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/time/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/unicode-xid/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/unicode-xid/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/unicode-xid/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/unicode-xid/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/user32-sys/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/uuid/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/uuid/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/uuid/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/winapi-build/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/winapi/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/x11/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/xml-rs/.cargo-ok
2016-11-16 16:54:51 +03:00
#else
#define WR_INLINE inline
#define WR_FUNC \
{ MOZ_MAKE_COMPILER_ASSUME_IS_UNREACHABLE("WebRender disabled"); }
#define WR_DESTRUCTOR_SAFE_FUNC \
{}
Bug 1317774 - Add webrender and dependencies. r=gfx MozReview-Commit-ID: LwDx4WjJZI9 --HG-- rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/app_units/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/app_units/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bincode/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bit-set/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/bit-set/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/bit-set/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/bit-set/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bit-vec/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/bit-vec/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/bit-vec/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/bit-vec/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/bitflags/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/bitflags/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/bitflags/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/cgl/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/cgl/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/cgl/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/cgl/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/cmake/.cargo-ok rename : third_party/rust/libz-sys/.travis.yml => third_party/rust/cmake/.travis.yml rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/cmake/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/cmake/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-foundation-sys/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-foundation/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-graphics/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/core-graphics/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/core-graphics/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/core-text/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/core-text/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/core-text/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/deque/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/deque/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/deque/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/euclid/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/euclid/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/euclid/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/euclid/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/fnv/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/fnv/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/freetype/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/freetype/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/freetype/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/gdi32-sys/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/gl_generator/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/gleam/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/gleam/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/gleam/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/heapsize/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/ipc-channel/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/ipc-channel/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/ipc-channel/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/ipc-channel/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/ipc-channel/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/kernel32-sys/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/khronos_api/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/lazy_static/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/lazy_static/.gitignore rename : third_party/rust/libc/src/unix/bsd/openbsdlike/mod.rs => third_party/rust/libc/src/unix/bsd/netbsdlike/mod.rs rename : third_party/rust/libc/src/unix/bsd/openbsdlike/netbsd.rs => third_party/rust/libc/src/unix/bsd/netbsdlike/netbsd/mod.rs rename : third_party/rust/libc/src/unix/bsd/openbsdlike/openbsd.rs => third_party/rust/libc/src/unix/bsd/netbsdlike/openbsdlike/mod.rs rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/log/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/log/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/log/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/log/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/log/appveyor.yml rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/matches/LICENSE rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/num-traits/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/num_cpus/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/num_cpus/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/num_cpus/LICENSE-APACHE rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/offscreen_gl_context/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/offscreen_gl_context/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/osmesa-sys/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/osmesa-sys/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/post-expansion/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/quote/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rand/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/rand/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/rand/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/rand/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/rand/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rayon/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/rayon/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/rayon/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/rayon/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rayon/src/par_iter/misc.rs rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/rustc-serialize/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/rustc-serialize/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/rustc-serialize/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/rustc-serialize/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/serde/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/serde_codegen/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/serde_codegen_internals/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/servo-freetype-sys/.cargo-ok rename : third_party/rust/libz-sys/src/zlib-1.2.8/zutil.h => third_party/rust/servo-freetype-sys/freetype2/src/gzip/zutil.h rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/shared_library/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/shared_library/.gitignore rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syn/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex_errors/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex_pos/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/syntex_syntax/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/term/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/term/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/term/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/term/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/time/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/time/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/time/LICENSE-MIT rename : third_party/rust/libz-sys/appveyor.yml => third_party/rust/time/appveyor.yml rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/unicode-xid/.cargo-ok rename : third_party/rust/libz-sys/.gitignore => third_party/rust/unicode-xid/.gitignore rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/unicode-xid/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/unicode-xid/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/user32-sys/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/uuid/.cargo-ok rename : third_party/rust/libz-sys/LICENSE-APACHE => third_party/rust/uuid/LICENSE-APACHE rename : third_party/rust/libz-sys/LICENSE-MIT => third_party/rust/uuid/LICENSE-MIT rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/winapi-build/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/winapi/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/x11/.cargo-ok rename : third_party/rust/libz-sys/.cargo-ok => third_party/rust/xml-rs/.cargo-ok
2016-11-16 16:54:51 +03:00
#endif
#include "webrender_ffi_generated.h"
#undef WR_FUNC
#undef WR_DESTRUCTOR_SAFE_FUNC
// More functions invoked from Rust code. These are down here because they
// refer to data structures from webrender_ffi_generated.h
extern "C" {
void record_telemetry_time(mozilla::wr::TelemetryProbe aProbe,
uint64_t aTimeNs);
}
namespace mozilla {
namespace wr {
// Cast a blob image key into a regular image for use in
// a display item.
inline ImageKey AsImageKey(BlobImageKey aKey) { return aKey._0; }
} // namespace wr
} // namespace mozilla
#endif // WR_h