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

Side by Side Diff: mojo/skia/ganesh_context.h

Issue 1518793004: Improve GL bindings for Ganesh surfaces. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: address review comments Created 5 years 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 unified diff | Download patch
« no previous file with comments | « mojo/skia/BUILD.gn ('k') | mojo/skia/ganesh_framebuffer_surface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_SKIA_GANESH_CONTEXT_H_ 5 #ifndef MOJO_SKIA_GANESH_CONTEXT_H_
6 #define MOJO_SKIA_GANESH_CONTEXT_H_ 6 #define MOJO_SKIA_GANESH_CONTEXT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/weak_ptr.h"
10 #include "mojo/gpu/gl_context.h" 10 #include "mojo/gpu/gl_context.h"
11 #include "skia/ext/refptr.h" 11 #include "skia/ext/refptr.h"
12 #include "third_party/skia/include/gpu/GrContext.h" 12 #include "third_party/skia/include/gpu/GrContext.h"
13 13
14 namespace gpu { 14 namespace gpu {
15 namespace gles2 { 15 namespace gles2 {
16 class GLES2Interface; 16 class GLES2Interface;
17 } 17 }
18 } 18 }
19 19
(...skipping 25 matching lines...) Expand all
45 45
46 base::WeakPtr<GLContext> gl_context_; 46 base::WeakPtr<GLContext> gl_context_;
47 skia::RefPtr<GrContext> context_; 47 skia::RefPtr<GrContext> context_;
48 48
49 DISALLOW_COPY_AND_ASSIGN(GaneshContext); 49 DISALLOW_COPY_AND_ASSIGN(GaneshContext);
50 }; 50 };
51 51
52 } // namespace mojo 52 } // namespace mojo
53 53
54 #endif // MOJO_SKIA_GANESH_CONTEXT_H_ 54 #endif // MOJO_SKIA_GANESH_CONTEXT_H_
OLDNEW
« no previous file with comments | « mojo/skia/BUILD.gn ('k') | mojo/skia/ganesh_framebuffer_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698