Flyinghead
e73d11d0ab
glHint nicest->fastest, and just once
2018-05-15 22:37:40 +02:00
Flyinghead
b469f05b9d
Fix wrong fog calculation issue
2018-05-15 21:19:58 +02:00
Flyinghead
d8165376be
GL cache fix
2018-05-15 16:09:50 +02:00
Flyinghead
de046c4620
Use OpenGL state cache. Allocate texture ids in bulk. Avoid modifier
...
volumes entirely when not needed.
2018-05-15 15:22:26 +02:00
Flyinghead
2d834c7396
Revert glChecks
2018-05-15 11:54:14 +02:00
Flyinghead
833a616122
Merge OSX fixes
2018-05-15 11:41:44 +02:00
Flyinghead
b30f715796
Fix paletted textures mismatch in texture cache
2018-05-14 16:14:15 +02:00
Flyinghead
699c2986a5
WIP
2018-05-14 12:48:22 +02:00
Flyinghead
46f28cfb27
Fog fix
2018-05-13 23:07:35 +02:00
Flyinghead
95120690ef
Use log2 depth scaling when opengl 3 is available
2018-05-13 20:19:36 +02:00
Flyinghead
b68f0a16a8
Increase FPS font size
2018-05-13 16:45:20 +02:00
Flyinghead
c30548eb6a
Added on-screen FPS counter. Fix clear screen issue when widescreen
...
enabled but not currently on.
2018-05-13 16:01:08 +02:00
Flyinghead
50a2e7e842
Revert dd9f77b4ab0b4c66fe7a2a717ed4b8cc1835e343: no gl_FragDepth in GLES 2 :(
2018-05-12 14:39:06 +02:00
Flyinghead
dd9f77b4ab
Changed z normalization to log scale
2018-05-12 13:26:50 +02:00
Flyinghead
717ee0b3ce
Make rendering to texture buffer optional
2018-05-11 19:33:17 +02:00
Flyinghead
43c125c208
Better texture cache: avoid duplicate. Attempt to put the RTT texture in
...
the cache to avoid copy to/from vram.
2018-05-11 15:29:24 +02:00
Flyinghead
683cbbba3e
Multipass rendering
2018-05-10 21:28:20 +02:00
Flyinghead
b77843b927
Handle RTT texture stride (VT)
2018-05-09 15:08:13 +02:00
Flyinghead
c13a42611b
Implemented other RTT format conversions.
2018-05-09 13:04:48 +02:00
Flyinghead
5710aa08ed
Remove all vram locks before reading back RTT buffer. Use RGBA/ubyte
...
format when RGB/565 is not available.
2018-05-09 12:28:38 +02:00
Flyinghead
2e4ec3a1ed
Added RTT support
2018-05-08 18:47:00 +02:00
Flyinghead
9f13ded502
Enable Modifier Volumes. Fix modtrig buffer overflow and stencil reset.
2018-05-04 18:18:04 +02:00
Flyinghead
cc88561d4a
Implemented clipping (Daytona USA menus)
2018-05-02 15:41:42 +02:00
Flyinghead
db0534d5dd
Fix PunchThrough texturing on JGR with nvidia
2018-05-02 12:29:47 +02:00
Flyinghead
35d3bd98d4
Disable fog table logging. Small optimization
2018-04-27 10:58:10 +00:00
Nicolas HOUDELOT
5c343a219c
fix typo
2018-03-05 01:57:00 +01:00
Stefanos Kornilios Mitsis Poiitidis
3ed70a26fb
Merge pull request #914 from ghost/issue-883
...
Update softrend.cpp
2016-09-12 22:19:39 +02:00
twinaphex
ccfb6b635a
Delete spurious code - fixes sprite palette issue with games like
...
Street Fighter III 3rd Strike/Capcom Vs SNk 2, possibly others
2016-05-13 14:37:47 +02:00
pvezien
e093f679a8
Update softrend.cpp
2016-04-13 09:20:33 +12:00
Jan Holthuis
52afec6f7d
Merge pull request #832 from reicast/holzhaus/sdl-opengl
...
Move to SDL2 for OpenGL 3.1 and GLES support
2016-03-04 15:13:25 +01:00
Stefanos Kornilios Mitsis Poiitidis
6c3c726019
softrend: Fix windows build
2015-12-14 03:11:40 +01:00
Stefanos Kornilios Mitsis Poiitidis
af01baae75
linux/softrend: Optional via makefile, sse4.1 detection
2015-12-14 02:40:23 +01:00
Stefanos Kornilios Mitsis Poiitidis
f3e4416bb4
linux/softrend: Cleanup accidental file changes
2015-12-13 14:08:16 +01:00
Stefanos Kornilios Mitsis Poiitidis
62018cf203
linux/softrend: Fix porting bugs, hackplement X11 drawing
...
- Fix RECT fields oder (initialized via {} on the code)
- Initialize shuffle_alpha (duh ...)
- X11 Image drawing (hacky, depends on internal X11 details)
- Untwidle code w/ optional flipping (X11 doesn't use inverted bitmaps)
- rgba shuffling (not needed yet, but left for documentation)
2015-12-13 14:00:25 +01:00
Stefanos Kornilios Mitsis Poiitidis
5e377399d3
linux/softrend: builds & runs, doesn't push to screen yet
2015-12-13 14:00:25 +01:00
Jan Holthuis
098e208a57
SDL: Drop SDL1.2 support and use SDL2 for GLES, too
2015-10-11 18:41:23 +02:00
Jan Holthuis
4267d51f90
stdclass: Make path getter function names more verbose
2015-09-02 15:49:00 +02:00
Jan Holthuis
b6d0cddcaa
stdclass: Add support for separate config/data dirs and system wide dirs
...
This adds support for separate config and data dirs.
On Linux, these will be compliant XDG Basedir Specification, i.e.
XDG_CONFIG_HOME and XDG_CONFIG_DIRS (or XDG_DATA_HOME and XDG_DATA_DIRS
respectively). On all other platforms, there currently just set to the
homedir path (so no previous behaviour has been changed).
If reicast wants to read and write a data file, it just calls
get_data_path("/samplefile.txt"). If it does not need to write to
that file, it just uses get_data_path("/samplefile.txt", false). That
way, we can also use system-wide dirs (like /usr/share/reicast on
linux), that the user usually doesn't have write access to.
The same applies for config file, where you use get_config_path(args)
respectively.
2015-09-02 15:48:53 +02:00
Jan Holthuis
fc2d1edea9
linux-dist/x11: Enable fullscreen toggling via F11 button
2015-08-19 18:47:42 +02:00
Stefanos Kornilios Mitsis Poiitidis
67ecd6d9f9
vmem: Automatic fallback to slowpath if alloc fails
...
This consolidates some of the work done for TARGET_NO_NVMEM and
feat/no-direct-memmap. If nvmem is disabled at compile time or alloc
fails _nvmem_enabled() will return false. Various other fixes
and cleanups all around.
2015-08-12 03:09:44 +02:00
Stefanos Kornilios Mitsis Poiitidis
eeeb2d6a62
texcache: Correctly compute size for STRIDE PLANAR textures
2015-08-12 03:09:44 +02:00
Stefanos Kornilios Mitsis Poiitidis
13b2c4d8aa
naomi: Don't lock vram mirrors if vram isn't mirrored
2015-08-11 19:13:12 +02:00
Stefanos Kornilios Mitsis Poiitidis
c3c2c68f21
Merge pull request #729 from reicast/wip/softrend
...
Basic and buggy software renderer
2015-08-11 17:43:47 +02:00
Stefanos Kornilios Mitsis Poiitidis
91039911ce
softrend/gltex: Fix non-windows builds
...
_mm* are windows only, and so is softrend for now
2015-08-11 16:12:18 +02:00
Stefanos Kornilios Mitsis Poiitidis
26cfcd79e9
OSX: Fiddling to get the rec-cpp/noexcept path running
2015-08-11 07:57:22 -04:00
Stefanos Kornilios Mitsis Poiitidis
dfc341a5fe
softrend: OpenMP support, fix present overflow during untiling
...
- Uses vertical slicing
- Efficiency wins are best for 2-3 rendering threads
2015-08-11 00:26:02 -04:00
Stefanos Kornilios Mitsis Poiitidis
19fa2f1678
softrend: Limits on #defines, scissor area as rect
2015-08-11 00:26:02 -04:00
Stefanos Kornilios Mitsis Poiitidis
3e9431b2b7
softrend: billinear filtering, perspective uv, alpha test, ARGB1555
...
- Texture pixels are predecoded and expanded to quads for filtering
- bilinear input ordering might be wrong
2015-08-11 00:26:02 -04:00
Stefanos Kornilios Mitsis Poiitidis
e6a9d3e661
softrend: Resembling a pixel pipeline, textures, sort, cull
...
- Basic pixel pipeline, a bit better triangle tests, specialized render handlers
- Textures w/ point filtering. Not very smart is it goes 32 -> 16 -> 32 bpp, but works.
- The texture cache is shared rather inelegantly w/ OpenGL one
- Culling
- PParam sorting (shared w/ GL)
The texturing and color blending paths are ugly and slow
2015-08-11 00:26:02 -04:00
Stefanos Kornilios Mitsis Poiitidis
fcf273dd11
softrend: Add support for culling
2015-08-11 00:26:02 -04:00