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

Unified Diff: sky/shell/gpu/ganesh_surface.cc

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_context.cc ('k') | sky/shell/gpu/rasterizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/shell/gpu/ganesh_surface.cc
diff --git a/sky/shell/gpu/ganesh_surface.cc b/sky/shell/gpu/ganesh_surface.cc
index fb15738d374ef0963d23d3b9d43c94f518b7e8b7..c9771de53b09331c55d511f186b2dea7b3555c0b 100644
--- a/sky/shell/gpu/ganesh_surface.cc
+++ b/sky/shell/gpu/ganesh_surface.cc
@@ -15,7 +15,7 @@ GaneshSurface::GaneshSurface(GaneshContext* context, const gfx::Size& size) {
desc.fWidth = size.width();
desc.fHeight = size.height();
desc.fConfig = kSkia8888_GrPixelConfig;
- desc.fOrigin = kTopLeft_GrSurfaceOrigin;
+ desc.fOrigin = kBottomLeft_GrSurfaceOrigin;
auto target = skia::AdoptRef(context->gr()->wrapBackendRenderTarget(desc));
DCHECK(target);
« no previous file with comments | « sky/shell/gpu/ganesh_context.cc ('k') | sky/shell/gpu/rasterizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698