Vladimír Vondruš
231aaeb4aa
Platform: documentation updates.
...
It looks much better now without all that explicit/implicit deletion.
13 years ago
Vladimír Vondruš
4222d8a297
Platform: pass application configuration via reference, not pointer.
...
Removes the need for explicit new/delete calls.
13 years ago
Vladimír Vondruš
6c64b56cc8
Platform: redirect debug output to JS console in NaClApplication.
13 years ago
Vladimír Vondruš
72e83c4f49
Platform: inline/virtual optimizations.
...
Removed redundant `inline` keyword, changed public (pure) virtual
destructors to protected nonvirtual ones.
13 years ago
Vladimír Vondruš
bda6202d42
Platform: ability to negotiate context in {Glut,NaCl,Sdl2}Application.
13 years ago
Vladimír Vondruš
daffbdce0c
Platform: some const fascism.
13 years ago
Vladimír Vondruš
ad8f35c89e
Platform: multisampling support in NaClApplication.
13 years ago
Vladimír Vondruš
dfdec44b01
Platform: portable application arguments specification.
...
Last PITA when porting to NaCl removed. Yay!
13 years ago
Vladimír Vondruš
cdcb37cd0c
Platform: better way to specify application configuration.
...
Each implementation of *Application::Configuration will have different
methods tailored to feature set of the underlying toolkit. Currently
each windowed application's Configuration has only window title (except
NaClApplication) and window size. WindowlessGlxApplication has empty
class. More features will come later. Also created introductionary
documentation for Platform namespace.
13 years ago
Vladimír Vondruš
c5ab86794b
Relicensing to MIT/Expat license, part 3: source files.
...
Added license header also to shader sources. Hopefully it won't harm
compilation times too much.
13 years ago
Vladimír Vondruš
0f889369f4
No `using namespace std` anywhere.
...
Also added missing std:: prefix to remaining cases of std::size_t,
std::[u]int[0-9]+_t, std::sin() etc., std::exit().
14 years ago
Vladimír Vondruš
43f6dbc72d
Using integer vector aliases all over the place.
14 years ago
Vladimír Vondruš
6793a30701
NaClApplication: implemented mouse locking.
14 years ago
Vladimír Vondruš
78e9c7add1
NaClApplication: schedule one more redraw after fullscreen switch.
...
Otherwise NaCl displays previous image, notable mainly when exiting
16:9 fullscreen back to 4:3.
14 years ago
Vladimír Vondruš
97383b8a62
NaClApplication: fullscreen switching support.
14 years ago
Vladimír Vondruš
152eb4e4b4
NaClApplication: fixed boolean fuckup.
...
Now viewportEvent() is called properly on startup _and_ when resizing,
not everytime else.
14 years ago
Vladimír Vondruš
c488d8f2d0
Minor #include cleanup.
14 years ago
Vladimír Vondruš
cf0ca06d39
NaClApplication: relative position in MouseMoveEvent.
14 years ago
Vladimír Vondruš
fabbb99722
NaClApplication: fix improper assertion.
...
Apparently input events can be processed during buffer swapping. Now
asserting that callback from buffer swap is not called during input
event processing (which shouldn't, as both functions should be called in
the same thread).
14 years ago
Vladimír Vondruš
0200ffe74c
NaClApplication: using special classes for input events.
...
NaCl and SDL2 are now hotswappable again without any unimplemented or
superfluous function parameters.
Also added missing EnumSet operators for Modifiers.
14 years ago
Vladimír Vondruš
1a729aa3af
NaClApplication: mouse input handling.
14 years ago
Vladimír Vondruš
54dc556eb5
NaClApplication: keyboard input handling.
14 years ago
Vladimír Vondruš
643977abbd
Platform: support for NaCl applications.
14 years ago