Jonathan G Rennison
8317eac918
Merge branch 'save_ext' into jgrpp
...
# Conflicts:
# src/lang/german.txt
# src/lang/korean.txt
# src/lang/traditional_chinese.txt
# src/window.cpp
2017-04-01 01:14:28 +01:00
peter1138
60d4d1db3f
(svn r27837) -Fix (r26969): Black remap did nothing in 8bpp-simple blitter.
2017-03-30 21:33:40 +00:00
Jonathan G Rennison
b3fd11efd2
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/blitter/32bpp_anim.cpp
# src/blitter/32bpp_anim.hpp
# src/blitter/32bpp_anim_sse4.cpp
2017-03-19 12:27:24 +00:00
frosch
206a0838e9
(svn r27796) -Fix [FS#6545]: 32bpp-anim blitters assumed that pitch and width of the screen were equal.
2017-03-18 17:14:53 +00:00
frosch
5b7a04ca27
(svn r27774) -Fix [FS#5889]: Enabling palette animation for 32bpp blitters while paused skipped initialisation of the palette and resulted in black windows.
...
-Revert (r23978): No SDL-specific fix required anymore. The new fix applies to all backends.
2017-03-11 12:52:26 +00:00
Jonathan G Rennison
d14d5731d8
Fix wrong palette being used when switching to animated blitter.
...
Fixes black sprites and UI elements when switching on full
animations on win32 and OSX.
2017-03-07 23:37:06 +00:00
frosch
7108b0aa3b
(svn r27575) -Fix [FS#6404]: Memory leak when disabling palette animation. (JGR)
2016-05-22 10:28:57 +00:00
Jonathan G Rennison
897744ab47
SSE2 anim blitter: fix edge case where medium path was used incorrectly.
2015-12-20 23:13:03 +00:00
Jonathan G Rennison
d00fa4d25b
Implement a 32bpp SSE2 palette animator. This is ~4x faster than 32bpp-anim's.
...
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 mode.
Fix memory leak in current 32bpp animated blitters.
2015-12-17 20:45:33 +00:00
patch-import
536a95dfd0
Import combined Enhanced viewport: zoom out, overlays & tooltips (r53_27127) patch
...
https://www.tt-forums.net/viewtopic.php?f=33&t=53394
2015-08-05 21:24:30 +01:00
rubidium
0c2f4bdc2b
(svn r27020) -Cleanup: some coding style consistency improvements (mostly spaces)
2014-10-15 18:31:37 +00:00
rubidium
9f654b200d
(svn r26970) -Fix (r26969): non-sse animated blitter crashed occasionally
2014-10-06 19:15:00 +00:00
rubidium
eabb35a874
(svn r26969) -Fix (r26869): black palette didn't work very well with unmasked 32bpp sprites
2014-10-06 18:45:51 +00:00
rubidium
beb540ec55
(svn r26538) -Codechange: remove double accounting of the drivers
2014-04-28 21:06:51 +00:00
rubidium
034735a54c
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
2014-04-25 15:40:32 +00:00
rubidium
2be4215f43
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-23 20:13:33 +00:00
rubidium
6504817680
(svn r26473) -Fix: make sure there is no uninitialised sprite data; the other blitters cleared the memory too
2014-04-20 14:55:28 +00:00
peter1138
3465686076
(svn r26463) -Fix (r10190ish): Add special handling for PALETTE_CRASH to work for non-8bpp-mapped sprites.
2014-04-13 19:22:23 +00:00
frosch
da253a33c3
(svn r26334) -Fix: 32bit compilation.
2014-02-11 21:17:43 +00:00
rubidium
4f48e99c64
(svn r26260) -Codechange: add template parameters for (non) translucent and (non) animated sprites, so the least expensive variant can be chosen (MJP)
2014-01-13 18:20:23 +00:00
rubidium
ec66bd461b
(svn r26259) -Codechange: add and maintain some general flags about sprites to prevent unneeded execution of expensive code (MJP)
2014-01-13 18:17:17 +00:00
rubidium
4585f74faa
(svn r26258) -Codechange: deduplicate Draw methods (MJP)
2014-01-13 18:12:33 +00:00
rubidium
3df799c1c6
(svn r26257) -Codechange: replace most of the SSE macros by functions
2014-01-13 18:09:21 +00:00
rubidium
2f3c3d2ba6
(svn r26256) -Codechange: do not load some data when it is not (often) used later on (MJP)
2014-01-13 18:06:53 +00:00
rubidium
5849290640
(svn r26255) -Codechange: improve performance of brightness adjustment (MJP)
2014-01-13 18:05:47 +00:00
rubidium
d263ec2bd9
(svn r26254) -Codechange: MOVD is better in some cases than PINSRD (MJP)
2014-01-13 18:04:28 +00:00
rubidium
d27f085ef6
(svn r26253) -Codechange: remove margin limitation to preserve block type (MJP)
2014-01-13 18:03:35 +00:00
rubidium
3f1550ed2f
(svn r26252) -Codechange: deduplicate code for margin case (MJP)
2014-01-13 18:02:20 +00:00
rubidium
64fb166b74
(svn r26251) -Codechange: prepare Draw code for code deduplication (MJP)
2014-01-13 18:00:18 +00:00
rubidium
0d43f2f437
(svn r26250) -Codechange: deduplicate darkening (e.g. shadow) code (MJP)
2014-01-13 17:58:58 +00:00
rubidium
b9823410cc
(svn r26249) -Codechange: simplify/cleanup ALPHA_BLEND macro (MJP)
2014-01-13 17:57:30 +00:00
rubidium
1b8b8288b0
(svn r26248) -Fix (r26223): missed compiler warning (MJP)
2014-01-13 17:55:34 +00:00
rubidium
08d405ea09
(svn r26247) -Fix [FS#5854, FS#5855]: Possible out of bounds reads with the sse blitters (MJP)
2014-01-13 17:54:24 +00:00
planetmaker
b67933bd4d
(svn r26223) -Codechange: Silence some compile warnings about unititialized variables in the SSE blitters (MJP)
2014-01-03 18:43:10 +00:00
rubidium
b40b95e2ab
(svn r26222) -Codechange: use SSE instructions for transparent colour "remap" in the SSE2/SSSE3 blitters as well
2014-01-03 18:03:14 +00:00
rubidium
dbec2223b1
(svn r26221) -Codechange: normalize constant names in anim-sse4 with the others (MJP)
2014-01-03 17:55:40 +00:00
rubidium
bf4ea2594a
(svn r26215) -Codechange: rework code so one can test if a blitter factory exists before attempting trying to instantiate an instance
2014-01-03 08:29:07 +00:00
rubidium
793dc27096
(svn r26214) -Add: specialised animated SSE4 blitter (MJP)
...
With 32bpp base set about 15-20% faster in the Draw function (slower with 8bpp base set). Overall, with 32bpp base set, about 5% faster.
2014-01-02 23:52:13 +00:00
rubidium
e25733c417
(svn r26213) -Add: specialised non-animated SSE4 blitter (MJP)
...
With 32bpp base set about 40% faster than 32bpp-optimized, or about 10% for 8bpp base sets in the Draw function. Respectively about 8 and 1% of total run time
2014-01-02 23:21:07 +00:00
rubidium
730127b67e
(svn r26212) -Add: specialised non-animated SSSE3 blitter (MJP)
...
With 32bpp base set about 35% faster than 32bpp-optimized, or about 10% for 8bpp base sets in the Draw function. Respectively about 6 and 1% of total run time
2014-01-02 23:17:01 +00:00
rubidium
0b08fb44f4
(svn r26211) -Add: specialised non-animated SS2 blitter (MJP)
...
With 32bpp base set about 30% faster than 32bpp-optimized, or about 10% for 8bpp base sets in the Draw function. Respectively about 5 and 1% of total run time
2014-01-02 23:12:32 +00:00
rubidium
29405f89ed
(svn r26210) -Codechange: add infrastructure for not registering a blitter
2014-01-02 22:48:32 +00:00
rubidium
4a911754b5
(svn r26209) -Codechange: remove some template magic and simplify some code
2014-01-02 22:41:58 +00:00
rubidium
d709a7f465
(svn r26108) -Codechange: some coding style (whitespace)
2013-11-25 14:30:22 +00:00
rubidium
c5727f49d9
(svn r26103) -Fix: prevent odd overflows due to integer promotion
2013-11-25 13:06:33 +00:00
rubidium
99910d0d4f
(svn r25958) -Fix: overriding method of DrawLine was not updated when parameters were added making it non-functional
2013-11-09 06:48:15 +00:00
fonsinchen
19661eeef8
(svn r25911) -Add: Support for drawing dashed lines.
2013-10-23 19:41:20 +00:00
frosch
554e14420c
(svn r25820) -Codechange: More const-ness.
2013-10-06 19:38:36 +00:00
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
frosch
3a0611f792
(svn r24610) -Change: [NewGRF] Set the reference brightness of 32bpp mask recolouring to 128.
2012-10-17 20:21:43 +00:00