This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ref: https://www.glfw.org/docs/3.3.1/build_guide.html | |
| find_package(glfw3 3.3 REQUIRED) | |
| target_link_libraries(myapp glfw) | |
| find_package(OpenGL REQUIRED) | |
| target_link_libraries(myapp OpenGL::GL) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| ## STEP: | |
| # (requires OSX ?) | |
| # pip install pyobjc | |
| # python kibib.py | |
| # Hide python rocket ship from popping up in Dock when run. | |
| import AppKit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vec4 mixColor( in vec4 outC, in vec3 color, float r ) | |
| { | |
| outC.rgb = mix(outC.rgb, color, r); | |
| return outC; | |
| } | |
| vec4 printPointScreen( in vec2 uv, in vec4 outC, in vec3 color, in vec2 pt ) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cmake . -DCMAKE_TOOLCHAIN_FILE="D:\Projects\vcpkg\scripts\buildsystems\vcpkg.cmake" -DSFML_DIR=d:/projects/vcpkg/installed/x86-windows/share/sfml/ -A Win32 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // NV_DX_interop : https://www.khronos.org/registry/OpenGL/extensions/NV/WGL_NV_DX_interop.txt | |
| // NV_DX_interop2 : https://www.khronos.org/registry/OpenGL/extensions/NV/WGL_NV_DX_interop2.txt | |
| // mmonzeiko's : https://gist.github.com/mmozeiko/c99f9891ce723234854f0919bfd88eae | |
| #include <Windows.h> | |
| #include <d3d11.h> | |
| #include <GL/GL.h> | |
| #include <GL/glext.h> | |
| #include <GL/wglext.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| using System.Windows; | |
| using System.Windows.Controls; | |
| using System.Windows.Data; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // "4.6.0 NVIDIA 419.17" | |
| // | |
| bool getVersionOpenGL(int* major, int* minor) | |
| { | |
| /* Thank you @elmindreda | |
| * https://github.com/elmindreda/greg/blob/master/templates/greg.c.in#L176 | |
| * https://github.com/glfw/glfw/blob/master/src/context.c#L36 | |
| */ | |
| const char* version; | |
| const char* prefixes[] = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // https://curl.haxx.se/libcurl/c/https.html | |
| // https://stackoverflow.com/questions/14987857/what-exactly-is-cacert-pem-for | |
| // https://curl.haxx.se/docs/sslcerts.html | |
| // https://curl.haxx.se/docs/caextract.html | |
| #include <stdio.h> | |
| #include <curl/curl.h> | |
| #define HAS_CERT 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| OfficePreComp.hpp | |
| buildfiles_internal_skia.min | |
| buildfiles_i18n.min | |
| buildfiles_freetype2.min | |
| buildfiles_simd.min | |
| buildfiles_libeopt.min | |
| buildfiles_common.min | |
| buildfiles_hunspell.min | |
| buildfiles_harfbuzz2.min |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 8/05 16:08:28: Launching 'app' on samsung SM-G950N. | |
| $ adb shell am start -n "com.example.hellojni/com.example.hellojni.HelloJni" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D | |
| Waiting for application to come online: com.example.hellojni | com.example.hellojni.test | |
| Waiting for application to come online: com.example.hellojni | com.example.hellojni.test | |
| Connecting to com.example.hellojni | |
| Connected to process 1488 on device 'samsung-sm_g950n-ce02171274eac21b04'. | |
| Now Launching Native Debug Session | |
| $ adb shell cat /data/local/tmp/lldb-server | run-as com.example.hellojni sh -c 'cat > /data/data/com.example.hellojni/lldb/bin/lldb-server && chmod 700 /data/data/com.example.hellojni/lldb/bin/lldb-server' | |
| $ adb shell cat /data/local/tmp/start_lldb_server.sh | run-as com.example.hellojni sh -c 'cat > /data/data/com.example.hellojni/lldb/bin/start_lldb_server.sh && chmod 700 /data/data/com.example.hellojni/lldb/bin/start_lldb_server.sh' | |
| Starting LLDB server: /data/data/com.example.hellojni/lldb/bin |