a58db7f87e
With this change if a backend Gr*Gpu wants to using staging buffers they just add a generic GrStagingBufferManager member object. This object can be used to get slices of upload buffers. Then they just need to implement the virtual for taking ownership of buffers during submit. We rely on our GrResourceCache to handle caching and reuse of these buffers. This change allows us to remove all other virtuals on GrGpu around managing staging buffers. Change-Id: I5db9a3c52133978ea89d6c0de440f434fbf91a51 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/300226 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Stephen White <senorblanco@google.com> |
||
---|---|---|
.. | ||
DM.cpp | ||
DMGpuTestProcs.cpp | ||
DMJsonWriter.cpp | ||
DMJsonWriter.h | ||
DMSrcSink.cpp | ||
DMSrcSink.h |