Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Unified Diff: sky/shell/gpu/rasterizer.h

Issue 936883002: Connect Sky and Ganesh in SkyShell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Address review comments Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/shell/gpu/ganesh_surface.cc ('k') | sky/shell/gpu/rasterizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/shell/gpu/rasterizer.h
diff --git a/sky/shell/gpu/rasterizer.h b/sky/shell/gpu/rasterizer.h
index 8e556418903f0b0b97f3b8d2dc61c33ad2c5355a..3fc8a5aaa4d7a13f62d6d0f52521b84f6d4d2ec0 100644
--- a/sky/shell/gpu/rasterizer.h
+++ b/sky/shell/gpu/rasterizer.h
@@ -34,11 +34,10 @@ class Rasterizer : public GPUDelegate {
void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget) override;
void OnOutputSurfaceDestroyed() override;
-
- void Draw(skia::RefPtr<SkPicture> picture);
+ void Draw(skia::RefPtr<SkPicture> picture) override;
private:
- bool CreateGLContext();
+ void EnsureGLContext();
void EnsureGaneshSurface(const gfx::Size& size);
scoped_refptr<gfx::GLShareGroup> share_group_;
« no previous file with comments | « sky/shell/gpu/ganesh_surface.cc ('k') | sky/shell/gpu/rasterizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698