diff --git a/mediapipe/gpu/BUILD b/mediapipe/gpu/BUILD index 567d893c76..2d37e5ab85 100644 --- a/mediapipe/gpu/BUILD +++ b/mediapipe/gpu/BUILD @@ -226,7 +226,9 @@ cc_library( "@com_google_absl//absl/memory", "@com_google_absl//absl/status", "@com_google_absl//absl/status:statusor", + "@com_google_absl//absl/strings", "@com_google_absl//absl/strings:str_format", + "@com_google_absl//absl/strings:string_view", "@com_google_absl//absl/synchronization", ] + select({ "//conditions:default": [], diff --git a/mediapipe/gpu/gl_context.cc b/mediapipe/gpu/gl_context.cc index 69d0e7bbc4..0be605db55 100644 --- a/mediapipe/gpu/gl_context.cc +++ b/mediapipe/gpu/gl_context.cc @@ -16,22 +16,34 @@ #include -#include +#include +#include +#include +#include +#include +#include +#include +#include #include -#include #include +#include "absl/base/attributes.h" #include "absl/base/dynamic_annotations.h" +#include "absl/base/thread_annotations.h" #include "absl/log/absl_check.h" #include "absl/log/absl_log.h" #include "absl/memory/memory.h" #include "absl/status/status.h" +#include "absl/strings/numbers.h" #include "absl/strings/str_format.h" +#include "absl/strings/str_split.h" +#include "absl/strings/string_view.h" #include "absl/synchronization/mutex.h" #include "mediapipe/framework/port.h" // IWYU pragma: keep #include "mediapipe/framework/port/ret_check.h" -#include "mediapipe/framework/port/status.h" #include "mediapipe/framework/port/status_builder.h" +#include "mediapipe/framework/port/status_macros.h" +#include "mediapipe/gpu/gl_base.h" #include "mediapipe/gpu/gl_context_internal.h" #include "mediapipe/gpu/gpu_buffer_format.h" diff --git a/mediapipe/gpu/gl_context.h b/mediapipe/gpu/gl_context.h index 19dbce2429..e491bb9b06 100644 --- a/mediapipe/gpu/gl_context.h +++ b/mediapipe/gpu/gl_context.h @@ -18,11 +18,18 @@ #include #include +#include #include #include +#include +#include "absl/base/attributes.h" +#include "absl/base/thread_annotations.h" #include "absl/container/flat_hash_map.h" #include "absl/log/absl_check.h" +#include "absl/status/status.h" +#include "absl/status/statusor.h" +#include "absl/strings/string_view.h" #include "absl/synchronization/mutex.h" #include "mediapipe/framework/executor.h" #include "mediapipe/framework/mediapipe_profiling.h"