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

Side by Side Diff: cc/output/context_provider.h

Issue 93433004: Use GLES2Interface for shaders and programs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android_aosp warning Created 7 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 | Annotate | Revision Log
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/output/gl_renderer.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 CC_OUTPUT_CONTEXT_PROVIDER_H_ 5 #ifndef CC_OUTPUT_CONTEXT_PROVIDER_H_
6 #define CC_OUTPUT_CONTEXT_PROVIDER_H_ 6 #define CC_OUTPUT_CONTEXT_PROVIDER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
11 #include "gpu/command_buffer/common/capabilities.h" 11 #include "gpu/command_buffer/common/capabilities.h"
12 12
13 class GrContext; 13 class GrContext;
14
14 namespace blink { class WebGraphicsContext3D; } 15 namespace blink { class WebGraphicsContext3D; }
15 namespace gpu { 16 namespace gpu {
16 class ContextSupport; 17 class ContextSupport;
17 namespace gles2 { class GLES2Interface; } 18 namespace gles2 { class GLES2Interface; }
18 } 19 }
19 20
20 namespace cc { 21 namespace cc {
21 struct ManagedMemoryPolicy; 22 struct ManagedMemoryPolicy;
22 23
23 class ContextProvider : public base::RefCountedThreadSafe<ContextProvider> { 24 class ContextProvider : public base::RefCountedThreadSafe<ContextProvider> {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 const MemoryPolicyChangedCallback& memory_policy_changed_callback) = 0; 92 const MemoryPolicyChangedCallback& memory_policy_changed_callback) = 0;
92 93
93 protected: 94 protected:
94 friend class base::RefCountedThreadSafe<ContextProvider>; 95 friend class base::RefCountedThreadSafe<ContextProvider>;
95 virtual ~ContextProvider() {} 96 virtual ~ContextProvider() {}
96 }; 97 };
97 98
98 } // namespace cc 99 } // namespace cc
99 100
100 #endif // CC_OUTPUT_CONTEXT_PROVIDER_H_ 101 #endif // CC_OUTPUT_CONTEXT_PROVIDER_H_
OLDNEW
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/output/gl_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698