hiker
85ee217d77
Converted tab to spaces.
2017-08-01 17:19:52 +10:00
Deve
09a735c25e
Use key names in android device too
2017-07-20 22:58:12 +02:00
Deve
7a92708fd3
Use key names in wayland device
2017-07-20 22:58:12 +02:00
Deve
0dba3c8f67
Add a prefix to irrlicht key codes
2017-07-20 22:58:11 +02:00
Deve
1fd6a8aa86
Make sure that we are not using files from our zlib/libpng when STK is compiled with shared libraries.
...
It's possible that STK was using these files for compilation when cmake was run from main directory. In this case compiled files are stored in stk-code/lib, so that CMAKE_CURRENT_BINARY_DIR is stk-code/lib/irrlicht rather than stk-code/build/lib/irrlicht and we include whole lib/libpng rather than non-existing directory.
2017-07-10 21:14:28 +02:00
Deve
9b7f3d70dd
One more place where we were linking with glu.
...
It doesn't really matter, but it's better that our linux package doesn't depend on it.
2017-07-05 21:49:31 +02:00
Deve
2bf99aef1d
Remove useless gles defines from irrlicht cmake file
2017-07-04 23:32:57 +02:00
Deve
c6ea07eacc
Remove unused gles 1.0 code
2017-07-04 23:30:09 +02:00
Deve
09262a606b
Add missing copyright.
...
The EGL context manager has been written from scratch, so our copyright should be fine.
2017-07-04 22:55:08 +02:00
Deve
f672088a04
Tweak closing android device
2017-07-04 22:43:11 +02:00
Deve
23277066a4
Some fixes for egl config.
...
Added a fallback with basic configuration if requested config failed.
Also better check if choose config is success (num_configs can be >0 even if egl config is null)
2017-06-24 21:39:58 +02:00
Deve
78b9b92efa
Fixed gles compilation.
...
We include CIrrDeviceLinux in our edit box widget and it doesn't respect irrlicht cmake flags, so that it tries to include opengl headers even if we selected gles renderer. Just move it to the cpp file to avoid redeclaration errors.
2017-06-23 23:51:33 +02:00
Deve
72358371f7
Some fixes for video mode list on android.
...
Should be a bit safer when user wants to close the game very early (i.e. when assets are extracting) and we get destroy event before irr_driver is actually initialized.
2017-06-19 22:59:27 +02:00
Marianne Gagnon
e4f2d0b1d5
Fix OS X build following libpng upgrade
2017-06-05 20:52:46 -04:00
Deve
15ce5b4ebf
Fixed windows compilation
2017-06-05 21:54:44 +02:00
Deve
ccf3893abb
Apply our modifications to libpng cmake script
2017-06-05 21:16:22 +02:00
Deve
9ebdb5fd00
Update libpng to newer version in order to fix some vulnerabilities.
...
I decided to just make a bug-fix update and keep the 1.5.x series because newer versions may also need the zlib update.
2017-06-05 21:10:38 +02:00
Deve
37a2752162
Use newer seat version if possible
2017-05-31 23:47:19 +02:00
Deve
212411fb49
Allow to repeat keys
2017-05-31 22:31:46 +02:00
Deve
d6e5e04666
One more tweak
2017-05-31 22:29:28 +02:00
Deve
c13f812290
Simplify previous commit and also fix the double egl context deletion
2017-05-30 21:39:30 +02:00
Deve
26a6c49fc1
Add missing break
2017-05-30 00:34:39 +02:00
Deve
e00995d099
Allow to use GLES renderer with Wayland device.
...
It would be nice to simplify it a bit, i.e. decide if OpenGL context should be created on device side or driver side, use single constructor in GLES driver etc... But I'm not really sure how it will look like after Benau's space partitioning work, so some refactoring postponed till later.
2017-05-30 00:30:00 +02:00
Deve
c8137fc0fa
Add a possibility to set a window class in irr device.
...
This makes one ugly #ifdef less in the irr_driver.cpp.
2017-05-25 21:26:31 +02:00
Deve
b5f2e4d163
Allow to set window caption
2017-05-25 20:49:10 +02:00
Deve
0c18090669
Minor simplifications for keyboard on wayland
2017-05-25 17:27:08 +02:00
Deve
8989cc97b5
Some fixes for keyboard on wayland
2017-05-24 01:17:25 +02:00
Deve
bc25bc4435
Keep consistency with other irrlicht defines
2017-05-18 20:48:42 +02:00
Deve
abde57cd4a
Add mouse wheel event
2017-05-17 22:44:22 +02:00
Deve
36368041ee
Mostly cleanup and style modifications
2017-05-17 22:43:56 +02:00
Deve
f99bc25845
Avoid semi-transparent window
2017-05-15 21:17:03 +02:00
Deve
961ac4d79e
Better fix for glew
2017-05-14 00:06:54 +02:00
Deve
1966d3f072
Use x11 functions in irr_driver only if x11 device was created
2017-05-14 00:05:36 +02:00
Deve
da802d836d
Some fixes for mouse cursor.
2017-05-12 22:58:33 +02:00
Deve
ba39e88680
Update cursor when visibility is changed
2017-05-12 21:47:51 +02:00
Deve
23c428160f
Some fixes
2017-05-12 00:57:01 +02:00
Deve
70dc99ca6c
Fixed some non-working keys.
...
We can't include linux/input.h because it breaks irrlicht keys.
2017-05-06 23:25:00 +02:00
Deve
632a759ee6
Allow to choose device type using environmental variable
2017-05-06 22:38:05 +02:00
Deve
e02a8f4448
Allow to make single build with both x11 and wayland device
2017-05-06 21:53:32 +02:00
Deve
2f1b61b798
Remember mouse button states
2017-05-05 23:04:18 +02:00
Deve
a9c2a1922a
Some work on support clipboard
2017-05-04 22:36:12 +02:00
Deve
e27df23415
Draw mouse cursor
2017-05-04 21:06:40 +02:00
Deve
da65650b75
Allow to write unicode characters.
...
Needs some cleanup.
2017-05-03 20:45:42 +02:00
Deve
fc79ee50d0
Add the ping/pong events to avoid non-responding window and few other minor fixes
2017-04-28 23:04:34 +02:00
Deve
01ffc129fb
Make it working for current wayland/weston
2017-04-24 22:26:47 +02:00
Deve
f31e4f8ea4
Add missing files
2017-04-23 21:22:15 +02:00
Deve
5d9b1e103d
Rename file
2017-04-22 21:55:24 +02:00
Deve
63517dd4be
Better EGL context creation
2017-04-22 21:51:49 +02:00
Deve
035c33f960
Merge branch 'master' into wayland
2017-04-22 21:11:10 +02:00
deve
f4e803220b
Some minor fixes
2017-04-21 08:51:54 +02:00
Deve
9fc3578b51
Rewrite whole EGL manager.
...
Now it allows to create OpenGL context, so we can use it for Wayland.
2017-04-20 23:20:21 +02:00
hiker
8a1d0bae34
Fixed some 64-bit related compiler warnings on VS.
2017-04-07 00:41:08 +10:00
Deve
240041f520
Fixed android compilation
2017-04-05 21:49:52 +02:00
Deve
1d39030f51
Assume that EGL version is always greater than 1.3 because otherwise we won't be able to create GLES 2.0/3.0 context.
2017-04-05 21:49:42 +02:00
Deve
635ea89cd0
Some corrections with egl attribs
2017-04-05 21:49:33 +02:00
Deve
3961a9a3b7
Move EGL context to separate class.
...
It will allow to use it for OpenGL + Wayland.
2017-04-05 21:49:24 +02:00
Benau
b7c709c709
Allow muxing mjpeg with vorbis audio with mkv
...
Not sure if playable in with all players
2017-04-04 16:12:09 +08:00
Benau
9039324145
Allow muxing into webm using libwebm
2017-03-30 13:30:21 +08:00
Benau
2660a5b332
Allow message queue to be able to do linebreak
...
Also set "/" and "\" to be breakable
2017-03-23 00:51:50 +08:00
Benau
aecb1a97ce
Update license of img.h as Stragus said in IRC
...
Also remove unneeded file
2017-03-23 00:12:06 +08:00
Benau
09e2f96ba8
Remove libpng's png_set_gamma
...
Stragus suggested:
It will degrade quality by converting from true sRGB to ^2.2 and
then rounding the values back on 8 bits
2017-03-17 13:19:56 +08:00
Benau
41844de6a5
Apply real fix from Stragus for normal map
2017-03-17 13:08:08 +08:00
Benau
e1a563612f
Avoid calling gamma correction on non-srgb png
2017-03-17 10:15:06 +08:00
Benau
1a0034bb9e
Apply fix from stragus
2017-03-15 13:35:09 +08:00
Benau
bfd8198f72
Update from stragus
2017-03-15 00:25:20 +08:00
hiker
47835bc1ef
Fixed VS compiler warnings.
2017-03-14 22:39:27 +11:00
Benau
eedc7f55c9
Make addThreadedLoadTexture thread safe
2017-03-14 11:35:26 +08:00
Benau
677723fe5d
Fix msvc build
2017-03-13 12:34:08 +08:00
Benau
ab10702d12
Try to fix build
2017-03-13 12:12:51 +08:00
Benau
a1492981cf
Apply fixes from Stragus for restrict keyword
2017-03-13 11:50:57 +08:00
Benau
76aa38e5b4
Try HQMipmapGenerator
2017-03-13 10:28:43 +08:00
Benau
27fcc4e266
Allow custom memory management in IImage
2017-03-12 09:09:40 +08:00
Benau
40a25e1d9e
Remove dependency on STKTexture (for HQ mipmap generator later)
2017-03-11 15:33:36 +08:00
Benau
ab673fc03b
Merge remote-tracking branch 'origin/master' into threaded_tex_loader
2017-03-11 13:55:18 +08:00
Benau
6e80271ad9
Max texture size 2k and allow them to be threaded load
2017-03-11 09:41:46 +08:00
Deve
adfa8f30f9
Better fix for missing transparency in GLES legacy pipeline
2017-03-08 23:17:03 +01:00
Benau
d864995c7d
First version of ThreadedTexLoader
2017-03-08 15:54:59 +08:00
Deve
fcae7dfc33
Fixed compiler warnings
2017-03-06 17:22:44 +01:00
Deve
11024569b0
More tweaks to GLES legacy pipeline
2017-03-02 22:19:10 +01:00
Deve
067518df5d
Fixed rtts in GLES legacy pipeline
2017-03-01 23:20:21 +01:00
Deve
282bb6c655
Always use fixed blending for GLES legacy pipeline
2017-03-01 21:44:11 +01:00
Deve
40fe3585bb
One more fix for legacy pipeline in GLES renderer.
...
It looks that the second texture is not used at all and it may cause a crash, so just disable it.
2017-02-27 00:58:43 +01:00
Deve
6d395d4510
Some fixes for GLES renderer
2017-02-27 00:58:43 +01:00
Deve
803eba5d5c
Fixed typo
2017-01-27 22:44:22 +01:00
Deve
5931ba288a
Don't crash if irrlicht shaders are not available for GLES.
...
They are needed only for legacy pipeline.
2017-01-12 21:43:11 +01:00
Benau
2127e44cc2
Remove clang compling warning
2017-01-12 09:54:20 +08:00
Benau
40fe84ddbd
Fix addon stk mercuy crash
...
Please avoid using 2nd uv layer on animated mesh
2017-01-11 14:29:37 +08:00
Benau
8acd2d689a
Merge branch 'new_texture_format'
2017-01-10 09:09:38 +08:00
Benau
08876e30ab
Remove unused builtin font
2017-01-09 15:50:26 +08:00
Benau
c4b4ea006e
We don't need to add a new glyph page for billboard text anymore
2017-01-09 13:16:40 +08:00
Benau
46be4948b2
AZDO for new texture format
2017-01-09 13:03:50 +08:00
Daniel Ölschlegel
be2e86166f
Update CIrrDeviceLinux.cpp ( #2731 )
...
Fix compile error under NetBSD
2017-01-08 20:44:04 -05:00
Daniel Ölschlegel
64015348da
Update as_memory.cpp ( #2730 )
...
Merged required patch from OpenBSD and NetBSD
2017-01-07 18:55:10 -05:00
Daniel Ölschlegel
6e38e7429b
Update as_config.h ( #2729 )
...
NetBSD is a BSD
2017-01-07 18:52:39 -05:00
Benau
2af126357d
Port font to use new texture format
2017-01-06 18:20:19 +08:00
Benau
827a483e85
Allow legacy pipeline to use new texture format
2017-01-06 15:04:15 +08:00
Benau
0129c539b9
Fix #2543
...
Also disable warning when switching cases for context detection
2017-01-03 13:53:44 +08:00
Benau
2dbf4675a5
First version of new texture format
...
Todo: IBL, texture compression, GLES, premul alpha ....
2017-01-02 16:14:59 +08:00
Benau
67b6c3bf05
Allow to reload textures on the fly
...
Enter texture filename(s) (full path is optional) separating by
";" in the artist debug mode "Reload texture" dialog
Notice: premultiplied alpha texture reloading is not supported,
because it was done on STK side.
2016-12-29 14:56:18 +08:00
Benau
ffe4dd88b4
Apply mask directly on texture
...
Avoiding the ref counting issues
2016-12-28 15:32:27 +08:00