No public description

PiperOrigin-RevId: 580614241
This commit is contained in:
MediaPipe Team 2023-11-08 12:15:02 -08:00 committed by Copybara-Service
parent 65e74dde0f
commit 000314a545
3 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@
// but may or may not still be able to run other OpenGL code. // but may or may not still be able to run other OpenGL code.
#if !defined(MEDIAPIPE_DISABLE_GL_COMPUTE) && \ #if !defined(MEDIAPIPE_DISABLE_GL_COMPUTE) && \
(defined(__APPLE__) || defined(__EMSCRIPTEN__) || MEDIAPIPE_DISABLE_GPU || \ (defined(__APPLE__) || defined(__EMSCRIPTEN__) || MEDIAPIPE_DISABLE_GPU || \
MEDIAPIPE_USING_SWIFTSHADER) MEDIAPIPE_USING_LEGACY_SWIFTSHADER)
#define MEDIAPIPE_DISABLE_GL_COMPUTE #define MEDIAPIPE_DISABLE_GL_COMPUTE
#endif #endif

View File

@ -17,7 +17,7 @@
#include <cstdlib> #include <cstdlib>
#if defined(MEDIAPIPE_USING_SWIFTSHADER) #if defined(MEDIAPIPE_USING_LEGACY_SWIFTSHADER)
#define MEDIAPIPE_NEEDS_GL_THREAD_COLLECTOR 1 #define MEDIAPIPE_NEEDS_GL_THREAD_COLLECTOR 1
#endif #endif

View File

@ -45,7 +45,7 @@ limitations under the License.
#ifdef __EMSCRIPTEN__ #ifdef __EMSCRIPTEN__
#define TASK_SEGMENTATION_USE_GL_POSTPROCESSING 1 #define TASK_SEGMENTATION_USE_GL_POSTPROCESSING 1
#elif MEDIAPIPE_OPENGL_ES_VERSION >= MEDIAPIPE_OPENGL_ES_31 && \ #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 #define TASK_SEGMENTATION_USE_GL_POSTPROCESSING 1
#else #else
#undef TASK_SEGMENTATION_USE_GL_POSTPROCESSING #undef TASK_SEGMENTATION_USE_GL_POSTPROCESSING