Remove std::shared_ptr<GpuBuffer> argument from GetRead/WriteView

PiperOrigin-RevId: 488813004
This commit is contained in:
Camillo Lugaresi
2022-11-15 18:41:53 -08:00
committed by Copybara-Service
parent 1c0a1d0aab
commit 13b4b825d7
8 changed files with 38 additions and 67 deletions
-2
View File
@@ -95,10 +95,8 @@ class GlTextureBuffer
GpuBufferFormat format() const { return format_; }
GlTextureView GetReadView(internal::types<GlTextureView>,
std::shared_ptr<GpuBuffer> gpu_buffer,
int plane) const override;
GlTextureView GetWriteView(internal::types<GlTextureView>,
std::shared_ptr<GpuBuffer> gpu_buffer,
int plane) override;
// If this texture is going to be used outside of the context that produced