WebKit Bugzilla
Attachment 342798 Details for
Bug 180914
: fix build with -DENABLE_OPENGL=OFF: add missing ENABLE_WEBGL conditionals
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
tentative patch
opengl.diff (text/plain), 1.31 KB, created by
enometh
on 2018-06-15 03:01:47 PDT
(
hide
)
Description:
tentative patch
Filename:
MIME Type:
Creator:
enometh
Created:
2018-06-15 03:01:47 PDT
Size:
1.31 KB
patch
obsolete
>--- a/Source/WebCore/html/canvas/OESVertexArrayObject.h >+++ b/Source/WebCore/html/canvas/OESVertexArrayObject.h >@@ -28,6 +28,7 @@ > #include "GraphicsTypes3D.h" > #include "WebGLExtension.h" > >+#if ENABLE(WEBGL) > namespace WebCore { > > class WebGLRenderingContextBase; >@@ -47,3 +48,4 @@ private: > }; > > } // namespace WebCore >+#endif // ENABLE(WEBGL) >--- a/Source/WebCore/html/canvas/WebGLContextGroup.h >+++ b/Source/WebCore/html/canvas/WebGLContextGroup.h >@@ -27,6 +27,7 @@ > > #include "WebGLRenderingContextBase.h" > >+#if ENABLE(WEBGL) > namespace WebCore { > > class WebGLContextGroup : public RefCounted<WebGLContextGroup> { >@@ -54,3 +55,4 @@ private: > }; > > } // namespace WebCore >+#endif >--- a/Source/WebCore/html/canvas/WebGLExtension.h >+++ b/Source/WebCore/html/canvas/WebGLExtension.h >@@ -27,6 +27,7 @@ > > #include "WebGLRenderingContextBase.h" > >+#if ENABLE(WEBGL) > namespace WebCore { > > class WebGLExtension { >@@ -71,3 +72,4 @@ protected: > }; > > } // namespace WebCore >+#endif // ENABLE(WEBGL) >\ No newline at end of file >--- a/Source/WebCore/html/canvas/WebGLVertexArrayObjectBase.h >+++ b/Source/WebCore/html/canvas/WebGLVertexArrayObjectBase.h >@@ -25,6 +25,7 @@ > > #pragma once > >+#if ENABLE(WEBGL) > #include "WebGLBuffer.h" > #include "WebGLContextObject.h" > >@@ -76,3 +77,4 @@ protected: > }; > > } // namespace WebCore >+#endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 180914
: 342798