Index: ui/gl/init/gl_factory.h |
diff --git a/ui/gl/init/gl_factory.h b/ui/gl/init/gl_factory.h |
index 11646011bcd1de3a476837f1f5d97fad1c7dc335..ed114628e1e68a016dae3f1d3b073f4aadc54270 100644 |
--- a/ui/gl/init/gl_factory.h |
+++ b/ui/gl/init/gl_factory.h |
@@ -20,33 +20,30 @@ |
namespace init { |
-// Initializes GL bindings. |
+// Initialize GL bindings. |
GL_INIT_EXPORT bool InitializeGLOneOff(); |
-// Initializes GL bindings using the provided parameters. This might be required |
+// Initialize GL bindings using the provided parameters. This might be required |
// for use in tests, otherwise use InitializeGLOneOff() instead. |
GL_INIT_EXPORT bool InitializeGLOneOffImplementation(GLImplementation impl, |
bool fallback_to_osmesa, |
bool gpu_service_logging, |
bool disable_gl_drawing); |
-// Clears GL bindings and resets GL implementation. |
-GL_INIT_EXPORT void ClearGLBindings(); |
- |
-// Creates a GL context that is compatible with the given surface. |
-// |share_group|, if non-NULL, is a group of contexts which the internally |
-// created OpenGL context shares textures and other resources. |
+// Create a GL context that is compatible with the given surface. |share_group|, |
+// if non-NULL, is a group of contexts which the internally created OpenGL |
+// context shares textures and other resources. |
GL_INIT_EXPORT scoped_refptr<GLContext> CreateGLContext( |
GLShareGroup* share_group, |
GLSurface* compatible_surface, |
GpuPreference gpu_preference); |
-// Creates a GL surface that renders directly to a view. |
+// Create a GL surface that renders directly to a view. |
GL_INIT_EXPORT scoped_refptr<GLSurface> CreateViewGLSurface( |
gfx::AcceleratedWidget window); |
#if defined(USE_OZONE) |
-// Creates a GL surface that renders directly into a window with surfaceless |
+// Create a GL surface that renders directly into a window with surfaceless |
// semantics - there is no default framebuffer and the primary surface must |
// be presented as an overlay. If surfaceless mode is not supported or |
// enabled it will return a null pointer. |
@@ -54,7 +51,7 @@ |
gfx::AcceleratedWidget window); |
#endif // defined(USE_OZONE) |
-// Creates a GL surface used for offscreen rendering. |
+// Create a GL surface used for offscreen rendering. |
GL_INIT_EXPORT scoped_refptr<GLSurface> CreateOffscreenGLSurface( |
const gfx::Size& size); |