Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 580614241
  • Loading branch information
MediaPipe Team authored and copybara-github committed Nov 8, 2023
1 parent 65e74dd commit 000314a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mediapipe/framework/port.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
// but may or may not still be able to run other OpenGL code.
#if !defined(MEDIAPIPE_DISABLE_GL_COMPUTE) && \
(defined(__APPLE__) || defined(__EMSCRIPTEN__) || MEDIAPIPE_DISABLE_GPU || \
MEDIAPIPE_USING_SWIFTSHADER)
MEDIAPIPE_USING_LEGACY_SWIFTSHADER)
#define MEDIAPIPE_DISABLE_GL_COMPUTE
#endif

Expand Down
2 changes: 1 addition & 1 deletion mediapipe/gpu/gl_thread_collector.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include <cstdlib>

#if defined(MEDIAPIPE_USING_SWIFTSHADER)
#if defined(MEDIAPIPE_USING_LEGACY_SWIFTSHADER)
#define MEDIAPIPE_NEEDS_GL_THREAD_COLLECTOR 1
#endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ limitations under the License.
#ifdef __EMSCRIPTEN__
#define TASK_SEGMENTATION_USE_GL_POSTPROCESSING 1
#elif MEDIAPIPE_OPENGL_ES_VERSION >= MEDIAPIPE_OPENGL_ES_31 && \
!MEDIAPIPE_USING_SWIFTSHADER && defined(MEDIAPIPE_ANDROID)
!MEDIAPIPE_USING_LEGACY_SWIFTSHADER && defined(MEDIAPIPE_ANDROID)
#define TASK_SEGMENTATION_USE_GL_POSTPROCESSING 1
#else
#undef TASK_SEGMENTATION_USE_GL_POSTPROCESSING
Expand Down

0 comments on commit 000314a

Please sign in to comment.