#include "src/gpu/ganesh/GrStagingBufferManager.h"
#include "include/gpu/ganesh/GrContextOptions.h"
#include "include/gpu/ganesh/GrDirectContext.h"
#include "include/private/base/SkAssert.h"
#include "include/private/gpu/ganesh/GrTypesPriv.h"
#include "src/gpu/ganesh/GrDirectContextPriv.h"
#include "src/gpu/ganesh/GrGpu.h"
#include "src/gpu/ganesh/GrResourceProvider.h"
#include <algorithm>
GrStagingBufferManager::Slice GrStagingBufferManager::allocateStagingBufferSlice(
size_t size, size_t requiredAlignment) { … }
void GrStagingBufferManager::detachBuffers() { … }