diff --git a/cmake-build-debug/.ninja_deps b/cmake-build-debug/.ninja_deps index a96db57..84f9cad 100644 Binary files a/cmake-build-debug/.ninja_deps and b/cmake-build-debug/.ninja_deps differ diff --git a/cmake-build-debug/.ninja_log b/cmake-build-debug/.ninja_log index 5c5d894..d794b59 100644 --- a/cmake-build-debug/.ninja_log +++ b/cmake-build-debug/.ninja_log @@ -23,7 +23,7 @@ 1840 1892 1677649374931277679 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftpatent.c.o 6617c5fd2e75a2f9 858 1084 1677649374123254573 libraries/glfw-3.3.8/src/CMakeFiles/glfw.dir/x11_init.c.o 7a310a4749a2e05 1651 1775 1677649374815274363 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftbitmap.c.o 8ce02b3a42c98959 -0 98 1678162061061650682 build.ninja 190f84590f6ee728 +0 98 1678245898977880971 build.ninja 190f84590f6ee728 2550 2591 1677649375631297699 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftdebug.c.o b73c3b9b7d19e4d5 3 366 1677858170717275276 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/format.cpp.o 342a5daa6ca9681d 1656 1710 1677649374747272417 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftcid.c.o c5d515ae6d477f99 @@ -86,3 +86,76 @@ 1924 2248 1677649375287287862 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/cache/ftcache.c.o 656d9fc7811ee06 1943 2531 1677649375567295868 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/cff/cff.c.o 4c729d49aae7bc8 1169 1298 1677649374335260638 libraries/glfw-3.3.8/src/CMakeFiles/glfw.dir/linux_joystick.c.o afc8940b6e7eeae1 +4 111 1678248947891306168 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/fttype1.c.o f9e1be8214711118 +6 415 1678248948195314268 CMakeFiles/FinalProject.dir/src/util/math.cpp.o 6a2d77c2d6029ece +5 493 1678248948271316294 CMakeFiles/FinalProject.dir/src/render/ui/debug.cpp.o 8d62dc0ee5886d9a +416 819 1678248948599325036 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/filesystem.cpp.o 1a0a1b974a857d5d +5 899 1678248948679327168 CMakeFiles/FinalProject.dir/src/render/camera.cpp.o e3515482671bea2b +6 977 1678248948755329193 CMakeFiles/FinalProject.dir/src/util/settings.cpp.o f7b730a0207b3216 +493 1070 1678248948851331749 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/format.cpp.o 39afe0bb06feb732 +6 1132 1678248948911333350 CMakeFiles/FinalProject.dir/src/render/window.cpp.o 603ba2f9d49f6aa4 +5 1208 1678248948987335373 CMakeFiles/FinalProject.dir/src/render/gl.cpp.o c553cf67b8a14413 +5 1453 1678248949231341876 CMakeFiles/FinalProject.dir/src/render/ui/text.cpp.o 73e827c5800fb622 +977 1485 1678248949263342729 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/system.cpp.o c0386399ce96ac28 +1070 1585 1678248949363345394 libraries/BLT/CMakeFiles/BLT.dir/src/blt/nbt/nbt.cpp.o 53cf7b0a58d1d5f9 +1209 1600 1678248949379345818 libraries/BLT/CMakeFiles/BLT.dir/src/blt/nbt/nbt_block.cpp.o 664d30e843ba40bc +1585 1653 1678248949431347206 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftbbox.c.o f19b5b21201928da +1600 1659 1678248949439347419 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftbdf.c.o 6936b45da0517efe +5 1669 1678248949447347630 CMakeFiles/FinalProject.dir/src/main.cpp.o f0ea4c2b8dbd00f1 +6 1677 1678248949455347845 CMakeFiles/FinalProject.dir/src/world/chunk/storage.cpp.o 706926c0ccad6ba0 +1660 1715 1678248949495348912 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftcid.c.o 1fdf92726cf87cd2 +1677 1716 1678248949495348912 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftgasp.c.o bb2859ecc788a086 +1669 1718 1678248949499349018 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftfstype.c.o 3b053f608d38669b +1716 1764 1678248949543350190 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftgxval.c.o 7cb04bbf1f8e1624 +1718 1779 1678248949559350615 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftinit.c.o 2d3559c811a9cbeb +1653 1812 1678248949591351468 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftbitmap.c.o d3cfb6bab6e4c870 +819 1813 1678248949591351468 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/loader.cpp.o aecdd972735030f2 +1779 1826 1678248949607351896 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftotval.c.o 532ba06df74d16ea +1715 1844 1678248949623352322 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftglyph.c.o 9c3d15012aed83f3 +1812 1853 1678248949631352535 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftpatent.c.o e308880ed8dd7751 +1764 1855 1678248949635352640 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftmm.c.o e847f1b00889c73c +1813 1870 1678248949651353069 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftpfr.c.o 40897231fbe317c +1844 1898 1678248949679353814 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftsynth.c.o f7cbab39282da4f2 +1853 1905 1678248949683353919 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftwinfnt.c.o 460c77bbcc46375 +1870 1925 1678248949707354561 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/bzip2/ftbzip2.c.o a90bfd225b264081 +111 2088 1678248949867358824 CMakeFiles/FinalProject.dir/src/world/registry.cpp.o 412b97958c854dfc +1826 2107 1678248949887359357 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftstroke.c.o 8876ee00f0f2ab8f +2088 2173 1678248949951361060 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/gzip/ftgzip.c.o f1183328bdbf819a +1925 2177 1678248949955361169 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/cid/type1cid.c.o f2e84f8da970db6b +1453 2213 1678248949991362128 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/autofit/autofit.c.o 20835df75dd71dae +2107 2221 1678248950003362447 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/lzw/ftlzw.c.o a92fccba97e36e15 +1898 2224 1678248950003362447 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/cache/ftcache.c.o e9637905e5eec662 +1855 2226 1678248950007362552 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/bdf/bdf.c.o 2e8b66f28037bf89 +899 2255 1678248950035363300 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/logging.cpp.o a1864306d48ad97d +7 2283 1678248950059363940 CMakeFiles/FinalProject.dir/src/world/chunk/world.cpp.o b2ea88a630604431 +1485 2339 1678248950115365432 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftbase.c.o d6696b06cfc1ca4a +2173 2383 1678248950163366709 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/pcf/pcf.c.o b8b059d8f9f7d32a +2224 2393 1678248950175367029 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/psnames/psnames.c.o 892b3aebd0a5429a +2227 2451 1678248950231368521 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/raster/raster.c.o b1cd0531d449532b +2383 2460 1678248950239368736 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/svg/svg.c.o 1b4fbcbc4f486af3 +2177 2497 1678248950275369694 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/pfr/pfr.c.o 23b1c8f328d4477c +5 2507 1678248950283369909 CMakeFiles/FinalProject.dir/src/render/textures.cpp.o 7b103df1a8005408 +2222 2511 1678248950291370122 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/pshinter/pshinter.c.o 1b7023334bf11f80 +2511 2549 1678248950327371081 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftdebug.c.o 8a29591a768cd211 +2339 2550 1678248950331371186 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/smooth/smooth.c.o f0570c3a83e6e5bd +2255 2554 1678248950335371295 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/sdf/sdf.c.o 10f88e53887d9fb6 +1905 2557 1678248950335371295 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/cff/cff.c.o d0d6afabbb555b6d +2507 2571 1678248950351371720 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/builds/unix/ftsystem.c.o 6c0812095d989b3b +2497 2627 1678248950407373213 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/winfonts/winfnt.c.o da3145650476b8f7 +2460 2650 1678248950431373851 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/type42/type42.c.o b249385e9da1c6bc +1132 2839 1678248950615378756 libraries/BLT/CMakeFiles/BLT.dir/src/blt/profiling/profiler.cpp.o dc43b4ecaf76587c +2451 2915 1678248950695380887 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/type1/type1.c.o c57fdc439668312d +2839 2939 1678248950707381207 libraries/BLT/libBLT.a b8f809e0bb7338ed +2213 3015 1678248950795383552 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/psaux/psaux.c.o ba9ae174cb5da669 +2393 3438 1678248951215394742 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/truetype/truetype.c.o 9e3427029ad42d57 +2283 3463 1678248951243395490 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/sfnt/sfnt.c.o 52c97a128cc69680 +3463 3561 1678248951323397621 libraries/freetype-2.13.0/libfreetyped.a 3cbc64a6495debe0 +3561 3755 1678248951531403162 FinalProject bac4233a8fbfb7f5 +2 1165 1678249043993866161 CMakeFiles/FinalProject.dir/src/world/registry.cpp.o 412b97958c854dfc +1165 1339 1678249044165870742 FinalProject bac4233a8fbfb7f5 +2 1050 1678249167801162138 CMakeFiles/FinalProject.dir/src/main.cpp.o f0ea4c2b8dbd00f1 +3 1187 1678249167937165758 CMakeFiles/FinalProject.dir/src/world/chunk/storage.cpp.o 706926c0ccad6ba0 +3 1212 1678249167965166503 CMakeFiles/FinalProject.dir/src/world/registry.cpp.o 412b97958c854dfc +3 1544 1678249168297175339 CMakeFiles/FinalProject.dir/src/world/chunk/world.cpp.o b2ea88a630604431 +2 1699 1678249168449179385 CMakeFiles/FinalProject.dir/src/render/textures.cpp.o 7b103df1a8005408 +1699 1867 1678249168617183856 FinalProject bac4233a8fbfb7f5 diff --git a/cmake-build-debug/CMakeCache.txt b/cmake-build-debug/CMakeCache.txt index 4c35ed9..e1556c2 100644 --- a/cmake-build-debug/CMakeCache.txt +++ b/cmake-build-debug/CMakeCache.txt @@ -14,6 +14,63 @@ # EXTERNAL cache entries ######################## +//Build a 32 bit version of the library. +BENCHMARK_BUILD_32_BITS:BOOL=OFF + +//Flags used by the C++ compiler during coverage builds. +BENCHMARK_CXX_FLAGS_COVERAGE:STRING=-g + +//Allow the downloading and in-tree building of unmet dependencies +BENCHMARK_DOWNLOAD_DEPENDENCIES:BOOL=OFF + +//Enable building and running the assembly tests +BENCHMARK_ENABLE_ASSEMBLY_TESTS:BOOL=OFF + +//Build documentation with Doxygen. +BENCHMARK_ENABLE_DOXYGEN:BOOL=OFF + +//Enable the use of exceptions in the benchmark library. +BENCHMARK_ENABLE_EXCEPTIONS:BOOL=ON + +//Enable building the unit tests which depend on gtest +BENCHMARK_ENABLE_GTEST_TESTS:BOOL=ON + +//Enable installation of benchmark. (Projects embedding benchmark +// may want to turn this OFF.) +BENCHMARK_ENABLE_INSTALL:BOOL=ON + +//Enable performance counters provided by libpfm +BENCHMARK_ENABLE_LIBPFM:BOOL=OFF + +//Enable link time optimisation of the benchmark library. +BENCHMARK_ENABLE_LTO:BOOL=OFF + +//Enable testing of the benchmark library. +BENCHMARK_ENABLE_TESTING:BOOL=ON + +//Build Release candidates with -Werror. +BENCHMARK_ENABLE_WERROR:BOOL=ON + +//Flags used for linking binaries during coverage builds. +BENCHMARK_EXE_LINKER_FLAGS_COVERAGE:STRING= + +//Build Release candidates with -Werror regardless of compiler +// issues. +BENCHMARK_FORCE_WERROR:BOOL=OFF + +//Enable installation of documentation. +BENCHMARK_INSTALL_DOCS:BOOL=ON + +//Flags used by the shared libraries linker during coverage builds. +BENCHMARK_SHARED_LINKER_FLAGS_COVERAGE:STRING= + +//Use bundled GoogleTest. If disabled, the find_package(GTest) +// will be used. +BENCHMARK_USE_BUNDLED_GTEST:BOOL=ON + +//Build and test using libc++ as the standard library. +BENCHMARK_USE_LIBCXX:BOOL=OFF + //Value Computed by CMake BLT_BINARY_DIR:STATIC=/home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/libraries/BLT @@ -332,6 +389,9 @@ CPACK_SOURCE_TZ:BOOL=ON //Enable to build ZIP source packages CPACK_SOURCE_ZIP:BOOL=OFF +//OFF +CXXFEATURECHECK_DEBUG:BOOL=OFF + //Path to a file. FREETYPE_INCLUDE_DIR_freetype2:PATH=/usr/include/freetype2 @@ -393,6 +453,9 @@ Fontconfig_INCLUDE_DIR:PATH=/usr/include //Path to a library. Fontconfig_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libfontconfig.so +//Git command line client +GIT_EXECUTABLE:FILEPATH=/usr/bin/git + //Value Computed by CMake GLFW_BINARY_DIR:STATIC=/home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/libraries/glfw-3.3.8 @@ -423,12 +486,17 @@ GLFW_USE_WAYLAND:BOOL=OFF //Assume the Vulkan loader is linked with the application GLFW_VULKAN_STATIC:BOOL=OFF +GOOGLETEST_PATH:PATH=/home/brett/Documents/Brock/CS 3P98/Final Project/libraries/benchmark/googletest + //Path to a file. HarfBuzz_INCLUDE_DIR:PATH=/usr/include/harfbuzz //Path to a library. HarfBuzz_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libharfbuzz.so +//Path to a program. +LLVM_FILECHECK_EXE:FILEPATH=LLVM_FILECHECK_EXE-NOTFOUND + //Path to a library. MATH_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libm.so @@ -711,6 +779,15 @@ ZLIB_LIBRARY_DEBUG:FILEPATH=ZLIB_LIBRARY_DEBUG-NOTFOUND //Path to a library. ZLIB_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libz.so +//Value Computed by CMake +benchmark_BINARY_DIR:STATIC=/home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/libraries/benchmark + +//Value Computed by CMake +benchmark_IS_TOP_LEVEL:STATIC=OFF + +//Value Computed by CMake +benchmark_SOURCE_DIR:STATIC=/home/brett/Documents/Brock/CS 3P98/Final Project/libraries/benchmark + //Value Computed by CMake freetype_BINARY_DIR:STATIC=/home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/libraries/freetype-2.13.0 @@ -740,6 +817,18 @@ pkgcfg_lib_PKG_FONTCONFIG_freetype:FILEPATH=/usr/lib/x86_64-linux-gnu/libfreetyp # INTERNAL cache entries ######################## +//ADVANCED property for variable: BENCHMARK_CXX_FLAGS_COVERAGE +BENCHMARK_CXX_FLAGS_COVERAGE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: BENCHMARK_EXE_LINKER_FLAGS_COVERAGE +BENCHMARK_EXE_LINKER_FLAGS_COVERAGE-ADVANCED:INTERNAL=1 +//Test BENCHMARK_HAS_O3_FLAG +BENCHMARK_HAS_O3_FLAG:INTERNAL=1 +//Test BENCHMARK_HAS_WNO_LTO_TYPE_MISMATCH +BENCHMARK_HAS_WNO_LTO_TYPE_MISMATCH:INTERNAL=1 +//Test BENCHMARK_HAS_WNO_ODR +BENCHMARK_HAS_WNO_ODR:INTERNAL=1 +//ADVANCED property for variable: BENCHMARK_SHARED_LINKER_FLAGS_COVERAGE +BENCHMARK_SHARED_LINKER_FLAGS_COVERAGE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: BROTLIDEC_INCLUDE_DIRS BROTLIDEC_INCLUDE_DIRS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: BROTLIDEC_LIBRARIES @@ -933,6 +1022,16 @@ CMAKE_STRIP-ADVANCED:INTERNAL=1 CMAKE_UNAME:INTERNAL=/usr/bin/uname //ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 +//Result of TRY_COMPILE +COMPILE_HAVE_GNU_POSIX_REGEX:INTERNAL=FALSE +//Result of TRY_COMPILE +COMPILE_HAVE_POSIX_REGEX:INTERNAL=TRUE +//Result of TRY_COMPILE +COMPILE_HAVE_PTHREAD_AFFINITY:INTERNAL=TRUE +//Result of TRY_COMPILE +COMPILE_HAVE_STD_REGEX:INTERNAL=TRUE +//Result of TRY_COMPILE +COMPILE_HAVE_STEADY_CLOCK:INTERNAL=TRUE //ADVANCED property for variable: CPACK_SOURCE_RPM CPACK_SOURCE_RPM-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_SOURCE_TBZ2 @@ -947,6 +1046,8 @@ CPACK_SOURCE_TZ-ADVANCED:INTERNAL=1 CPACK_SOURCE_ZIP-ADVANCED:INTERNAL=1 //Details about finding BrotliDec FIND_PACKAGE_MESSAGE_DETAILS_BrotliDec:INTERNAL=[/usr/include][/usr/lib/x86_64-linux-gnu/libbrotlidec.so][v1.0.9()] +//Details about finding Git +FIND_PACKAGE_MESSAGE_DETAILS_Git:INTERNAL=[/usr/bin/git][v2.39.2()] //Details about finding HarfBuzz FIND_PACKAGE_MESSAGE_DETAILS_HarfBuzz:INTERNAL=[/usr/include/harfbuzz][/usr/lib/x86_64-linux-gnu/libharfbuzz.so][ON][v6.0.0(2.0.0)] //Details about finding PNG @@ -971,8 +1072,42 @@ FREETYPE_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 Fontconfig_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: Fontconfig_LIBRARY Fontconfig_LIBRARY-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: GIT_EXECUTABLE +GIT_EXECUTABLE-ADVANCED:INTERNAL=1 +//Test HAVE_CXX_FLAG_COVERAGE +HAVE_CXX_FLAG_COVERAGE:INTERNAL=1 +//Test HAVE_CXX_FLAG_FSTRICT_ALIASING +HAVE_CXX_FLAG_FSTRICT_ALIASING:INTERNAL=1 +//Test HAVE_CXX_FLAG_PEDANTIC +HAVE_CXX_FLAG_PEDANTIC:INTERNAL=1 +//Test HAVE_CXX_FLAG_PEDANTIC_ERRORS +HAVE_CXX_FLAG_PEDANTIC_ERRORS:INTERNAL=1 +//Test HAVE_CXX_FLAG_WALL +HAVE_CXX_FLAG_WALL:INTERNAL=1 +//Test HAVE_CXX_FLAG_WD654 +HAVE_CXX_FLAG_WD654:INTERNAL= +//Test HAVE_CXX_FLAG_WERROR +HAVE_CXX_FLAG_WERROR:INTERNAL=1 +//Test HAVE_CXX_FLAG_WEXTRA +HAVE_CXX_FLAG_WEXTRA:INTERNAL=1 +//Test HAVE_CXX_FLAG_WFLOAT_EQUAL +HAVE_CXX_FLAG_WFLOAT_EQUAL:INTERNAL=1 +//Test HAVE_CXX_FLAG_WNO_DEPRECATED +HAVE_CXX_FLAG_WNO_DEPRECATED:INTERNAL=1 +//Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS +HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS:INTERNAL=1 +//Test HAVE_CXX_FLAG_WSHADOW +HAVE_CXX_FLAG_WSHADOW:INTERNAL=1 +//Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 +HAVE_CXX_FLAG_WSHORTEN_64_TO_32:INTERNAL= +//Test HAVE_CXX_FLAG_WSTRICT_ALIASING +HAVE_CXX_FLAG_WSTRICT_ALIASING:INTERNAL=1 +//Test HAVE_CXX_FLAG_WTHREAD_SAFETY +HAVE_CXX_FLAG_WTHREAD_SAFETY:INTERNAL= //Have include fcntl.h HAVE_FCNTL_H:INTERNAL=1 +//Have library rt +HAVE_LIB_RT:INTERNAL=1 //Have include unistd.h HAVE_UNISTD_H:INTERNAL=1 //ADVANCED property for variable: HarfBuzz_INCLUDE_DIR @@ -1123,6 +1258,14 @@ PNG_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 PNG_PNG_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: RT_LIBRARY RT_LIBRARY-ADVANCED:INTERNAL=1 +//Result of try_run() +RUN_HAVE_POSIX_REGEX:INTERNAL=0 +//Result of try_run() +RUN_HAVE_PTHREAD_AFFINITY:INTERNAL=0 +//Result of try_run() +RUN_HAVE_STD_REGEX:INTERNAL=0 +//Result of try_run() +RUN_HAVE_STEADY_CLOCK:INTERNAL=0 //ADVANCED property for variable: X11_ICE_INCLUDE_PATH X11_ICE_INCLUDE_PATH-ADVANCED:INTERNAL=1 //ADVANCED property for variable: X11_ICE_LIB diff --git a/cmake-build-debug/CMakeFiles/CMakeOutput.log b/cmake-build-debug/CMakeFiles/CMakeOutput.log index 14a3cb6..e081b28 100644 --- a/cmake-build-debug/CMakeFiles/CMakeOutput.log +++ b/cmake-build-debug/CMakeFiles/CMakeOutput.log @@ -523,3 +523,262 @@ Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/nin +Determining if the function shm_open exists in the rt passed with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_fef76 && [1/2] Building C object CMakeFiles/cmTC_fef76.dir/CheckFunctionExists.c.o +[2/2] Linking C executable cmTC_fef76 + + + +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WALL succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_66e53 && [1/2] Building CXX object CMakeFiles/cmTC_66e53.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_66e53 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WEXTRA succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_b6ce5 && [1/2] Building CXX object CMakeFiles/cmTC_b6ce5.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_b6ce5 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WSHADOW succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_4e0c2 && [1/2] Building CXX object CMakeFiles/cmTC_4e0c2.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_4e0c2 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WFLOAT_EQUAL succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_c43d3 && [1/2] Building CXX object CMakeFiles/cmTC_c43d3.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_c43d3 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WERROR succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_608cb && [1/2] Building CXX object CMakeFiles/cmTC_608cb.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_608cb + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_PEDANTIC succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_1f95c && [1/2] Building CXX object CMakeFiles/cmTC_1f95c.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_1f95c + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_PEDANTIC_ERRORS succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_d45e2 && [1/2] Building CXX object CMakeFiles/cmTC_d45e2.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_d45e2 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_FSTRICT_ALIASING succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_2ff4f && [1/2] Building CXX object CMakeFiles/cmTC_2ff4f.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_2ff4f + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_453e6 && [1/2] Building CXX object CMakeFiles/cmTC_453e6.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_453e6 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WNO_DEPRECATED succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_df30b && [1/2] Building CXX object CMakeFiles/cmTC_df30b.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_df30b + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WSTRICT_ALIASING succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_69e67 && [1/2] Building CXX object CMakeFiles/cmTC_69e67.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_69e67 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_COVERAGE succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_940e4 && [1/2] Building CXX object CMakeFiles/cmTC_940e4.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_940e4 + + +Source file was: +int main() { return 0; } +Determining if the function shm_open exists in the rt passed with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_a57c2 && [1/2] Building C object CMakeFiles/cmTC_a57c2.dir/CheckFunctionExists.c.o +[2/2] Linking C executable cmTC_a57c2 + + + +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WALL succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_875f0 && [1/2] Building CXX object CMakeFiles/cmTC_875f0.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_875f0 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WEXTRA succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_ab281 && [1/2] Building CXX object CMakeFiles/cmTC_ab281.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_ab281 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WSHADOW succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_5170e && [1/2] Building CXX object CMakeFiles/cmTC_5170e.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_5170e + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WFLOAT_EQUAL succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_455f0 && [1/2] Building CXX object CMakeFiles/cmTC_455f0.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_455f0 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WERROR succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_70796 && [1/2] Building CXX object CMakeFiles/cmTC_70796.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_70796 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_PEDANTIC succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_4f7cb && [1/2] Building CXX object CMakeFiles/cmTC_4f7cb.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_4f7cb + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_PEDANTIC_ERRORS succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_4158f && [1/2] Building CXX object CMakeFiles/cmTC_4158f.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_4158f + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_FSTRICT_ALIASING succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_a5462 && [1/2] Building CXX object CMakeFiles/cmTC_a5462.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_a5462 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_248d6 && [1/2] Building CXX object CMakeFiles/cmTC_248d6.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_248d6 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WNO_DEPRECATED succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_56fb4 && [1/2] Building CXX object CMakeFiles/cmTC_56fb4.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_56fb4 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WSTRICT_ALIASING succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_c3665 && [1/2] Building CXX object CMakeFiles/cmTC_c3665.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_c3665 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_COVERAGE succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_82f5b && [1/2] Building CXX object CMakeFiles/cmTC_82f5b.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_82f5b + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test BENCHMARK_HAS_O3_FLAG succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_f4906 && [1/2] Building CXX object CMakeFiles/cmTC_f4906.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_f4906 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test BENCHMARK_HAS_WNO_ODR succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_262b6 && [1/2] Building CXX object CMakeFiles/cmTC_262b6.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_262b6 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test BENCHMARK_HAS_WNO_LTO_TYPE_MISMATCH succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_929c5 && [1/2] Building CXX object CMakeFiles/cmTC_929c5.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_929c5 + + +Source file was: +int main() { return 0; } diff --git a/cmake-build-debug/FinalProject b/cmake-build-debug/FinalProject index e59bf41..1f11155 100755 Binary files a/cmake-build-debug/FinalProject and b/cmake-build-debug/FinalProject differ diff --git a/cmake-build-debug/Testing/Temporary/LastTest.log b/cmake-build-debug/Testing/Temporary/LastTest.log index 7ef31b7..7ebd1aa 100644 --- a/cmake-build-debug/Testing/Temporary/LastTest.log +++ b/cmake-build-debug/Testing/Temporary/LastTest.log @@ -1,3 +1,3 @@ -Start testing: Mar 05 13:05 EST +Start testing: Mar 07 23:19 EST ---------------------------------------------------------- -End testing: Mar 05 13:05 EST +End testing: Mar 07 23:19 EST diff --git a/cmake-build-debug/libraries/BLT/CMakeFiles/BLT.dir/src/blt/nbt/nbt.cpp.o b/cmake-build-debug/libraries/BLT/CMakeFiles/BLT.dir/src/blt/nbt/nbt.cpp.o index c6bc344..8b64dce 100644 Binary files a/cmake-build-debug/libraries/BLT/CMakeFiles/BLT.dir/src/blt/nbt/nbt.cpp.o and b/cmake-build-debug/libraries/BLT/CMakeFiles/BLT.dir/src/blt/nbt/nbt.cpp.o differ diff --git a/cmake-build-debug/libraries/BLT/CMakeFiles/BLT.dir/src/blt/profiling/profiler.cpp.o b/cmake-build-debug/libraries/BLT/CMakeFiles/BLT.dir/src/blt/profiling/profiler.cpp.o index fdd5fd4..aa56c41 100644 Binary files a/cmake-build-debug/libraries/BLT/CMakeFiles/BLT.dir/src/blt/profiling/profiler.cpp.o and b/cmake-build-debug/libraries/BLT/CMakeFiles/BLT.dir/src/blt/profiling/profiler.cpp.o differ diff --git a/cmake-build-debug/libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/format.cpp.o b/cmake-build-debug/libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/format.cpp.o index da0a0d5..3324750 100644 Binary files a/cmake-build-debug/libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/format.cpp.o and b/cmake-build-debug/libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/format.cpp.o differ diff --git a/cmake-build-debug/libraries/BLT/libBLT.a b/cmake-build-debug/libraries/BLT/libBLT.a index 3af7776..0238d56 100644 Binary files a/cmake-build-debug/libraries/BLT/libBLT.a and b/cmake-build-debug/libraries/BLT/libBLT.a differ diff --git a/cmake-build-release/CMakeCache.txt b/cmake-build-release/CMakeCache.txt index 41331a2..fff0963 100644 --- a/cmake-build-release/CMakeCache.txt +++ b/cmake-build-release/CMakeCache.txt @@ -14,6 +14,63 @@ # EXTERNAL cache entries ######################## +//Build a 32 bit version of the library. +BENCHMARK_BUILD_32_BITS:BOOL=OFF + +//Flags used by the C++ compiler during coverage builds. +BENCHMARK_CXX_FLAGS_COVERAGE:STRING=-g + +//Allow the downloading and in-tree building of unmet dependencies +BENCHMARK_DOWNLOAD_DEPENDENCIES:BOOL=OFF + +//Enable building and running the assembly tests +BENCHMARK_ENABLE_ASSEMBLY_TESTS:BOOL=OFF + +//Build documentation with Doxygen. +BENCHMARK_ENABLE_DOXYGEN:BOOL=OFF + +//Enable the use of exceptions in the benchmark library. +BENCHMARK_ENABLE_EXCEPTIONS:BOOL=ON + +//Enable building the unit tests which depend on gtest +BENCHMARK_ENABLE_GTEST_TESTS:BOOL=ON + +//Enable installation of benchmark. (Projects embedding benchmark +// may want to turn this OFF.) +BENCHMARK_ENABLE_INSTALL:BOOL=ON + +//Enable performance counters provided by libpfm +BENCHMARK_ENABLE_LIBPFM:BOOL=OFF + +//Enable link time optimisation of the benchmark library. +BENCHMARK_ENABLE_LTO:BOOL=OFF + +//Enable testing of the benchmark library. +BENCHMARK_ENABLE_TESTING:BOOL=ON + +//Build Release candidates with -Werror. +BENCHMARK_ENABLE_WERROR:BOOL=ON + +//Flags used for linking binaries during coverage builds. +BENCHMARK_EXE_LINKER_FLAGS_COVERAGE:STRING= + +//Build Release candidates with -Werror regardless of compiler +// issues. +BENCHMARK_FORCE_WERROR:BOOL=OFF + +//Enable installation of documentation. +BENCHMARK_INSTALL_DOCS:BOOL=ON + +//Flags used by the shared libraries linker during coverage builds. +BENCHMARK_SHARED_LINKER_FLAGS_COVERAGE:STRING= + +//Use bundled GoogleTest. If disabled, the find_package(GTest) +// will be used. +BENCHMARK_USE_BUNDLED_GTEST:BOOL=ON + +//Build and test using libc++ as the standard library. +BENCHMARK_USE_LIBCXX:BOOL=OFF + //Value Computed by CMake BLT_BINARY_DIR:STATIC=/home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-release/libraries/BLT @@ -332,6 +389,9 @@ CPACK_SOURCE_TZ:BOOL=ON //Enable to build ZIP source packages CPACK_SOURCE_ZIP:BOOL=OFF +//OFF +CXXFEATURECHECK_DEBUG:BOOL=OFF + //Path to a file. FREETYPE_INCLUDE_DIR_freetype2:PATH=/usr/include/freetype2 @@ -393,6 +453,9 @@ Fontconfig_INCLUDE_DIR:PATH=/usr/include //Path to a library. Fontconfig_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libfontconfig.so +//Git command line client +GIT_EXECUTABLE:FILEPATH=/usr/bin/git + //Value Computed by CMake GLFW_BINARY_DIR:STATIC=/home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-release/libraries/glfw-3.3.8 @@ -423,12 +486,17 @@ GLFW_USE_WAYLAND:BOOL=OFF //Assume the Vulkan loader is linked with the application GLFW_VULKAN_STATIC:BOOL=OFF +GOOGLETEST_PATH:PATH=/home/brett/Documents/Brock/CS 3P98/Final Project/libraries/benchmark/googletest + //Path to a file. HarfBuzz_INCLUDE_DIR:PATH=/usr/include/harfbuzz //Path to a library. HarfBuzz_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libharfbuzz.so +//Path to a program. +LLVM_FILECHECK_EXE:FILEPATH=LLVM_FILECHECK_EXE-NOTFOUND + //Path to a library. MATH_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libm.so @@ -711,6 +779,15 @@ ZLIB_LIBRARY_DEBUG:FILEPATH=ZLIB_LIBRARY_DEBUG-NOTFOUND //Path to a library. ZLIB_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libz.so +//Value Computed by CMake +benchmark_BINARY_DIR:STATIC=/home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-release/libraries/benchmark + +//Value Computed by CMake +benchmark_IS_TOP_LEVEL:STATIC=OFF + +//Value Computed by CMake +benchmark_SOURCE_DIR:STATIC=/home/brett/Documents/Brock/CS 3P98/Final Project/libraries/benchmark + //Value Computed by CMake freetype_BINARY_DIR:STATIC=/home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-release/libraries/freetype-2.13.0 @@ -740,6 +817,18 @@ pkgcfg_lib_PKG_FONTCONFIG_freetype:FILEPATH=/usr/lib/x86_64-linux-gnu/libfreetyp # INTERNAL cache entries ######################## +//ADVANCED property for variable: BENCHMARK_CXX_FLAGS_COVERAGE +BENCHMARK_CXX_FLAGS_COVERAGE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: BENCHMARK_EXE_LINKER_FLAGS_COVERAGE +BENCHMARK_EXE_LINKER_FLAGS_COVERAGE-ADVANCED:INTERNAL=1 +//Test BENCHMARK_HAS_O3_FLAG +BENCHMARK_HAS_O3_FLAG:INTERNAL=1 +//Test BENCHMARK_HAS_WNO_LTO_TYPE_MISMATCH +BENCHMARK_HAS_WNO_LTO_TYPE_MISMATCH:INTERNAL=1 +//Test BENCHMARK_HAS_WNO_ODR +BENCHMARK_HAS_WNO_ODR:INTERNAL=1 +//ADVANCED property for variable: BENCHMARK_SHARED_LINKER_FLAGS_COVERAGE +BENCHMARK_SHARED_LINKER_FLAGS_COVERAGE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: BROTLIDEC_INCLUDE_DIRS BROTLIDEC_INCLUDE_DIRS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: BROTLIDEC_LIBRARIES @@ -933,6 +1022,16 @@ CMAKE_STRIP-ADVANCED:INTERNAL=1 CMAKE_UNAME:INTERNAL=/usr/bin/uname //ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 +//Result of TRY_COMPILE +COMPILE_HAVE_GNU_POSIX_REGEX:INTERNAL=FALSE +//Result of TRY_COMPILE +COMPILE_HAVE_POSIX_REGEX:INTERNAL=TRUE +//Result of TRY_COMPILE +COMPILE_HAVE_PTHREAD_AFFINITY:INTERNAL=TRUE +//Result of TRY_COMPILE +COMPILE_HAVE_STD_REGEX:INTERNAL=TRUE +//Result of TRY_COMPILE +COMPILE_HAVE_STEADY_CLOCK:INTERNAL=TRUE //ADVANCED property for variable: CPACK_SOURCE_RPM CPACK_SOURCE_RPM-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_SOURCE_TBZ2 @@ -947,6 +1046,8 @@ CPACK_SOURCE_TZ-ADVANCED:INTERNAL=1 CPACK_SOURCE_ZIP-ADVANCED:INTERNAL=1 //Details about finding BrotliDec FIND_PACKAGE_MESSAGE_DETAILS_BrotliDec:INTERNAL=[/usr/include][/usr/lib/x86_64-linux-gnu/libbrotlidec.so][v1.0.9()] +//Details about finding Git +FIND_PACKAGE_MESSAGE_DETAILS_Git:INTERNAL=[/usr/bin/git][v2.39.2()] //Details about finding HarfBuzz FIND_PACKAGE_MESSAGE_DETAILS_HarfBuzz:INTERNAL=[/usr/include/harfbuzz][/usr/lib/x86_64-linux-gnu/libharfbuzz.so][ON][v6.0.0(2.0.0)] //Details about finding PNG @@ -971,8 +1072,42 @@ FREETYPE_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 Fontconfig_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: Fontconfig_LIBRARY Fontconfig_LIBRARY-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: GIT_EXECUTABLE +GIT_EXECUTABLE-ADVANCED:INTERNAL=1 +//Test HAVE_CXX_FLAG_COVERAGE +HAVE_CXX_FLAG_COVERAGE:INTERNAL=1 +//Test HAVE_CXX_FLAG_FSTRICT_ALIASING +HAVE_CXX_FLAG_FSTRICT_ALIASING:INTERNAL=1 +//Test HAVE_CXX_FLAG_PEDANTIC +HAVE_CXX_FLAG_PEDANTIC:INTERNAL=1 +//Test HAVE_CXX_FLAG_PEDANTIC_ERRORS +HAVE_CXX_FLAG_PEDANTIC_ERRORS:INTERNAL=1 +//Test HAVE_CXX_FLAG_WALL +HAVE_CXX_FLAG_WALL:INTERNAL=1 +//Test HAVE_CXX_FLAG_WD654 +HAVE_CXX_FLAG_WD654:INTERNAL= +//Test HAVE_CXX_FLAG_WERROR +HAVE_CXX_FLAG_WERROR:INTERNAL=1 +//Test HAVE_CXX_FLAG_WEXTRA +HAVE_CXX_FLAG_WEXTRA:INTERNAL=1 +//Test HAVE_CXX_FLAG_WFLOAT_EQUAL +HAVE_CXX_FLAG_WFLOAT_EQUAL:INTERNAL=1 +//Test HAVE_CXX_FLAG_WNO_DEPRECATED +HAVE_CXX_FLAG_WNO_DEPRECATED:INTERNAL=1 +//Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS +HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS:INTERNAL=1 +//Test HAVE_CXX_FLAG_WSHADOW +HAVE_CXX_FLAG_WSHADOW:INTERNAL=1 +//Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 +HAVE_CXX_FLAG_WSHORTEN_64_TO_32:INTERNAL= +//Test HAVE_CXX_FLAG_WSTRICT_ALIASING +HAVE_CXX_FLAG_WSTRICT_ALIASING:INTERNAL=1 +//Test HAVE_CXX_FLAG_WTHREAD_SAFETY +HAVE_CXX_FLAG_WTHREAD_SAFETY:INTERNAL= //Have include fcntl.h HAVE_FCNTL_H:INTERNAL=1 +//Have library rt +HAVE_LIB_RT:INTERNAL=1 //Have include unistd.h HAVE_UNISTD_H:INTERNAL=1 //ADVANCED property for variable: HarfBuzz_INCLUDE_DIR @@ -1123,6 +1258,14 @@ PNG_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 PNG_PNG_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: RT_LIBRARY RT_LIBRARY-ADVANCED:INTERNAL=1 +//Result of try_run() +RUN_HAVE_POSIX_REGEX:INTERNAL=0 +//Result of try_run() +RUN_HAVE_PTHREAD_AFFINITY:INTERNAL=0 +//Result of try_run() +RUN_HAVE_STD_REGEX:INTERNAL=0 +//Result of try_run() +RUN_HAVE_STEADY_CLOCK:INTERNAL=0 //ADVANCED property for variable: X11_ICE_INCLUDE_PATH X11_ICE_INCLUDE_PATH-ADVANCED:INTERNAL=1 //ADVANCED property for variable: X11_ICE_LIB diff --git a/cmake-build-release/CMakeFiles/CMakeOutput.log b/cmake-build-release/CMakeFiles/CMakeOutput.log index eb5e666..a18ab1b 100644 --- a/cmake-build-release/CMakeFiles/CMakeOutput.log +++ b/cmake-build-release/CMakeFiles/CMakeOutput.log @@ -523,3 +523,146 @@ Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/nin +Determining if the function shm_open exists in the rt passed with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-release/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_389be && [1/2] Building C object CMakeFiles/cmTC_389be.dir/CheckFunctionExists.c.o +[2/2] Linking C executable cmTC_389be + + + +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WALL succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-release/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_f9afb && [1/2] Building CXX object CMakeFiles/cmTC_f9afb.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_f9afb + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WEXTRA succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-release/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_08d5f && [1/2] Building CXX object CMakeFiles/cmTC_08d5f.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_08d5f + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WSHADOW succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-release/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_f9735 && [1/2] Building CXX object CMakeFiles/cmTC_f9735.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_f9735 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WFLOAT_EQUAL succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-release/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_117b7 && [1/2] Building CXX object CMakeFiles/cmTC_117b7.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_117b7 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WERROR succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-release/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_89735 && [1/2] Building CXX object CMakeFiles/cmTC_89735.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_89735 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_PEDANTIC succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-release/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_2c6aa && [1/2] Building CXX object CMakeFiles/cmTC_2c6aa.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_2c6aa + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_PEDANTIC_ERRORS succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-release/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_c47c7 && [1/2] Building CXX object CMakeFiles/cmTC_c47c7.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_c47c7 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_FSTRICT_ALIASING succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-release/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_b71ad && [1/2] Building CXX object CMakeFiles/cmTC_b71ad.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_b71ad + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-release/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_4d1dc && [1/2] Building CXX object CMakeFiles/cmTC_4d1dc.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_4d1dc + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WNO_DEPRECATED succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-release/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_6a060 && [1/2] Building CXX object CMakeFiles/cmTC_6a060.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_6a060 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WSTRICT_ALIASING succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-release/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_6e103 && [1/2] Building CXX object CMakeFiles/cmTC_6e103.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_6e103 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_COVERAGE succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-release/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_039ca && [1/2] Building CXX object CMakeFiles/cmTC_039ca.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_039ca + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test BENCHMARK_HAS_O3_FLAG succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-release/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_e812d && [1/2] Building CXX object CMakeFiles/cmTC_e812d.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_e812d + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test BENCHMARK_HAS_WNO_ODR succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-release/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_f924d && [1/2] Building CXX object CMakeFiles/cmTC_f924d.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_f924d + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test BENCHMARK_HAS_WNO_LTO_TYPE_MISMATCH succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-release/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_72d2a && [1/2] Building CXX object CMakeFiles/cmTC_72d2a.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_72d2a + + +Source file was: +int main() { return 0; } diff --git a/cmake-build-relwithdebinfo/.ninja_deps b/cmake-build-relwithdebinfo/.ninja_deps index dc97495..9fc2ba6 100644 Binary files a/cmake-build-relwithdebinfo/.ninja_deps and b/cmake-build-relwithdebinfo/.ninja_deps differ diff --git a/cmake-build-relwithdebinfo/.ninja_log b/cmake-build-relwithdebinfo/.ninja_log index 8bc96ee..4cd2e81 100644 --- a/cmake-build-relwithdebinfo/.ninja_log +++ b/cmake-build-relwithdebinfo/.ninja_log @@ -4,7 +4,7 @@ 3403 3485 1678070661700798390 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/builds/unix/ftsystem.c.o 41e50141df636173 4 1864 1678156188152640160 CMakeFiles/FinalProject.dir/src/world/registry.cpp.o 3e7542c3498b07ce 3084 3160 1678070661376789805 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/svg/svg.c.o ae5121127ee23e21 -6 1354 1678161265380326567 CMakeFiles/FinalProject.dir/src/world/chunk/world.cpp.o 5a5f514ae327b7c6 +2 1435 1678163134806973354 CMakeFiles/FinalProject.dir/src/world/chunk/world.cpp.o 5a5f514ae327b7c6 2013 2081 1678070660296761185 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftsynth.c.o b5f57b53ec1f4e7e 467 677 1677855181024358840 libraries/glfw-3.3.8/src/CMakeFiles/glfw.dir/monitor.c.o 3306a3caed247cee 4 810 1678156187100611896 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/system.cpp.o cd550cf933ac9581 @@ -29,7 +29,7 @@ 2709 3284 1678070661496792984 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/raster/raster.c.o fd52fcb1ba4f8286 203 379 1677855180728350604 libraries/glfw-3.3.8/src/CMakeFiles/glfw.dir/init.c.o 7363bcb2dba2054a 2705 2769 1678156189048664232 libraries/BLT/libBLT.a b8f809e0bb7338ed -1354 1486 1678161265512330112 FinalProject 9e02455301d10951 +1435 1597 1678163134966977681 FinalProject 9e02455301d10951 1985 2047 1678070660260760230 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/base/ftpfr.c.o b074804bd9b17778 2095 2134 1678070660348762562 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/bzip2/ftbzip2.c.o b1451876ad0c2cd2 1141 1230 1677855181576374196 libraries/glfw-3.3.8/src/CMakeFiles/glfw.dir/posix_thread.c.o ed8a69d447bea26a @@ -81,19 +81,61 @@ 2100 2709 1678070660924777826 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/cache/ftcache.c.o 5a8e38b3a9c5e9e2 2105 3283 1678070661496792984 libraries/freetype-2.13.0/CMakeFiles/freetype.dir/src/cff/cff.c.o 5007f6dffd445a31 1204 1349 1677855181696377535 libraries/glfw-3.3.8/src/CMakeFiles/glfw.dir/linux_joystick.c.o 3df40cb71360060f -3 1481 1678162838530951070 CMakeFiles/FinalProject.dir/src/world/chunk/world.cpp.o 5a5f514ae327b7c6 -1481 1696 1678162838750957039 FinalProject 9e02455301d10951 -3 1562 1678162874999940179 CMakeFiles/FinalProject.dir/src/world/chunk/world.cpp.o 5a5f514ae327b7c6 -1562 1725 1678162875163944626 FinalProject 9e02455301d10951 -3 1644 1678162903612715840 CMakeFiles/FinalProject.dir/src/world/chunk/world.cpp.o 5a5f514ae327b7c6 -1644 1795 1678162903760719852 FinalProject 9e02455301d10951 -3 1308 1678162995035192233 CMakeFiles/FinalProject.dir/src/world/chunk/world.cpp.o 5a5f514ae327b7c6 -1308 1441 1678162995167195807 FinalProject 9e02455301d10951 -3 1421 1678163051756727318 CMakeFiles/FinalProject.dir/src/world/chunk/world.cpp.o 5a5f514ae327b7c6 -1421 1568 1678163051904731323 FinalProject 9e02455301d10951 -3 1435 1678163068889190804 CMakeFiles/FinalProject.dir/src/world/chunk/world.cpp.o 5a5f514ae327b7c6 -1435 1596 1678163069049195131 FinalProject 9e02455301d10951 -3 1372 1678163100294040191 CMakeFiles/FinalProject.dir/src/world/chunk/world.cpp.o 5a5f514ae327b7c6 -1372 1511 1678163100434043980 FinalProject 9e02455301d10951 -2 1435 1678163134806973354 CMakeFiles/FinalProject.dir/src/world/chunk/world.cpp.o 5a5f514ae327b7c6 -1435 1597 1678163134966977681 FinalProject 9e02455301d10951 +3 513 1678246446968608851 CMakeFiles/FinalProject.dir/src/render/ui/debug.cpp.o 7c1555163f00549 +3 724 1678246447180614551 CMakeFiles/FinalProject.dir/src/render/camera.cpp.o f3620cf4e7968b7 +3 992 1678246447448621753 CMakeFiles/FinalProject.dir/src/render/window.cpp.o 9d08e7d5a6aae412 +3 1145 1678246447600625840 CMakeFiles/FinalProject.dir/src/render/ui/text.cpp.o c83570e70885b684 +3 1160 1678246447616626269 CMakeFiles/FinalProject.dir/src/main.cpp.o 44f0aca089894d0f +3 1398 1678246447856632721 CMakeFiles/FinalProject.dir/src/world/chunk/storage.cpp.o 19cb330422f1ead7 +3 1511 1678246447968635731 CMakeFiles/FinalProject.dir/src/render/gl.cpp.o abd063fd20b16b86 +4 1714 1678246448172641216 CMakeFiles/FinalProject.dir/src/world/registry.cpp.o 3e7542c3498b07ce +4 1790 1678246448244643150 CMakeFiles/FinalProject.dir/src/world/chunk/world.cpp.o 5a5f514ae327b7c6 +4 2123 1678246448576652073 libraries/BLT/CMakeFiles/BLT.dir/src/blt/profiling/profiler.cpp.o 8d9e4316b1ad8908 +2123 2177 1678246448632653578 libraries/BLT/libBLT.a b8f809e0bb7338ed +3 4105 1678246450560705401 CMakeFiles/FinalProject.dir/src/render/textures.cpp.o 257310165eab029f +4106 4246 1678246450700709161 FinalProject 9e02455301d10951 +3 1168 1678247536145638629 CMakeFiles/FinalProject.dir/src/main.cpp.o 44f0aca089894d0f +3 1384 1678247536361644362 CMakeFiles/FinalProject.dir/src/world/chunk/storage.cpp.o 19cb330422f1ead7 +3 1623 1678247536601650730 CMakeFiles/FinalProject.dir/src/world/registry.cpp.o 3e7542c3498b07ce +3 1660 1678247536637651687 CMakeFiles/FinalProject.dir/src/world/chunk/world.cpp.o 5a5f514ae327b7c6 +3 3989 1678247538965713471 CMakeFiles/FinalProject.dir/src/render/textures.cpp.o 257310165eab029f +3989 4121 1678247539097716973 FinalProject 9e02455301d10951 +2 1087 1678247579718794940 CMakeFiles/FinalProject.dir/src/main.cpp.o 44f0aca089894d0f +3 1289 1678247579918800247 CMakeFiles/FinalProject.dir/src/world/chunk/storage.cpp.o 19cb330422f1ead7 +3 1557 1678247580186807359 CMakeFiles/FinalProject.dir/src/world/registry.cpp.o 3e7542c3498b07ce +3 1564 1678247580194807571 CMakeFiles/FinalProject.dir/src/world/chunk/world.cpp.o 5a5f514ae327b7c6 +1564 1698 1678247580326811074 FinalProject 9e02455301d10951 +2 1059 1678247983581506345 CMakeFiles/FinalProject.dir/src/main.cpp.o 44f0aca089894d0f +3 1249 1678247983773511437 CMakeFiles/FinalProject.dir/src/world/chunk/storage.cpp.o 19cb330422f1ead7 +3 1256 1678247983777511543 CMakeFiles/FinalProject.dir/src/world/registry.cpp.o 3e7542c3498b07ce +3 1514 1678247984037518436 CMakeFiles/FinalProject.dir/src/world/chunk/world.cpp.o 5a5f514ae327b7c6 +1514 1642 1678247984165521829 FinalProject 9e02455301d10951 +2 1245 1678248682152217512 CMakeFiles/FinalProject.dir/src/main.cpp.o 44f0aca089894d0f +3 1448 1678248682356222961 CMakeFiles/FinalProject.dir/src/world/registry.cpp.o 3e7542c3498b07ce +2 1510 1678248682420224670 CMakeFiles/FinalProject.dir/src/world/chunk/storage.cpp.o 19cb330422f1ead7 +2 2011 1678248682920238023 CMakeFiles/FinalProject.dir/src/world/chunk/world.cpp.o 5a5f514ae327b7c6 +2011 2157 1678248683064241870 FinalProject 9e02455301d10951 +2 1173 1678248891817811717 CMakeFiles/FinalProject.dir/src/main.cpp.o 44f0aca089894d0f +3 1300 1678248891941815023 CMakeFiles/FinalProject.dir/src/world/chunk/storage.cpp.o 19cb330422f1ead7 +3 1354 1678248891997816515 CMakeFiles/FinalProject.dir/src/world/registry.cpp.o 3e7542c3498b07ce +3 1896 1678248892537830911 CMakeFiles/FinalProject.dir/src/world/chunk/world.cpp.o 5a5f514ae327b7c6 +2 3899 1678248894533884120 CMakeFiles/FinalProject.dir/src/render/textures.cpp.o 257310165eab029f +3899 4035 1678248894673887855 FinalProject 9e02455301d10951 +3 1195 1678249205030152867 CMakeFiles/FinalProject.dir/src/main.cpp.o 44f0aca089894d0f +3 1326 1678249205166156487 CMakeFiles/FinalProject.dir/src/world/chunk/storage.cpp.o 19cb330422f1ead7 +3 1348 1678249205186157018 CMakeFiles/FinalProject.dir/src/world/registry.cpp.o 3e7542c3498b07ce +3 1938 1678249205778172769 CMakeFiles/FinalProject.dir/src/world/chunk/world.cpp.o 5a5f514ae327b7c6 +3 3909 1678249207746225138 CMakeFiles/FinalProject.dir/src/render/textures.cpp.o 257310165eab029f +3909 4042 1678249207882228760 FinalProject 9e02455301d10951 +3 1300 1678249612536989369 CMakeFiles/FinalProject.dir/src/main.cpp.o 44f0aca089894d0f +3 1358 1678249612596990963 CMakeFiles/FinalProject.dir/src/world/chunk/storage.cpp.o 19cb330422f1ead7 +4 1393 1678249612632991920 CMakeFiles/FinalProject.dir/src/world/registry.cpp.o 3e7542c3498b07ce +3 1997 1678249613233007868 CMakeFiles/FinalProject.dir/src/world/chunk/world.cpp.o 5a5f514ae327b7c6 +1997 2129 1678249613365011377 FinalProject 9e02455301d10951 +3 1124 1678249647597921217 CMakeFiles/FinalProject.dir/src/main.cpp.o 44f0aca089894d0f +3 1286 1678249647757925467 CMakeFiles/FinalProject.dir/src/world/chunk/storage.cpp.o 19cb330422f1ead7 +3 1311 1678249647781926108 CMakeFiles/FinalProject.dir/src/world/registry.cpp.o 3e7542c3498b07ce +3 1876 1678249648345941097 CMakeFiles/FinalProject.dir/src/world/chunk/world.cpp.o 5a5f514ae327b7c6 +1876 2007 1678249648477944606 FinalProject 9e02455301d10951 +2 2022 1678251955314585263 CMakeFiles/FinalProject.dir/src/world/chunk/world.cpp.o 5a5f514ae327b7c6 +2022 2153 1678251955446588751 FinalProject 9e02455301d10951 diff --git a/cmake-build-relwithdebinfo/CMakeCache.txt b/cmake-build-relwithdebinfo/CMakeCache.txt index 3d4c690..d5cfda6 100644 --- a/cmake-build-relwithdebinfo/CMakeCache.txt +++ b/cmake-build-relwithdebinfo/CMakeCache.txt @@ -14,6 +14,63 @@ # EXTERNAL cache entries ######################## +//Build a 32 bit version of the library. +BENCHMARK_BUILD_32_BITS:BOOL=OFF + +//Flags used by the C++ compiler during coverage builds. +BENCHMARK_CXX_FLAGS_COVERAGE:STRING=-g + +//Allow the downloading and in-tree building of unmet dependencies +BENCHMARK_DOWNLOAD_DEPENDENCIES:BOOL=OFF + +//Enable building and running the assembly tests +BENCHMARK_ENABLE_ASSEMBLY_TESTS:BOOL=OFF + +//Build documentation with Doxygen. +BENCHMARK_ENABLE_DOXYGEN:BOOL=OFF + +//Enable the use of exceptions in the benchmark library. +BENCHMARK_ENABLE_EXCEPTIONS:BOOL=ON + +//Enable building the unit tests which depend on gtest +BENCHMARK_ENABLE_GTEST_TESTS:BOOL=ON + +//Enable installation of benchmark. (Projects embedding benchmark +// may want to turn this OFF.) +BENCHMARK_ENABLE_INSTALL:BOOL=ON + +//Enable performance counters provided by libpfm +BENCHMARK_ENABLE_LIBPFM:BOOL=OFF + +//Enable link time optimisation of the benchmark library. +BENCHMARK_ENABLE_LTO:BOOL=OFF + +//Enable testing of the benchmark library. +BENCHMARK_ENABLE_TESTING:BOOL=ON + +//Build Release candidates with -Werror. +BENCHMARK_ENABLE_WERROR:BOOL=ON + +//Flags used for linking binaries during coverage builds. +BENCHMARK_EXE_LINKER_FLAGS_COVERAGE:STRING= + +//Build Release candidates with -Werror regardless of compiler +// issues. +BENCHMARK_FORCE_WERROR:BOOL=OFF + +//Enable installation of documentation. +BENCHMARK_INSTALL_DOCS:BOOL=ON + +//Flags used by the shared libraries linker during coverage builds. +BENCHMARK_SHARED_LINKER_FLAGS_COVERAGE:STRING= + +//Use bundled GoogleTest. If disabled, the find_package(GTest) +// will be used. +BENCHMARK_USE_BUNDLED_GTEST:BOOL=ON + +//Build and test using libc++ as the standard library. +BENCHMARK_USE_LIBCXX:BOOL=OFF + //Value Computed by CMake BLT_BINARY_DIR:STATIC=/home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-relwithdebinfo/libraries/BLT @@ -332,6 +389,9 @@ CPACK_SOURCE_TZ:BOOL=ON //Enable to build ZIP source packages CPACK_SOURCE_ZIP:BOOL=OFF +//OFF +CXXFEATURECHECK_DEBUG:BOOL=OFF + //Path to a file. FREETYPE_INCLUDE_DIR_freetype2:PATH=/usr/include/freetype2 @@ -393,6 +453,9 @@ Fontconfig_INCLUDE_DIR:PATH=/usr/include //Path to a library. Fontconfig_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libfontconfig.so +//Git command line client +GIT_EXECUTABLE:FILEPATH=/usr/bin/git + //Value Computed by CMake GLFW_BINARY_DIR:STATIC=/home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-relwithdebinfo/libraries/glfw-3.3.8 @@ -423,12 +486,17 @@ GLFW_USE_WAYLAND:BOOL=OFF //Assume the Vulkan loader is linked with the application GLFW_VULKAN_STATIC:BOOL=OFF +GOOGLETEST_PATH:PATH=/home/brett/Documents/Brock/CS 3P98/Final Project/libraries/benchmark/googletest + //Path to a file. HarfBuzz_INCLUDE_DIR:PATH=/usr/include/harfbuzz //Path to a library. HarfBuzz_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libharfbuzz.so +//Path to a program. +LLVM_FILECHECK_EXE:FILEPATH=LLVM_FILECHECK_EXE-NOTFOUND + //Path to a library. MATH_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libm.so @@ -711,6 +779,15 @@ ZLIB_LIBRARY_DEBUG:FILEPATH=ZLIB_LIBRARY_DEBUG-NOTFOUND //Path to a library. ZLIB_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libz.so +//Value Computed by CMake +benchmark_BINARY_DIR:STATIC=/home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-relwithdebinfo/libraries/benchmark + +//Value Computed by CMake +benchmark_IS_TOP_LEVEL:STATIC=OFF + +//Value Computed by CMake +benchmark_SOURCE_DIR:STATIC=/home/brett/Documents/Brock/CS 3P98/Final Project/libraries/benchmark + //Value Computed by CMake freetype_BINARY_DIR:STATIC=/home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-relwithdebinfo/libraries/freetype-2.13.0 @@ -740,6 +817,18 @@ pkgcfg_lib_PKG_FONTCONFIG_freetype:FILEPATH=/usr/lib/x86_64-linux-gnu/libfreetyp # INTERNAL cache entries ######################## +//ADVANCED property for variable: BENCHMARK_CXX_FLAGS_COVERAGE +BENCHMARK_CXX_FLAGS_COVERAGE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: BENCHMARK_EXE_LINKER_FLAGS_COVERAGE +BENCHMARK_EXE_LINKER_FLAGS_COVERAGE-ADVANCED:INTERNAL=1 +//Test BENCHMARK_HAS_O3_FLAG +BENCHMARK_HAS_O3_FLAG:INTERNAL=1 +//Test BENCHMARK_HAS_WNO_LTO_TYPE_MISMATCH +BENCHMARK_HAS_WNO_LTO_TYPE_MISMATCH:INTERNAL=1 +//Test BENCHMARK_HAS_WNO_ODR +BENCHMARK_HAS_WNO_ODR:INTERNAL=1 +//ADVANCED property for variable: BENCHMARK_SHARED_LINKER_FLAGS_COVERAGE +BENCHMARK_SHARED_LINKER_FLAGS_COVERAGE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: BROTLIDEC_INCLUDE_DIRS BROTLIDEC_INCLUDE_DIRS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: BROTLIDEC_LIBRARIES @@ -933,6 +1022,16 @@ CMAKE_STRIP-ADVANCED:INTERNAL=1 CMAKE_UNAME:INTERNAL=/usr/bin/uname //ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 +//Result of TRY_COMPILE +COMPILE_HAVE_GNU_POSIX_REGEX:INTERNAL=FALSE +//Result of TRY_COMPILE +COMPILE_HAVE_POSIX_REGEX:INTERNAL=TRUE +//Result of TRY_COMPILE +COMPILE_HAVE_PTHREAD_AFFINITY:INTERNAL=TRUE +//Result of TRY_COMPILE +COMPILE_HAVE_STD_REGEX:INTERNAL=TRUE +//Result of TRY_COMPILE +COMPILE_HAVE_STEADY_CLOCK:INTERNAL=TRUE //ADVANCED property for variable: CPACK_SOURCE_RPM CPACK_SOURCE_RPM-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_SOURCE_TBZ2 @@ -947,6 +1046,8 @@ CPACK_SOURCE_TZ-ADVANCED:INTERNAL=1 CPACK_SOURCE_ZIP-ADVANCED:INTERNAL=1 //Details about finding BrotliDec FIND_PACKAGE_MESSAGE_DETAILS_BrotliDec:INTERNAL=[/usr/include][/usr/lib/x86_64-linux-gnu/libbrotlidec.so][v1.0.9()] +//Details about finding Git +FIND_PACKAGE_MESSAGE_DETAILS_Git:INTERNAL=[/usr/bin/git][v2.39.2()] //Details about finding HarfBuzz FIND_PACKAGE_MESSAGE_DETAILS_HarfBuzz:INTERNAL=[/usr/include/harfbuzz][/usr/lib/x86_64-linux-gnu/libharfbuzz.so][ON][v6.0.0(2.0.0)] //Details about finding PNG @@ -971,8 +1072,42 @@ FREETYPE_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 Fontconfig_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: Fontconfig_LIBRARY Fontconfig_LIBRARY-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: GIT_EXECUTABLE +GIT_EXECUTABLE-ADVANCED:INTERNAL=1 +//Test HAVE_CXX_FLAG_COVERAGE +HAVE_CXX_FLAG_COVERAGE:INTERNAL=1 +//Test HAVE_CXX_FLAG_FSTRICT_ALIASING +HAVE_CXX_FLAG_FSTRICT_ALIASING:INTERNAL=1 +//Test HAVE_CXX_FLAG_PEDANTIC +HAVE_CXX_FLAG_PEDANTIC:INTERNAL=1 +//Test HAVE_CXX_FLAG_PEDANTIC_ERRORS +HAVE_CXX_FLAG_PEDANTIC_ERRORS:INTERNAL=1 +//Test HAVE_CXX_FLAG_WALL +HAVE_CXX_FLAG_WALL:INTERNAL=1 +//Test HAVE_CXX_FLAG_WD654 +HAVE_CXX_FLAG_WD654:INTERNAL= +//Test HAVE_CXX_FLAG_WERROR +HAVE_CXX_FLAG_WERROR:INTERNAL=1 +//Test HAVE_CXX_FLAG_WEXTRA +HAVE_CXX_FLAG_WEXTRA:INTERNAL=1 +//Test HAVE_CXX_FLAG_WFLOAT_EQUAL +HAVE_CXX_FLAG_WFLOAT_EQUAL:INTERNAL=1 +//Test HAVE_CXX_FLAG_WNO_DEPRECATED +HAVE_CXX_FLAG_WNO_DEPRECATED:INTERNAL=1 +//Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS +HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS:INTERNAL=1 +//Test HAVE_CXX_FLAG_WSHADOW +HAVE_CXX_FLAG_WSHADOW:INTERNAL=1 +//Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 +HAVE_CXX_FLAG_WSHORTEN_64_TO_32:INTERNAL= +//Test HAVE_CXX_FLAG_WSTRICT_ALIASING +HAVE_CXX_FLAG_WSTRICT_ALIASING:INTERNAL=1 +//Test HAVE_CXX_FLAG_WTHREAD_SAFETY +HAVE_CXX_FLAG_WTHREAD_SAFETY:INTERNAL= //Have include fcntl.h HAVE_FCNTL_H:INTERNAL=1 +//Have library rt +HAVE_LIB_RT:INTERNAL=1 //Have include unistd.h HAVE_UNISTD_H:INTERNAL=1 //ADVANCED property for variable: HarfBuzz_INCLUDE_DIR @@ -1123,6 +1258,14 @@ PNG_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 PNG_PNG_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: RT_LIBRARY RT_LIBRARY-ADVANCED:INTERNAL=1 +//Result of try_run() +RUN_HAVE_POSIX_REGEX:INTERNAL=0 +//Result of try_run() +RUN_HAVE_PTHREAD_AFFINITY:INTERNAL=0 +//Result of try_run() +RUN_HAVE_STD_REGEX:INTERNAL=0 +//Result of try_run() +RUN_HAVE_STEADY_CLOCK:INTERNAL=0 //ADVANCED property for variable: X11_ICE_INCLUDE_PATH X11_ICE_INCLUDE_PATH-ADVANCED:INTERNAL=1 //ADVANCED property for variable: X11_ICE_LIB diff --git a/cmake-build-relwithdebinfo/CMakeFiles/CMakeOutput.log b/cmake-build-relwithdebinfo/CMakeFiles/CMakeOutput.log index 76a5b88..52c5d12 100644 --- a/cmake-build-relwithdebinfo/CMakeFiles/CMakeOutput.log +++ b/cmake-build-relwithdebinfo/CMakeFiles/CMakeOutput.log @@ -523,3 +523,146 @@ Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/nin +Determining if the function shm_open exists in the rt passed with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-relwithdebinfo/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_dd47f && [1/2] Building C object CMakeFiles/cmTC_dd47f.dir/CheckFunctionExists.c.o +[2/2] Linking C executable cmTC_dd47f + + + +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WALL succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-relwithdebinfo/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_ad639 && [1/2] Building CXX object CMakeFiles/cmTC_ad639.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_ad639 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WEXTRA succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-relwithdebinfo/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_b7ba5 && [1/2] Building CXX object CMakeFiles/cmTC_b7ba5.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_b7ba5 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WSHADOW succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-relwithdebinfo/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_a41b7 && [1/2] Building CXX object CMakeFiles/cmTC_a41b7.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_a41b7 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WFLOAT_EQUAL succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-relwithdebinfo/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_c8b0c && [1/2] Building CXX object CMakeFiles/cmTC_c8b0c.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_c8b0c + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WERROR succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-relwithdebinfo/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_ebc13 && [1/2] Building CXX object CMakeFiles/cmTC_ebc13.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_ebc13 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_PEDANTIC succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-relwithdebinfo/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_f9a81 && [1/2] Building CXX object CMakeFiles/cmTC_f9a81.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_f9a81 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_PEDANTIC_ERRORS succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-relwithdebinfo/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_510bf && [1/2] Building CXX object CMakeFiles/cmTC_510bf.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_510bf + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_FSTRICT_ALIASING succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-relwithdebinfo/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_dbae9 && [1/2] Building CXX object CMakeFiles/cmTC_dbae9.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_dbae9 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-relwithdebinfo/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_456cb && [1/2] Building CXX object CMakeFiles/cmTC_456cb.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_456cb + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WNO_DEPRECATED succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-relwithdebinfo/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_9e5e2 && [1/2] Building CXX object CMakeFiles/cmTC_9e5e2.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_9e5e2 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_WSTRICT_ALIASING succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-relwithdebinfo/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_e3f38 && [1/2] Building CXX object CMakeFiles/cmTC_e3f38.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_e3f38 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test HAVE_CXX_FLAG_COVERAGE succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-relwithdebinfo/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_5303a && [1/2] Building CXX object CMakeFiles/cmTC_5303a.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_5303a + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test BENCHMARK_HAS_O3_FLAG succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-relwithdebinfo/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_c5334 && [1/2] Building CXX object CMakeFiles/cmTC_c5334.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_c5334 + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test BENCHMARK_HAS_WNO_ODR succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-relwithdebinfo/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_f1fbf && [1/2] Building CXX object CMakeFiles/cmTC_f1fbf.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_f1fbf + + +Source file was: +int main() { return 0; } +Performing C++ SOURCE FILE Test BENCHMARK_HAS_WNO_LTO_TYPE_MISMATCH succeeded with the following output: +Change Dir: /home/brett/Documents/Brock/CS 3P98/Final Project/cmake-build-relwithdebinfo/CMakeFiles/CMakeTmp + +Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_53ce9 && [1/2] Building CXX object CMakeFiles/cmTC_53ce9.dir/src.cxx.o +[2/2] Linking CXX executable cmTC_53ce9 + + +Source file was: +int main() { return 0; } diff --git a/cmake-build-relwithdebinfo/FinalProject b/cmake-build-relwithdebinfo/FinalProject index 612e3ba..478aa5d 100755 Binary files a/cmake-build-relwithdebinfo/FinalProject and b/cmake-build-relwithdebinfo/FinalProject differ diff --git a/cmake-build-relwithdebinfo/Testing/Temporary/LastTest.log b/cmake-build-relwithdebinfo/Testing/Temporary/LastTest.log index 6f7dd02..6726664 100644 --- a/cmake-build-relwithdebinfo/Testing/Temporary/LastTest.log +++ b/cmake-build-relwithdebinfo/Testing/Temporary/LastTest.log @@ -1,3 +1,3 @@ -Start testing: Mar 06 23:26 EST +Start testing: Mar 08 00:05 EST ---------------------------------------------------------- -End testing: Mar 06 23:26 EST +End testing: Mar 08 00:05 EST diff --git a/cmake-build-relwithdebinfo/libraries/BLT/CMakeFiles/BLT.dir/src/blt/profiling/profiler.cpp.o b/cmake-build-relwithdebinfo/libraries/BLT/CMakeFiles/BLT.dir/src/blt/profiling/profiler.cpp.o index 860a6ca..50e1ab4 100644 Binary files a/cmake-build-relwithdebinfo/libraries/BLT/CMakeFiles/BLT.dir/src/blt/profiling/profiler.cpp.o and b/cmake-build-relwithdebinfo/libraries/BLT/CMakeFiles/BLT.dir/src/blt/profiling/profiler.cpp.o differ diff --git a/cmake-build-relwithdebinfo/libraries/BLT/libBLT.a b/cmake-build-relwithdebinfo/libraries/BLT/libBLT.a index 51abea1..7d0dcf2 100644 Binary files a/cmake-build-relwithdebinfo/libraries/BLT/libBLT.a and b/cmake-build-relwithdebinfo/libraries/BLT/libBLT.a differ diff --git a/include/glad/gles2.h b/include/glad/gles2.h index 2b1cf7b..150133c 100644 --- a/include/glad/gles2.h +++ b/include/glad/gles2.h @@ -1,11 +1,11 @@ /** - * Loader generated by glad 2.0.3 on Wed Feb 8 15:03:51 2023 + * Loader generated by glad 2.0.4 on Wed Mar 8 02:10:20 2023 * * SPDX-License-Identifier: (WTFPL OR CC0-1.0) AND Apache-2.0 * * Generator: C/C++ * Specification: gl - * Extensions: 19 + * Extensions: 20 * * APIs: * - gles2=3.0 @@ -19,10 +19,10 @@ * - ON_DEMAND = False * * Commandline: - * --api='gles2=3.0' --extensions='GL_ANGLE_instanced_arrays,GL_APPLE_sync,GL_EXT_disjoint_timer_query,GL_EXT_draw_buffers,GL_EXT_draw_instanced,GL_EXT_instanced_arrays,GL_EXT_map_buffer_range,GL_EXT_multisampled_render_to_texture,GL_EXT_separate_shader_objects,GL_EXT_texture_storage,GL_NV_copy_buffer,GL_NV_draw_instanced,GL_NV_framebuffer_blit,GL_NV_framebuffer_multisample,GL_NV_instanced_arrays,GL_NV_non_square_matrices,GL_OES_get_program_binary,GL_OES_mapbuffer,GL_OES_vertex_array_object' c --alias --header-only + * --api='gles2=3.0' --extensions='GL_ANGLE_instanced_arrays,GL_APPLE_sync,GL_EXT_disjoint_timer_query,GL_EXT_draw_buffers,GL_EXT_draw_instanced,GL_EXT_instanced_arrays,GL_EXT_map_buffer_range,GL_EXT_multisampled_render_to_texture,GL_EXT_separate_shader_objects,GL_EXT_texture_filter_anisotropic,GL_EXT_texture_storage,GL_NV_copy_buffer,GL_NV_draw_instanced,GL_NV_framebuffer_blit,GL_NV_framebuffer_multisample,GL_NV_instanced_arrays,GL_NV_non_square_matrices,GL_OES_get_program_binary,GL_OES_mapbuffer,GL_OES_vertex_array_object' c --alias --header-only * * Online: - * http://glad.sh/#api=gles2%3D3.0&extensions=GL_ANGLE_instanced_arrays%2CGL_APPLE_sync%2CGL_EXT_disjoint_timer_query%2CGL_EXT_draw_buffers%2CGL_EXT_draw_instanced%2CGL_EXT_instanced_arrays%2CGL_EXT_map_buffer_range%2CGL_EXT_multisampled_render_to_texture%2CGL_EXT_separate_shader_objects%2CGL_EXT_texture_storage%2CGL_NV_copy_buffer%2CGL_NV_draw_instanced%2CGL_NV_framebuffer_blit%2CGL_NV_framebuffer_multisample%2CGL_NV_instanced_arrays%2CGL_NV_non_square_matrices%2CGL_OES_get_program_binary%2CGL_OES_mapbuffer%2CGL_OES_vertex_array_object&generator=c&options=ALIAS%2CHEADER_ONLY + * http://glad.sh/#api=gles2%3D3.0&extensions=GL_ANGLE_instanced_arrays%2CGL_APPLE_sync%2CGL_EXT_disjoint_timer_query%2CGL_EXT_draw_buffers%2CGL_EXT_draw_instanced%2CGL_EXT_instanced_arrays%2CGL_EXT_map_buffer_range%2CGL_EXT_multisampled_render_to_texture%2CGL_EXT_separate_shader_objects%2CGL_EXT_texture_filter_anisotropic%2CGL_EXT_texture_storage%2CGL_NV_copy_buffer%2CGL_NV_draw_instanced%2CGL_NV_framebuffer_blit%2CGL_NV_framebuffer_multisample%2CGL_NV_instanced_arrays%2CGL_NV_non_square_matrices%2CGL_OES_get_program_binary%2CGL_OES_mapbuffer%2CGL_OES_vertex_array_object&generator=c&options=ALIAS%2CHEADER_ONLY * */ @@ -165,7 +165,7 @@ extern "C" { #define GLAD_VERSION_MAJOR(version) (version / 10000) #define GLAD_VERSION_MINOR(version) (version % 10000) -#define GLAD_GENERATOR_VERSION "2.0.3" +#define GLAD_GENERATOR_VERSION "2.0.4" typedef void (*GLADapiproc)(void); @@ -531,6 +531,8 @@ typedef void (*GLADpostcallback)(void *ret, const char *name, GLADapiproc apipro #define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111 #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD +#define GL_MAX_TEXTURE_MAX_ANISOTROPY 0x84FF +#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF #define GL_MAX_TEXTURE_SIZE 0x0D33 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B @@ -820,6 +822,8 @@ typedef void (*GLADpostcallback)(void *ret, const char *name, GLADapiproc apipro #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF #define GL_TEXTURE_MAG_FILTER 0x2800 +#define GL_TEXTURE_MAX_ANISOTROPY 0x84FE +#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE #define GL_TEXTURE_MAX_LEVEL 0x813D #define GL_TEXTURE_MAX_LOD 0x813B #define GL_TEXTURE_MIN_FILTER 0x2801 @@ -1324,6 +1328,8 @@ GLAD_API_CALL int GLAD_GL_EXT_map_buffer_range; GLAD_API_CALL int GLAD_GL_EXT_multisampled_render_to_texture; #define GL_EXT_separate_shader_objects 1 GLAD_API_CALL int GLAD_GL_EXT_separate_shader_objects; +#define GL_EXT_texture_filter_anisotropic 1 +GLAD_API_CALL int GLAD_GL_EXT_texture_filter_anisotropic; #define GL_EXT_texture_storage 1 GLAD_API_CALL int GLAD_GL_EXT_texture_storage; #define GL_NV_copy_buffer 1 @@ -2440,6 +2446,7 @@ int GLAD_GL_EXT_instanced_arrays = 0; int GLAD_GL_EXT_map_buffer_range = 0; int GLAD_GL_EXT_multisampled_render_to_texture = 0; int GLAD_GL_EXT_separate_shader_objects = 0; +int GLAD_GL_EXT_texture_filter_anisotropic = 0; int GLAD_GL_EXT_texture_storage = 0; int GLAD_GL_NV_copy_buffer = 0; int GLAD_GL_NV_draw_instanced = 0; @@ -3436,6 +3443,7 @@ static int glad_gl_find_extensions_gles2( int version) { GLAD_GL_EXT_map_buffer_range = glad_gl_has_extension(version, exts, num_exts_i, exts_i, "GL_EXT_map_buffer_range"); GLAD_GL_EXT_multisampled_render_to_texture = glad_gl_has_extension(version, exts, num_exts_i, exts_i, "GL_EXT_multisampled_render_to_texture"); GLAD_GL_EXT_separate_shader_objects = glad_gl_has_extension(version, exts, num_exts_i, exts_i, "GL_EXT_separate_shader_objects"); + GLAD_GL_EXT_texture_filter_anisotropic = glad_gl_has_extension(version, exts, num_exts_i, exts_i, "GL_EXT_texture_filter_anisotropic"); GLAD_GL_EXT_texture_storage = glad_gl_has_extension(version, exts, num_exts_i, exts_i, "GL_EXT_texture_storage"); GLAD_GL_NV_copy_buffer = glad_gl_has_extension(version, exts, num_exts_i, exts_i, "GL_NV_copy_buffer"); GLAD_GL_NV_draw_instanced = glad_gl_has_extension(version, exts, num_exts_i, exts_i, "GL_NV_draw_instanced"); diff --git a/include/glad/gles2_20.h b/include/glad/gles2_20.h deleted file mode 100644 index 98d2bf7..0000000 --- a/include/glad/gles2_20.h +++ /dev/null @@ -1,1801 +0,0 @@ -/** - * Loader generated by glad 2.0.3 on Wed Feb 8 05:12:11 2023 - * - * SPDX-License-Identifier: (WTFPL OR CC0-1.0) AND Apache-2.0 - * - * Generator: C/C++ - * Specification: gl - * Extensions: 0 - * - * APIs: - * - gles2=2.0 - * - * Options: - * - ALIAS = True - * - DEBUG = False - * - HEADER_ONLY = True - * - LOADER = False - * - MX = False - * - ON_DEMAND = False - * - * Commandline: - * --api='gles2=2.0' --extensions='' c --alias --header-only - * - * Online: - * http://glad.sh/#api=gles2%3D2.0&extensions=&generator=c&options=ALIAS%2CHEADER_ONLY - * - */ - -#ifndef GLAD_GLES2_H_ -#define GLAD_GLES2_H_ - -#ifdef __clang__ -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wreserved-id-macro" -#endif -#ifdef __gl2_h_ - #error OpenGL ES 2 header already included (API: gles2), remove previous include! -#endif -#define __gl2_h_ 1 -#ifdef __gles2_gl2_h_ - #error OpenGL ES 2 header already included (API: gles2), remove previous include! -#endif -#define __gles2_gl2_h_ 1 -#ifdef __gl3_h_ - #error OpenGL ES 3 header already included (API: gles2), remove previous include! -#endif -#define __gl3_h_ 1 -#ifdef __gles2_gl3_h_ - #error OpenGL ES 3 header already included (API: gles2), remove previous include! -#endif -#define __gles2_gl3_h_ 1 -#ifdef __clang__ -#pragma clang diagnostic pop -#endif - -#define GLAD_GLES2 -#define GLAD_OPTION_GLES2_ALIAS -#define GLAD_OPTION_GLES2_HEADER_ONLY - -#ifdef __cplusplus -extern "C" { -#endif - -#ifndef GLAD_PLATFORM_H_ -#define GLAD_PLATFORM_H_ - -#ifndef GLAD_PLATFORM_WIN32 - #if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__MINGW32__) - #define GLAD_PLATFORM_WIN32 1 - #else - #define GLAD_PLATFORM_WIN32 0 - #endif -#endif - -#ifndef GLAD_PLATFORM_APPLE - #ifdef __APPLE__ - #define GLAD_PLATFORM_APPLE 1 - #else - #define GLAD_PLATFORM_APPLE 0 - #endif -#endif - -#ifndef GLAD_PLATFORM_EMSCRIPTEN - #ifdef __EMSCRIPTEN__ - #define GLAD_PLATFORM_EMSCRIPTEN 1 - #else - #define GLAD_PLATFORM_EMSCRIPTEN 0 - #endif -#endif - -#ifndef GLAD_PLATFORM_UWP - #if defined(_MSC_VER) && !defined(GLAD_INTERNAL_HAVE_WINAPIFAMILY) - #ifdef __has_include - #if __has_include() - #define GLAD_INTERNAL_HAVE_WINAPIFAMILY 1 - #endif - #elif _MSC_VER >= 1700 && !_USING_V110_SDK71_ - #define GLAD_INTERNAL_HAVE_WINAPIFAMILY 1 - #endif - #endif - - #ifdef GLAD_INTERNAL_HAVE_WINAPIFAMILY - #include - #if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) && WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) - #define GLAD_PLATFORM_UWP 1 - #endif - #endif - - #ifndef GLAD_PLATFORM_UWP - #define GLAD_PLATFORM_UWP 0 - #endif -#endif - -#ifdef __GNUC__ - #define GLAD_GNUC_EXTENSION __extension__ -#else - #define GLAD_GNUC_EXTENSION -#endif - -#define GLAD_UNUSED(x) (void)(x) - -#ifndef GLAD_API_CALL - #if defined(GLAD_API_CALL_EXPORT) - #if GLAD_PLATFORM_WIN32 || defined(__CYGWIN__) - #if defined(GLAD_API_CALL_EXPORT_BUILD) - #if defined(__GNUC__) - #define GLAD_API_CALL __attribute__ ((dllexport)) extern - #else - #define GLAD_API_CALL __declspec(dllexport) extern - #endif - #else - #if defined(__GNUC__) - #define GLAD_API_CALL __attribute__ ((dllimport)) extern - #else - #define GLAD_API_CALL __declspec(dllimport) extern - #endif - #endif - #elif defined(__GNUC__) && defined(GLAD_API_CALL_EXPORT_BUILD) - #define GLAD_API_CALL __attribute__ ((visibility ("default"))) extern - #else - #define GLAD_API_CALL extern - #endif - #else - #define GLAD_API_CALL extern - #endif -#endif - -#ifdef APIENTRY - #define GLAD_API_PTR APIENTRY -#elif GLAD_PLATFORM_WIN32 - #define GLAD_API_PTR __stdcall -#else - #define GLAD_API_PTR -#endif - -#ifndef GLAPI -#define GLAPI GLAD_API_CALL -#endif - -#ifndef GLAPIENTRY -#define GLAPIENTRY GLAD_API_PTR -#endif - -#define GLAD_MAKE_VERSION(major, minor) (major * 10000 + minor) -#define GLAD_VERSION_MAJOR(version) (version / 10000) -#define GLAD_VERSION_MINOR(version) (version % 10000) - -#define GLAD_GENERATOR_VERSION "2.0.3" - -typedef void (*GLADapiproc)(void); - -typedef GLADapiproc (*GLADloadfunc)(const char *name); -typedef GLADapiproc (*GLADuserptrloadfunc)(void *userptr, const char *name); - -typedef void (*GLADprecallback)(const char *name, GLADapiproc apiproc, int len_args, ...); -typedef void (*GLADpostcallback)(void *ret, const char *name, GLADapiproc apiproc, int len_args, ...); - -#endif /* GLAD_PLATFORM_H_ */ - -#define GL_ACTIVE_ATTRIBUTES 0x8B89 -#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A -#define GL_ACTIVE_TEXTURE 0x84E0 -#define GL_ACTIVE_UNIFORMS 0x8B86 -#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 -#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E -#define GL_ALIASED_POINT_SIZE_RANGE 0x846D -#define GL_ALPHA 0x1906 -#define GL_ALPHA_BITS 0x0D55 -#define GL_ALWAYS 0x0207 -#define GL_ARRAY_BUFFER 0x8892 -#define GL_ARRAY_BUFFER_BINDING 0x8894 -#define GL_ATTACHED_SHADERS 0x8B85 -#define GL_BACK 0x0405 -#define GL_BLEND 0x0BE2 -#define GL_BLEND_COLOR 0x8005 -#define GL_BLEND_DST_ALPHA 0x80CA -#define GL_BLEND_DST_RGB 0x80C8 -#define GL_BLEND_EQUATION 0x8009 -#define GL_BLEND_EQUATION_ALPHA 0x883D -#define GL_BLEND_EQUATION_RGB 0x8009 -#define GL_BLEND_SRC_ALPHA 0x80CB -#define GL_BLEND_SRC_RGB 0x80C9 -#define GL_BLUE_BITS 0x0D54 -#define GL_BOOL 0x8B56 -#define GL_BOOL_VEC2 0x8B57 -#define GL_BOOL_VEC3 0x8B58 -#define GL_BOOL_VEC4 0x8B59 -#define GL_BUFFER_SIZE 0x8764 -#define GL_BUFFER_USAGE 0x8765 -#define GL_BYTE 0x1400 -#define GL_CCW 0x0901 -#define GL_CLAMP_TO_EDGE 0x812F -#define GL_COLOR_ATTACHMENT0 0x8CE0 -#define GL_COLOR_BUFFER_BIT 0x00004000 -#define GL_COLOR_CLEAR_VALUE 0x0C22 -#define GL_COLOR_WRITEMASK 0x0C23 -#define GL_COMPILE_STATUS 0x8B81 -#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 -#define GL_CONSTANT_ALPHA 0x8003 -#define GL_CONSTANT_COLOR 0x8001 -#define GL_CULL_FACE 0x0B44 -#define GL_CULL_FACE_MODE 0x0B45 -#define GL_CURRENT_PROGRAM 0x8B8D -#define GL_CURRENT_VERTEX_ATTRIB 0x8626 -#define GL_CW 0x0900 -#define GL_DECR 0x1E03 -#define GL_DECR_WRAP 0x8508 -#define GL_DELETE_STATUS 0x8B80 -#define GL_DEPTH_ATTACHMENT 0x8D00 -#define GL_DEPTH_BITS 0x0D56 -#define GL_DEPTH_BUFFER_BIT 0x00000100 -#define GL_DEPTH_CLEAR_VALUE 0x0B73 -#define GL_DEPTH_COMPONENT 0x1902 -#define GL_DEPTH_COMPONENT16 0x81A5 -#define GL_DEPTH_FUNC 0x0B74 -#define GL_DEPTH_RANGE 0x0B70 -#define GL_DEPTH_TEST 0x0B71 -#define GL_DEPTH_WRITEMASK 0x0B72 -#define GL_DITHER 0x0BD0 -#define GL_DONT_CARE 0x1100 -#define GL_DST_ALPHA 0x0304 -#define GL_DST_COLOR 0x0306 -#define GL_DYNAMIC_DRAW 0x88E8 -#define GL_ELEMENT_ARRAY_BUFFER 0x8893 -#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 -#define GL_EQUAL 0x0202 -#define GL_EXTENSIONS 0x1F03 -#define GL_FALSE 0 -#define GL_FASTEST 0x1101 -#define GL_FIXED 0x140C -#define GL_FLOAT 0x1406 -#define GL_FLOAT_MAT2 0x8B5A -#define GL_FLOAT_MAT3 0x8B5B -#define GL_FLOAT_MAT4 0x8B5C -#define GL_FLOAT_VEC2 0x8B50 -#define GL_FLOAT_VEC3 0x8B51 -#define GL_FLOAT_VEC4 0x8B52 -#define GL_FRAGMENT_SHADER 0x8B30 -#define GL_FRAMEBUFFER 0x8D40 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 -#define GL_FRAMEBUFFER_BINDING 0x8CA6 -#define GL_FRAMEBUFFER_COMPLETE 0x8CD5 -#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 -#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 -#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 -#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD -#define GL_FRONT 0x0404 -#define GL_FRONT_AND_BACK 0x0408 -#define GL_FRONT_FACE 0x0B46 -#define GL_FUNC_ADD 0x8006 -#define GL_FUNC_REVERSE_SUBTRACT 0x800B -#define GL_FUNC_SUBTRACT 0x800A -#define GL_GENERATE_MIPMAP_HINT 0x8192 -#define GL_GEQUAL 0x0206 -#define GL_GREATER 0x0204 -#define GL_GREEN_BITS 0x0D53 -#define GL_HIGH_FLOAT 0x8DF2 -#define GL_HIGH_INT 0x8DF5 -#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B -#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A -#define GL_INCR 0x1E02 -#define GL_INCR_WRAP 0x8507 -#define GL_INFO_LOG_LENGTH 0x8B84 -#define GL_INT 0x1404 -#define GL_INT_VEC2 0x8B53 -#define GL_INT_VEC3 0x8B54 -#define GL_INT_VEC4 0x8B55 -#define GL_INVALID_ENUM 0x0500 -#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 -#define GL_INVALID_OPERATION 0x0502 -#define GL_INVALID_VALUE 0x0501 -#define GL_INVERT 0x150A -#define GL_KEEP 0x1E00 -#define GL_LEQUAL 0x0203 -#define GL_LESS 0x0201 -#define GL_LINEAR 0x2601 -#define GL_LINEAR_MIPMAP_LINEAR 0x2703 -#define GL_LINEAR_MIPMAP_NEAREST 0x2701 -#define GL_LINES 0x0001 -#define GL_LINE_LOOP 0x0002 -#define GL_LINE_STRIP 0x0003 -#define GL_LINE_WIDTH 0x0B21 -#define GL_LINK_STATUS 0x8B82 -#define GL_LOW_FLOAT 0x8DF0 -#define GL_LOW_INT 0x8DF3 -#define GL_LUMINANCE 0x1909 -#define GL_LUMINANCE_ALPHA 0x190A -#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C -#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD -#define GL_MAX_RENDERBUFFER_SIZE 0x84E8 -#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 -#define GL_MAX_TEXTURE_SIZE 0x0D33 -#define GL_MAX_VARYING_VECTORS 0x8DFC -#define GL_MAX_VERTEX_ATTRIBS 0x8869 -#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C -#define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB -#define GL_MAX_VIEWPORT_DIMS 0x0D3A -#define GL_MEDIUM_FLOAT 0x8DF1 -#define GL_MEDIUM_INT 0x8DF4 -#define GL_MIRRORED_REPEAT 0x8370 -#define GL_NEAREST 0x2600 -#define GL_NEAREST_MIPMAP_LINEAR 0x2702 -#define GL_NEAREST_MIPMAP_NEAREST 0x2700 -#define GL_NEVER 0x0200 -#define GL_NICEST 0x1102 -#define GL_NONE 0 -#define GL_NOTEQUAL 0x0205 -#define GL_NO_ERROR 0 -#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 -#define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 -#define GL_ONE 1 -#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 -#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 -#define GL_ONE_MINUS_DST_ALPHA 0x0305 -#define GL_ONE_MINUS_DST_COLOR 0x0307 -#define GL_ONE_MINUS_SRC_ALPHA 0x0303 -#define GL_ONE_MINUS_SRC_COLOR 0x0301 -#define GL_OUT_OF_MEMORY 0x0505 -#define GL_PACK_ALIGNMENT 0x0D05 -#define GL_POINTS 0x0000 -#define GL_POLYGON_OFFSET_FACTOR 0x8038 -#define GL_POLYGON_OFFSET_FILL 0x8037 -#define GL_POLYGON_OFFSET_UNITS 0x2A00 -#define GL_RED_BITS 0x0D52 -#define GL_RENDERBUFFER 0x8D41 -#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 -#define GL_RENDERBUFFER_BINDING 0x8CA7 -#define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 -#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 -#define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 -#define GL_RENDERBUFFER_HEIGHT 0x8D43 -#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 -#define GL_RENDERBUFFER_RED_SIZE 0x8D50 -#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 -#define GL_RENDERBUFFER_WIDTH 0x8D42 -#define GL_RENDERER 0x1F01 -#define GL_REPEAT 0x2901 -#define GL_REPLACE 0x1E01 -#define GL_RGB 0x1907 -#define GL_RGB565 0x8D62 -#define GL_RGB5_A1 0x8057 -#define GL_RGBA 0x1908 -#define GL_RGBA4 0x8056 -#define GL_SAMPLER_2D 0x8B5E -#define GL_SAMPLER_CUBE 0x8B60 -#define GL_SAMPLES 0x80A9 -#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E -#define GL_SAMPLE_BUFFERS 0x80A8 -#define GL_SAMPLE_COVERAGE 0x80A0 -#define GL_SAMPLE_COVERAGE_INVERT 0x80AB -#define GL_SAMPLE_COVERAGE_VALUE 0x80AA -#define GL_SCISSOR_BOX 0x0C10 -#define GL_SCISSOR_TEST 0x0C11 -#define GL_SHADER_BINARY_FORMATS 0x8DF8 -#define GL_SHADER_COMPILER 0x8DFA -#define GL_SHADER_SOURCE_LENGTH 0x8B88 -#define GL_SHADER_TYPE 0x8B4F -#define GL_SHADING_LANGUAGE_VERSION 0x8B8C -#define GL_SHORT 0x1402 -#define GL_SRC_ALPHA 0x0302 -#define GL_SRC_ALPHA_SATURATE 0x0308 -#define GL_SRC_COLOR 0x0300 -#define GL_STATIC_DRAW 0x88E4 -#define GL_STENCIL_ATTACHMENT 0x8D20 -#define GL_STENCIL_BACK_FAIL 0x8801 -#define GL_STENCIL_BACK_FUNC 0x8800 -#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 -#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 -#define GL_STENCIL_BACK_REF 0x8CA3 -#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 -#define GL_STENCIL_BACK_WRITEMASK 0x8CA5 -#define GL_STENCIL_BITS 0x0D57 -#define GL_STENCIL_BUFFER_BIT 0x00000400 -#define GL_STENCIL_CLEAR_VALUE 0x0B91 -#define GL_STENCIL_FAIL 0x0B94 -#define GL_STENCIL_FUNC 0x0B92 -#define GL_STENCIL_INDEX8 0x8D48 -#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 -#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 -#define GL_STENCIL_REF 0x0B97 -#define GL_STENCIL_TEST 0x0B90 -#define GL_STENCIL_VALUE_MASK 0x0B93 -#define GL_STENCIL_WRITEMASK 0x0B98 -#define GL_STREAM_DRAW 0x88E0 -#define GL_SUBPIXEL_BITS 0x0D50 -#define GL_TEXTURE 0x1702 -#define GL_TEXTURE0 0x84C0 -#define GL_TEXTURE1 0x84C1 -#define GL_TEXTURE10 0x84CA -#define GL_TEXTURE11 0x84CB -#define GL_TEXTURE12 0x84CC -#define GL_TEXTURE13 0x84CD -#define GL_TEXTURE14 0x84CE -#define GL_TEXTURE15 0x84CF -#define GL_TEXTURE16 0x84D0 -#define GL_TEXTURE17 0x84D1 -#define GL_TEXTURE18 0x84D2 -#define GL_TEXTURE19 0x84D3 -#define GL_TEXTURE2 0x84C2 -#define GL_TEXTURE20 0x84D4 -#define GL_TEXTURE21 0x84D5 -#define GL_TEXTURE22 0x84D6 -#define GL_TEXTURE23 0x84D7 -#define GL_TEXTURE24 0x84D8 -#define GL_TEXTURE25 0x84D9 -#define GL_TEXTURE26 0x84DA -#define GL_TEXTURE27 0x84DB -#define GL_TEXTURE28 0x84DC -#define GL_TEXTURE29 0x84DD -#define GL_TEXTURE3 0x84C3 -#define GL_TEXTURE30 0x84DE -#define GL_TEXTURE31 0x84DF -#define GL_TEXTURE4 0x84C4 -#define GL_TEXTURE5 0x84C5 -#define GL_TEXTURE6 0x84C6 -#define GL_TEXTURE7 0x84C7 -#define GL_TEXTURE8 0x84C8 -#define GL_TEXTURE9 0x84C9 -#define GL_TEXTURE_2D 0x0DE1 -#define GL_TEXTURE_BINDING_2D 0x8069 -#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 -#define GL_TEXTURE_CUBE_MAP 0x8513 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 -#define GL_TEXTURE_MAG_FILTER 0x2800 -#define GL_TEXTURE_MIN_FILTER 0x2801 -#define GL_TEXTURE_WRAP_S 0x2802 -#define GL_TEXTURE_WRAP_T 0x2803 -#define GL_TRIANGLES 0x0004 -#define GL_TRIANGLE_FAN 0x0006 -#define GL_TRIANGLE_STRIP 0x0005 -#define GL_TRUE 1 -#define GL_UNPACK_ALIGNMENT 0x0CF5 -#define GL_UNSIGNED_BYTE 0x1401 -#define GL_UNSIGNED_INT 0x1405 -#define GL_UNSIGNED_SHORT 0x1403 -#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 -#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 -#define GL_UNSIGNED_SHORT_5_6_5 0x8363 -#define GL_VALIDATE_STATUS 0x8B83 -#define GL_VENDOR 0x1F00 -#define GL_VERSION 0x1F02 -#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F -#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 -#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A -#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 -#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 -#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 -#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 -#define GL_VERTEX_SHADER 0x8B31 -#define GL_VIEWPORT 0x0BA2 -#define GL_ZERO 0 - - -#ifndef __khrplatform_h_ -#define __khrplatform_h_ - -/* -** Copyright (c) 2008-2018 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ - -/* Khronos platform-specific types and definitions. - * - * The master copy of khrplatform.h is maintained in the Khronos EGL - * Registry repository at https://github.com/KhronosGroup/EGL-Registry - * The last semantic modification to khrplatform.h was at commit ID: - * 67a3e0864c2d75ea5287b9f3d2eb74a745936692 - * - * Adopters may modify this file to suit their platform. Adopters are - * encouraged to submit platform specific modifications to the Khronos - * group so that they can be included in future versions of this file. - * Please submit changes by filing pull requests or issues on - * the EGL Registry repository linked above. - * - * - * See the Implementer's Guidelines for information about where this file - * should be located on your system and for more details of its use: - * http://www.khronos.org/registry/implementers_guide.pdf - * - * This file should be included as - * #include - * by Khronos client API header files that use its types and defines. - * - * The types in khrplatform.h should only be used to define API-specific types. - * - * Types defined in khrplatform.h: - * khronos_int8_t signed 8 bit - * khronos_uint8_t unsigned 8 bit - * khronos_int16_t signed 16 bit - * khronos_uint16_t unsigned 16 bit - * khronos_int32_t signed 32 bit - * khronos_uint32_t unsigned 32 bit - * khronos_int64_t signed 64 bit - * khronos_uint64_t unsigned 64 bit - * khronos_intptr_t signed same number of bits as a pointer - * khronos_uintptr_t unsigned same number of bits as a pointer - * khronos_ssize_t signed size - * khronos_usize_t unsigned size - * khronos_float_t signed 32 bit floating point - * khronos_time_ns_t unsigned 64 bit time in nanoseconds - * khronos_utime_nanoseconds_t unsigned time interval or absolute time in - * nanoseconds - * khronos_stime_nanoseconds_t signed time interval in nanoseconds - * khronos_boolean_enum_t enumerated boolean type. This should - * only be used as a base type when a client API's boolean type is - * an enum. Client APIs which use an integer or other type for - * booleans cannot use this as the base type for their boolean. - * - * Tokens defined in khrplatform.h: - * - * KHRONOS_FALSE, KHRONOS_TRUE Enumerated boolean false/true values. - * - * KHRONOS_SUPPORT_INT64 is 1 if 64 bit integers are supported; otherwise 0. - * KHRONOS_SUPPORT_FLOAT is 1 if floats are supported; otherwise 0. - * - * Calling convention macros defined in this file: - * KHRONOS_APICALL - * KHRONOS_GLAD_API_PTR - * KHRONOS_APIATTRIBUTES - * - * These may be used in function prototypes as: - * - * KHRONOS_APICALL void KHRONOS_GLAD_API_PTR funcname( - * int arg1, - * int arg2) KHRONOS_APIATTRIBUTES; - */ - -#if defined(__SCITECH_SNAP__) && !defined(KHRONOS_STATIC) -# define KHRONOS_STATIC 1 -#endif - -/*------------------------------------------------------------------------- - * Definition of KHRONOS_APICALL - *------------------------------------------------------------------------- - * This precedes the return type of the function in the function prototype. - */ -#if defined(KHRONOS_STATIC) - /* If the preprocessor constant KHRONOS_STATIC is defined, make the - * header compatible with static linking. */ -# define KHRONOS_APICALL -#elif defined(_WIN32) -# define KHRONOS_APICALL __declspec(dllimport) -#elif defined (__SYMBIAN32__) -# define KHRONOS_APICALL IMPORT_C -#elif defined(__ANDROID__) -# define KHRONOS_APICALL __attribute__((visibility("default"))) -#else -# define KHRONOS_APICALL -#endif - -/*------------------------------------------------------------------------- - * Definition of KHRONOS_GLAD_API_PTR - *------------------------------------------------------------------------- - * This follows the return type of the function and precedes the function - * name in the function prototype. - */ -#if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(__SCITECH_SNAP__) - /* Win32 but not WinCE */ -# define KHRONOS_GLAD_API_PTR __stdcall -#else -# define KHRONOS_GLAD_API_PTR -#endif - -/*------------------------------------------------------------------------- - * Definition of KHRONOS_APIATTRIBUTES - *------------------------------------------------------------------------- - * This follows the closing parenthesis of the function prototype arguments. - */ -#if defined (__ARMCC_2__) -#define KHRONOS_APIATTRIBUTES __softfp -#else -#define KHRONOS_APIATTRIBUTES -#endif - -/*------------------------------------------------------------------------- - * basic type definitions - *-----------------------------------------------------------------------*/ -#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || defined(__GNUC__) || defined(__SCO__) || defined(__USLC__) - - -/* - * Using - */ -#include -typedef int32_t khronos_int32_t; -typedef uint32_t khronos_uint32_t; -typedef int64_t khronos_int64_t; -typedef uint64_t khronos_uint64_t; -#define KHRONOS_SUPPORT_INT64 1 -#define KHRONOS_SUPPORT_FLOAT 1 -/* - * To support platform where unsigned long cannot be used interchangeably with - * inptr_t (e.g. CHERI-extended ISAs), we can use the stdint.h intptr_t. - * Ideally, we could just use (u)intptr_t everywhere, but this could result in - * ABI breakage if khronos_uintptr_t is changed from unsigned long to - * unsigned long long or similar (this results in different C++ name mangling). - * To avoid changes for existing platforms, we restrict usage of intptr_t to - * platforms where the size of a pointer is larger than the size of long. - */ -#if defined(__SIZEOF_LONG__) && defined(__SIZEOF_POINTER__) -#if __SIZEOF_POINTER__ > __SIZEOF_LONG__ -#define KHRONOS_USE_INTPTR_T -#endif -#endif - -#elif defined(__VMS ) || defined(__sgi) - -/* - * Using - */ -#include -typedef int32_t khronos_int32_t; -typedef uint32_t khronos_uint32_t; -typedef int64_t khronos_int64_t; -typedef uint64_t khronos_uint64_t; -#define KHRONOS_SUPPORT_INT64 1 -#define KHRONOS_SUPPORT_FLOAT 1 - -#elif defined(_WIN32) && !defined(__SCITECH_SNAP__) - -/* - * Win32 - */ -typedef __int32 khronos_int32_t; -typedef unsigned __int32 khronos_uint32_t; -typedef __int64 khronos_int64_t; -typedef unsigned __int64 khronos_uint64_t; -#define KHRONOS_SUPPORT_INT64 1 -#define KHRONOS_SUPPORT_FLOAT 1 - -#elif defined(__sun__) || defined(__digital__) - -/* - * Sun or Digital - */ -typedef int khronos_int32_t; -typedef unsigned int khronos_uint32_t; -#if defined(__arch64__) || defined(_LP64) -typedef long int khronos_int64_t; -typedef unsigned long int khronos_uint64_t; -#else -typedef long long int khronos_int64_t; -typedef unsigned long long int khronos_uint64_t; -#endif /* __arch64__ */ -#define KHRONOS_SUPPORT_INT64 1 -#define KHRONOS_SUPPORT_FLOAT 1 - -#elif 0 - -/* - * Hypothetical platform with no float or int64 support - */ -typedef int khronos_int32_t; -typedef unsigned int khronos_uint32_t; -#define KHRONOS_SUPPORT_INT64 0 -#define KHRONOS_SUPPORT_FLOAT 0 - -#else - -/* - * Generic fallback - */ -#include -typedef int32_t khronos_int32_t; -typedef uint32_t khronos_uint32_t; -typedef int64_t khronos_int64_t; -typedef uint64_t khronos_uint64_t; -#define KHRONOS_SUPPORT_INT64 1 -#define KHRONOS_SUPPORT_FLOAT 1 - -#endif - - -/* - * Types that are (so far) the same on all platforms - */ -typedef signed char khronos_int8_t; -typedef unsigned char khronos_uint8_t; -typedef signed short int khronos_int16_t; -typedef unsigned short int khronos_uint16_t; - -/* - * Types that differ between LLP64 and LP64 architectures - in LLP64, - * pointers are 64 bits, but 'long' is still 32 bits. Win64 appears - * to be the only LLP64 architecture in current use. - */ -#ifdef KHRONOS_USE_INTPTR_T -typedef intptr_t khronos_intptr_t; -typedef uintptr_t khronos_uintptr_t; -#elif defined(_WIN64) -typedef signed long long int khronos_intptr_t; -typedef unsigned long long int khronos_uintptr_t; -#else -typedef signed long int khronos_intptr_t; -typedef unsigned long int khronos_uintptr_t; -#endif - -#if defined(_WIN64) -typedef signed long long int khronos_ssize_t; -typedef unsigned long long int khronos_usize_t; -#else -typedef signed long int khronos_ssize_t; -typedef unsigned long int khronos_usize_t; -#endif - -#if KHRONOS_SUPPORT_FLOAT -/* - * Float type - */ -typedef float khronos_float_t; -#endif - -#if KHRONOS_SUPPORT_INT64 -/* Time types - * - * These types can be used to represent a time interval in nanoseconds or - * an absolute Unadjusted System Time. Unadjusted System Time is the number - * of nanoseconds since some arbitrary system event (e.g. since the last - * time the system booted). The Unadjusted System Time is an unsigned - * 64 bit value that wraps back to 0 every 584 years. Time intervals - * may be either signed or unsigned. - */ -typedef khronos_uint64_t khronos_utime_nanoseconds_t; -typedef khronos_int64_t khronos_stime_nanoseconds_t; -#endif - -/* - * Dummy value used to pad enum types to 32 bits. - */ -#ifndef KHRONOS_MAX_ENUM -#define KHRONOS_MAX_ENUM 0x7FFFFFFF -#endif - -/* - * Enumerated boolean type - * - * Values other than zero should be considered to be true. Therefore - * comparisons should not be made against KHRONOS_TRUE. - */ -typedef enum { - KHRONOS_FALSE = 0, - KHRONOS_TRUE = 1, - KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = KHRONOS_MAX_ENUM -} khronos_boolean_enum_t; - -#endif /* __khrplatform_h_ */ -typedef unsigned int GLenum; -typedef unsigned char GLboolean; -typedef unsigned int GLbitfield; -typedef void GLvoid; -typedef khronos_int8_t GLbyte; -typedef khronos_uint8_t GLubyte; -typedef khronos_int16_t GLshort; -typedef khronos_uint16_t GLushort; -typedef int GLint; -typedef unsigned int GLuint; -typedef khronos_int32_t GLclampx; -typedef int GLsizei; -typedef khronos_float_t GLfloat; -typedef khronos_float_t GLclampf; -typedef double GLdouble; -typedef double GLclampd; -typedef void *GLeglClientBufferEXT; -typedef void *GLeglImageOES; -typedef char GLchar; -typedef char GLcharARB; -#ifdef __APPLE__ -typedef void *GLhandleARB; -#else -typedef unsigned int GLhandleARB; -#endif -typedef khronos_uint16_t GLhalf; -typedef khronos_uint16_t GLhalfARB; -typedef khronos_int32_t GLfixed; -#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ > 1060) -typedef khronos_intptr_t GLintptr; -#else -typedef khronos_intptr_t GLintptr; -#endif -#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ > 1060) -typedef khronos_intptr_t GLintptrARB; -#else -typedef khronos_intptr_t GLintptrARB; -#endif -#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ > 1060) -typedef khronos_ssize_t GLsizeiptr; -#else -typedef khronos_ssize_t GLsizeiptr; -#endif -#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ > 1060) -typedef khronos_ssize_t GLsizeiptrARB; -#else -typedef khronos_ssize_t GLsizeiptrARB; -#endif -typedef khronos_int64_t GLint64; -typedef khronos_int64_t GLint64EXT; -typedef khronos_uint64_t GLuint64; -typedef khronos_uint64_t GLuint64EXT; -typedef struct __GLsync *GLsync; -struct _cl_context; -struct _cl_event; -typedef void (GLAD_API_PTR *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); -typedef void (GLAD_API_PTR *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); -typedef void (GLAD_API_PTR *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); -typedef void (GLAD_API_PTR *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,void *userParam); -typedef unsigned short GLhalfNV; -typedef GLintptr GLvdpauSurfaceNV; -typedef void (GLAD_API_PTR *GLVULKANPROCNV)(void); - - -#define GL_ES_VERSION_2_0 1 -GLAD_API_CALL int GLAD_GL_ES_VERSION_2_0; - - -typedef void (GLAD_API_PTR *PFNGLACTIVETEXTUREPROC)(GLenum texture); -typedef void (GLAD_API_PTR *PFNGLATTACHSHADERPROC)(GLuint program, GLuint shader); -typedef void (GLAD_API_PTR *PFNGLBINDATTRIBLOCATIONPROC)(GLuint program, GLuint index, const GLchar * name); -typedef void (GLAD_API_PTR *PFNGLBINDBUFFERPROC)(GLenum target, GLuint buffer); -typedef void (GLAD_API_PTR *PFNGLBINDFRAMEBUFFERPROC)(GLenum target, GLuint framebuffer); -typedef void (GLAD_API_PTR *PFNGLBINDRENDERBUFFERPROC)(GLenum target, GLuint renderbuffer); -typedef void (GLAD_API_PTR *PFNGLBINDTEXTUREPROC)(GLenum target, GLuint texture); -typedef void (GLAD_API_PTR *PFNGLBLENDCOLORPROC)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -typedef void (GLAD_API_PTR *PFNGLBLENDEQUATIONPROC)(GLenum mode); -typedef void (GLAD_API_PTR *PFNGLBLENDEQUATIONSEPARATEPROC)(GLenum modeRGB, GLenum modeAlpha); -typedef void (GLAD_API_PTR *PFNGLBLENDFUNCPROC)(GLenum sfactor, GLenum dfactor); -typedef void (GLAD_API_PTR *PFNGLBLENDFUNCSEPARATEPROC)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -typedef void (GLAD_API_PTR *PFNGLBUFFERDATAPROC)(GLenum target, GLsizeiptr size, const void * data, GLenum usage); -typedef void (GLAD_API_PTR *PFNGLBUFFERSUBDATAPROC)(GLenum target, GLintptr offset, GLsizeiptr size, const void * data); -typedef GLenum (GLAD_API_PTR *PFNGLCHECKFRAMEBUFFERSTATUSPROC)(GLenum target); -typedef void (GLAD_API_PTR *PFNGLCLEARPROC)(GLbitfield mask); -typedef void (GLAD_API_PTR *PFNGLCLEARCOLORPROC)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -typedef void (GLAD_API_PTR *PFNGLCLEARDEPTHFPROC)(GLfloat d); -typedef void (GLAD_API_PTR *PFNGLCLEARSTENCILPROC)(GLint s); -typedef void (GLAD_API_PTR *PFNGLCOLORMASKPROC)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -typedef void (GLAD_API_PTR *PFNGLCOMPILESHADERPROC)(GLuint shader); -typedef void (GLAD_API_PTR *PFNGLCOMPRESSEDTEXIMAGE2DPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data); -typedef void (GLAD_API_PTR *PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data); -typedef void (GLAD_API_PTR *PFNGLCOPYTEXIMAGE2DPROC)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -typedef void (GLAD_API_PTR *PFNGLCOPYTEXSUBIMAGE2DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef GLuint (GLAD_API_PTR *PFNGLCREATEPROGRAMPROC)(void); -typedef GLuint (GLAD_API_PTR *PFNGLCREATESHADERPROC)(GLenum type); -typedef void (GLAD_API_PTR *PFNGLCULLFACEPROC)(GLenum mode); -typedef void (GLAD_API_PTR *PFNGLDELETEBUFFERSPROC)(GLsizei n, const GLuint * buffers); -typedef void (GLAD_API_PTR *PFNGLDELETEFRAMEBUFFERSPROC)(GLsizei n, const GLuint * framebuffers); -typedef void (GLAD_API_PTR *PFNGLDELETEPROGRAMPROC)(GLuint program); -typedef void (GLAD_API_PTR *PFNGLDELETERENDERBUFFERSPROC)(GLsizei n, const GLuint * renderbuffers); -typedef void (GLAD_API_PTR *PFNGLDELETESHADERPROC)(GLuint shader); -typedef void (GLAD_API_PTR *PFNGLDELETETEXTURESPROC)(GLsizei n, const GLuint * textures); -typedef void (GLAD_API_PTR *PFNGLDEPTHFUNCPROC)(GLenum func); -typedef void (GLAD_API_PTR *PFNGLDEPTHMASKPROC)(GLboolean flag); -typedef void (GLAD_API_PTR *PFNGLDEPTHRANGEFPROC)(GLfloat n, GLfloat f); -typedef void (GLAD_API_PTR *PFNGLDETACHSHADERPROC)(GLuint program, GLuint shader); -typedef void (GLAD_API_PTR *PFNGLDISABLEPROC)(GLenum cap); -typedef void (GLAD_API_PTR *PFNGLDISABLEVERTEXATTRIBARRAYPROC)(GLuint index); -typedef void (GLAD_API_PTR *PFNGLDRAWARRAYSPROC)(GLenum mode, GLint first, GLsizei count); -typedef void (GLAD_API_PTR *PFNGLDRAWELEMENTSPROC)(GLenum mode, GLsizei count, GLenum type, const void * indices); -typedef void (GLAD_API_PTR *PFNGLENABLEPROC)(GLenum cap); -typedef void (GLAD_API_PTR *PFNGLENABLEVERTEXATTRIBARRAYPROC)(GLuint index); -typedef void (GLAD_API_PTR *PFNGLFINISHPROC)(void); -typedef void (GLAD_API_PTR *PFNGLFLUSHPROC)(void); -typedef void (GLAD_API_PTR *PFNGLFRAMEBUFFERRENDERBUFFERPROC)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -typedef void (GLAD_API_PTR *PFNGLFRAMEBUFFERTEXTURE2DPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (GLAD_API_PTR *PFNGLFRONTFACEPROC)(GLenum mode); -typedef void (GLAD_API_PTR *PFNGLGENBUFFERSPROC)(GLsizei n, GLuint * buffers); -typedef void (GLAD_API_PTR *PFNGLGENFRAMEBUFFERSPROC)(GLsizei n, GLuint * framebuffers); -typedef void (GLAD_API_PTR *PFNGLGENRENDERBUFFERSPROC)(GLsizei n, GLuint * renderbuffers); -typedef void (GLAD_API_PTR *PFNGLGENTEXTURESPROC)(GLsizei n, GLuint * textures); -typedef void (GLAD_API_PTR *PFNGLGENERATEMIPMAPPROC)(GLenum target); -typedef void (GLAD_API_PTR *PFNGLGETACTIVEATTRIBPROC)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name); -typedef void (GLAD_API_PTR *PFNGLGETACTIVEUNIFORMPROC)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name); -typedef void (GLAD_API_PTR *PFNGLGETATTACHEDSHADERSPROC)(GLuint program, GLsizei maxCount, GLsizei * count, GLuint * shaders); -typedef GLint (GLAD_API_PTR *PFNGLGETATTRIBLOCATIONPROC)(GLuint program, const GLchar * name); -typedef void (GLAD_API_PTR *PFNGLGETBOOLEANVPROC)(GLenum pname, GLboolean * data); -typedef void (GLAD_API_PTR *PFNGLGETBUFFERPARAMETERIVPROC)(GLenum target, GLenum pname, GLint * params); -typedef GLenum (GLAD_API_PTR *PFNGLGETERRORPROC)(void); -typedef void (GLAD_API_PTR *PFNGLGETFLOATVPROC)(GLenum pname, GLfloat * data); -typedef void (GLAD_API_PTR *PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)(GLenum target, GLenum attachment, GLenum pname, GLint * params); -typedef void (GLAD_API_PTR *PFNGLGETINTEGERVPROC)(GLenum pname, GLint * data); -typedef void (GLAD_API_PTR *PFNGLGETPROGRAMINFOLOGPROC)(GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog); -typedef void (GLAD_API_PTR *PFNGLGETPROGRAMIVPROC)(GLuint program, GLenum pname, GLint * params); -typedef void (GLAD_API_PTR *PFNGLGETRENDERBUFFERPARAMETERIVPROC)(GLenum target, GLenum pname, GLint * params); -typedef void (GLAD_API_PTR *PFNGLGETSHADERINFOLOGPROC)(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog); -typedef void (GLAD_API_PTR *PFNGLGETSHADERPRECISIONFORMATPROC)(GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision); -typedef void (GLAD_API_PTR *PFNGLGETSHADERSOURCEPROC)(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source); -typedef void (GLAD_API_PTR *PFNGLGETSHADERIVPROC)(GLuint shader, GLenum pname, GLint * params); -typedef const GLubyte * (GLAD_API_PTR *PFNGLGETSTRINGPROC)(GLenum name); -typedef void (GLAD_API_PTR *PFNGLGETTEXPARAMETERFVPROC)(GLenum target, GLenum pname, GLfloat * params); -typedef void (GLAD_API_PTR *PFNGLGETTEXPARAMETERIVPROC)(GLenum target, GLenum pname, GLint * params); -typedef GLint (GLAD_API_PTR *PFNGLGETUNIFORMLOCATIONPROC)(GLuint program, const GLchar * name); -typedef void (GLAD_API_PTR *PFNGLGETUNIFORMFVPROC)(GLuint program, GLint location, GLfloat * params); -typedef void (GLAD_API_PTR *PFNGLGETUNIFORMIVPROC)(GLuint program, GLint location, GLint * params); -typedef void (GLAD_API_PTR *PFNGLGETVERTEXATTRIBPOINTERVPROC)(GLuint index, GLenum pname, void ** pointer); -typedef void (GLAD_API_PTR *PFNGLGETVERTEXATTRIBFVPROC)(GLuint index, GLenum pname, GLfloat * params); -typedef void (GLAD_API_PTR *PFNGLGETVERTEXATTRIBIVPROC)(GLuint index, GLenum pname, GLint * params); -typedef void (GLAD_API_PTR *PFNGLHINTPROC)(GLenum target, GLenum mode); -typedef GLboolean (GLAD_API_PTR *PFNGLISBUFFERPROC)(GLuint buffer); -typedef GLboolean (GLAD_API_PTR *PFNGLISENABLEDPROC)(GLenum cap); -typedef GLboolean (GLAD_API_PTR *PFNGLISFRAMEBUFFERPROC)(GLuint framebuffer); -typedef GLboolean (GLAD_API_PTR *PFNGLISPROGRAMPROC)(GLuint program); -typedef GLboolean (GLAD_API_PTR *PFNGLISRENDERBUFFERPROC)(GLuint renderbuffer); -typedef GLboolean (GLAD_API_PTR *PFNGLISSHADERPROC)(GLuint shader); -typedef GLboolean (GLAD_API_PTR *PFNGLISTEXTUREPROC)(GLuint texture); -typedef void (GLAD_API_PTR *PFNGLLINEWIDTHPROC)(GLfloat width); -typedef void (GLAD_API_PTR *PFNGLLINKPROGRAMPROC)(GLuint program); -typedef void (GLAD_API_PTR *PFNGLPIXELSTOREIPROC)(GLenum pname, GLint param); -typedef void (GLAD_API_PTR *PFNGLPOLYGONOFFSETPROC)(GLfloat factor, GLfloat units); -typedef void (GLAD_API_PTR *PFNGLREADPIXELSPROC)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void * pixels); -typedef void (GLAD_API_PTR *PFNGLRELEASESHADERCOMPILERPROC)(void); -typedef void (GLAD_API_PTR *PFNGLRENDERBUFFERSTORAGEPROC)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GLAD_API_PTR *PFNGLSAMPLECOVERAGEPROC)(GLfloat value, GLboolean invert); -typedef void (GLAD_API_PTR *PFNGLSCISSORPROC)(GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GLAD_API_PTR *PFNGLSHADERBINARYPROC)(GLsizei count, const GLuint * shaders, GLenum binaryFormat, const void * binary, GLsizei length); -typedef void (GLAD_API_PTR *PFNGLSHADERSOURCEPROC)(GLuint shader, GLsizei count, const GLchar *const* string, const GLint * length); -typedef void (GLAD_API_PTR *PFNGLSTENCILFUNCPROC)(GLenum func, GLint ref, GLuint mask); -typedef void (GLAD_API_PTR *PFNGLSTENCILFUNCSEPARATEPROC)(GLenum face, GLenum func, GLint ref, GLuint mask); -typedef void (GLAD_API_PTR *PFNGLSTENCILMASKPROC)(GLuint mask); -typedef void (GLAD_API_PTR *PFNGLSTENCILMASKSEPARATEPROC)(GLenum face, GLuint mask); -typedef void (GLAD_API_PTR *PFNGLSTENCILOPPROC)(GLenum fail, GLenum zfail, GLenum zpass); -typedef void (GLAD_API_PTR *PFNGLSTENCILOPSEPARATEPROC)(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); -typedef void (GLAD_API_PTR *PFNGLTEXIMAGE2DPROC)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels); -typedef void (GLAD_API_PTR *PFNGLTEXPARAMETERFPROC)(GLenum target, GLenum pname, GLfloat param); -typedef void (GLAD_API_PTR *PFNGLTEXPARAMETERFVPROC)(GLenum target, GLenum pname, const GLfloat * params); -typedef void (GLAD_API_PTR *PFNGLTEXPARAMETERIPROC)(GLenum target, GLenum pname, GLint param); -typedef void (GLAD_API_PTR *PFNGLTEXPARAMETERIVPROC)(GLenum target, GLenum pname, const GLint * params); -typedef void (GLAD_API_PTR *PFNGLTEXSUBIMAGE2DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels); -typedef void (GLAD_API_PTR *PFNGLUNIFORM1FPROC)(GLint location, GLfloat v0); -typedef void (GLAD_API_PTR *PFNGLUNIFORM1FVPROC)(GLint location, GLsizei count, const GLfloat * value); -typedef void (GLAD_API_PTR *PFNGLUNIFORM1IPROC)(GLint location, GLint v0); -typedef void (GLAD_API_PTR *PFNGLUNIFORM1IVPROC)(GLint location, GLsizei count, const GLint * value); -typedef void (GLAD_API_PTR *PFNGLUNIFORM2FPROC)(GLint location, GLfloat v0, GLfloat v1); -typedef void (GLAD_API_PTR *PFNGLUNIFORM2FVPROC)(GLint location, GLsizei count, const GLfloat * value); -typedef void (GLAD_API_PTR *PFNGLUNIFORM2IPROC)(GLint location, GLint v0, GLint v1); -typedef void (GLAD_API_PTR *PFNGLUNIFORM2IVPROC)(GLint location, GLsizei count, const GLint * value); -typedef void (GLAD_API_PTR *PFNGLUNIFORM3FPROC)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -typedef void (GLAD_API_PTR *PFNGLUNIFORM3FVPROC)(GLint location, GLsizei count, const GLfloat * value); -typedef void (GLAD_API_PTR *PFNGLUNIFORM3IPROC)(GLint location, GLint v0, GLint v1, GLint v2); -typedef void (GLAD_API_PTR *PFNGLUNIFORM3IVPROC)(GLint location, GLsizei count, const GLint * value); -typedef void (GLAD_API_PTR *PFNGLUNIFORM4FPROC)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -typedef void (GLAD_API_PTR *PFNGLUNIFORM4FVPROC)(GLint location, GLsizei count, const GLfloat * value); -typedef void (GLAD_API_PTR *PFNGLUNIFORM4IPROC)(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -typedef void (GLAD_API_PTR *PFNGLUNIFORM4IVPROC)(GLint location, GLsizei count, const GLint * value); -typedef void (GLAD_API_PTR *PFNGLUNIFORMMATRIX2FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -typedef void (GLAD_API_PTR *PFNGLUNIFORMMATRIX3FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -typedef void (GLAD_API_PTR *PFNGLUNIFORMMATRIX4FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -typedef void (GLAD_API_PTR *PFNGLUSEPROGRAMPROC)(GLuint program); -typedef void (GLAD_API_PTR *PFNGLVALIDATEPROGRAMPROC)(GLuint program); -typedef void (GLAD_API_PTR *PFNGLVERTEXATTRIB1FPROC)(GLuint index, GLfloat x); -typedef void (GLAD_API_PTR *PFNGLVERTEXATTRIB1FVPROC)(GLuint index, const GLfloat * v); -typedef void (GLAD_API_PTR *PFNGLVERTEXATTRIB2FPROC)(GLuint index, GLfloat x, GLfloat y); -typedef void (GLAD_API_PTR *PFNGLVERTEXATTRIB2FVPROC)(GLuint index, const GLfloat * v); -typedef void (GLAD_API_PTR *PFNGLVERTEXATTRIB3FPROC)(GLuint index, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAD_API_PTR *PFNGLVERTEXATTRIB3FVPROC)(GLuint index, const GLfloat * v); -typedef void (GLAD_API_PTR *PFNGLVERTEXATTRIB4FPROC)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (GLAD_API_PTR *PFNGLVERTEXATTRIB4FVPROC)(GLuint index, const GLfloat * v); -typedef void (GLAD_API_PTR *PFNGLVERTEXATTRIBPOINTERPROC)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void * pointer); -typedef void (GLAD_API_PTR *PFNGLVIEWPORTPROC)(GLint x, GLint y, GLsizei width, GLsizei height); - -GLAD_API_CALL PFNGLACTIVETEXTUREPROC glad_glActiveTexture; -#define glActiveTexture glad_glActiveTexture -GLAD_API_CALL PFNGLATTACHSHADERPROC glad_glAttachShader; -#define glAttachShader glad_glAttachShader -GLAD_API_CALL PFNGLBINDATTRIBLOCATIONPROC glad_glBindAttribLocation; -#define glBindAttribLocation glad_glBindAttribLocation -GLAD_API_CALL PFNGLBINDBUFFERPROC glad_glBindBuffer; -#define glBindBuffer glad_glBindBuffer -GLAD_API_CALL PFNGLBINDFRAMEBUFFERPROC glad_glBindFramebuffer; -#define glBindFramebuffer glad_glBindFramebuffer -GLAD_API_CALL PFNGLBINDRENDERBUFFERPROC glad_glBindRenderbuffer; -#define glBindRenderbuffer glad_glBindRenderbuffer -GLAD_API_CALL PFNGLBINDTEXTUREPROC glad_glBindTexture; -#define glBindTexture glad_glBindTexture -GLAD_API_CALL PFNGLBLENDCOLORPROC glad_glBlendColor; -#define glBlendColor glad_glBlendColor -GLAD_API_CALL PFNGLBLENDEQUATIONPROC glad_glBlendEquation; -#define glBlendEquation glad_glBlendEquation -GLAD_API_CALL PFNGLBLENDEQUATIONSEPARATEPROC glad_glBlendEquationSeparate; -#define glBlendEquationSeparate glad_glBlendEquationSeparate -GLAD_API_CALL PFNGLBLENDFUNCPROC glad_glBlendFunc; -#define glBlendFunc glad_glBlendFunc -GLAD_API_CALL PFNGLBLENDFUNCSEPARATEPROC glad_glBlendFuncSeparate; -#define glBlendFuncSeparate glad_glBlendFuncSeparate -GLAD_API_CALL PFNGLBUFFERDATAPROC glad_glBufferData; -#define glBufferData glad_glBufferData -GLAD_API_CALL PFNGLBUFFERSUBDATAPROC glad_glBufferSubData; -#define glBufferSubData glad_glBufferSubData -GLAD_API_CALL PFNGLCHECKFRAMEBUFFERSTATUSPROC glad_glCheckFramebufferStatus; -#define glCheckFramebufferStatus glad_glCheckFramebufferStatus -GLAD_API_CALL PFNGLCLEARPROC glad_glClear; -#define glClear glad_glClear -GLAD_API_CALL PFNGLCLEARCOLORPROC glad_glClearColor; -#define glClearColor glad_glClearColor -GLAD_API_CALL PFNGLCLEARDEPTHFPROC glad_glClearDepthf; -#define glClearDepthf glad_glClearDepthf -GLAD_API_CALL PFNGLCLEARSTENCILPROC glad_glClearStencil; -#define glClearStencil glad_glClearStencil -GLAD_API_CALL PFNGLCOLORMASKPROC glad_glColorMask; -#define glColorMask glad_glColorMask -GLAD_API_CALL PFNGLCOMPILESHADERPROC glad_glCompileShader; -#define glCompileShader glad_glCompileShader -GLAD_API_CALL PFNGLCOMPRESSEDTEXIMAGE2DPROC glad_glCompressedTexImage2D; -#define glCompressedTexImage2D glad_glCompressedTexImage2D -GLAD_API_CALL PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glad_glCompressedTexSubImage2D; -#define glCompressedTexSubImage2D glad_glCompressedTexSubImage2D -GLAD_API_CALL PFNGLCOPYTEXIMAGE2DPROC glad_glCopyTexImage2D; -#define glCopyTexImage2D glad_glCopyTexImage2D -GLAD_API_CALL PFNGLCOPYTEXSUBIMAGE2DPROC glad_glCopyTexSubImage2D; -#define glCopyTexSubImage2D glad_glCopyTexSubImage2D -GLAD_API_CALL PFNGLCREATEPROGRAMPROC glad_glCreateProgram; -#define glCreateProgram glad_glCreateProgram -GLAD_API_CALL PFNGLCREATESHADERPROC glad_glCreateShader; -#define glCreateShader glad_glCreateShader -GLAD_API_CALL PFNGLCULLFACEPROC glad_glCullFace; -#define glCullFace glad_glCullFace -GLAD_API_CALL PFNGLDELETEBUFFERSPROC glad_glDeleteBuffers; -#define glDeleteBuffers glad_glDeleteBuffers -GLAD_API_CALL PFNGLDELETEFRAMEBUFFERSPROC glad_glDeleteFramebuffers; -#define glDeleteFramebuffers glad_glDeleteFramebuffers -GLAD_API_CALL PFNGLDELETEPROGRAMPROC glad_glDeleteProgram; -#define glDeleteProgram glad_glDeleteProgram -GLAD_API_CALL PFNGLDELETERENDERBUFFERSPROC glad_glDeleteRenderbuffers; -#define glDeleteRenderbuffers glad_glDeleteRenderbuffers -GLAD_API_CALL PFNGLDELETESHADERPROC glad_glDeleteShader; -#define glDeleteShader glad_glDeleteShader -GLAD_API_CALL PFNGLDELETETEXTURESPROC glad_glDeleteTextures; -#define glDeleteTextures glad_glDeleteTextures -GLAD_API_CALL PFNGLDEPTHFUNCPROC glad_glDepthFunc; -#define glDepthFunc glad_glDepthFunc -GLAD_API_CALL PFNGLDEPTHMASKPROC glad_glDepthMask; -#define glDepthMask glad_glDepthMask -GLAD_API_CALL PFNGLDEPTHRANGEFPROC glad_glDepthRangef; -#define glDepthRangef glad_glDepthRangef -GLAD_API_CALL PFNGLDETACHSHADERPROC glad_glDetachShader; -#define glDetachShader glad_glDetachShader -GLAD_API_CALL PFNGLDISABLEPROC glad_glDisable; -#define glDisable glad_glDisable -GLAD_API_CALL PFNGLDISABLEVERTEXATTRIBARRAYPROC glad_glDisableVertexAttribArray; -#define glDisableVertexAttribArray glad_glDisableVertexAttribArray -GLAD_API_CALL PFNGLDRAWARRAYSPROC glad_glDrawArrays; -#define glDrawArrays glad_glDrawArrays -GLAD_API_CALL PFNGLDRAWELEMENTSPROC glad_glDrawElements; -#define glDrawElements glad_glDrawElements -GLAD_API_CALL PFNGLENABLEPROC glad_glEnable; -#define glEnable glad_glEnable -GLAD_API_CALL PFNGLENABLEVERTEXATTRIBARRAYPROC glad_glEnableVertexAttribArray; -#define glEnableVertexAttribArray glad_glEnableVertexAttribArray -GLAD_API_CALL PFNGLFINISHPROC glad_glFinish; -#define glFinish glad_glFinish -GLAD_API_CALL PFNGLFLUSHPROC glad_glFlush; -#define glFlush glad_glFlush -GLAD_API_CALL PFNGLFRAMEBUFFERRENDERBUFFERPROC glad_glFramebufferRenderbuffer; -#define glFramebufferRenderbuffer glad_glFramebufferRenderbuffer -GLAD_API_CALL PFNGLFRAMEBUFFERTEXTURE2DPROC glad_glFramebufferTexture2D; -#define glFramebufferTexture2D glad_glFramebufferTexture2D -GLAD_API_CALL PFNGLFRONTFACEPROC glad_glFrontFace; -#define glFrontFace glad_glFrontFace -GLAD_API_CALL PFNGLGENBUFFERSPROC glad_glGenBuffers; -#define glGenBuffers glad_glGenBuffers -GLAD_API_CALL PFNGLGENFRAMEBUFFERSPROC glad_glGenFramebuffers; -#define glGenFramebuffers glad_glGenFramebuffers -GLAD_API_CALL PFNGLGENRENDERBUFFERSPROC glad_glGenRenderbuffers; -#define glGenRenderbuffers glad_glGenRenderbuffers -GLAD_API_CALL PFNGLGENTEXTURESPROC glad_glGenTextures; -#define glGenTextures glad_glGenTextures -GLAD_API_CALL PFNGLGENERATEMIPMAPPROC glad_glGenerateMipmap; -#define glGenerateMipmap glad_glGenerateMipmap -GLAD_API_CALL PFNGLGETACTIVEATTRIBPROC glad_glGetActiveAttrib; -#define glGetActiveAttrib glad_glGetActiveAttrib -GLAD_API_CALL PFNGLGETACTIVEUNIFORMPROC glad_glGetActiveUniform; -#define glGetActiveUniform glad_glGetActiveUniform -GLAD_API_CALL PFNGLGETATTACHEDSHADERSPROC glad_glGetAttachedShaders; -#define glGetAttachedShaders glad_glGetAttachedShaders -GLAD_API_CALL PFNGLGETATTRIBLOCATIONPROC glad_glGetAttribLocation; -#define glGetAttribLocation glad_glGetAttribLocation -GLAD_API_CALL PFNGLGETBOOLEANVPROC glad_glGetBooleanv; -#define glGetBooleanv glad_glGetBooleanv -GLAD_API_CALL PFNGLGETBUFFERPARAMETERIVPROC glad_glGetBufferParameteriv; -#define glGetBufferParameteriv glad_glGetBufferParameteriv -GLAD_API_CALL PFNGLGETERRORPROC glad_glGetError; -#define glGetError glad_glGetError -GLAD_API_CALL PFNGLGETFLOATVPROC glad_glGetFloatv; -#define glGetFloatv glad_glGetFloatv -GLAD_API_CALL PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glad_glGetFramebufferAttachmentParameteriv; -#define glGetFramebufferAttachmentParameteriv glad_glGetFramebufferAttachmentParameteriv -GLAD_API_CALL PFNGLGETINTEGERVPROC glad_glGetIntegerv; -#define glGetIntegerv glad_glGetIntegerv -GLAD_API_CALL PFNGLGETPROGRAMINFOLOGPROC glad_glGetProgramInfoLog; -#define glGetProgramInfoLog glad_glGetProgramInfoLog -GLAD_API_CALL PFNGLGETPROGRAMIVPROC glad_glGetProgramiv; -#define glGetProgramiv glad_glGetProgramiv -GLAD_API_CALL PFNGLGETRENDERBUFFERPARAMETERIVPROC glad_glGetRenderbufferParameteriv; -#define glGetRenderbufferParameteriv glad_glGetRenderbufferParameteriv -GLAD_API_CALL PFNGLGETSHADERINFOLOGPROC glad_glGetShaderInfoLog; -#define glGetShaderInfoLog glad_glGetShaderInfoLog -GLAD_API_CALL PFNGLGETSHADERPRECISIONFORMATPROC glad_glGetShaderPrecisionFormat; -#define glGetShaderPrecisionFormat glad_glGetShaderPrecisionFormat -GLAD_API_CALL PFNGLGETSHADERSOURCEPROC glad_glGetShaderSource; -#define glGetShaderSource glad_glGetShaderSource -GLAD_API_CALL PFNGLGETSHADERIVPROC glad_glGetShaderiv; -#define glGetShaderiv glad_glGetShaderiv -GLAD_API_CALL PFNGLGETSTRINGPROC glad_glGetString; -#define glGetString glad_glGetString -GLAD_API_CALL PFNGLGETTEXPARAMETERFVPROC glad_glGetTexParameterfv; -#define glGetTexParameterfv glad_glGetTexParameterfv -GLAD_API_CALL PFNGLGETTEXPARAMETERIVPROC glad_glGetTexParameteriv; -#define glGetTexParameteriv glad_glGetTexParameteriv -GLAD_API_CALL PFNGLGETUNIFORMLOCATIONPROC glad_glGetUniformLocation; -#define glGetUniformLocation glad_glGetUniformLocation -GLAD_API_CALL PFNGLGETUNIFORMFVPROC glad_glGetUniformfv; -#define glGetUniformfv glad_glGetUniformfv -GLAD_API_CALL PFNGLGETUNIFORMIVPROC glad_glGetUniformiv; -#define glGetUniformiv glad_glGetUniformiv -GLAD_API_CALL PFNGLGETVERTEXATTRIBPOINTERVPROC glad_glGetVertexAttribPointerv; -#define glGetVertexAttribPointerv glad_glGetVertexAttribPointerv -GLAD_API_CALL PFNGLGETVERTEXATTRIBFVPROC glad_glGetVertexAttribfv; -#define glGetVertexAttribfv glad_glGetVertexAttribfv -GLAD_API_CALL PFNGLGETVERTEXATTRIBIVPROC glad_glGetVertexAttribiv; -#define glGetVertexAttribiv glad_glGetVertexAttribiv -GLAD_API_CALL PFNGLHINTPROC glad_glHint; -#define glHint glad_glHint -GLAD_API_CALL PFNGLISBUFFERPROC glad_glIsBuffer; -#define glIsBuffer glad_glIsBuffer -GLAD_API_CALL PFNGLISENABLEDPROC glad_glIsEnabled; -#define glIsEnabled glad_glIsEnabled -GLAD_API_CALL PFNGLISFRAMEBUFFERPROC glad_glIsFramebuffer; -#define glIsFramebuffer glad_glIsFramebuffer -GLAD_API_CALL PFNGLISPROGRAMPROC glad_glIsProgram; -#define glIsProgram glad_glIsProgram -GLAD_API_CALL PFNGLISRENDERBUFFERPROC glad_glIsRenderbuffer; -#define glIsRenderbuffer glad_glIsRenderbuffer -GLAD_API_CALL PFNGLISSHADERPROC glad_glIsShader; -#define glIsShader glad_glIsShader -GLAD_API_CALL PFNGLISTEXTUREPROC glad_glIsTexture; -#define glIsTexture glad_glIsTexture -GLAD_API_CALL PFNGLLINEWIDTHPROC glad_glLineWidth; -#define glLineWidth glad_glLineWidth -GLAD_API_CALL PFNGLLINKPROGRAMPROC glad_glLinkProgram; -#define glLinkProgram glad_glLinkProgram -GLAD_API_CALL PFNGLPIXELSTOREIPROC glad_glPixelStorei; -#define glPixelStorei glad_glPixelStorei -GLAD_API_CALL PFNGLPOLYGONOFFSETPROC glad_glPolygonOffset; -#define glPolygonOffset glad_glPolygonOffset -GLAD_API_CALL PFNGLREADPIXELSPROC glad_glReadPixels; -#define glReadPixels glad_glReadPixels -GLAD_API_CALL PFNGLRELEASESHADERCOMPILERPROC glad_glReleaseShaderCompiler; -#define glReleaseShaderCompiler glad_glReleaseShaderCompiler -GLAD_API_CALL PFNGLRENDERBUFFERSTORAGEPROC glad_glRenderbufferStorage; -#define glRenderbufferStorage glad_glRenderbufferStorage -GLAD_API_CALL PFNGLSAMPLECOVERAGEPROC glad_glSampleCoverage; -#define glSampleCoverage glad_glSampleCoverage -GLAD_API_CALL PFNGLSCISSORPROC glad_glScissor; -#define glScissor glad_glScissor -GLAD_API_CALL PFNGLSHADERBINARYPROC glad_glShaderBinary; -#define glShaderBinary glad_glShaderBinary -GLAD_API_CALL PFNGLSHADERSOURCEPROC glad_glShaderSource; -#define glShaderSource glad_glShaderSource -GLAD_API_CALL PFNGLSTENCILFUNCPROC glad_glStencilFunc; -#define glStencilFunc glad_glStencilFunc -GLAD_API_CALL PFNGLSTENCILFUNCSEPARATEPROC glad_glStencilFuncSeparate; -#define glStencilFuncSeparate glad_glStencilFuncSeparate -GLAD_API_CALL PFNGLSTENCILMASKPROC glad_glStencilMask; -#define glStencilMask glad_glStencilMask -GLAD_API_CALL PFNGLSTENCILMASKSEPARATEPROC glad_glStencilMaskSeparate; -#define glStencilMaskSeparate glad_glStencilMaskSeparate -GLAD_API_CALL PFNGLSTENCILOPPROC glad_glStencilOp; -#define glStencilOp glad_glStencilOp -GLAD_API_CALL PFNGLSTENCILOPSEPARATEPROC glad_glStencilOpSeparate; -#define glStencilOpSeparate glad_glStencilOpSeparate -GLAD_API_CALL PFNGLTEXIMAGE2DPROC glad_glTexImage2D; -#define glTexImage2D glad_glTexImage2D -GLAD_API_CALL PFNGLTEXPARAMETERFPROC glad_glTexParameterf; -#define glTexParameterf glad_glTexParameterf -GLAD_API_CALL PFNGLTEXPARAMETERFVPROC glad_glTexParameterfv; -#define glTexParameterfv glad_glTexParameterfv -GLAD_API_CALL PFNGLTEXPARAMETERIPROC glad_glTexParameteri; -#define glTexParameteri glad_glTexParameteri -GLAD_API_CALL PFNGLTEXPARAMETERIVPROC glad_glTexParameteriv; -#define glTexParameteriv glad_glTexParameteriv -GLAD_API_CALL PFNGLTEXSUBIMAGE2DPROC glad_glTexSubImage2D; -#define glTexSubImage2D glad_glTexSubImage2D -GLAD_API_CALL PFNGLUNIFORM1FPROC glad_glUniform1f; -#define glUniform1f glad_glUniform1f -GLAD_API_CALL PFNGLUNIFORM1FVPROC glad_glUniform1fv; -#define glUniform1fv glad_glUniform1fv -GLAD_API_CALL PFNGLUNIFORM1IPROC glad_glUniform1i; -#define glUniform1i glad_glUniform1i -GLAD_API_CALL PFNGLUNIFORM1IVPROC glad_glUniform1iv; -#define glUniform1iv glad_glUniform1iv -GLAD_API_CALL PFNGLUNIFORM2FPROC glad_glUniform2f; -#define glUniform2f glad_glUniform2f -GLAD_API_CALL PFNGLUNIFORM2FVPROC glad_glUniform2fv; -#define glUniform2fv glad_glUniform2fv -GLAD_API_CALL PFNGLUNIFORM2IPROC glad_glUniform2i; -#define glUniform2i glad_glUniform2i -GLAD_API_CALL PFNGLUNIFORM2IVPROC glad_glUniform2iv; -#define glUniform2iv glad_glUniform2iv -GLAD_API_CALL PFNGLUNIFORM3FPROC glad_glUniform3f; -#define glUniform3f glad_glUniform3f -GLAD_API_CALL PFNGLUNIFORM3FVPROC glad_glUniform3fv; -#define glUniform3fv glad_glUniform3fv -GLAD_API_CALL PFNGLUNIFORM3IPROC glad_glUniform3i; -#define glUniform3i glad_glUniform3i -GLAD_API_CALL PFNGLUNIFORM3IVPROC glad_glUniform3iv; -#define glUniform3iv glad_glUniform3iv -GLAD_API_CALL PFNGLUNIFORM4FPROC glad_glUniform4f; -#define glUniform4f glad_glUniform4f -GLAD_API_CALL PFNGLUNIFORM4FVPROC glad_glUniform4fv; -#define glUniform4fv glad_glUniform4fv -GLAD_API_CALL PFNGLUNIFORM4IPROC glad_glUniform4i; -#define glUniform4i glad_glUniform4i -GLAD_API_CALL PFNGLUNIFORM4IVPROC glad_glUniform4iv; -#define glUniform4iv glad_glUniform4iv -GLAD_API_CALL PFNGLUNIFORMMATRIX2FVPROC glad_glUniformMatrix2fv; -#define glUniformMatrix2fv glad_glUniformMatrix2fv -GLAD_API_CALL PFNGLUNIFORMMATRIX3FVPROC glad_glUniformMatrix3fv; -#define glUniformMatrix3fv glad_glUniformMatrix3fv -GLAD_API_CALL PFNGLUNIFORMMATRIX4FVPROC glad_glUniformMatrix4fv; -#define glUniformMatrix4fv glad_glUniformMatrix4fv -GLAD_API_CALL PFNGLUSEPROGRAMPROC glad_glUseProgram; -#define glUseProgram glad_glUseProgram -GLAD_API_CALL PFNGLVALIDATEPROGRAMPROC glad_glValidateProgram; -#define glValidateProgram glad_glValidateProgram -GLAD_API_CALL PFNGLVERTEXATTRIB1FPROC glad_glVertexAttrib1f; -#define glVertexAttrib1f glad_glVertexAttrib1f -GLAD_API_CALL PFNGLVERTEXATTRIB1FVPROC glad_glVertexAttrib1fv; -#define glVertexAttrib1fv glad_glVertexAttrib1fv -GLAD_API_CALL PFNGLVERTEXATTRIB2FPROC glad_glVertexAttrib2f; -#define glVertexAttrib2f glad_glVertexAttrib2f -GLAD_API_CALL PFNGLVERTEXATTRIB2FVPROC glad_glVertexAttrib2fv; -#define glVertexAttrib2fv glad_glVertexAttrib2fv -GLAD_API_CALL PFNGLVERTEXATTRIB3FPROC glad_glVertexAttrib3f; -#define glVertexAttrib3f glad_glVertexAttrib3f -GLAD_API_CALL PFNGLVERTEXATTRIB3FVPROC glad_glVertexAttrib3fv; -#define glVertexAttrib3fv glad_glVertexAttrib3fv -GLAD_API_CALL PFNGLVERTEXATTRIB4FPROC glad_glVertexAttrib4f; -#define glVertexAttrib4f glad_glVertexAttrib4f -GLAD_API_CALL PFNGLVERTEXATTRIB4FVPROC glad_glVertexAttrib4fv; -#define glVertexAttrib4fv glad_glVertexAttrib4fv -GLAD_API_CALL PFNGLVERTEXATTRIBPOINTERPROC glad_glVertexAttribPointer; -#define glVertexAttribPointer glad_glVertexAttribPointer -GLAD_API_CALL PFNGLVIEWPORTPROC glad_glViewport; -#define glViewport glad_glViewport - - - - - -GLAD_API_CALL int gladLoadGLES2UserPtr( GLADuserptrloadfunc load, void *userptr); -GLAD_API_CALL int gladLoadGLES2( GLADloadfunc load); - - - -#ifdef __cplusplus -} -#endif -#endif - -/* Source */ -#ifdef GLAD_GLES2_IMPLEMENTATION -/** - * SPDX-License-Identifier: (WTFPL OR CC0-1.0) AND Apache-2.0 - */ -#include -#include -#include - -#ifndef GLAD_IMPL_UTIL_C_ -#define GLAD_IMPL_UTIL_C_ - -#ifdef _MSC_VER -#define GLAD_IMPL_UTIL_SSCANF sscanf_s -#else -#define GLAD_IMPL_UTIL_SSCANF sscanf -#endif - -#endif /* GLAD_IMPL_UTIL_C_ */ - -#ifdef __cplusplus -extern "C" { -#endif - - - -int GLAD_GL_ES_VERSION_2_0 = 0; - - - -PFNGLACTIVETEXTUREPROC glad_glActiveTexture = NULL; -PFNGLATTACHSHADERPROC glad_glAttachShader = NULL; -PFNGLBINDATTRIBLOCATIONPROC glad_glBindAttribLocation = NULL; -PFNGLBINDBUFFERPROC glad_glBindBuffer = NULL; -PFNGLBINDFRAMEBUFFERPROC glad_glBindFramebuffer = NULL; -PFNGLBINDRENDERBUFFERPROC glad_glBindRenderbuffer = NULL; -PFNGLBINDTEXTUREPROC glad_glBindTexture = NULL; -PFNGLBLENDCOLORPROC glad_glBlendColor = NULL; -PFNGLBLENDEQUATIONPROC glad_glBlendEquation = NULL; -PFNGLBLENDEQUATIONSEPARATEPROC glad_glBlendEquationSeparate = NULL; -PFNGLBLENDFUNCPROC glad_glBlendFunc = NULL; -PFNGLBLENDFUNCSEPARATEPROC glad_glBlendFuncSeparate = NULL; -PFNGLBUFFERDATAPROC glad_glBufferData = NULL; -PFNGLBUFFERSUBDATAPROC glad_glBufferSubData = NULL; -PFNGLCHECKFRAMEBUFFERSTATUSPROC glad_glCheckFramebufferStatus = NULL; -PFNGLCLEARPROC glad_glClear = NULL; -PFNGLCLEARCOLORPROC glad_glClearColor = NULL; -PFNGLCLEARDEPTHFPROC glad_glClearDepthf = NULL; -PFNGLCLEARSTENCILPROC glad_glClearStencil = NULL; -PFNGLCOLORMASKPROC glad_glColorMask = NULL; -PFNGLCOMPILESHADERPROC glad_glCompileShader = NULL; -PFNGLCOMPRESSEDTEXIMAGE2DPROC glad_glCompressedTexImage2D = NULL; -PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glad_glCompressedTexSubImage2D = NULL; -PFNGLCOPYTEXIMAGE2DPROC glad_glCopyTexImage2D = NULL; -PFNGLCOPYTEXSUBIMAGE2DPROC glad_glCopyTexSubImage2D = NULL; -PFNGLCREATEPROGRAMPROC glad_glCreateProgram = NULL; -PFNGLCREATESHADERPROC glad_glCreateShader = NULL; -PFNGLCULLFACEPROC glad_glCullFace = NULL; -PFNGLDELETEBUFFERSPROC glad_glDeleteBuffers = NULL; -PFNGLDELETEFRAMEBUFFERSPROC glad_glDeleteFramebuffers = NULL; -PFNGLDELETEPROGRAMPROC glad_glDeleteProgram = NULL; -PFNGLDELETERENDERBUFFERSPROC glad_glDeleteRenderbuffers = NULL; -PFNGLDELETESHADERPROC glad_glDeleteShader = NULL; -PFNGLDELETETEXTURESPROC glad_glDeleteTextures = NULL; -PFNGLDEPTHFUNCPROC glad_glDepthFunc = NULL; -PFNGLDEPTHMASKPROC glad_glDepthMask = NULL; -PFNGLDEPTHRANGEFPROC glad_glDepthRangef = NULL; -PFNGLDETACHSHADERPROC glad_glDetachShader = NULL; -PFNGLDISABLEPROC glad_glDisable = NULL; -PFNGLDISABLEVERTEXATTRIBARRAYPROC glad_glDisableVertexAttribArray = NULL; -PFNGLDRAWARRAYSPROC glad_glDrawArrays = NULL; -PFNGLDRAWELEMENTSPROC glad_glDrawElements = NULL; -PFNGLENABLEPROC glad_glEnable = NULL; -PFNGLENABLEVERTEXATTRIBARRAYPROC glad_glEnableVertexAttribArray = NULL; -PFNGLFINISHPROC glad_glFinish = NULL; -PFNGLFLUSHPROC glad_glFlush = NULL; -PFNGLFRAMEBUFFERRENDERBUFFERPROC glad_glFramebufferRenderbuffer = NULL; -PFNGLFRAMEBUFFERTEXTURE2DPROC glad_glFramebufferTexture2D = NULL; -PFNGLFRONTFACEPROC glad_glFrontFace = NULL; -PFNGLGENBUFFERSPROC glad_glGenBuffers = NULL; -PFNGLGENFRAMEBUFFERSPROC glad_glGenFramebuffers = NULL; -PFNGLGENRENDERBUFFERSPROC glad_glGenRenderbuffers = NULL; -PFNGLGENTEXTURESPROC glad_glGenTextures = NULL; -PFNGLGENERATEMIPMAPPROC glad_glGenerateMipmap = NULL; -PFNGLGETACTIVEATTRIBPROC glad_glGetActiveAttrib = NULL; -PFNGLGETACTIVEUNIFORMPROC glad_glGetActiveUniform = NULL; -PFNGLGETATTACHEDSHADERSPROC glad_glGetAttachedShaders = NULL; -PFNGLGETATTRIBLOCATIONPROC glad_glGetAttribLocation = NULL; -PFNGLGETBOOLEANVPROC glad_glGetBooleanv = NULL; -PFNGLGETBUFFERPARAMETERIVPROC glad_glGetBufferParameteriv = NULL; -PFNGLGETERRORPROC glad_glGetError = NULL; -PFNGLGETFLOATVPROC glad_glGetFloatv = NULL; -PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glad_glGetFramebufferAttachmentParameteriv = NULL; -PFNGLGETINTEGERVPROC glad_glGetIntegerv = NULL; -PFNGLGETPROGRAMINFOLOGPROC glad_glGetProgramInfoLog = NULL; -PFNGLGETPROGRAMIVPROC glad_glGetProgramiv = NULL; -PFNGLGETRENDERBUFFERPARAMETERIVPROC glad_glGetRenderbufferParameteriv = NULL; -PFNGLGETSHADERINFOLOGPROC glad_glGetShaderInfoLog = NULL; -PFNGLGETSHADERPRECISIONFORMATPROC glad_glGetShaderPrecisionFormat = NULL; -PFNGLGETSHADERSOURCEPROC glad_glGetShaderSource = NULL; -PFNGLGETSHADERIVPROC glad_glGetShaderiv = NULL; -PFNGLGETSTRINGPROC glad_glGetString = NULL; -PFNGLGETTEXPARAMETERFVPROC glad_glGetTexParameterfv = NULL; -PFNGLGETTEXPARAMETERIVPROC glad_glGetTexParameteriv = NULL; -PFNGLGETUNIFORMLOCATIONPROC glad_glGetUniformLocation = NULL; -PFNGLGETUNIFORMFVPROC glad_glGetUniformfv = NULL; -PFNGLGETUNIFORMIVPROC glad_glGetUniformiv = NULL; -PFNGLGETVERTEXATTRIBPOINTERVPROC glad_glGetVertexAttribPointerv = NULL; -PFNGLGETVERTEXATTRIBFVPROC glad_glGetVertexAttribfv = NULL; -PFNGLGETVERTEXATTRIBIVPROC glad_glGetVertexAttribiv = NULL; -PFNGLHINTPROC glad_glHint = NULL; -PFNGLISBUFFERPROC glad_glIsBuffer = NULL; -PFNGLISENABLEDPROC glad_glIsEnabled = NULL; -PFNGLISFRAMEBUFFERPROC glad_glIsFramebuffer = NULL; -PFNGLISPROGRAMPROC glad_glIsProgram = NULL; -PFNGLISRENDERBUFFERPROC glad_glIsRenderbuffer = NULL; -PFNGLISSHADERPROC glad_glIsShader = NULL; -PFNGLISTEXTUREPROC glad_glIsTexture = NULL; -PFNGLLINEWIDTHPROC glad_glLineWidth = NULL; -PFNGLLINKPROGRAMPROC glad_glLinkProgram = NULL; -PFNGLPIXELSTOREIPROC glad_glPixelStorei = NULL; -PFNGLPOLYGONOFFSETPROC glad_glPolygonOffset = NULL; -PFNGLREADPIXELSPROC glad_glReadPixels = NULL; -PFNGLRELEASESHADERCOMPILERPROC glad_glReleaseShaderCompiler = NULL; -PFNGLRENDERBUFFERSTORAGEPROC glad_glRenderbufferStorage = NULL; -PFNGLSAMPLECOVERAGEPROC glad_glSampleCoverage = NULL; -PFNGLSCISSORPROC glad_glScissor = NULL; -PFNGLSHADERBINARYPROC glad_glShaderBinary = NULL; -PFNGLSHADERSOURCEPROC glad_glShaderSource = NULL; -PFNGLSTENCILFUNCPROC glad_glStencilFunc = NULL; -PFNGLSTENCILFUNCSEPARATEPROC glad_glStencilFuncSeparate = NULL; -PFNGLSTENCILMASKPROC glad_glStencilMask = NULL; -PFNGLSTENCILMASKSEPARATEPROC glad_glStencilMaskSeparate = NULL; -PFNGLSTENCILOPPROC glad_glStencilOp = NULL; -PFNGLSTENCILOPSEPARATEPROC glad_glStencilOpSeparate = NULL; -PFNGLTEXIMAGE2DPROC glad_glTexImage2D = NULL; -PFNGLTEXPARAMETERFPROC glad_glTexParameterf = NULL; -PFNGLTEXPARAMETERFVPROC glad_glTexParameterfv = NULL; -PFNGLTEXPARAMETERIPROC glad_glTexParameteri = NULL; -PFNGLTEXPARAMETERIVPROC glad_glTexParameteriv = NULL; -PFNGLTEXSUBIMAGE2DPROC glad_glTexSubImage2D = NULL; -PFNGLUNIFORM1FPROC glad_glUniform1f = NULL; -PFNGLUNIFORM1FVPROC glad_glUniform1fv = NULL; -PFNGLUNIFORM1IPROC glad_glUniform1i = NULL; -PFNGLUNIFORM1IVPROC glad_glUniform1iv = NULL; -PFNGLUNIFORM2FPROC glad_glUniform2f = NULL; -PFNGLUNIFORM2FVPROC glad_glUniform2fv = NULL; -PFNGLUNIFORM2IPROC glad_glUniform2i = NULL; -PFNGLUNIFORM2IVPROC glad_glUniform2iv = NULL; -PFNGLUNIFORM3FPROC glad_glUniform3f = NULL; -PFNGLUNIFORM3FVPROC glad_glUniform3fv = NULL; -PFNGLUNIFORM3IPROC glad_glUniform3i = NULL; -PFNGLUNIFORM3IVPROC glad_glUniform3iv = NULL; -PFNGLUNIFORM4FPROC glad_glUniform4f = NULL; -PFNGLUNIFORM4FVPROC glad_glUniform4fv = NULL; -PFNGLUNIFORM4IPROC glad_glUniform4i = NULL; -PFNGLUNIFORM4IVPROC glad_glUniform4iv = NULL; -PFNGLUNIFORMMATRIX2FVPROC glad_glUniformMatrix2fv = NULL; -PFNGLUNIFORMMATRIX3FVPROC glad_glUniformMatrix3fv = NULL; -PFNGLUNIFORMMATRIX4FVPROC glad_glUniformMatrix4fv = NULL; -PFNGLUSEPROGRAMPROC glad_glUseProgram = NULL; -PFNGLVALIDATEPROGRAMPROC glad_glValidateProgram = NULL; -PFNGLVERTEXATTRIB1FPROC glad_glVertexAttrib1f = NULL; -PFNGLVERTEXATTRIB1FVPROC glad_glVertexAttrib1fv = NULL; -PFNGLVERTEXATTRIB2FPROC glad_glVertexAttrib2f = NULL; -PFNGLVERTEXATTRIB2FVPROC glad_glVertexAttrib2fv = NULL; -PFNGLVERTEXATTRIB3FPROC glad_glVertexAttrib3f = NULL; -PFNGLVERTEXATTRIB3FVPROC glad_glVertexAttrib3fv = NULL; -PFNGLVERTEXATTRIB4FPROC glad_glVertexAttrib4f = NULL; -PFNGLVERTEXATTRIB4FVPROC glad_glVertexAttrib4fv = NULL; -PFNGLVERTEXATTRIBPOINTERPROC glad_glVertexAttribPointer = NULL; -PFNGLVIEWPORTPROC glad_glViewport = NULL; - - -static void glad_gl_load_GL_ES_VERSION_2_0( GLADuserptrloadfunc load, void* userptr) { - if(!GLAD_GL_ES_VERSION_2_0) return; - glad_glActiveTexture = (PFNGLACTIVETEXTUREPROC) load(userptr, "glActiveTexture"); - glad_glAttachShader = (PFNGLATTACHSHADERPROC) load(userptr, "glAttachShader"); - glad_glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC) load(userptr, "glBindAttribLocation"); - glad_glBindBuffer = (PFNGLBINDBUFFERPROC) load(userptr, "glBindBuffer"); - glad_glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC) load(userptr, "glBindFramebuffer"); - glad_glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC) load(userptr, "glBindRenderbuffer"); - glad_glBindTexture = (PFNGLBINDTEXTUREPROC) load(userptr, "glBindTexture"); - glad_glBlendColor = (PFNGLBLENDCOLORPROC) load(userptr, "glBlendColor"); - glad_glBlendEquation = (PFNGLBLENDEQUATIONPROC) load(userptr, "glBlendEquation"); - glad_glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC) load(userptr, "glBlendEquationSeparate"); - glad_glBlendFunc = (PFNGLBLENDFUNCPROC) load(userptr, "glBlendFunc"); - glad_glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC) load(userptr, "glBlendFuncSeparate"); - glad_glBufferData = (PFNGLBUFFERDATAPROC) load(userptr, "glBufferData"); - glad_glBufferSubData = (PFNGLBUFFERSUBDATAPROC) load(userptr, "glBufferSubData"); - glad_glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC) load(userptr, "glCheckFramebufferStatus"); - glad_glClear = (PFNGLCLEARPROC) load(userptr, "glClear"); - glad_glClearColor = (PFNGLCLEARCOLORPROC) load(userptr, "glClearColor"); - glad_glClearDepthf = (PFNGLCLEARDEPTHFPROC) load(userptr, "glClearDepthf"); - glad_glClearStencil = (PFNGLCLEARSTENCILPROC) load(userptr, "glClearStencil"); - glad_glColorMask = (PFNGLCOLORMASKPROC) load(userptr, "glColorMask"); - glad_glCompileShader = (PFNGLCOMPILESHADERPROC) load(userptr, "glCompileShader"); - glad_glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC) load(userptr, "glCompressedTexImage2D"); - glad_glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) load(userptr, "glCompressedTexSubImage2D"); - glad_glCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC) load(userptr, "glCopyTexImage2D"); - glad_glCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC) load(userptr, "glCopyTexSubImage2D"); - glad_glCreateProgram = (PFNGLCREATEPROGRAMPROC) load(userptr, "glCreateProgram"); - glad_glCreateShader = (PFNGLCREATESHADERPROC) load(userptr, "glCreateShader"); - glad_glCullFace = (PFNGLCULLFACEPROC) load(userptr, "glCullFace"); - glad_glDeleteBuffers = (PFNGLDELETEBUFFERSPROC) load(userptr, "glDeleteBuffers"); - glad_glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC) load(userptr, "glDeleteFramebuffers"); - glad_glDeleteProgram = (PFNGLDELETEPROGRAMPROC) load(userptr, "glDeleteProgram"); - glad_glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC) load(userptr, "glDeleteRenderbuffers"); - glad_glDeleteShader = (PFNGLDELETESHADERPROC) load(userptr, "glDeleteShader"); - glad_glDeleteTextures = (PFNGLDELETETEXTURESPROC) load(userptr, "glDeleteTextures"); - glad_glDepthFunc = (PFNGLDEPTHFUNCPROC) load(userptr, "glDepthFunc"); - glad_glDepthMask = (PFNGLDEPTHMASKPROC) load(userptr, "glDepthMask"); - glad_glDepthRangef = (PFNGLDEPTHRANGEFPROC) load(userptr, "glDepthRangef"); - glad_glDetachShader = (PFNGLDETACHSHADERPROC) load(userptr, "glDetachShader"); - glad_glDisable = (PFNGLDISABLEPROC) load(userptr, "glDisable"); - glad_glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC) load(userptr, "glDisableVertexAttribArray"); - glad_glDrawArrays = (PFNGLDRAWARRAYSPROC) load(userptr, "glDrawArrays"); - glad_glDrawElements = (PFNGLDRAWELEMENTSPROC) load(userptr, "glDrawElements"); - glad_glEnable = (PFNGLENABLEPROC) load(userptr, "glEnable"); - glad_glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC) load(userptr, "glEnableVertexAttribArray"); - glad_glFinish = (PFNGLFINISHPROC) load(userptr, "glFinish"); - glad_glFlush = (PFNGLFLUSHPROC) load(userptr, "glFlush"); - glad_glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC) load(userptr, "glFramebufferRenderbuffer"); - glad_glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC) load(userptr, "glFramebufferTexture2D"); - glad_glFrontFace = (PFNGLFRONTFACEPROC) load(userptr, "glFrontFace"); - glad_glGenBuffers = (PFNGLGENBUFFERSPROC) load(userptr, "glGenBuffers"); - glad_glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC) load(userptr, "glGenFramebuffers"); - glad_glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC) load(userptr, "glGenRenderbuffers"); - glad_glGenTextures = (PFNGLGENTEXTURESPROC) load(userptr, "glGenTextures"); - glad_glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC) load(userptr, "glGenerateMipmap"); - glad_glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC) load(userptr, "glGetActiveAttrib"); - glad_glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC) load(userptr, "glGetActiveUniform"); - glad_glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC) load(userptr, "glGetAttachedShaders"); - glad_glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC) load(userptr, "glGetAttribLocation"); - glad_glGetBooleanv = (PFNGLGETBOOLEANVPROC) load(userptr, "glGetBooleanv"); - glad_glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC) load(userptr, "glGetBufferParameteriv"); - glad_glGetError = (PFNGLGETERRORPROC) load(userptr, "glGetError"); - glad_glGetFloatv = (PFNGLGETFLOATVPROC) load(userptr, "glGetFloatv"); - glad_glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) load(userptr, "glGetFramebufferAttachmentParameteriv"); - glad_glGetIntegerv = (PFNGLGETINTEGERVPROC) load(userptr, "glGetIntegerv"); - glad_glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC) load(userptr, "glGetProgramInfoLog"); - glad_glGetProgramiv = (PFNGLGETPROGRAMIVPROC) load(userptr, "glGetProgramiv"); - glad_glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC) load(userptr, "glGetRenderbufferParameteriv"); - glad_glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC) load(userptr, "glGetShaderInfoLog"); - glad_glGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC) load(userptr, "glGetShaderPrecisionFormat"); - glad_glGetShaderSource = (PFNGLGETSHADERSOURCEPROC) load(userptr, "glGetShaderSource"); - glad_glGetShaderiv = (PFNGLGETSHADERIVPROC) load(userptr, "glGetShaderiv"); - glad_glGetString = (PFNGLGETSTRINGPROC) load(userptr, "glGetString"); - glad_glGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC) load(userptr, "glGetTexParameterfv"); - glad_glGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC) load(userptr, "glGetTexParameteriv"); - glad_glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC) load(userptr, "glGetUniformLocation"); - glad_glGetUniformfv = (PFNGLGETUNIFORMFVPROC) load(userptr, "glGetUniformfv"); - glad_glGetUniformiv = (PFNGLGETUNIFORMIVPROC) load(userptr, "glGetUniformiv"); - glad_glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC) load(userptr, "glGetVertexAttribPointerv"); - glad_glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC) load(userptr, "glGetVertexAttribfv"); - glad_glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC) load(userptr, "glGetVertexAttribiv"); - glad_glHint = (PFNGLHINTPROC) load(userptr, "glHint"); - glad_glIsBuffer = (PFNGLISBUFFERPROC) load(userptr, "glIsBuffer"); - glad_glIsEnabled = (PFNGLISENABLEDPROC) load(userptr, "glIsEnabled"); - glad_glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC) load(userptr, "glIsFramebuffer"); - glad_glIsProgram = (PFNGLISPROGRAMPROC) load(userptr, "glIsProgram"); - glad_glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC) load(userptr, "glIsRenderbuffer"); - glad_glIsShader = (PFNGLISSHADERPROC) load(userptr, "glIsShader"); - glad_glIsTexture = (PFNGLISTEXTUREPROC) load(userptr, "glIsTexture"); - glad_glLineWidth = (PFNGLLINEWIDTHPROC) load(userptr, "glLineWidth"); - glad_glLinkProgram = (PFNGLLINKPROGRAMPROC) load(userptr, "glLinkProgram"); - glad_glPixelStorei = (PFNGLPIXELSTOREIPROC) load(userptr, "glPixelStorei"); - glad_glPolygonOffset = (PFNGLPOLYGONOFFSETPROC) load(userptr, "glPolygonOffset"); - glad_glReadPixels = (PFNGLREADPIXELSPROC) load(userptr, "glReadPixels"); - glad_glReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC) load(userptr, "glReleaseShaderCompiler"); - glad_glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC) load(userptr, "glRenderbufferStorage"); - glad_glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC) load(userptr, "glSampleCoverage"); - glad_glScissor = (PFNGLSCISSORPROC) load(userptr, "glScissor"); - glad_glShaderBinary = (PFNGLSHADERBINARYPROC) load(userptr, "glShaderBinary"); - glad_glShaderSource = (PFNGLSHADERSOURCEPROC) load(userptr, "glShaderSource"); - glad_glStencilFunc = (PFNGLSTENCILFUNCPROC) load(userptr, "glStencilFunc"); - glad_glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC) load(userptr, "glStencilFuncSeparate"); - glad_glStencilMask = (PFNGLSTENCILMASKPROC) load(userptr, "glStencilMask"); - glad_glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC) load(userptr, "glStencilMaskSeparate"); - glad_glStencilOp = (PFNGLSTENCILOPPROC) load(userptr, "glStencilOp"); - glad_glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC) load(userptr, "glStencilOpSeparate"); - glad_glTexImage2D = (PFNGLTEXIMAGE2DPROC) load(userptr, "glTexImage2D"); - glad_glTexParameterf = (PFNGLTEXPARAMETERFPROC) load(userptr, "glTexParameterf"); - glad_glTexParameterfv = (PFNGLTEXPARAMETERFVPROC) load(userptr, "glTexParameterfv"); - glad_glTexParameteri = (PFNGLTEXPARAMETERIPROC) load(userptr, "glTexParameteri"); - glad_glTexParameteriv = (PFNGLTEXPARAMETERIVPROC) load(userptr, "glTexParameteriv"); - glad_glTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC) load(userptr, "glTexSubImage2D"); - glad_glUniform1f = (PFNGLUNIFORM1FPROC) load(userptr, "glUniform1f"); - glad_glUniform1fv = (PFNGLUNIFORM1FVPROC) load(userptr, "glUniform1fv"); - glad_glUniform1i = (PFNGLUNIFORM1IPROC) load(userptr, "glUniform1i"); - glad_glUniform1iv = (PFNGLUNIFORM1IVPROC) load(userptr, "glUniform1iv"); - glad_glUniform2f = (PFNGLUNIFORM2FPROC) load(userptr, "glUniform2f"); - glad_glUniform2fv = (PFNGLUNIFORM2FVPROC) load(userptr, "glUniform2fv"); - glad_glUniform2i = (PFNGLUNIFORM2IPROC) load(userptr, "glUniform2i"); - glad_glUniform2iv = (PFNGLUNIFORM2IVPROC) load(userptr, "glUniform2iv"); - glad_glUniform3f = (PFNGLUNIFORM3FPROC) load(userptr, "glUniform3f"); - glad_glUniform3fv = (PFNGLUNIFORM3FVPROC) load(userptr, "glUniform3fv"); - glad_glUniform3i = (PFNGLUNIFORM3IPROC) load(userptr, "glUniform3i"); - glad_glUniform3iv = (PFNGLUNIFORM3IVPROC) load(userptr, "glUniform3iv"); - glad_glUniform4f = (PFNGLUNIFORM4FPROC) load(userptr, "glUniform4f"); - glad_glUniform4fv = (PFNGLUNIFORM4FVPROC) load(userptr, "glUniform4fv"); - glad_glUniform4i = (PFNGLUNIFORM4IPROC) load(userptr, "glUniform4i"); - glad_glUniform4iv = (PFNGLUNIFORM4IVPROC) load(userptr, "glUniform4iv"); - glad_glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC) load(userptr, "glUniformMatrix2fv"); - glad_glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC) load(userptr, "glUniformMatrix3fv"); - glad_glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC) load(userptr, "glUniformMatrix4fv"); - glad_glUseProgram = (PFNGLUSEPROGRAMPROC) load(userptr, "glUseProgram"); - glad_glValidateProgram = (PFNGLVALIDATEPROGRAMPROC) load(userptr, "glValidateProgram"); - glad_glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC) load(userptr, "glVertexAttrib1f"); - glad_glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC) load(userptr, "glVertexAttrib1fv"); - glad_glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC) load(userptr, "glVertexAttrib2f"); - glad_glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC) load(userptr, "glVertexAttrib2fv"); - glad_glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC) load(userptr, "glVertexAttrib3f"); - glad_glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC) load(userptr, "glVertexAttrib3fv"); - glad_glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC) load(userptr, "glVertexAttrib4f"); - glad_glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC) load(userptr, "glVertexAttrib4fv"); - glad_glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC) load(userptr, "glVertexAttribPointer"); - glad_glViewport = (PFNGLVIEWPORTPROC) load(userptr, "glViewport"); -} - - -static void glad_gl_resolve_aliases(void) { -} - -#if defined(GL_ES_VERSION_3_0) || defined(GL_VERSION_3_0) -#define GLAD_GL_IS_SOME_NEW_VERSION 1 -#else -#define GLAD_GL_IS_SOME_NEW_VERSION 0 -#endif - -static int glad_gl_get_extensions( int version, const char **out_exts, unsigned int *out_num_exts_i, char ***out_exts_i) { -#if GLAD_GL_IS_SOME_NEW_VERSION - if(GLAD_VERSION_MAJOR(version) < 3) { -#else - GLAD_UNUSED(version); - GLAD_UNUSED(out_num_exts_i); - GLAD_UNUSED(out_exts_i); -#endif - if (glad_glGetString == NULL) { - return 0; - } - *out_exts = (const char *)glad_glGetString(GL_EXTENSIONS); -#if GLAD_GL_IS_SOME_NEW_VERSION - } else { - unsigned int index = 0; - unsigned int num_exts_i = 0; - char **exts_i = NULL; - if (glad_glGetStringi == NULL || glad_glGetIntegerv == NULL) { - return 0; - } - glad_glGetIntegerv(GL_NUM_EXTENSIONS, (int*) &num_exts_i); - if (num_exts_i > 0) { - exts_i = (char **) malloc(num_exts_i * (sizeof *exts_i)); - } - if (exts_i == NULL) { - return 0; - } - for(index = 0; index < num_exts_i; index++) { - const char *gl_str_tmp = (const char*) glad_glGetStringi(GL_EXTENSIONS, index); - size_t len = strlen(gl_str_tmp) + 1; - - char *local_str = (char*) malloc(len * sizeof(char)); - if(local_str != NULL) { - memcpy(local_str, gl_str_tmp, len * sizeof(char)); - } - - exts_i[index] = local_str; - } - - *out_num_exts_i = num_exts_i; - *out_exts_i = exts_i; - } -#endif - return 1; -} -static void glad_gl_free_extensions(char **exts_i, unsigned int num_exts_i) { - if (exts_i != NULL) { - unsigned int index; - for(index = 0; index < num_exts_i; index++) { - free((void *) (exts_i[index])); - } - free((void *)exts_i); - exts_i = NULL; - } -} -static int glad_gl_has_extension(int version, const char *exts, unsigned int num_exts_i, char **exts_i, const char *ext) { - if(GLAD_VERSION_MAJOR(version) < 3 || !GLAD_GL_IS_SOME_NEW_VERSION) { - const char *extensions; - const char *loc; - const char *terminator; - extensions = exts; - if(extensions == NULL || ext == NULL) { - return 0; - } - while(1) { - loc = strstr(extensions, ext); - if(loc == NULL) { - return 0; - } - terminator = loc + strlen(ext); - if((loc == extensions || *(loc - 1) == ' ') && - (*terminator == ' ' || *terminator == '\0')) { - return 1; - } - extensions = terminator; - } - } else { - unsigned int index; - for(index = 0; index < num_exts_i; index++) { - const char *e = exts_i[index]; - if(strcmp(e, ext) == 0) { - return 1; - } - } - } - return 0; -} - -static GLADapiproc glad_gl_get_proc_from_userptr(void *userptr, const char* name) { - return (GLAD_GNUC_EXTENSION (GLADapiproc (*)(const char *name)) userptr)(name); -} - -static int glad_gl_find_extensions_gles2( int version) { - const char *exts = NULL; - unsigned int num_exts_i = 0; - char **exts_i = NULL; - if (!glad_gl_get_extensions(version, &exts, &num_exts_i, &exts_i)) return 0; - - GLAD_UNUSED(glad_gl_has_extension); - - glad_gl_free_extensions(exts_i, num_exts_i); - - return 1; -} - -static int glad_gl_find_core_gles2(void) { - int i; - const char* version; - const char* prefixes[] = { - "OpenGL ES-CM ", - "OpenGL ES-CL ", - "OpenGL ES ", - "OpenGL SC ", - NULL - }; - int major = 0; - int minor = 0; - version = (const char*) glad_glGetString(GL_VERSION); - if (!version) return 0; - for (i = 0; prefixes[i]; i++) { - const size_t length = strlen(prefixes[i]); - if (strncmp(version, prefixes[i], length) == 0) { - version += length; - break; - } - } - - GLAD_IMPL_UTIL_SSCANF(version, "%d.%d", &major, &minor); - - GLAD_GL_ES_VERSION_2_0 = (major == 2 && minor >= 0) || major > 2; - - return GLAD_MAKE_VERSION(major, minor); -} - -int gladLoadGLES2UserPtr( GLADuserptrloadfunc load, void *userptr) { - int version; - - glad_glGetString = (PFNGLGETSTRINGPROC) load(userptr, "glGetString"); - if(glad_glGetString == NULL) return 0; - if(glad_glGetString(GL_VERSION) == NULL) return 0; - version = glad_gl_find_core_gles2(); - - glad_gl_load_GL_ES_VERSION_2_0(load, userptr); - - if (!glad_gl_find_extensions_gles2(version)) return 0; - - - glad_gl_resolve_aliases(); - - return version; -} - - -int gladLoadGLES2( GLADloadfunc load) { - return gladLoadGLES2UserPtr( glad_gl_get_proc_from_userptr, GLAD_GNUC_EXTENSION (void*) load); -} - - - - - - -#ifdef __cplusplus -} -#endif - -#endif /* GLAD_GLES2_IMPLEMENTATION */ - diff --git a/include/render/textures.h b/include/render/textures.h index 18b12a3..9a4670c 100644 --- a/include/render/textures.h +++ b/include/render/textures.h @@ -11,7 +11,7 @@ #include #include #include -#include +#include #include #include #include "stb/stb_image_resize.h" @@ -132,8 +132,12 @@ namespace fp::texture { glTexParameteri(textureBindType, GL_TEXTURE_WRAP_S, GL_REPEAT); glTexParameteri(textureBindType, GL_TEXTURE_WRAP_T, GL_REPEAT); // nearest preserves the pixely look - glTexParameteri(textureBindType, GL_TEXTURE_MIN_FILTER, GL_NEAREST); - glTexParameteri(textureBindType, GL_TEXTURE_MAG_FILTER, GL_NEAREST); + glTexParameteri(textureBindType, GL_TEXTURE_MIN_FILTER, GL_NEAREST_MIPMAP_LINEAR); + glTexParameteri(textureBindType, GL_TEXTURE_MAG_FILTER, GL_NEAREST_MIPMAP_LINEAR); + // Anisotropy helps preserve textures at oblique angles + float a = 0; + glGetFloatv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &a); + glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, a); unbind(); } @@ -193,8 +197,8 @@ namespace fp::texture { gl_texture2D_array(int width, int height, int layers, GLint colorMode = GL_RGBA8): gl_texture(width, height, GL_TEXTURE_2D_ARRAY, colorMode), m_layers(layers) { bind(); - // 3 mipmaps is about good since anything smaller is probably useless (32x32(0) -> 16x16(1) -> 8x8(2)) - glTexStorage3D(textureBindType, 3, colorMode, width, height, layers); + // 6+ mipmaps is about where I stop noticing any difference (size is 4x4 pixels, so that makes sense) + glTexStorage3D(textureBindType, 6, colorMode, width, height, layers); BLT_DEBUG("Creating 2D Texture Array with ID: %d", textureID); } @@ -227,8 +231,8 @@ namespace fp::texture { static constexpr int MAX_ARRAY_LAYERS = 256; gl_texture2D_array* texture_array = nullptr; - - std::unordered_map textureIndices; + + phmap::flat_hash_map textureIndices; std::vector textures; public: diff --git a/include/world/chunk/world.h b/include/world/chunk/world.h index 274de4d..314ebc1 100644 --- a/include/world/chunk/world.h +++ b/include/world/chunk/world.h @@ -9,7 +9,7 @@ #include #include -#include +#include #include "blt/profiling/profiler.h" namespace fp { @@ -150,7 +150,7 @@ namespace fp { class world { private: - std::unordered_map chunk_storage; + phmap::flat_hash_map chunk_storage; protected: void generateChunkMesh(chunk* chunk); @@ -214,11 +214,7 @@ namespace fp { return c->getBlockStorage()->get(_static::world_to_internal(pos)); } - ~world() { - BLT_PRINT_PROFILE("Chunk", blt::logging::TRACE, true); - for (auto& chunk : chunk_storage) - delete (chunk.second); - } + ~world(); }; } diff --git a/include/world/registry.h b/include/world/registry.h index 864af43..1ce4b48 100644 --- a/include/world/registry.h +++ b/include/world/registry.h @@ -33,11 +33,18 @@ namespace fp::registry { struct block_properties { // how should we handle this block? Blocks with transparent textures can be added to OPAQUE blocks - block_visibility visibility = OPAQUE; + block_visibility visibility; // WebGL doesn't default to empty textures, use index 0 to store an empty texture - std::string textureName = "Air"; + std::string textureName; + // this significantly improves performance (halved chunk mesh gen time, see doc for more info) + texture::texture_index textureIndex = 0; // does this block produce light? bool produces_light = false; + + block_properties(block_visibility blockVisibility = OPAQUE, const std::string& textureName = "Air") { + this->visibility = blockVisibility; + this->textureName = textureName; + } }; constexpr block_type AIR = 0; @@ -51,6 +58,7 @@ namespace fp::registry { void registerTexture(texture::file_texture* texture); void textureInit(); + void blockInit(); void setupTextureLoaderThreads(int count = 8); @@ -69,6 +77,10 @@ namespace fp::registry { * Registers all the default blocks used by the engine */ inline void registerDefaultBlocks() { + // create the internal array which backs the block properties + blockInit(); + + // registration can be in any order as long as the ID is unique! registerBlock(AIR, {TRANSPARENT}); registerBlock(STONE, {OPAQUE, "Stone"}); registerBlock(DIRT, {OPAQUE, "Dolph"}); diff --git a/libraries/BLT b/libraries/BLT index b62d4bf..409e814 160000 --- a/libraries/BLT +++ b/libraries/BLT @@ -1 +1 @@ -Subproject commit b62d4bfe78930132ce649852f9fef5df72f17de6 +Subproject commit 409e814815131708aedb1bc705e31914cfe2fb82 diff --git a/src/main.cpp b/src/main.cpp index 3db4236..262536d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -51,8 +51,9 @@ int main() { fp::window::init(); fp::text::init(); - fp::registry::registerDefaultBlocks(); + // textures must come first as blocks will require the IDs fp::registry::registerDefaultTextures(); + fp::registry::registerDefaultBlocks(); chunk_shader = new fp::shader(shader_chunk_vert, shader_chunk_frag); world = new fp::world(); diff --git a/src/world/chunk/world.cpp b/src/world/chunk/world.cpp index f1ae692..4894df8 100644 --- a/src/world/chunk/world.cpp +++ b/src/world/chunk/world.cpp @@ -10,6 +10,8 @@ #include #include "stb/stb_perlin.h" #include +#include +#include inline void checkEdgeFace( fp::block_storage* local, fp::block_storage* neighbour, @@ -20,7 +22,7 @@ inline void checkEdgeFace( if (block.visibility == fp::registry::OPAQUE) { if (fp::registry::get(neighbour->get(neighbour_pos)).visibility > fp::registry::OPAQUE) { - mesh->addFace(face, pos, fp::registry::getTextureIndex(block.textureName)); + mesh->addFace(face, pos, block.textureIndex); } } } @@ -42,10 +44,10 @@ void fp::world::generateChunkMesh(chunk* chunk) { return; } - BLT_START_INTERVAL("Chunk", "Mesh"); + BLT_START_INTERVAL("Chunk Mesh", "Storage"); auto* mesh = new mesh_storage(); - auto* block_storage = chunk->getBlockStorage(); + auto* local_storage = chunk->getBlockStorage(); auto* x_neg_storage = neighbours[X_NEG]->getBlockStorage(); auto* x_pos_storage = neighbours[X_POS]->getBlockStorage(); auto* y_neg_storage = neighbours[Y_NEG]->getBlockStorage(); @@ -53,62 +55,69 @@ void fp::world::generateChunkMesh(chunk* chunk) { auto* z_neg_storage = neighbours[Z_NEG]->getBlockStorage(); auto* z_pos_storage = neighbours[Z_POS]->getBlockStorage(); + BLT_END_INTERVAL("Chunk Mesh", "Storage"); + BLT_START_INTERVAL("Chunk Mesh", "Internal"); + + for (int i = 0; i < CHUNK_SIZE; i++) { for (int j = 0; j < CHUNK_SIZE; j++) { for (int k = 0; k < CHUNK_SIZE; k++) { - auto& block = fp::registry::get(block_storage->get({i, j, k})); + auto& block = fp::registry::get(local_storage->get({i, j, k})); - auto texture_index = fp::registry::getTextureIndex(block.textureName); + auto texture_index = block.textureIndex; // The main chunk mesh can handle opaque textures. if (block.visibility == registry::OPAQUE) { - if (block_storage->checkBlockVisibility({i - 1, j, k})) + if (local_storage->checkBlockVisibility({i - 1, j, k})) mesh->addFace(X_NEG, {i, j, k}, texture_index); - if (block_storage->checkBlockVisibility({i + 1, j, k})) + if (local_storage->checkBlockVisibility({i + 1, j, k})) mesh->addFace(X_POS, {i, j, k}, texture_index); - if (block_storage->checkBlockVisibility({i, j - 1, k})) + if (local_storage->checkBlockVisibility({i, j - 1, k})) mesh->addFace(Y_NEG, {i, j, k}, texture_index); - if (block_storage->checkBlockVisibility({i, j + 1, k})) + if (local_storage->checkBlockVisibility({i, j + 1, k})) mesh->addFace(Y_POS, {i, j, k}, texture_index); - if (block_storage->checkBlockVisibility({i, j, k - 1})) + if (local_storage->checkBlockVisibility({i, j, k - 1})) mesh->addFace(Z_NEG, {i, j, k}, texture_index); - if (block_storage->checkBlockVisibility({i, j, k + 1})) + if (local_storage->checkBlockVisibility({i, j, k + 1})) mesh->addFace(Z_POS, {i, j, k}, texture_index); } } } } + BLT_END_INTERVAL("Chunk Mesh", "Internal"); + BLT_START_INTERVAL("Chunk Mesh", "Partial"); for (int i = 0; i < CHUNK_SIZE; i++) { for (int j = 0; j < CHUNK_SIZE; j++) { checkEdgeFace( - block_storage, x_neg_storage, mesh, X_NEG, {0, i, j}, {CHUNK_SIZE - 1, i, j} + local_storage, x_neg_storage, mesh, X_NEG, {0, i, j}, {CHUNK_SIZE - 1, i, j} ); checkEdgeFace( - block_storage, x_pos_storage, mesh, X_POS, {CHUNK_SIZE - 1, i, j}, {0, i, j} + local_storage, x_pos_storage, mesh, X_POS, {CHUNK_SIZE - 1, i, j}, {0, i, j} ); checkEdgeFace( - block_storage, y_neg_storage, mesh, Y_NEG, {i, 0, j}, {i, CHUNK_SIZE - 1, j} + local_storage, y_neg_storage, mesh, Y_NEG, {i, 0, j}, {i, CHUNK_SIZE - 1, j} ); checkEdgeFace( - block_storage, y_pos_storage, mesh, Y_POS, {i, CHUNK_SIZE - 1, j}, {i, 0, j} + local_storage, y_pos_storage, mesh, Y_POS, {i, CHUNK_SIZE - 1, j}, {i, 0, j} ); - + checkEdgeFace( - block_storage, z_neg_storage, mesh, Z_NEG, {i, j, 0}, {i, j, CHUNK_SIZE - 1} + local_storage, z_neg_storage, mesh, Z_NEG, {i, j, 0}, {i, j, CHUNK_SIZE - 1} ); checkEdgeFace( - block_storage, z_pos_storage, mesh, Z_POS, {i, j, CHUNK_SIZE - 1}, {i, j, 0} + local_storage, z_pos_storage, mesh, Z_POS, {i, j, CHUNK_SIZE - 1}, {i, j, 0} ); } } + BLT_END_INTERVAL("Chunk Mesh", "Partial"); chunk->getMeshStorage() = mesh; chunk->getStatus() = NONE; chunk->markRefresh(); - BLT_END_INTERVAL("Chunk", "Mesh"); + } std::queue chunks_to_generate{}; @@ -154,18 +163,16 @@ void fp::world::render(fp::shader& shader) { chunks_to_generate.push(adjusted_chunk_pos); continue; } - + // check for mesh updates if (chunk->getDirtiness() > REFRESH) { - BLT_START_INTERVAL("Chunk Mesh", "Mesh"); generateChunkMesh(chunk); - BLT_END_INTERVAL("Chunk Mesh", "Mesh"); } else if (chunk->getDirtiness() == REFRESH) { // 11436 vert, 137,232 bytes // 1908 vert, 11436 indices, 22896 + 45744 = 68,640 bytes chunk->updateChunkMesh(); } - + chunk->render(shader); } } @@ -183,9 +190,11 @@ fp::chunk* fp::world::generateChunk(const fp::chunk_pos& pos) { auto block_x = float(pos.x * CHUNK_SIZE + i); for (int k = 0; k < CHUNK_SIZE; k++) { auto block_z = float(pos.z * CHUNK_SIZE + k); - auto world_height = stb_perlin_ridge_noise3(block_x / 128.0f, - 8.1539123f, - block_z / 128.0f, 2.0f, 0.5f, 1.0, 12.0f) * 128 + 64; + auto world_height = stb_perlin_ridge_noise3( + block_x / 128.0f, + 8.1539123f, + block_z / 128.0f, 2.0f, 0.5f, 1.0, 12.0f + ) * 128 + 64; for (int j = 0; j < CHUNK_SIZE; j++) { auto block_y = float(pos.y * CHUNK_SIZE + j); @@ -203,6 +212,14 @@ fp::chunk* fp::world::generateChunk(const fp::chunk_pos& pos) { return c; } +fp::world::~world() { + BLT_PRINT_PROFILE("Chunk Mesh", blt::logging::TRACE, true); + std::ofstream profile{"decomposition_chunk.csv"}; + BLT_WRITE_PROFILE(profile, "Chunk Mesh"); + for (auto& chunk : chunk_storage) + delete (chunk.second); +} + void fp::chunk::render(fp::shader& shader) { if (render_size > 0) { blt::mat4x4 translation{}; @@ -232,7 +249,8 @@ void fp::chunk::updateChunkMesh() { BLT_DEBUG( "Chunk [%d, %d, %d] mesh updated with %d vertices and %d indices taking (%s, %s) bytes!", pos.x, pos.y, pos.z, - vertices.size(), indices.size(), blt::string::fromBytes(vertices.size() * sizeof(vertex)).c_str(), + vertices.size(), indices.size(), + blt::string::fromBytes(vertices.size() * sizeof(vertex)).c_str(), blt::string::fromBytes(indices.size() * sizeof(unsigned int)).c_str()); // upload the new vertices to the GPU diff --git a/src/world/registry.cpp b/src/world/registry.cpp index f5205ad..8ee618a 100644 --- a/src/world/registry.cpp +++ b/src/world/registry.cpp @@ -12,11 +12,7 @@ #include #include -#ifdef __EMSCRIPTEN__ -std::unordered_map blocks; -#else -phmap::flat_hash_map blocks; -#endif +fp::registry::block_properties* blocks; fp::texture::palette* base_palette; @@ -33,12 +29,8 @@ std::thread** texture_loader_threads; int thread_count = 0; -void fp::registry::registerBlock(fp::block_type id, fp::registry::block_properties properties) { - blocks[id] = std::move(properties); -} - fp::registry::block_properties& fp::registry::get(fp::block_type id) { - return blocks.at(id); + return blocks[id]; } void fp::registry::registerTexture(fp::texture::file_texture* texture) { @@ -54,6 +46,12 @@ fp::texture::texture_index fp::registry::getTextureIndex(const std::string& name return base_palette->getTexture(name); } +void fp::registry::registerBlock(fp::block_type id, fp::registry::block_properties properties) { + blocks[id] = std::move(properties); + // since this information doesn't change at runtime it can be safely stored + blocks[id].textureIndex = getTextureIndex(blocks[id].textureName); +} + void fp::registry::generateTexturePalette() { for (int i = 0; i < thread_count; i++) { texture_loader_threads[i]->join(); @@ -106,4 +104,10 @@ void fp::registry::textureInit() { void fp::registry::cleanup() { delete base_palette; + delete[] blocks; +} + +void fp::registry::blockInit() { + //blocks = new phmap::flat_hash_map(); + blocks = new fp::registry::block_properties[256]; }