ShadowNinja
3592feb875
Clean up Strfnd
...
Changes:
* Fix indentation.
* Pass strings by const reference.
* Merge Strfnd and WStrfnd into one class instead of copying them.
* Remove trailing spaces.
* Fix variable names.
* Move to util.
* Other miscellaneous style fixes.
2016-03-19 21:27:57 -04:00
RealBadAngel
0571768c30
Set proper GLSL pixel shader version
2016-02-11 09:47:25 +01:00
RealBadAngel
8a15583fd7
Dump shader programs on compile errors
2016-02-11 07:13:07 +01:00
Loic Blot
79e6d472b3
Fix inverted conditions in shader.cpp
2016-02-09 23:50:37 +01:00
Loic Blot
0c383ed270
shader.cpp: don't test twice if shader programs are present
...
Also use string::empty method, it is better than comparing with empty strings.
2016-02-09 23:19:19 +01:00
RealBadAngel
ead025fb02
Filmic HDR tone mapping
2016-02-09 02:55:59 -05:00
kwolekr
5b30bbcc23
Refactor thread utility interface
...
- Add "thr_" prefix to thread utility functions
- Compare threadid_ts in a portable manner, where possible
2015-10-16 22:20:24 -04:00
David Jones
9d1284b324
Change i++ to ++i
2015-08-25 18:33:52 -04:00
ShadowNinja
098d28aa5e
Clean up threading
...
* Rename everything.
* Strip J prefix.
* Change UpperCamelCase functions to lowerCamelCase.
* Remove global (!) semaphore count mutex on OSX.
* Remove semaphore count getter (unused, unsafe, depended on internal
API functions on Windows, and used a hack on OSX).
* Add `Atomic<type>`.
* Make `Thread` handle thread names.
* Add support for C++11 multi-threading.
* Combine pthread and win32 sources.
* Remove `ThreadStarted` (unused, unneeded).
* Move some includes from the headers to the sources.
* Move all of `Event` into its header (allows inlining with no new includes).
* Make `Event` use `Semaphore` (except on Windows).
* Move some porting functions into `Thread`.
* Integrate logging with `Thread`.
* Add threading test.
2015-08-23 22:04:06 -04:00
RealBadAngel
f60b0bd911
Shaders fixes and cleanup relief mapping code.
2015-07-02 21:36:45 +02:00
RealBadAngel
a111a5fbcf
Improved parallax mapping. Generate heightmaps on the fly.
2015-06-14 21:13:36 +02:00
kwolekr
4df33b90e5
Replace instances of std::map<std::string, std::string> with StringMap
...
Also, clean up surrounding code style
Replace by-value parameter passing with const refs when possible
Fix post-increment of iterators
2015-05-19 16:10:49 -04:00
Craig Robbins
0731f9ed2a
Move globals from main.cpp to more sane locations
...
Move debug streams to log.cpp|h
Move GUI-related globals to clientlauncher
Move g_settings and g_settings_path to settings.cpp|h
Move g_menuclouds to clouds.cpp|h
Move g_profiler to profiler.cpp|h
2015-04-01 23:04:25 +10:00
Craig Robbins
27791ee1aa
For usages of assert() that are meant to persist in Release builds (when NDEBUG is defined), replace those usages with persistent alternatives
2015-03-07 22:41:47 +10:00
Loic Blot
188c15c3d8
Replace std::list to std::vector into tile.cpp (m_texture_trash) and move tile.hpp to src/client/
2015-03-05 11:59:40 +01:00
BlockMen
e25777936f
Add optional framed glasslike drawtype
2014-10-02 11:35:15 +02:00
TriBlade9
2d6eb3d2f3
Add firelike drawtype
2014-09-21 15:50:27 -04:00
sfan5
34a3e2d5fa
Fix warnings reported by clang
2014-07-06 13:19:21 +02:00
sapier
8fd4c96588
Fix memory leaks in GenericCAO, ShaderSource and Player classes
2014-07-02 23:33:18 +02:00
RealBadAngel
068b1ca61d
Unite nodes shaders.
...
Pass drawtype and material type to shaders.
Move shaders generation to startup only.
Allow assign shaders per tile.
Initial code to support water surface shader.
2014-06-15 05:40:33 +02:00
Sfan5
3f90a81374
Fix all warnings reported by clang
2014-04-15 21:34:53 +02:00
RealBadAngel
9cf4f96fa7
Normal maps generation on the fly.
...
Parallax mapping with slope information.
Overriding normal maps.
2014-03-21 01:32:00 +01:00
sapier
f04d2ad9e3
Make MutexQueue use jsemaphore for signaling
2014-01-10 10:10:45 +01:00
RealBadAngel
9d6015b41d
Optimize shaders code. Add settings at compile time.
2013-12-09 13:28:50 +01:00
Novatux
d1f08635ac
Fix shaders on some GPUs
2013-12-08 08:01:20 +01:00
sapier
396602432c
Cleanup jthread and fix win32 build
2013-12-01 16:25:46 +01:00
sapier
4aa8a5c636
Fix Result of processed Request was written to invalid (non existent) ResultQueue if requesting thread timed out before
2013-11-17 12:46:54 -05:00
sapier
78cc469411
Fix multicaller support in RequestQueue
2013-11-17 12:45:58 -05:00
PilzAdam
aa0b76636f
Settings: everything != 0 equals true; remove .asm shaders
2013-07-08 01:58:49 +02:00
sapier
4f7abcbafa
Fix many formspec menu bugs
2013-07-07 19:49:52 -04:00
Kahrl
256eb4a122
Don't rebuild the dummy shader (less SourceShaderCache warning spam)
...
Also write something about rebuilding shaders to infostream in
Client::afterContentReceived()
2013-07-05 04:24:05 +02:00
Brent Hull
7aae7d792f
Fix shader license headers to be LGPL
2013-05-06 19:09:08 +02:00
sapier
d116d1b779
fix memory leak on shader shutdown
2013-04-07 22:30:29 -04:00
Ilya Zhuravlev
a12df55f29
Migrate to STL containers/algorithms.
2013-03-11 19:08:39 -04:00
Sfan5
3fab3825aa
Update Copyright Years
2013-02-24 20:15:24 +01:00
PilzAdam
269f01224b
Change Minetest-c55 to Minetest
2013-02-24 18:49:03 +01:00
Perttu Ahola
f24ea38744
Implement a global shader parameter passing system and useful shaders
2012-12-02 00:46:18 +02:00
Kahrl
c9e7e8ba3c
ShaderSource and silly example shaders
2012-12-02 00:46:18 +02:00