summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/drawd3d.cpp
Commit message (Collapse)AuthorAgeFilesLines
* drawd3d: properly clean up d3dintf (nw) hap2020-06-211-0/+3
|
* MAME Testers Bugs Fixed Ryan Holtz2020-05-281-163/+85
| | | | | | | ----------------------- 07536: [Graphics] Prescale option does not work properly on D3D renderer (Ryan Holtz) -renderer/d3d: Removed old StretchRect code. All drivers these days punt it to a shader backend anyway, and it's causing issues with -prescale. [Ryan Holtz]
* fixed some modernize-use-auto clang-tidy warnings (nw) (#6238) Oliver Stöneberg2020-01-301-19/+19
|
* Changed Direct3D renderer to call GetAncestor() in device_create() to npwoods2019-12-221-1/+5
| | | | | | get the root window This is to make -attach_window work with non-root windows
* Make osd_printf_* use util/strformat semantics. Vas Crabb2019-09-261-2/+2
| | | | | | | | | | | | | | | | | (nw) This has been a long time coming but it's here at last. It should be easier now that logerror, popmessage and osd_printf_* behave like string_format and stream_format. Remember the differences from printf: * Any object with a stream out operator works with %s * %d, %i, %o, %x, %X, etc. work out the size by magic * No sign extending promotion to int for short/char * No widening/narrowing conversions for characters/strings * Same rules on all platforms, insulated from C runtime library * No format warnings from compiler * Assert in debug builds if number of arguments doesn't match format (nw) Also removed a pile of redundant c_str and string_format, and some workarounds for not being able to portably format 64-bit integers or long long.
* -core: Removed TEXFORMAT_PALETTEA16. [Ryan Holtz] MooglyGuy2019-07-101-20/+1
|
* d3d: this fixes alt-tab crash (nw) hap2019-06-171-1/+5
|
* sun4: More optimizations, nw mooglyguy2018-09-231-7/+7
|
* -bgfx: Improved rendering with artwork by 5-10x or more. [Ryan Holtz] mooglyguy2018-08-261-5/+6
|
* Removed first_screen from wswan and d3d (nw) Ryan Holtz2018-03-091-2/+2
|
* really fixed MT06623 (don't use uninitialised gamma ramp) (nw) smf-2018-01-051-5/+4
|
* drawd3d.cpp: fixed MT06623 (nw) Ivan Vangelista2018-01-051-1/+1
|
* srcclean (nw) Vas Crabb2017-07-231-1/+1
|
* Cleanup, we already have NOMINMAX now in scripts (nw) Miodrag Milanovic2017-02-111-2/+0
|
* Revert "New phosphor persistence shaders for HLSL" R. Belmont2017-01-051-17/+10
|
* Change cached texture format to floating point. Westley M. Martinez2017-01-041-10/+17
| | | | | | | | | | | | hlsl/phosphor.fx: Remove hacks ini/presets/raster.ini, ini/presets/vector-mono.ini, ini/presets/vector.ini: Tweak presets src/osd/modules/render/d3d/d3dcomm.h, src/osd/modules/render/d3d/d3dhlsl.cpp, src/osd/modules/render/drawd3d.cpp: Change cache texture format to floating point for precise for phosphor and ghosting shaders.
* clean up tabulation, fix some things (nw) Vas Crabb2016-11-251-1/+1
|
* A round of spelling/typographical fixes to source comments (nw) Scott Stone2016-11-241-1/+1
|
* Change window handle storage to template instead of void* (nw) (#1725) Brad Hughes2016-11-171-6/+6
| | | | * Change window handle storage to template instead of void* (nw)
* hlsl: fixed games with off-screen backdrop artworks ImJezze2016-11-021-3/+6
| | | | - e.g. atarifb, bowler
* Compile fix, (nw) therealmogminer@gmail.com2016-10-311-1/+0
|
* Kill off another d3d optimization, (nw) therealmogminer@gmail.com2016-10-311-0/+2
|
* Hopefully fix the D3D9 issues people are having (nw) therealmogminer@gmail.com2016-10-311-31/+111
|
* Fixed MT#06417 Jezze2016-10-301-0/+6
| | | | - cache texture/surface were not released when render target was destructed
* Fix visual corruption introduced a few changelists ago by me, nw therealmogminer@gmail.com2016-10-241-11/+25
|
* Make d3d9 a little more discerning in what level of bad hardware it will ↵ therealmogminer@gmail.com2016-10-231-321/+115
| | | | allow, nw
* Fixed null reference exception (D3D/HLSL) Jezze2016-10-221-3/+12
| | | | - when toggling from fullscreen to window mode
* Refactored d3d_render_target (nw) Jezze2016-10-221-96/+34
| | | | | | | * removed cashe_target class * moved cashe texture and surface to d3d_render_target class * render targets are now created per screen not per screen texture * removed useless creation of render targets for ui textures
* -ie15: Improved performance by using a timer to determine hblank. [Ryan Holtz] therealmogminer@gmail.com2016-10-221-24/+1
|
* final cleanup of TRUE/FALSE, left only in windows section where it represent ↵ Miodrag Milanovic2016-10-221-7/+7
| | | | BOOL (nw)
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-95/+95
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* use standard types uintptr_t, char16_t and char32_t instead of FPTR, ↵ Miodrag Milanovic2016-10-221-1/+1
| | | | utf16_char, unicode_char (nw)
* Fix use of uninitialized stack memory in drawd3d.cpp (nw) Brad Hughes2016-10-031-0/+1
|
* Fixed several small issues in HLSL/BGFX Jezze2016-09-281-16/+21
| | | | | | * fixed target texture dimension when -intoverscan is used (this fixes the appereance of scanline and shadow mask) * added target_scale and screen_count uniforms * rounded corners now remain aligned with screen bounds when -intoverscan is used (single screen only)
* Convert OSD monitor info to modules plus add DXGI implementation Brad Hughes2016-09-141-3/+4
|
* for bool type use true and false (nw) Miodrag Milanovic2016-07-311-1/+1
|
* algorithm-> utility where appropriate, fix imgtool (nw) Miodrag Milanovic2016-07-311-1/+1
|
* std::min and std:max instead of MIN and MAX, also some more macros converted ↵ Miodrag Milanovic2016-07-311-2/+4
| | | | to inline functions (nw)
* Cleanups and version bump Miodrag Milanovic2016-07-271-2/+2
|
* Fixed MT #6291 ImJezze2016-07-161-0/+5
| | | | | | | | * fixed copy of texture data to bitmap in BGFX * changed AVI dimension to a lowest integral multiple of 4 (2 was still to low for most video players, e.g. VLC) * added audio to AVI record in HLSL * HLSL AVI record now uses window dimension instead of snap dimension
* Direct3D HLSL: use aviwrite to record avi movies Giuseppe Gorgoglione2016-07-041-6/+2
| | | | | | | | Use common infrastructure in aviwrite.c instead of equivalent local code. In addition: - the target textures used by the HLSL movie recorder are now allocated only when recording is ongoing - removed shaders->begin_frame() and shaders->end_frame() hooks from the main Direct3D rendering loop - set default HLSL movie name to hlsl.avi to match bgfx.avi setting
* Direct3D: convert linked lists into vectors of unique pointers Giuseppe Gorgoglione2016-07-011-38/+28
|
* Misc code cleanups for Direct3D code Giuseppe Gorgoglione2016-07-011-77/+57
| | | | Removed unused methods, unused function parameters, redundant casts, doubly linked lists made into singly linked lists, etc.
* Cleanup and version bumpmame0175 Miodrag Milanovic2016-06-291-11/+11
|
* Fixed crash of D3D when sliders menu is openend and resizing the window or ↵ ImJezze2016-06-201-141/+204
| | | | switching between window and full screen mode
* Add WINAPI to other needed functions for stdcall calling convention on 32-bit Brad Hughes2016-06-151-1/+1
|
* Introduce dynamic_module Giuseppe Gorgoglione2016-06-111-290/+286
| | | | | This is a central cross-platform facility to dynamically bind functions from shared libraries. Updated all OSD modules to use it.
* Procedural texture for vectors in HLSL ImJezze2016-06-051-97/+103
| | | | | | * added simple procedural texture for vectors with rounded line ends and beam smoothness * added optional -vector_beam_smooth option * removed -antialias option, antialiasing is now always applied, except for plain D3D
* Cleanup vector batch in D3D (nw) ImJezze2016-05-291-19/+18
|
* Removed dead D3D code (nw) ImJezze2016-05-291-173/+46
| | | | | | | - removed not functional vector texture code - removed unused D3DTOP_MODULATE2X/4X code - removed unused antialiasing code for UI lines - removed usage of vector_time_period which does not exist anymore