| Index: cc/resources/resource_provider.h
|
| diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h
|
| index d5b57127c205db172299d6cc7048e747779e56a8..c2d3657cf0fa9a5684cd8d215fe4a67e5ec685cc 100644
|
| --- a/cc/resources/resource_provider.h
|
| +++ b/cc/resources/resource_provider.h
|
| @@ -33,6 +33,7 @@
|
| #include "third_party/skia/include/core/SkBitmap.h"
|
| #include "third_party/skia/include/core/SkCanvas.h"
|
| #include "ui/gfx/geometry/size.h"
|
| +#include "ui/gfx/gpu_memory_buffer.h"
|
|
|
| class GrContext;
|
|
|
| @@ -88,6 +89,9 @@ class CC_EXPORT ResourceProvider {
|
| bool use_persistent_map_for_gpu_memory_buffers);
|
| virtual ~ResourceProvider();
|
|
|
| + static gfx::GpuMemoryBuffer::Format ToGpuMemoryBufferFormat(
|
| + ResourceFormat format);
|
| +
|
| void DidLoseOutputSurface() { lost_output_surface_ = true; }
|
|
|
| int max_texture_size() const { return max_texture_size_; }
|
|
|