WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
[patch]
WIP patch
a.diff (text/plain), 991 bytes, created by
Fujii Hironori
on 2020-11-18 21:32:23 PST
(
hide
)
Description:
WIP patch
Filename:
MIME Type:
Creator:
Fujii Hironori
Created:
2020-11-18 21:32:23 PST
Size:
991 bytes
patch
obsolete
>diff --git a/Source/WebCore/platform/graphics/texmap/TextureMapperShaderProgram.cpp b/Source/WebCore/platform/graphics/texmap/TextureMapperShaderProgram.cpp >index a1eebeb68ed8..2b0dc3c93bce 100644 >--- a/Source/WebCore/platform/graphics/texmap/TextureMapperShaderProgram.cpp >+++ b/Source/WebCore/platform/graphics/texmap/TextureMapperShaderProgram.cpp >@@ -337,10 +337,10 @@ static const char* fragmentTemplateCommon = > color.a); > } > >- float invert(float n) { return (1.0 - n) * u_filterAmount + n * (1.0 - u_filterAmount); } >+ float invert(float n, float a) { return (a - n) * u_filterAmount + n * (1.0 - u_filterAmount); } > void applyInvertFilter(inout vec4 color) > { >- color = vec4(invert(color.r), invert(color.g), invert(color.b), color.a); >+ color = vec4(invert(color.r, color.a), invert(color.g, color.a), invert(color.b, color.a), color.a); > } > > void applyBrightnessFilter(inout vec4 color)
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 219144
:
414536
|
414537
|
414540
|
414541
|
414542