summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/bgfx/shadermanager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* emscripten: fixes to get bgfx working (#13255) algestam2025-02-061-0/+9
| | | | | | | | | * Emscripten: Fixes to get BGFX working * Move emscripten specific setup into an #elif statement * Fix indentation * emscripten: remove no longer link option DEMANGLE_SUPPORT
* osd: Turned video modules into actual modules, fixed various issues. Vas Crabb2023-02-011-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't ignore the return status of OSD module initialisation. Attempt to fall back to an alternate module if the selected module fails to initialise. Log more useful diagnostic information at verbose level. Fixed BGFX crash on exit after toggling fullscreen. Also persist more settings than just the selected chains across toggling fullscreen. Turned video modules into OSD modules in the same sense as all the other OSD modules. They now use the same selection/fallback mechanism as all the other modules without special extra code in the OSD implementations. Untangled some object ownership mess. Windows own renderers, OSD objects own windows. Fixed a refrence loop that caused the first window object to always leak. Don't create renderer object until after underlying window has been created. Fixed issues with order of creation/destruction when toggling fullscreen or changing prescale in fullscreen with -switchres in SDL builds. Use more smart pointers in BGFX and Direct3D render modules. Most of the code now reutrns a smart pointer when handing over ownership or a naked pointer when retaining ownership. Fixed a few leaks and simplified cleanup code. Encapsulated various OSD modules better.
* render/bgfx: Got rid of a lot of unnecessary object copying during setup. Vas Crabb2023-01-291-6/+6
|
* Update BGFX, BX and BIMG (#10789) Miodrag Milanović2023-01-051-2/+4
| | | | * Update to bgfx a93a714632b79b5ddbf5c86ac323fa9b76ed3433 Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
* Revert "Update BGFX, BX and BIMG (#10750)" (#10787) R. Belmont2023-01-041-4/+2
| | | This reverts commit 5581eaa50a42256242f32569f59ce10d70ddd8c2 due to link failure on macOS.
* Update BGFX, BX and BIMG (#10750) Miodrag Milanović2023-01-041-2/+4
| | | | * Update to bgfx a93a714632b79b5ddbf5c86ac323fa9b76ed3433 Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
* osd/modules/file: Don't magically substitute environment variables when ↵ npwoods2022-12-171-1/+1
| | | | | | | | opening files. (#9859) * util/options.cpp: Added option types for single and multiple paths. * util/options.cpp: Substitute environment variables in values from defaults and INI files. * ui/dirmenu.cpp: Removed hard-coded list of multi-path options. * plugins: Don't substitute environment variables in path options.
* Clean up #includes in src/osd (#10029) ajrhacker2022-07-041-4/+7
| | | | | * Clean up #includes in src/osd * render/bgfx/view.cpp: Add license header
* osdcore.h: Changed osd_subst_env to accept a std::string_view and return a ↵ npwoods2022-06-151-3/+1
| | | | std::string. (#9928)
* Updated BGFX fixes; verified as working on Linux and Windows. (#9420) MooglyGuy2022-03-151-16/+43
| | | | | | | * -bgfx: Improved stability when encountering missing files, and improved multi-window stability. [Ryan Holtz] * -osd: Added video-init fallback functionality to other OSDs. [Ryan Holtz] * -bgfx: Fixed issues from the previous batch of changes. [Ryan Holtz] * -osdwindow: Remove no-longer-needed addition of post_create(). [Ryan Holtz]
* Revert "More BGFX stability improvements (missing files + multi-window) (#9410)" Vas Crabb2022-03-161-12/+10
| | | | This reverts commit f5b75b74393646d1dc082ec807279451dc481854.
* More BGFX stability improvements (missing files + multi-window) (#9410) MooglyGuy2022-03-141-10/+12
| | | | | * -bgfx: Improved stability when encountering missing files, and improved multi-window stability. [Ryan Holtz] * -osd: Added video-init fallback functionality to other OSDs. [Ryan Holtz]
* Updated GENie, BGFX, BX, added BIMG since it is separated now, updated all ↵ Miodrag Milanovic2017-12-011-4/+4
| | | | shader binaries and MAME part of code to support new interfaces [Miodrag Milanovic]
* do variable substitution in bgfx_path #2201 Vas Crabb2017-04-231-8/+11
|
* Fix compile with latest BGFX (nw) Miodrag Milanovic2017-01-021-4/+4
|
* Updated BGFX and BX and recompiled shaders (nw) Branimir Karadžić2016-10-291-3/+12
|
* bgfx: Add data-driven render target clearing [Ryan Holtz] therealmogminer@gmail.com2016-04-141-11/+23
|
* Revert "Fix SDL compile on linux. Took the opportunity to remove a number of" Miodrag Milanovic2016-04-081-7/+1
| | | | | Partial revert only, some changes still in This reverts commit 632b10cd0ec304c0367321a5be62164d00b18ff1.
* Revert "compile fix on windows (nw)" Miodrag Milanovic2016-04-081-2/+0
| | | | This reverts commit f862b775205e7b07e3803a8f1c789e7d6b710f24.
* compile fix on windows (nw) Miodrag Milanovic2016-04-081-0/+2
|
* Fix SDL compile on linux. Took the opportunity to remove a number of couriersud2016-04-081-1/+7
| | | | | "emu.h" includes from src/osd/modules/render/bgfx code. There is still a conflict between mame memory.h and bgfx memory.h to be resolved.
* Cleanups and version bump Miodrag Milanovic2016-03-301-4/+4
|
* Huge cleanup of render target handling, nw therealmogminer@gmail.com2016-03-251-1/+1
|
* Add bgfx command line options, major shakeup of organization, nw therealmogminer@gmail.com2016-03-131-6/+10
|
* Add dynamic skipping of shader chain passes, nw therealmogminer@gmail.com2016-03-131-17/+19
|
* compile with latest bgfx,bx (nw) Miodrag Milanovic2016-03-081-0/+1
|
* Cleanups and version bump Miodrag Milanovic2016-02-241-13/+13
|
* Fix some compile errors, not sure if all(nw) therealmogminer@gmail.com2016-02-211-0/+11
|
* First take on render API reorg, nw therealmogminer@gmail.com2016-02-211-0/+73