Chromium Code Reviews| Index: ui/gl/gl_image_io_surface.h |
| diff --git a/ui/gl/gl_image_io_surface.h b/ui/gl/gl_image_io_surface.h |
| index e513b93d8fd0d85e2ef070e687896a54720560f6..b3b5e73a683ceda405c177858f7271d0a512c1f8 100644 |
| --- a/ui/gl/gl_image_io_surface.h |
| +++ b/ui/gl/gl_image_io_surface.h |
| @@ -22,7 +22,9 @@ namespace gfx { |
| class GL_EXPORT GLImageIOSurface : public GLImage { |
| public: |
| - GLImageIOSurface(const gfx::Size& size, unsigned internalformat); |
| + GLImageIOSurface(gfx::GenericSharedMemoryId io_surface_id, |
| + const gfx::Size& size, |
| + unsigned internalformat); |
| bool Initialize(IOSurfaceRef io_surface, BufferFormat format); |
| @@ -50,10 +52,15 @@ class GL_EXPORT GLImageIOSurface : public GLImage { |
| static void SetLayerForWidget(gfx::AcceleratedWidget widget, |
| CALayer* layer); |
| + void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd, |
|
reveman
2015/08/18 08:32:52
nit: move below ScheduleOverlayPlane and make sure
ericrk
2015/08/18 09:00:47
Done.
|
| + uint64_t process_tracing_id, |
| + const std::string& dump_name) override; |
| + |
| protected: |
| ~GLImageIOSurface() override; |
| private: |
| + gfx::GenericSharedMemoryId io_surface_id_; |
| const gfx::Size size_; |
| const unsigned internalformat_; |
| BufferFormat format_; |