| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |