Skip to content

Commit

Permalink
Fix GlContext includes
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 694174981
  • Loading branch information
MediaPipe Team authored and copybara-github committed Nov 7, 2024
1 parent 223cdb1 commit 4e1ee5d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
2 changes: 2 additions & 0 deletions mediapipe/gpu/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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": [],
Expand Down
18 changes: 15 additions & 3 deletions mediapipe/gpu/gl_context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,34 @@

#include <sys/types.h>

#include <cmath>
#include <algorithm>
#include <atomic>
#include <cctype>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <functional>
#include <limits>
#include <memory>
#include <string>
#include <utility>

#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"

Expand Down
7 changes: 7 additions & 0 deletions mediapipe/gpu/gl_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,18 @@
#include <pthread.h>

#include <atomic>
#include <cstdint>
#include <functional>
#include <memory>
#include <type_traits>

#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"
Expand Down

0 comments on commit 4e1ee5d

Please sign in to comment.