Commit graph

  • ec1a332853 dev: add gpu-dawn subrepository Stephen Gutekanst 2022-02-11 15:00:54 -07:00
  • 7a4895d62c gpu-dawn: initialize subrepository Stephen Gutekanst 2022-02-11 14:55:21 -07:00
  • d12bd1daa7 gpu-dawn: prepare to have binary release option Stephen Gutekanst 2022-02-11 14:50:14 -07:00
  • 48bbf627fb gpu-dawn: add option to build single static library Stephen Gutekanst 2022-02-11 13:52:10 -07:00
  • 943a5af48b gpu-dawn: ensure submodules are initialized as part of zig build Stephen Gutekanst 2022-02-08 22:34:34 -07:00
  • 225109ec7b gpu-dawn: make build system a single file Stephen Gutekanst 2022-02-08 22:07:22 -07:00
  • be35c4cf85 glfw: CI: M1: skip sudo when cleaning up git submodules Stephen Gutekanst 2022-02-12 00:32:07 -07:00
  • 3f0eeadede CI: M1: skip sudo when cleaning up git submodules Stephen Gutekanst 2022-02-12 00:31:55 -07:00
  • 1018f299d8 CI: cleanup git submodules in M1 runner Stephen Gutekanst 2022-02-11 22:51:56 -07:00
  • 505909486b glfw: CI: cleanup git submodules in M1 runner Stephen Gutekanst 2022-02-11 22:51:35 -07:00
  • 6a5e5c10c4 CI: cleanup git submodules in M1 runner Stephen Gutekanst 2022-02-11 22:06:40 -07:00
  • e718919be5 glfw: CI: cleanup git submodules in M1 runner Stephen Gutekanst 2022-02-11 22:05:09 -07:00
  • 46bb995164 CI: upgrade to latest Zig nightly Stephen Gutekanst 2022-02-11 17:24:41 -07:00
  • bca3c80504 glfw: CI: upgrade to latest Zig nightly Stephen Gutekanst 2022-02-11 17:24:32 -07:00
  • 6f32a338c0 glfw: use comptime magic to remove InternalUserPointer and associated overhead Lee Cannon 2022-02-09 23:03:35 +00:00
  • 8d2a4cd8d2 glfw: glfwGetMonitors can return null to signify no monitors Lee Cannon 2022-02-09 21:45:59 +00:00
  • bc8ce57e53 glfw: document why unreachable is valid Lee Cannon 2022-02-09 21:45:27 +00:00
  • 0cdac6c68a Fix minor regressions introduced in 3e79a12 Stephen Gutekanst 2022-02-08 20:21:56 -07:00
  • 2e9347399d glfw: dont use @errSetCast Lee Cannon 2022-02-08 02:08:26 +00:00
  • 3e79a12f3d glfw: dont call getError unless we need to Lee Cannon 2022-02-08 01:49:22 +00:00
  • 746b0dd1f0 glfw: improve setErrorCallback Lee Cannon 2022-02-08 00:20:59 +00:00
  • c2c4335ff2 ecs: major rethink & database-aligned design Stephen Gutekanst 2022-01-26 18:28:10 -07:00
  • a75b599279 ecs: add very early-stages entity component system Stephen Gutekanst 2022-01-16 18:49:30 -07:00
  • 3d392c8c74 glfw: Use anyopaque instead of opaque {} InKryption 2022-01-12 18:51:48 +01:00
  • d651d25903 glfw: Use anyopaque instead of opaque{} InKryption 2022-01-10 22:55:10 +01:00
  • abe9475d6e
    gpu-dawn: update to latest glfw get/setUserPointer API (#154) Alex G Rice 2022-01-09 20:58:18 -07:00
  • 786da94468 glfw: Tidy up UserPointer access This change both restricts and clarifies the mutability/nullability of the pointers, and replaces the explicitly-typed pointer usage in setUserPointer with ?*anyopaque, since it now, as of being renamed from c_void, more simply communicates the intent of taking any pointer type. InKryption 2022-01-02 19:36:38 +01:00
  • 1f748d1be8
    glfw: repatch undefined behavior in X11 keypress handling (#150) Ali Chraghi 2021-12-28 14:27:08 +03:30
  • dc2f2b2a12 glfw: improve documentation for native.zig iddev5 2021-12-24 12:44:00 +05:30
  • 494eb81b56
    glfw: expose glfwSetErrorCallback for retrieving optional error descriptions Ali Chraghi 2021-12-25 22:02:12 +03:30
  • e38d8649dc gpu-dawn: update to latest Dawn version as of Dec 23, 2021 Stephen Gutekanst 2021-12-24 01:51:45 -07:00
  • 38cab2e423
    add wayland cross-compilation support (#140) Ali Chraghi 2021-12-24 11:36:51 +03:30
  • ad8e1a4292 gpu-dawn: Fix building after the rename of gpu -> gpu-dawn iddev5 2021-12-24 12:54:22 +05:30
  • cd82da72be glfw: Update function docs in Monitor and vulkan to match glfw 3.3.6 iddev5 2021-12-23 17:47:56 +05:30
  • a385eef8cd glfw: native.zig: Fix missing casts, incorrect return types and error handling iddev5 2021-12-23 12:29:10 +05:30
  • 4f35c578a0 glfw: Add ziggified API of glfw3native.h iddev5 2021-12-22 15:13:46 +05:30
  • 162a9825e8 gpu-dawn: update README to reflect Dawn-specific package Stephen Gutekanst 2021-12-22 17:08:48 -07:00
  • 7af784bee7 rename mach/gpu to mach/gpu-dawn Stephen Gutekanst 2021-12-22 16:37:26 -07:00
  • 7ec7fb7af0
    glfw: Update glfw to 3.3.6 (#136) Ali Chraghi 2021-12-22 21:45:23 +03:30
  • 6866fce4ee
    glfw: make update-upstream.sh clone faster (#132) Ali Chraghi 2021-12-22 04:55:51 +03:30
  • 62fbf78f9a gpu: update to latest Zig (c_void -> anyopaque) Stephen Gutekanst 2021-12-20 15:36:45 -07:00
  • 4a27bf25ac glfw: update CI to latest Zig master InKryption 2021-12-19 20:29:56 +01:00
  • 3bea968cb4 CI: update to latest Zig master InKryption 2021-12-19 20:29:11 +01:00
  • f8e14dabc6 Run zig fmt >> Zig master changed c_void to anyopaque, and zig fmt helps to change code as appropriate InKryption 2021-12-19 19:37:09 +01:00
  • c279e0c794 gpu: update to latest Dawn revision as of Dec 15, 2021 Stephen Gutekanst 2021-12-15 20:53:20 -07:00
  • 97ebee0e00 gpu: Fix invalid parameter type of glfw framebuffer callback function iddev5 2021-12-15 12:44:13 +05:30
  • 2e26559cc3 CI: remove sponsors generation (moved to website) Stephen Gutekanst 2021-12-14 19:04:10 -07:00
  • 398b289941 glfw: mention Matrix chat room Stephen Gutekanst 2021-12-14 19:01:45 -07:00
  • 8b717318d9 README: add new website, Matrix chat room Stephen Gutekanst 2021-12-14 19:01:29 -07:00
  • 595cf48450
    glfw: replace isize, usize with i32, u32 where appropriate (#126) Ali Chraghi 2021-12-14 19:50:14 +03:30
  • 8b5fdbc333 README: regenerate sponsors section slimsag 2021-12-12 22:51:57 +00:00
  • 3535c8023f gpu: prevent compiler flags from being repeated for each source file Stephen Gutekanst 2021-12-10 07:14:19 -07:00
  • d07b61787e gpu: reduce compilation units to improve iteration time by ~387ms Stephen Gutekanst 2021-12-10 06:43:15 -07:00
  • fe17507689 gpu: reduce compilation units to improve iteration time by ~763ms Stephen Gutekanst 2021-12-10 06:31:07 -07:00
  • 4a9fda49e0 gpu: reduce compilation units to improve iteration time by ~566ms Stephen Gutekanst 2021-12-10 05:55:11 -07:00
  • 43ffa1c408 gpu: reduce compilation units to improve iteration time by ~288ms Stephen Gutekanst 2021-12-10 05:23:30 -07:00
  • 51aae5e474 gpu: reduce compilation units to improve iteration time by ~121ms Stephen Gutekanst 2021-12-10 05:10:15 -07:00
  • 3ec74222e6 glfw: reduce compilation units to bring iteration time down to ~90ms Stephen Gutekanst 2021-12-10 04:41:39 -07:00
  • c552148d0b README: regenerate sponsors section slimsag 2021-12-10 11:40:19 +00:00
  • 77d2e8a9a3 glfw: improve consecutive build times by 4-12x Stephen Gutekanst 2021-12-10 03:33:31 -07:00
  • a9d378583d glfw: rename capture appropriately InKryption 2021-12-10 04:01:57 +01:00
  • f8be8582af glfw: replace glfw.dont_care as sentinel value Apply same pattern to other hints which can take on the value of glfw.dont_care`. InKryption 2021-12-10 04:00:17 +01:00
  • 4252ee0b1f glfw: replace glfw.dont_care as sentinel value Also change logic inside Hints.set to account for this special case InKryption 2021-12-10 03:21:38 +01:00
  • f906bd6c79 glfw: remove accidental re-addition of TODO InKryption 2021-12-10 02:44:28 +01:00
  • f953621a40 glfw: add doc-comment InKryption 2021-12-10 02:40:24 +01:00
  • b50b56760e glfw: replace usage of glfw.dont_care as sentinel value for parameters in some glfw.Window functions InKryption 2021-12-10 02:31:40 +01:00
  • b8c913cd6c glfw: remove TODOs InKryption 2021-12-07 11:46:26 +01:00
  • 9ea4d2aa6f glfw: correctly @errorSetCast when returning errors from createWindowSurface Stephen Gutekanst 2021-12-06 22:14:06 -07:00
  • 3648d6b9c4
    glfw: Denormalize errors (#115) InKryption 2021-12-07 05:52:15 +01:00
  • 233fc53a17 CI: update to latest Zig master Stephen Gutekanst 2021-12-06 20:43:49 -07:00
  • 32a5addcbb glfw: update CI to latest Zig master Stephen Gutekanst 2021-12-06 20:43:36 -07:00
  • 7ecef80ec7 gpu: update to latest Zig master version (allocgate) Stephen Gutekanst 2021-12-06 20:35:11 -07:00
  • 784aa40093 glfw: update system_sdk.zig to latest Zig master BratishkaErik 2021-12-06 17:35:47 +06:00
  • 5b2cb46700 gpu: reduce debug Dawn static library size from ~947M -> ~53M Stephen Gutekanst 2021-12-04 23:01:16 -07:00
  • 1c6792a492 gpu: add OpenGL fallback support for Linux Stephen Gutekanst 2021-12-05 04:25:19 +00:00
  • 6b0129f590 gpu: implement OpenGL / OpenGL ES adapter discovery in example Stephen Gutekanst 2021-12-05 04:23:06 +00:00
  • d8d0c85572 glfw: make getProcAddress ABI compatible with C implementation Stephen Gutekanst 2021-12-05 04:22:21 +00:00
  • 507f4fa6aa gpu: allow choosing WGPU_BACKEND in example program Stephen Gutekanst 2021-12-05 04:21:29 +00:00
  • 1fc499922f gpu: update Dawn to include generated OpenGL desktop sources Stephen Gutekanst 2021-12-05 04:19:44 +00:00
  • d9ec84b327 gpu: implement C wrapper for Dawn Instance.discoverAdapters Stephen Gutekanst 2021-12-04 21:18:06 +00:00
  • 4ebb4571ac gpu: correctly target ~60hz, not 62,500hz, in Dawn example Stephen Gutekanst 2021-12-02 18:05:46 +00:00
  • fd0eeb2662 gpu: handle resize events in example (fixes Vulkan crash on resize) Stephen Gutekanst 2021-12-01 10:18:03 +00:00
  • 8f3726dfa2 gpu: improve Dawn example backend type detection Stephen Gutekanst 2021-12-01 08:46:09 +00:00
  • 91728ebde9 gpu: update to latest Dawn version Stephen Gutekanst 2021-11-30 23:57:24 -07:00
  • 0fc2876e41 glfw: update Linux SDK (enforce static linkage of libvulkan and libX11-xcb) Stephen Gutekanst 2021-12-01 04:04:19 +00:00
  • 77a4b5239b glfw: update Linux system SDK Stephen Gutekanst 2021-11-30 16:56:13 -07:00
  • 561f9408b8 gpu: add support for building on Linux Stephen Gutekanst 2021-11-30 15:16:09 -07:00
  • e9b481a709 gpu: include Vulkan headers Stephen Gutekanst 2021-11-30 15:02:10 -07:00
  • e1d17f461e gpu: implement source inclusion for most Vulkan/D3D12/OpenGL backends Stephen Gutekanst 2021-11-30 14:29:53 -07:00
  • 3f56f3f964 gpu: make Dawn source inclusion feature-oriented, not target-oriented Stephen Gutekanst 2021-11-30 14:11:28 -07:00
  • 30c60162ae gpu: remove invalid TODOs Stephen Gutekanst 2021-11-30 13:59:34 -07:00
  • 17d7d84141 gpu: remove Windows UWP app support (effectively deprecated by Microsoft) Stephen Gutekanst 2021-11-30 13:54:14 -07:00
  • 11bc32d21b gpu: detect platform-specific backend types Stephen Gutekanst 2021-11-30 13:53:28 -07:00
  • 718ad2a630 gpu: add build-system TODOs Stephen Gutekanst 2021-11-30 11:30:17 -07:00
  • 6c93a9d5a4 glfw: add build-system TODOs Stephen Gutekanst 2021-11-30 11:29:56 -07:00
  • 5db4ac5bb5 gpu: include system SDK for cross compilation Stephen Gutekanst 2021-11-29 21:59:50 -07:00
  • cbf88d7669 glfw: update system SDKs for macOS 11 cross compilation Stephen Gutekanst 2021-11-29 21:03:25 -07:00
  • 87ad07a9bf glfw: CI: re-enable x86_64-macos -> aarch64-macos cross compilation Stephen Gutekanst 2021-11-28 20:49:19 -07:00
  • 2337d9d832 CI: re-enable x86_64-macos -> aarch64-macos cross compilation Stephen Gutekanst 2021-11-28 20:48:39 -07:00
  • 256fea8e5f glfw: do not pin SDK version when using custom dev SDK path Stephen Gutekanst 2021-11-28 20:19:23 -07:00