Skip to content

Commit

Permalink
P3 colorspace support for WebGL canvas on iOS
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=249180
rdar://101663634

Reviewed by Simon Fraser.

Remove the flag restricting this to macOS.

* Source/WebCore/html/canvas/WebGLRenderingContextBase.idl:

Canonical link: https://commits.webkit.org/257776@main
  • Loading branch information
grorg committed Dec 13, 2022
1 parent b7ac5d0 commit 82b61e2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Source/WebCore/html/canvas/WebGLRenderingContextBase.idl
Expand Up @@ -483,9 +483,7 @@ typedef (HTMLCanvasElement) WebGLCanvas;
readonly attribute GLsizei drawingBufferHeight;

#if defined(ENABLE_PREDEFINED_COLOR_SPACE_DISPLAY_P3) && ENABLE_PREDEFINED_COLOR_SPACE_DISPLAY_P3
# if defined(WTF_PLATFORM_MAC) && WTF_PLATFORM_MAC // iOS to be implemented in http://webkit.org/b/247166
[EnabledBySetting=CanvasColorSpaceEnabled] attribute PredefinedColorSpace drawingBufferColorSpace;
# endif
#endif

undefined activeTexture(GLenum texture);
Expand Down

0 comments on commit 82b61e2

Please sign in to comment.