Bug 1510030 - Make prepare_prim_for_render private. r=gw
☠☠ backed out by 7fc17499b720 ☠ ☠
authorHiroyuki Ikezoe <hikezoe.birchill@mozilla.com>
Thu, 27 Feb 2020 02:04:52 +0000
changeset 515836 6b3af91a7ce6e5aee774cdde1c0dc5e2da7bebae
parent 515835 737f4bc3afd3e823fd3f0e253388789a8c0d0299
child 515837 087518046b0c65aebc0c976bf2f736acf7cd4a89
push id108460
push userhikezoe.birchill@mozilla.com
push dateThu, 27 Feb 2020 02:28:50 +0000
treeherderautoland@28a2fba71977 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgw
bugs1510030
milestone75.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 1510030 - Make prepare_prim_for_render private. r=gw Differential Revision: https://phabricator.services.mozilla.com/D63603
gfx/wr/webrender/src/prim_store/mod.rs
--- a/gfx/wr/webrender/src/prim_store/mod.rs
+++ b/gfx/wr/webrender/src/prim_store/mod.rs
@@ -2651,17 +2651,17 @@ impl PrimitiveStore {
         // The opacity filter has been collapsed, so mark this picture
         // as a pass though. This means it will no longer allocate an
         // intermediate surface or incur an extra blend / blit. Instead,
         // the collapsed primitive will be drawn directly into the
         // parent picture.
         self.pictures[pic_index.0].requested_composite_mode = None;
     }
 
-    pub fn prepare_prim_for_render(
+    fn prepare_prim_for_render(
         &mut self,
         prim_instance: &mut PrimitiveInstance,
         prim_spatial_node_index: SpatialNodeIndex,
         pic_context: &PictureContext,
         pic_state: &mut PictureState,
         frame_context: &FrameBuildingContext,
         frame_state: &mut FrameBuildingState,
         plane_split_anchor: PlaneSplitAnchor,