Add GpuSurfaceLookup::AcquireJavaSurface for AVDA on Android.
AndroidVideoDecodeAccelerator, which runs in the GPU process, needs a way to get a java Surface from the browser process. GpuSurfaceLookup and SurfaceTextureManagerImpl already provide a way to get an ANativeWindow but not the corresponding java Surface. This new method returns the java surface. BUG=533630 Review URL: https://codereview.chromium.org/1567193002 Cr-Commit-Position: refs/heads/master@{#368478}
Showing
Please register or sign in to comment