gtk2/gsk/ngl
Chun-wei Fan d5ced21264 gsk/ngl/fp16.c: Implement runtime F16C detection on MSVC
We need to use __cpuid() to check for the presence of F16C instructions on
Visual Studio builds, and call the half_to_float4() or float_to_half4()
implementation accordingly, as the __builtin_cpu...() functions are strictly
for GCC or CLang only.

Also, since __m128i_u is not a standard intrisics type across the board, just
use __m128i on Visual Studio as it is safe to do so there for use for
_mm_loadl_epi64().

Like running on Darwin, we cannot use the alias __attribute__ as __attribute__
is also for GCC and CLang only.
2021-04-12 18:13:42 +08:00
..
resources ngl: Fix crash with intel driver on Windows when compiling shaders 2021-03-25 08:20:30 -04:00
fp16.c gsk/ngl/fp16.c: Implement runtime F16C detection on MSVC 2021-04-12 18:13:42 +08:00
fp16private.h gsk: Add runtime checks for F16C 2021-04-07 22:21:23 -04:00
gsknglattachmentstate.c gsk: add OpenGL based GskNglRenderer 2021-02-23 14:41:52 -08:00
gsknglattachmentstateprivate.h gsk: add OpenGL based GskNglRenderer 2021-02-23 14:41:52 -08:00
gsknglbuffer.c gsk: add OpenGL based GskNglRenderer 2021-02-23 14:41:52 -08:00
gsknglbufferprivate.h ngl: ensure vertices buffer allocates enough vertices 2021-03-18 10:43:24 -07:00
gsknglcommandqueue.c ngl: Add a program change counter 2021-04-09 00:52:18 -04:00
gsknglcommandqueueprivate.h ngl: Add a program change counter 2021-04-09 00:52:18 -04:00
gsknglcompiler.c ngl: Add infrastructure for clip-variants of shaders 2021-03-07 20:30:45 -05:00
gsknglcompilerprivate.h ngl: Add infrastructure for clip-variants of shaders 2021-03-07 20:30:45 -05:00
gskngldriver.c ngl: move uniform key mapping into uniform state 2021-03-23 13:44:26 -07:00
gskngldriverprivate.h ngl: move uniform key mapping into uniform state 2021-03-23 13:44:26 -07:00
gsknglglyphlibrary.c ngl: Fix a rounding error in subpixel positioning 2021-03-21 16:05:10 -04:00
gsknglglyphlibraryprivate.h ngl: Speed up glyph loop 2021-03-30 00:19:28 -04:00
gskngliconlibrary.c gsk: add OpenGL based GskNglRenderer 2021-02-23 14:41:52 -08:00
gskngliconlibraryprivate.h gsk: add OpenGL based GskNglRenderer 2021-02-23 14:41:52 -08:00
gsknglprogram.c ngl: move uniform key mapping into uniform state 2021-03-23 13:44:26 -07:00
gsknglprogramprivate.h ngl: move uniform key mapping into uniform state 2021-03-23 13:44:26 -07:00
gsknglprograms.defs ngl: Special-case css backgrounds 2021-03-14 16:49:31 -04:00
gsknglrenderer.c Revert "ngl: Remove duplicate check" 2021-03-19 13:17:02 -04:00
gsknglrenderer.h g-i: add missing since annotations for 4.2 2021-03-07 19:50:32 +01:00
gsknglrendererprivate.h gsk: add OpenGL based GskNglRenderer 2021-02-23 14:41:52 -08:00
gsknglrenderjob.c ngl: Fix unevenly scaled shadows 2021-04-11 22:35:02 -04:00
gsknglrenderjobprivate.h gsk: add OpenGL based GskNglRenderer 2021-02-23 14:41:52 -08:00
gsknglshadowlibrary.c ngl: Add code to dump shadows 2021-04-11 21:13:47 -04:00
gsknglshadowlibraryprivate.h gsk: add OpenGL based GskNglRenderer 2021-02-23 14:41:52 -08:00
gskngltexturelibrary.c ngl: Reserve a pixel in texture atlases 2021-04-08 23:34:37 -04:00
gskngltexturelibraryprivate.h ngl: implement atlas compaction 2021-03-18 17:59:56 -07:00
gskngltexturepool.c ngl: Fix unevenly scaled shadows 2021-04-11 22:35:02 -04:00
gskngltexturepoolprivate.h ngl: Fix unevenly scaled shadows 2021-04-11 22:35:02 -04:00
gskngltypesprivate.h ngl: Reduce vertex storage 2021-04-07 21:30:43 -04:00
gskngluniformstate.c ngl: move uniform key mapping into uniform state 2021-03-23 13:44:26 -07:00
gskngluniformstateprivate.h ngl: move uniform key mapping into uniform state 2021-03-23 13:44:26 -07:00
inlinearray.h gsk: add OpenGL based GskNglRenderer 2021-02-23 14:41:52 -08:00
ninesliceprivate.h ngl: Fix unevenly scaled shadows 2021-04-11 22:35:02 -04:00