diff --git a/mediapipe/gpu/gl_texture_view.h b/mediapipe/gpu/gl_texture_view.h index b8ead2708..8a257cf53 100644 --- a/mediapipe/gpu/gl_texture_view.h +++ b/mediapipe/gpu/gl_texture_view.h @@ -25,8 +25,6 @@ namespace mediapipe { class GlContext; -class GlTextureViewManager; -class GpuBuffer; class GlTextureView { public: @@ -60,7 +58,6 @@ class GlTextureView { using DoneWritingFn = std::function; private: - friend class GpuBuffer; friend class GlTextureBuffer; friend class GpuBufferStorageCvPixelBuffer; friend class GpuBufferStorageAhwb; diff --git a/mediapipe/gpu/gpu_buffer_storage.h b/mediapipe/gpu/gpu_buffer_storage.h index b15c9c843..55bb418cf 100644 --- a/mediapipe/gpu/gpu_buffer_storage.h +++ b/mediapipe/gpu/gpu_buffer_storage.h @@ -13,7 +13,6 @@ #include "mediapipe/gpu/gpu_buffer_format.h" namespace mediapipe { -class GpuBuffer; namespace internal { template