summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/Gamma.h
AgeCommit message (Collapse)Author
2022-10-04LibGfx: Remove a workaround for clang before 11Nico Weber
This bug has long been fixed.
2022-04-02LibGfx: Use AK's rsqrt and cast to floats earlierHendiadyoin1
2022-02-06LibGfx: Avoid inclusion of xmmintrin.h on non-X86 architecturesMorten Larsen
Gamma.h includes xmmintrin.h, which is X86-only. The file contains code in other places that is compiled conditionally on __SSE__, so the same macro is used to determine inclusion of the header.
2021-08-18LibGfx: Remove ancient unused NO_FPU macrosAndreas Kling
2021-07-19Everywhere: Use AK/Math.h if applicableHendiadyoin1
AK's version should see better inlining behaviors, than the LibM one. We avoid mixed usage for now though. Also clean up some stale math includes and improper floatingpoint usage.
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-17LibGfx: Fix sse enabled builds by removing implicit float conversionSahan Fernando
2021-04-16Everywhere: Add `-Wdouble-promotion` warningNicholas-Baron
This warning informs of float-to-double conversions. The best solution seems to be to do math *either* in 32-bit *or* in 64-bit, and only to cross over when absolutely necessary.
2021-04-04LibGfx: Avoid float->double->float when converting from linear to gammaOleg Sikorskiy
Benchmark shows 5x speedup (from 644ms to 110ms).
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling