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

Side by Side Diff: webkit/support/webkit_support.h

Issue 12908004: Lazy initialize WGC3DInProcessCommandBufferImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: explicit constructor Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/support/test_webkit_platform_support.cc ('k') | webkit/support/webkit_support.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ 5 #ifndef WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_
6 #define WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ 6 #define WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 GL_BINDING_DEFAULT, 115 GL_BINDING_DEFAULT,
116 GL_BINDING_SOFTWARE_RENDERER 116 GL_BINDING_SOFTWARE_RENDERER
117 }; 117 };
118 void SetUpGLBindings(GLBindingPreferences); 118 void SetUpGLBindings(GLBindingPreferences);
119 119
120 enum GraphicsContext3DImplementation { 120 enum GraphicsContext3DImplementation {
121 IN_PROCESS, 121 IN_PROCESS,
122 IN_PROCESS_COMMAND_BUFFER 122 IN_PROCESS_COMMAND_BUFFER
123 }; 123 };
124 124
125 WebKit::WebGraphicsContext3D* CreateGraphicsContext3D(
126 const WebKit::WebGraphicsContext3D::Attributes& attributes,
127 WebKit::WebView* web_view);
128
129 enum LayerTreeViewType { 125 enum LayerTreeViewType {
130 FAKE_CONTEXT, 126 FAKE_CONTEXT,
131 SOFTWARE_CONTEXT, 127 SOFTWARE_CONTEXT,
132 MESA_CONTEXT 128 MESA_CONTEXT
133 }; 129 };
134 130
135 class DRTLayerTreeViewClient { 131 class DRTLayerTreeViewClient {
136 public: 132 public:
137 virtual ~DRTLayerTreeViewClient() { } 133 virtual ~DRTLayerTreeViewClient() { }
138 virtual void Layout() = 0; 134 virtual void Layout() = 0;
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 299
304 void EnableWebCoreLogChannels(const std::string& channels); 300 void EnableWebCoreLogChannels(const std::string& channels);
305 301
306 // - Gamepad 302 // - Gamepad
307 303
308 void SetGamepadData(const WebKit::WebGamepads& pads); 304 void SetGamepadData(const WebKit::WebGamepads& pads);
309 305
310 } // namespace webkit_support 306 } // namespace webkit_support
311 307
312 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ 308 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_
OLDNEW
« no previous file with comments | « webkit/support/test_webkit_platform_support.cc ('k') | webkit/support/webkit_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698