| Index: webkit/common/gpu/webgraphicscontext3d_impl.h
|
| diff --git a/webkit/common/gpu/webgraphicscontext3d_impl.h b/webkit/common/gpu/webgraphicscontext3d_impl.h
|
| index 83af0b4ad1ae5a9cdde0908e3ea52f6ff64e5d60..b16056f20d2d2cdb9786dffb971ac34d8adfa470 100644
|
| --- a/webkit/common/gpu/webgraphicscontext3d_impl.h
|
| +++ b/webkit/common/gpu/webgraphicscontext3d_impl.h
|
| @@ -19,6 +19,7 @@ namespace gpu {
|
| namespace gles2 {
|
| class GLES2Interface;
|
| class GLES2ImplementationErrorMessageCallback;
|
| +class ContextCreationAttribHelper;
|
| }
|
| }
|
|
|
| @@ -559,6 +560,12 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DImpl
|
| return gl_;
|
| }
|
|
|
| + // Convert WebGL context creation attributes into command buffer / EGL size
|
| + // requests.
|
| + static void ConvertAttributes(
|
| + const blink::WebGraphicsContext3D::Attributes& attributes,
|
| + ::gpu::gles2::ContextCreationAttribHelper* output_attribs);
|
| +
|
| protected:
|
| friend class WebGraphicsContext3DErrorMessageCallback;
|
|
|
|
|