summaryrefslogtreecommitdiff
path: root/src/gfxinit.cpp
AgeCommit message (Collapse)Author
2021-03-08Fix: ensure switching blitter happens in the main threadPatric Stout
This because video-drivers might need to make changes to their context, which for most video-drivers has to be done in the same thread as the window was created; main thread in our case.
2021-03-08Codechange: remove the unused lock around BlitterPatric Stout
2021-02-26Change: Never auto-select an 8bpp blitter unless explicitly allowed by the ↵Michael Lutz
'support8bpp' setting.
2021-02-24Fix #8734: [OpenGL] Apply palette remap to cursor sprites. (#8742)Michael Lutz
2021-02-23Fix #8731: Always use a 32bpp blitter if font anti-aliasing is enabled.Michael Lutz
2021-02-22Add: A 32 bpp blitter that uses the animation buffer from the video backend ↵Michael Lutz
to speed up palette animation.
2021-02-22Add: [OpenGL] Support for 8bpp blitters.Michael Lutz
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2020-12-27Codechange: Replace assert_compile macro with static_assertCharles Pigott
2020-12-14Codechange: Apple LLVM fails to implement std::optional::value() also on ↵frosch
pretty recent version. Use operator* instead.
2020-12-06Fix: Compile warnings when asserts are disabledCharles Pigott
2020-05-21Codechange: Store base set related texts in std::strings.Michael Lutz
2020-05-21Codechange: Use std::string in INI file parsing.Michael Lutz
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-05-23Add: 32bpp SSE2 blitter palette animator (#6795)Jonathan G Rennison
Create a new blitter mode: 32bpp-sse2-anim, which is 32bpp-anim + this. 32bpp-sse2-anim is now used by default where 32bpp-anim would have been. Also use this with the 32bpp-sse4-anim blitter. See issue #6469.
2018-04-21Cleanup: Use new filename for README file. (#6738)Ricardo N Feliciano
2017-03-11(svn r27775) -Fix [FS#6510]: Insufficient thread synchronisation when ↵frosch
switching blitters. (JGR)
2017-01-14(svn r27732) -Change: Turn the message about 'missing baseset sprites' from ↵frosch
a popup into a static message that only shows in non-release versions, just like the 'missing translations' message.
2017-01-14(svn r27730) -Change: Split openttd.grf into openttd.grf and orig_extra.grffrosch
openttd.grf is now always loaded and provides all extra graphics in case the (possibly outdated) baseset does not. orig_extra.grf contains graphics specific to the original baseset only.
2014-09-25(svn r26919) -Fix [FS#6096]: Crash when enabling "Full animation" if ↵peter1138
multiplayer chat text is on screen.
2014-04-28(svn r26538) -Codechange: remove double accounting of the driversrubidium
2014-04-27(svn r26522) -Add: A config-file-only setting to disable usage of 8bpp video ↵frosch
modes. -Remove: [win32] fullscreen_bpp setting, which is replaced by above setting. -Change: Disable usage of 8bpp blitters and video modes by default. Many modern OS and hardware cause issues with those.
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-01-03(svn r26217) -Change: blitter autoselection based on full animation state, ↵rubidium
so the non-animated optimizations can actually be used in an easy manner (based on patch by MJP)
2014-01-03(svn r26216) -Change: the blitter selection to also consider the ↵rubidium
32bpp-sse4-anim blitter (MJP)
2014-01-02(svn r26209) -Codechange: remove some template magic and simplify some coderubidium
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-02-25(svn r23987) -Fix (r23000): Also reset the font glyph cache when switching ↵frosch
blitters.
2012-02-04(svn r23887) -Feature: [NewGRF] Support for container version 2.michi_cc
2012-02-04(svn r23886) -Codechange: Allow limiting the MD5 file hash to the first x ↵michi_cc
bytes of the file.
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-11-14(svn r23214) -Codechange: for base media sets pass the "search in tars" ↵rubidium
parameter to determine what to do
2011-10-04(svn r23001) -Feature: [NewGRF] Automatically switch to a 32 bpp blitter on ↵michi_cc
NewGRF indication.
2011-10-04(svn r23000) -Feature: Base graphics sets can now specify a preferred ↵michi_cc
blitter which OpenTTD uses to decide which blitter to load.
2011-08-24(svn r22828) -Codechange: give some variables a better name and clean up the ↵rubidium
code of loading old style GRFs
2011-08-24(svn r22826) -Codechange: pass sub directory to NewGRF loading functionsrubidium
2011-08-24(svn r22825) -Codechange: pass subdir to FioOpenFilerubidium
2011-08-24(svn r22822) -Codechange: make a distinction between base sets and newgrfs ↵rubidium
for their directory
2011-05-14(svn r22459) -Doc: Typo fixes and doxygen markup improvements.alberth
2011-05-04(svn r22419) -Change: Always use the DOS palette for drawing.frosch
-Remove: the '-i' option for palette selection.
2011-05-03(svn r22418) -Fix (r22417): Messed up the palette detection of the extra ↵frosch
base grf.
2011-05-03(svn r22417) -Add: an advanced setting to specify the default palette to use ↵frosch
for NewGRFs without action 14 palette information; this makes the default choice independent from the used base graphics and '-i' option.
2011-05-02(svn r22411) -Document: another bunch of bitsrubidium
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-05(svn r20384) -Fix: Update cursor dimensions when reloading grfs resp. ↵frosch
changing base graphics, so the cursor does not glitch if it becomes bigger.
2010-08-02(svn r20305) -Change: reduce OpenTTD's install size by roughly 460 KiB by ↵rubidium
only providing the "extra" base graphics in one palette and doing the conversion upon loading; the conversion has existed for a while, but now the NewGRF can tell its palette using Action 14 thus it can enable the conversion for only that NewGRF.
2010-07-31(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.alberth
2010-07-31(svn r20253) -Codechange: change GRFConfig::windows_paletted into a ↵rubidium
bitmask/bitset