Add ImageFrame and GlTexture view providers to Ahwb GpuBuffer storage

- ImageFrame views are backed by CPU locks of the AHWB.
- GlTextureViews are managed through a GlTextureBuffer connected to the AHWB allocation.

This improves the latency of heterogeneous access sequences, but makes `ImageFrame > ImageFrame` sequences slower due to CPU locking.

PiperOrigin-RevId: 481982546
This commit is contained in:
MediaPipe Team
2022-10-18 11:59:29 -07:00
committed by Copybara-Service
parent f2821d840d
commit 43345160c5
3 changed files with 5 additions and 0 deletions
+3
View File
@@ -378,8 +378,11 @@ cc_library(
],
}),
deps = [
":gl_texture_buffer",
":gpu_buffer_format",
":gpu_buffer_storage",
":image_frame_view",
"//mediapipe/framework/formats:image_frame",
"@com_google_absl//absl/strings:str_format",
],
)