Commit Graph

36 Commits

Author SHA1 Message Date
Ryan Fleury 614954b7ef checkpoint on palettes, fix source view overlay margin building/drawing 2024-06-24 14:46:16 -07:00
Ryan Fleury fb9824dc24 remove unnecessary ctrl log flushes, which seriously bloated the ctrl thread running path 2024-06-14 07:57:46 -07:00
Ryan Fleury 57da328c2a d3d11 render backend c++ -> c; raddbg build c++ -> c 2024-06-01 19:24:47 -07:00
Ryan Fleury f50b54cff7 complete metacodification of rdi format info into tables 2024-06-01 19:24:46 -07:00
Ryan Fleury 5074b7f62e expand f_push_run_from_... to basing its tab-advance logic on what base column it is starting at - currently assume this is 0, basically doing the most naive tab alignment version that will work for leading spaces but for nothing else, and also assume 4-space tab width for now 2024-05-24 14:40:07 -07:00
Martins Mozeiko fd982d38fc Fixes bad resource usage in rendering
D3D11 is quite strict about how resources are supposed to be used - read/write & CPU access.
This changes Tex2DKind and BufferKind into one uniform ResourceKind (because it's the same thing really).

And it is more strict about usage:
1) Static is not allowed to update, resource is immutable, data provided at creation
2) Dynamic allows CPU to update GPU resource occasionally via UpdateSubresource
3) Stream allows CPU to update GPU resource often via Map/Unmap (currently unused)
2024-05-24 14:04:42 -07:00
Ryan Fleury fdfee37228 oops - only d3d11 flush on resize 2024-05-23 14:45:32 -07:00
Ryan Fleury c17072053b adjust d3d11 resize path 2024-05-22 15:27:39 -07:00
Mohit Sethi 6c8963cd06 Disable Alt+Enter fullscreen 2024-03-29 08:23:24 -07:00
Ryan Fleury d8cf83b4d7 pull out & organize build configuration options, including entry point style, to context cracker 2024-02-25 13:30:15 -08:00
Ryan Fleury 9c7fd0a411 metagen: simplify & straighten out table generation further; raddbgi_cons: fix incorrect str8_list_join 2024-02-13 11:38:43 -08:00
Ryan Fleury 1d9dc2b9a9 metagen: simplify data tables 2024-02-13 11:16:45 -08:00
Ryan Fleury ea840a71e8 metagen: simplify enum generation; reading/organization pass over raddbgi_from_pdb 2024-02-13 10:55:06 -08:00
Ryan Fleury fb43eb9c72 default to no d3d11 debug features; use command line flag to enable 2024-02-06 14:59:41 -08:00
Ryan Fleury 385014adcb raddbg nil tables, autofill empty tables with 1-sized nils; use element-from-idx wrapper to bounds-check and nilify all out-of-bounds raddbg table accesses 2024-01-31 08:43:33 -08:00
Ryan Fleury 83e8bb8ddd actually still need corner sdf sample with sufficient softness as well 2024-01-29 15:58:15 -08:00
Ryan Fleury afe105da31 eliminate further useless sdf sampling in shaders; eliminate useless borders in ui, eliminating more overdraw; eliminate tab bar clipping issue 2024-01-29 15:52:08 -08:00
Ryan Fleury b76a8b9854 oops - do not ring_write in reader path... also fix silly shader thing 2024-01-26 13:51:57 -08:00
Ryan Fleury 88a218e36e visual jank-fix/polish pass 2024-01-26 07:43:40 -08:00
Martins Mozeiko 644a94d5ef fixing clang build 2024-01-25 11:19:30 -08:00
Martins Mozeiko bae91cd40c doing blur shader without alpha blending 2024-01-23 15:05:33 -08:00
Martins Mozeiko 82f86d654f bugfix when calculating kernel weights for smaller than 1px blur size 2024-01-23 15:05:33 -08:00
Ryan Fleury 6e5f518cf3 fix flipped y transform application in upgraded shader 2024-01-23 12:50:26 -08:00
Martins Mozeiko 1705fdd421 blut shader improvements, use bilinear sampling for 2x fewer samples 2024-01-23 08:38:53 -08:00
Martins Mozeiko a77d457f51 rect shader improvements, moved calculations from pixel to vertex shader 2024-01-23 08:38:53 -08:00
Martins Mozeiko f7897aecea fix build warnings for clang 2024-01-19 10:27:33 -08:00
Ryan Fleury b5e604e6c8 source view bottom bar -> warn if file timestamp is newer than currently-used debug info 2024-01-18 16:53:30 -08:00
Martins Mozeiko 99b2d9d6d0 minor d3d11 code improvements
1) automatically tries WARP driver if HW creation fails
2) HRESULT checks for swap chain creation or Present call (can fail if GPU driver crashes)
3) checks HRESULT of D3DCompile functions instead of using shader pointer as error condition
4) releases shader blob memory when not needed anymore
2024-01-16 17:09:07 -08:00
Ryan Fleury 096d85168a display d3d11 device creation error code if fail 2024-01-13 11:10:37 -08:00
Ryan Fleury 735f817b0b more texture format coverage in renderer/view-rules 2024-01-13 10:21:50 -08:00
Ryan Fleury b932e6236a os gfx stub backend 2024-01-12 20:30:38 -08:00
Ryan Fleury b9a7b64280 stub render backend for tests; hoist out raddbg code/entry points from build target file, to be called into by sanity tests 2024-01-12 20:06:38 -08:00
Ryan Fleury 2078af15f9 mc -> mdesk; I do not know what Monkey C is 2024-01-12 19:22:11 -08:00
Ryan Fleury 5410fac38e oops... fix first-time config initialization disaster! 2024-01-12 15:44:11 -08:00
Ryan Fleury ca8727c4af pipe parsed command line through render layer initialization; add new command line flags for render layer - (a) to disable API calls which require debug SDKs, and (b) to force software warp driver type 2024-01-12 14:42:24 -08:00
Ryan Fleury a42ec6aeff initial upload 2024-01-10 19:57:50 -08:00