Commit Graph
27 Commits
Author SHA1 Message Date
FlameshadowxeroshinandColby Klein c1088c1abc Distance field EffectMode (#1546)
* Distance field EffectMode (supports MSDF and the regular sort)
2017-10-02 05:54:05 -07:00
Drew BarbarelloandColby Klein 557be7cf1b 5 1 new backport x11 fs rework (#1485)
* Use XRandR 1.2 to set fullscreen resolution for single output

Squash of roothorick's PR #497
(also includes Kyzentun's CMake changes from PR #716)

* Cherry-pick json c++1x stuff (b9e3d7174e)

* Cherry-pick c++11 support from 5bba5c0038 and 9f8b045309

* rework Linux (X11) fullscreen, improve display-related Graphics Options

Implement option to select between monitors for exclusive fullscreen mode
on X11 (using XRandR 1.2), or use a fullscreen borderless window.

Reimplement resolution/refresh rate/display mode-related option rows
using Lua, update choices dynamically so only known-good groupings of
resolution/refresh rate/aspect ratio can be selected.

Minimally update Windows/MacOS LowLevelWindow implementations to support
changes made for Linux side. Fullscreen Borderless Window/multi monitor
support from X11 not implemented for those in this commit.

* allow forcibly disabling xinerama use on Linux

When libXinerama is available, SM tries to use it to find the proper
monitor indexes to use to set _NET_WM_FULLSCREEN_MONITORS (on borderless
fullscreen). xfwm4 seems to assume that monitors are numbered in increasing
order from left to right (rather than using the Xinerama-assigned numbers),
so _NET_WM_FULLSCREEN_MONITORS misbehaves on Xfce.

This commit bypasses use of libXinerama, and instead forces SM to induce fullscreen
on the desired monitor in the backup, hacky way: remove all window hints, move window
to desired monitor, then add _NET_WM_STATE_FULLSCREEN hint. This works on
mutter and Xfce.

* Remove multiple warnings on redundant define.

This used to be hard-coded due to pthread related items, but now it's dynamically determined.

* fix _fallback menu behavior for unrecognized aspect ratios

* Fix error recreating existing FS texture

* Bump deployment target to 10.7 to use libc++ on XCode 8

* Add explicit casts to please clang

* Update changelog
2017-06-18 08:55:16 -07:00
Jason Felds edabf4605b Clean up three sets of warnings:
* Ensure all switches have a default when working with enums.
* Match defined new[] calls with delete[] calls.
* Respect variable initialization order.
2016-03-24 18:30:29 -04:00
sigatrev 45a0952a3b Prevent crash when AFT draws an AFT
by remember the previous render target.
2015-03-17 21:41:31 -05:00
sigatrev cc5c05a4f1 Fix AFT DepthBuffer 2015-03-17 21:37:26 -05:00
Ben "root" Anderson 76d9ba6bf1 glFinish() to force the tightest input-to-screen coupling possible 2015-03-15 19:06:52 -05:00
Devin J. Pohly a280f513b4 fix ffmpeg 1.1 builds... another way 2013-02-21 03:18:28 -05:00
Devin J. Pohly bd0e2074ad replace ASSERT(0) with useful fail messages 2012-12-27 16:59:35 -05:00
Jason Felds a15cbc431d War on -Werror, part 14: More hodgepodge. 2012-12-27 12:45:04 -05:00
Colby Klein de371d136f Attempt to fix OpenGL shader compilation crash when drivers seem to have only partial shader support. Please test. If this still doesn't work, all shader support may simply be forced to require GL 2.0. 2012-11-13 15:01:32 -08:00
Devin J. Pohly aa3244a0f2 fix typo in blend functions 2012-07-31 23:26:50 -04:00
Aldo Fregoso 341a474c9a Fixed errors & warnings to compile with VS 2011 2012-05-20 21:00:14 -05:00
Alberto Ramos 032863c8f0 I hope this fixes opengl forever 2011-12-29 16:47:03 -07:00
Alberto Ramos 031249ab76 why 2011-12-29 16:15:21 -07:00
Alberto Ramos b32c85b30f other test 2011-12-29 16:13:40 -07:00
Alberto Ramos 0cbe9b92c3 something 2011-12-29 16:06:15 -07:00
AJ Kelly f9514958bf put wglew behind #if defined(WINDOWS) 2011-05-04 00:33:32 -05:00
AJ Kelly 2251baf10c simplify like fuc 2011-05-04 00:31:42 -05:00
AJ Kelly 0b32783697 this seems to fix the compile on Windows; not sure if it's the best way of doing it, though. 2011-05-04 00:26:12 -05:00
AJ Kelly fb1dbd4463 merge 2011-05-02 20:11:26 -05:00
Colby Klein e9d6fada14 Fix compile, rename _Legacy to _OGL so I stop being confused 2011-05-02 11:23:37 -07:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00
Colby Klein 704c7bff1d Update Cel shading. Note, RageDisplay_D3D will need to be fixed for this. 2011-03-08 11:00:32 -08:00
AJ Kelly 6b3da26a4c [GameCommand] Don't allow battle/rave with Routine (StyleType_TwoPlayersSharedSides). also cleanup
[RageTypes] remove glowmode stub stuff
[RageDisplayOGL] update comments slightly
2010-06-02 15:43:56 -05:00
AJ Kelly 2d872ac518 427a764: subtractive blend (OpenGL only for now) [Glenn Maynard]
I was looking into writing the equivalent Direct3D code; still not 100% sure if my code is right, so it stays local for now.
2010-02-08 01:32:14 -06:00
AJ Kelly 3e51544930 Initial commit. 2010-01-26 21:00:30 -06:00
Devin J. Pohly 80057f53cd smsvn -> ssc-hg glue: rearrange directory structure 2013-06-10 15:38:43 -04:00