Remove unneeded GPU_SHARED side packet for GlSurfaceSink
PiperOrigin-RevId: 491487092
This commit is contained in:
parent
fc526374ab
commit
cc11b45228
|
@ -37,7 +37,6 @@ enum { kAttribVertex, kAttribTexturePosition, kNumberOfAttributes };
|
|||
// VIDEO or index 0: GpuBuffers to be rendered.
|
||||
// Side inputs:
|
||||
// SURFACE: unique_ptr to an EglSurfaceHolder to draw to.
|
||||
// GPU_SHARED: shared GPU resources.
|
||||
//
|
||||
// See GlSurfaceSinkCalculatorOptions for options.
|
||||
class GlSurfaceSinkCalculator : public Node {
|
||||
|
|
|
@ -231,8 +231,6 @@ int64_t Graph::AddSurfaceOutput(const std::string& output_stream_name) {
|
|||
*graph_config(), absl::StrCat("egl_surface_sink_", output_stream_name)));
|
||||
sink_node->set_calculator("GlSurfaceSinkCalculator");
|
||||
sink_node->add_input_stream(output_stream_name);
|
||||
sink_node->add_input_side_packet(
|
||||
absl::StrCat(kGpuSharedTagName, ":", kGpuSharedSidePacketName));
|
||||
|
||||
const std::string input_side_packet_name =
|
||||
mediapipe::tool::GetUnusedSidePacketName(
|
||||
|
|
Loading…
Reference in New Issue
Block a user