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

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: More cleanups Created 7 years, 9 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
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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 GL_BINDING_DEFAULT, 120 GL_BINDING_DEFAULT,
121 GL_BINDING_SOFTWARE_RENDERER 121 GL_BINDING_SOFTWARE_RENDERER
122 }; 122 };
123 void SetUpGLBindings(GLBindingPreferences); 123 void SetUpGLBindings(GLBindingPreferences);
124 124
125 enum GraphicsContext3DImplementation { 125 enum GraphicsContext3DImplementation {
126 IN_PROCESS, 126 IN_PROCESS,
127 IN_PROCESS_COMMAND_BUFFER 127 IN_PROCESS_COMMAND_BUFFER
128 }; 128 };
129 129
130 WebKit::WebGraphicsContext3D* CreateGraphicsContext3D(
131 const WebKit::WebGraphicsContext3D::Attributes& attributes,
132 WebKit::WebView* web_view);
133
134 enum LayerTreeViewType { 130 enum LayerTreeViewType {
135 FAKE_CONTEXT, 131 FAKE_CONTEXT,
136 SOFTWARE_CONTEXT, 132 SOFTWARE_CONTEXT,
137 MESA_CONTEXT 133 MESA_CONTEXT
138 }; 134 };
139 135
140 class DRTLayerTreeViewClient { 136 class DRTLayerTreeViewClient {
141 public: 137 public:
142 virtual ~DRTLayerTreeViewClient() { } 138 virtual ~DRTLayerTreeViewClient() { }
143 virtual void Layout() = 0; 139 virtual void Layout() = 0;
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 304
309 void EnableWebCoreLogChannels(const std::string& channels); 305 void EnableWebCoreLogChannels(const std::string& channels);
310 306
311 // - Gamepad 307 // - Gamepad
312 308
313 void SetGamepadData(const WebKit::WebGamepads& pads); 309 void SetGamepadData(const WebKit::WebGamepads& pads);
314 310
315 } // namespace webkit_support 311 } // namespace webkit_support
316 312
317 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ 313 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698