summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/drawd3d.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Revert partial fix for border style issue (nw) ImJezze2016-05-241-2/+2
| | | | - reverted from commit f911dfc and a6ccd3b, because it wasted up to 10 percent of the performance in fullscreen mode (actual fix for MT-06209 is not harmed)
* Moved extension of vector lines to where it belongs (nw) ImJezze2016-05-221-2/+2
|
* Fixed half pixel offset of vectors in D3D ImJezze2016-05-171-0/+2
| | | | - appearance should be identical to GDI and BGFX
* Small changes to creation of render targest in HLSL (nw) ImJezze2016-05-161-3/+6
| | | | | - removed unessesary recreations of non-screen-quad texture targets - removed creation of cached targets for non-screen-quad texture
* Fixed several HLSL problems when running machines without screen (nw) ImJezze2016-05-161-2/+6
|
* Fixed MT 06209 (part 3) ImJezze2016-05-151-1/+1
| | | | - fixed switchres option
* Fixed MT 06209 (part 2) ImJezze2016-05-151-2/+2
| | | | - the D3D device is now always created with presentation parameters where Windowed = true, which actually does not make sense
* Fixed MT 06209 ImJezze2016-05-141-1/+0
| | | | - when deleting the D3D device, it was reset before with outdate presentation information
* leftovers from mt (nw) Miodrag Milanovic2016-05-061-8/+0
|
* Equalized options of HLSL and BGFX HLSL chain ImJezze2016-05-051-9/+5
| | | | | - removed POT texture size from shadow mask in HLSL, U/V size is now simply the percentage of the actual texture size - adjusted display names of options
* Revert "Temp revert of Brad changes (nw)" Miodrag Milanovic2016-04-251-51/+83
| | | | This reverts commit 5e831f6506ee06f8c30cb113551ee0fec53804db.
* Temp revert of Brad changes (nw) Miodrag Milanovic2016-04-251-83/+51
|