Bug 1448703 - Follow-up to regenerate FFI bindings. r=me
authorKartikaya Gupta <kgupta@mozilla.com>
Wed, 25 Apr 2018 16:11:10 -0400
changeset 471749 c1b58d542d97346deea3aaaee2929cc803531fbe
parent 471748 3c15a3b3c85a5520f524ad88268774d50ed56b23
child 471750 113746417ca6d2a606fbe1ebd393af015297da77
push id1728
push userjlund@mozilla.com
push dateMon, 18 Jun 2018 21:12:27 +0000
treeherdermozilla-release@c296fde26f5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1448703
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1448703 - Follow-up to regenerate FFI bindings. r=me
gfx/webrender_bindings/webrender_ffi_generated.h
--- a/gfx/webrender_bindings/webrender_ffi_generated.h
+++ b/gfx/webrender_bindings/webrender_ffi_generated.h
@@ -283,16 +283,18 @@ struct FontKey {
 };
 
 using WrFontKey = FontKey;
 
 using VecU8 = Vec<uint8_t>;
 
 using ArcVecU8 = Arc<VecU8>;
 
+using WrIdNamespace = IdNamespace;
+
 struct WrWindowId {
   uint64_t mHandle;
 
   bool operator==(const WrWindowId& aOther) const {
     return mHandle == aOther.mHandle;
   }
   bool operator<(const WrWindowId& aOther) const {
     return mHandle < aOther.mHandle;
@@ -417,18 +419,16 @@ struct WrVecU8 {
 
   bool operator==(const WrVecU8& aOther) const {
     return data == aOther.data &&
            length == aOther.length &&
            capacity == aOther.capacity;
   }
 };
 
-using WrIdNamespace = IdNamespace;
-
 // A 2d Point tagged with a unit.
 template<typename T, typename U>
 struct TypedPoint2D {
   T x;
   T y;
 
   bool operator==(const TypedPoint2D& aOther) const {
     return x == aOther.x &&
@@ -944,16 +944,18 @@ extern void AddFontData(WrFontKey aKey,
                         uintptr_t aSize,
                         uint32_t aIndex,
                         const ArcVecU8 *aVec);
 
 extern void AddNativeFontHandle(WrFontKey aKey,
                                 void *aHandle,
                                 uint32_t aIndex);
 
+extern void ClearBlobImageResources(WrIdNamespace aNamespace);
+
 extern void DeleteFontData(WrFontKey aKey);
 
 extern void apz_deregister_sampler(WrWindowId aWindowId);
 
 extern void apz_deregister_updater(WrWindowId aWindowId);
 
 extern void apz_post_scene_swap(WrWindowId aWindowId,
                                 WrPipelineInfo aPipelineInfo);