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

Unified Diff: sky/shell/gpu_driver.h

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/gpu/rasterizer.cc ('k') | sky/shell/gpu_driver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/shell/gpu_driver.h
diff --git a/sky/shell/gpu_driver.h b/sky/shell/gpu_driver.h
deleted file mode 100644
index 5201dcbaf244d5003dc13a1b348bd36f03108571..0000000000000000000000000000000000000000
--- a/sky/shell/gpu_driver.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SKY_SHELL_GPU_DRIVER_H_
-#define SKY_SHELL_GPU_DRIVER_H_
-
-#include "base/memory/ref_counted.h"
-#include "base/memory/weak_ptr.h"
-#include "ui/gfx/native_widget_types.h"
-
-namespace gfx {
-class GLContext;
-class GLShareGroup;
-class GLSurface;
-}
-
-namespace sky {
-namespace shell {
-
-class GPUDriver {
- public:
- explicit GPUDriver();
- ~GPUDriver();
-
- base::WeakPtr<GPUDriver> GetWeakPtr();
-
- void Init(gfx::AcceleratedWidget widget);
-
- private:
- scoped_refptr<gfx::GLShareGroup> share_group_;
- scoped_refptr<gfx::GLSurface> surface_;
- scoped_refptr<gfx::GLContext> context_;
-
- base::WeakPtrFactory<GPUDriver> weak_factory_;
-
- DISALLOW_COPY_AND_ASSIGN(GPUDriver);
-};
-
-} // namespace shell
-} // namespace sky
-
-#endif // SKY_SHELL_GPU_DRIVER_H_
« no previous file with comments | « sky/shell/gpu/rasterizer.cc ('k') | sky/shell/gpu_driver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698