This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree 2 files changed +0
-24
lines changed 2 files changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -288,23 +288,6 @@ EntityPass* EntityPass::AddSubpass(std::unique_ptr<EntityPass> pass) {
288
288
return subpass_pointer;
289
289
}
290
290
291
- void EntityPass::AddSubpassInline (std::unique_ptr<EntityPass> pass) {
292
- if (!pass) {
293
- return ;
294
- }
295
- FML_DCHECK (pass->superpass_ == nullptr );
296
-
297
- std::vector<Element>& elements = pass->elements_ ;
298
- for (auto i = 0u ; i < elements.size (); i++) {
299
- elements_.emplace_back (std::move (elements[i]));
300
- }
301
-
302
- backdrop_filter_reads_from_pass_texture_ +=
303
- pass->backdrop_filter_reads_from_pass_texture_ ;
304
- advanced_blend_reads_from_pass_texture_ +=
305
- pass->advanced_blend_reads_from_pass_texture_ ;
306
- }
307
-
308
291
static const constexpr RenderTarget::AttachmentConfig kDefaultStencilConfig =
309
292
RenderTarget::AttachmentConfig{
310
293
.storage_mode = StorageMode::kDeviceTransient ,
Original file line number Diff line number Diff line change @@ -111,13 +111,6 @@ class EntityPass {
111
111
// /
112
112
EntityPass* AddSubpass (std::unique_ptr<EntityPass> pass);
113
113
114
- // ----------------------------------------------------------------------------
115
- // / @brief Merges a given pass into this pass. Useful for drawing
116
- // / pre-recorded pictures that don't require rendering into a separate
117
- // / subpass.
118
- // /
119
- void AddSubpassInline (std::unique_ptr<EntityPass> pass);
120
-
121
114
EntityPass* GetSuperpass () const ;
122
115
123
116
bool Render (ContentContext& renderer,
You can’t perform that action at this time.
0 commit comments