summaryrefslogtreecommitdiff
path: root/src/openglgraphics.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-06-30Fix compilation error with disabled OpenGL debuging.Andrei Karas1-1/+1
2012-06-30Extend bind texture debug logging.Andrei Karas1-6/+26
2012-06-28Add debug for binding textures.Andrei Karas1-0/+18
2012-06-11Fix code style.Andrei Karas1-1/+0
2012-06-10Split ImageHelper to ImageHelper, SDLImageHelper, OpenGLImageHelper.Andrei Karas1-16/+17
2012-06-09Move static methods from Image class to ImageHelper class.Andrei Karas1-16/+17
Remove SDL merge method. It was very slow and unused.
2012-06-06Fix some issues after auto checking.Andrei Karas1-5/+9
2012-05-23OpenGL fix for mac version.Andrei Karas1-10/+1
2012-05-12Fix code style.Andrei Karas1-4/+1
2012-05-08Fix draw line position.Andrei Karas1-4/+4
2012-05-07Remove outdated glBegin/glEnd in fast opengl class.Andrei Karas1-9/+10
2012-05-06Add const to images in drawing functions.Andrei Karas1-4/+6
2012-05-01Add additional opengl flag.Andrei Karas1-0/+1
2012-04-29Add graphicsmanager class and move some code to it.Andrei Karas1-188/+4
2012-04-27Try enable rectangular textures before using it.Andrei Karas1-0/+1
2012-04-27Add option to enable/disable rectangular textures.Andrei Karas1-4/+7
2012-04-27Add option for enable textures compression (disabled by default)Andrei Karas1-5/+52
2012-04-26Add to log draw backend name.Andrei Karas1-3/+55
Add ability to get free video memory (fast openg with NVIDIA). Add test with id 100 for long perfomance testing.
2012-04-26Logging opengl vendor and renderer.Andrei Karas1-0/+15
2012-04-25Improve iterators part 2.Andrei Karas1-4/+8
2012-03-03Fix incorrect screenshots issue in opengl mode.v1.2.3.4Andrei Karas1-2/+2
2012-03-03Fix code style.Andrei Karas1-1/+1
2012-03-02Bit improve opengl speed.Andrei Karas1-3/+5
2012-03-02Use FBO for screenshots. Disabled for windows.Andrei Karas1-2/+70
2012-03-02Bit improve opengl dumper.Andrei Karas1-2/+2
2012-03-02Add opengl settings dump command.Andrei Karas1-0/+20
Chat command: /dumpogl
2012-02-25Fix old casts.Andrei Karas1-4/+6
2012-02-08Fix code style with new tool.Andrei Karas1-3/+3
2012-02-02Add "no frame" option to hide window frame. Disabled by default.Andrei Karas1-1/+5
2012-01-30Add option for enable/disable window resize.Andrei Karas1-2/+5
2012-01-30Allow resizing of the game in windowed modeThorbjørn Lindeijer1-0/+11
Window positions are semi-smartly corrected as a result of the resize. Not supported when using OpenGL on Windows for now. Reviewed-by: Yohann Ferreira Conflicts: src/client.cpp src/client.h src/game.cpp src/gui/gui.cpp src/gui/widgets/window.cpp
2012-01-20Bit improve rescalled images drawing in fast opengl mode.Andrei Karas1-6/+9
2012-01-05Update copyrights year.Andrei Karas1-1/+1
2011-12-26Restore GL_PACK_ALIGNMENT after creating screenshots in opengl modes.Andrei Karas1-0/+4
2011-11-08Fix more gcc 4.7 warnings.Andrei Karas1-1/+1
2011-10-27Add command to dump to chat main graphics settings.Andrei Karas1-0/+1
Command: /dumpg
2011-09-16Fix code style.Andrei Karas1-2/+4
2011-09-14Bit improve push cliparea functions in opengl backends.Andrei Karas1-12/+11
2011-09-14Add more checks.Andrei Karas1-0/+3
Fix error in event.cpp from last commits. Improve party members sorting.
2011-09-11Fixed OpenGLGraphics::drawRescaledImagePatternThorbjørn Lindeijer1-32/+45
This fixes overlay effects that are meant to scale with screen resolution. The problem was that the texture coordinates were not calculated correctly. They were adjusted to the scaled size of the image, and when scaling both the vertex and the texture coordinates, the image will simply not appear scaled at all. Now the texture coordinates are calculated based on the visible part of the original texture. There was also a problem with the vertex coordinates, which were not taking into account the visible part of the image. TMW-Mantis-issue: 1047 Reviewed-by: Andrei Karas <akaras@inbox.ru> Conflicts: NEWS
2011-09-08Replace most iterator to const_iterator.Andrei Karas1-4/+4
Some other minor changes.
2011-08-12Rename file names log and chatlog to correct logger and chatlogger.Andrei Karas1-1/+1
2011-07-17Optimisation in drawing map in opengl mode.Andrei Karas1-114/+67
2011-07-17Add basic tiles caching for opengl.Andrei Karas1-0/+187
2011-07-07Remove undescore from variables and defines.Andrei Karas1-1/+1
2011-07-02Replace some getters to direct member access in Image class.Andrei Karas1-4/+4
2011-05-24Add simple memory leak detector.Andrei Karas1-0/+2
Can be enabled by configure option -enable-memdebug=yes. Known issue: not all memory allocations hooked with it.
2011-04-22Small optimisation in opengl gui drawing.Andrei Karas1-12/+12
2011-04-09Improve map loading speed.Andrei Karas1-6/+6
2011-03-31Improve opengl perfomance.Andrei Karas1-2/+4