summaryrefslogtreecommitdiff
path: root/src/resources
AgeCommit message (Collapse)AuthorFilesLines
2017-01-10Add tests for MapLayer::drawFringe.Andrei Karas1-0/+740
Some tests incomplete, and some failing.
2017-01-10Add mock object for Graphics class.Andrei Karas1-0/+552
Add tests for MapLayer::draw.
2017-01-06Fix code style.Andrei Karas5-14/+4
2017-01-06Add missing values into SpecialLayer initialisation.Andrei Karas1-0/+1
2017-01-05Remove extra includes from unit tests files.Andrei Karas1-1/+0
2017-01-05Fix different issues in unit tests.Andrei Karas4-6/+19
Fix crash with some compilers flags. Clean window container to null after it was removed. Init and deinit physfs globally.
2017-01-04Add physfs deinit function for unit tests. But not using it for now.Andrei Karas4-0/+4
2017-01-04Fix crash in special layer drawing with enabled simd in compiler flags.Andrei Karas2-2/+3
2017-01-03Fix special layers draw crash.Andrei Karas1-3/+8
2017-01-03Fix some doxygen issues.Andrei Karas1-8/+2
2017-01-03Remove useless todo messages.Andrei Karas3-8/+1
2017-01-03Update copyright year.Andrei Karas270-270/+270
2017-01-03Remove extra include from maplayer_unittest.ccAndrei Karas1-2/+0
2017-01-03Fix too long lines.Andrei Karas2-3/+2
2017-01-03Replace map layer errors logging to asserts.Andrei Karas1-3/+5
2017-01-03Remove debug messages for map layer drawing.Andrei Karas1-85/+16
2017-01-03Fix drawing layers after previous commits.Andrei Karas3-33/+755
Add unit tests for layer caching functions.
2016-12-31Improve special layers draw speed in same way like fringe layer.Andrei Karas5-7/+57
2016-12-31Remove some debug code and enable code for report fringe draw errors.Andrei Karas1-5/+2
2016-12-31Restore drawing special layer on top of fringe layer.Andrei Karas2-61/+63
But special layer still drawed in old slow way.
2016-12-31Improve fringe map layers drawing.Andrei Karas6-15/+549
Pre cache next tile position with image.
2016-12-30Improve map layers drawing.Andrei Karas2-14/+95
Skip same image or empty tiles.
2016-12-30Improve drawing map layers.Andrei Karas2-18/+35
Pre cache repeated tiles count and width.
2016-12-29Improve drawing tiles.Andrei Karas5-90/+108
Remove check for existing tile image in each tile. From now tiles without image hidden.
2016-12-29Remove unused function from animation.Andrei Karas2-10/+0
2016-12-29Use power of two texture sizes in all OpenGL modes (even with rectangular ↵Andrei Karas2-22/+6
textures)
2016-12-29Add A_UNLIKELY into AnimatedSprite::update.Andrei Karas1-2/+2
2016-12-23Add unit tests for separate sse2 and avx2 dyes.Andrei Karas4-3/+811
Fix sse2 dyes.
2016-12-23Add s color dye function for sse2 (OpenGL).Andrei Karas5-125/+293
2016-12-23Add s color dye function for sse2 (software).Andrei Karas5-160/+369
2016-12-23Add a color dye function for sse2 (OpenGL).Andrei Karas5-123/+291
2016-12-23Add a color dye function for sse2 (software).Andrei Karas5-152/+350
2016-12-22Fix compilation with old gcc.Andrei Karas4-12/+12
2016-12-22Use int in A and S dye (OpenGL).Andrei Karas2-14/+14
2016-12-22Fix style issues.Andrei Karas4-11/+4
2016-12-22Remove some debug lines from dyepalette.Andrei Karas4-30/+16
2016-12-21Move buildhex macro into separate file.Andrei Karas2-22/+5
2016-12-21Use precalculated values for A and S dyes.Andrei Karas6-47/+35
2016-12-21Use different dye function versions in dye unit tests.Andrei Karas1-0/+919
2016-12-21Dont build OpenGL dye functions if OpenGL disabled.Andrei Karas2-0/+6
2016-12-21Add simd function for dye replaceacolor (OpenGL).Andrei Karas3-93/+233
2016-12-21Add simd function for dye replaceacolor (Software).Andrei Karas3-92/+255
2016-12-21Add support for replacescolor with non power of 2 image sizes.Andrei Karas1-9/+47
2016-12-21Add more dye tests.Andrei Karas1-24/+230
2016-12-21Add simd function for dye replace color (OpenGL).Andrei Karas4-100/+244
2016-12-21Rename dye function replaceSColor256 into replaceSColorSimd.Andrei Karas2-9/+9
2016-12-21Improve a bit dye speed.Andrei Karas2-68/+33
2016-12-20Add simd function for dye replace color (software).Andrei Karas4-116/+271
2016-12-20Add unit tests for S and A dye with 2, 4, 8 pixels.Andrei Karas1-0/+198
2016-12-20Switch to using int32 in dye unit tests.Andrei Karas1-150/+72