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

Unified Diff: sky/shell/shell.cc

Issue 891143002: Teach SkyShell how to draw with Ganesh (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Moar comments Created 5 years, 11 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/shell.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/shell/shell.cc
diff --git a/sky/shell/shell.cc b/sky/shell/shell.cc
index 3a465d008fadd4c55c3248722133938d95bf374a..757a9e91c2e703b3979dfdbb8f9bae1a91168602 100644
--- a/sky/shell/shell.cc
+++ b/sky/shell/shell.cc
@@ -22,7 +22,7 @@ Shell::~Shell() {
void Shell::Init() {
gpu_thread_.reset(new base::Thread("gpu_thread"));
gpu_thread_->Start();
- gpu_driver_.reset(new GPUDriver());
+ rasterizer_.reset(new Rasterizer());
view_.reset(new SkyView(this));
view_->Init();
@@ -31,7 +31,7 @@ void Shell::Init() {
void Shell::OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget) {
gpu_thread_->message_loop()->PostTask(
FROM_HERE,
- base::Bind(&GPUDriver::Init, gpu_driver_->GetWeakPtr(), widget));
+ base::Bind(&Rasterizer::Init, rasterizer_->GetWeakPtr(), widget));
}
void Shell::OnDestroyed() {
« no previous file with comments | « sky/shell/shell.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698