#include "cc/trees/raster_context_provider_wrapper.h"
#include "base/functional/bind.h"
#include "cc/tiles/gpu_image_decode_cache.h"
#include "components/viz/common/gpu/raster_context_provider.h"
namespace cc {
RasterContextProviderWrapper::RasterContextProviderWrapper(
scoped_refptr<viz::RasterContextProvider> context,
RasterDarkModeFilter* dark_mode_filter,
size_t max_working_set_bytes)
: … { … }
RasterContextProviderWrapper::~RasterContextProviderWrapper() { … }
void RasterContextProviderWrapper::CheckValidThreadOrLockSupported() const { … }
void RasterContextProviderWrapper::OnAllClientsVisibilityChanged(bool visible) { … }
const scoped_refptr<viz::RasterContextProvider>&
RasterContextProviderWrapper::GetContext() const { … }
GpuImageDecodeCache& RasterContextProviderWrapper::GetGpuImageDecodeCache(
SkColorType color_type,
const RasterCapabilities& raster_caps) { … }
}