Internal change

PiperOrigin-RevId: 488795920
This commit is contained in:
Camillo Lugaresi
2022-11-15 17:01:33 -08:00
committed by Copybara-Service
parent 1beca61650
commit 7e19bbe35c
2 changed files with 24 additions and 0 deletions
+4
View File
@@ -143,6 +143,10 @@ class GlTextureBuffer
return producer_context_;
}
#if MEDIAPIPE_GPU_BUFFER_USE_CV_PIXEL_BUFFER
static constexpr bool kDisableGpuBufferRegistration = true;
#endif // MEDIAPIPE_GPU_BUFFER_USE_CV_PIXEL_BUFFER
private:
// Creates a texture of dimensions width x height and allocates space for it.
// If data is provided, it is uploaded to the texture; otherwise, it can be