Denis Pauk
2812ef30dd
Reuse GLimp_InitGraphics for create window
2018-08-28 23:22:40 +03:00
Denis Pauk
8fc5bafb64
move render prepere staff to separate function
2018-08-28 23:22:40 +03:00
Yamagi Burmeister
25a1f08656
Merge branch 'buildcleanup'
2018-08-15 17:48:30 +02:00
Yamagi
135b243b74
Merge pull request #314 from 0lvin/render_speedup_review
...
Render speedup
2018-08-15 17:41:23 +02:00
Yamagi Burmeister
daf3dc6f41
Remove ZIP compile time option.
...
Having ZIP optional only complicates things and is unnecessary now that
the dependency to zlib is gone.
2018-08-14 11:12:38 +02:00
Yamagi Burmeister
be9942d516
Fix window handling when switch from gl to soft renderer.
...
Make sure that the window is destroyed at gl renderer shutdown and
recreated by the soft renderer. Don't deinitialize SDL in the
softrenderer, that's done by vid.c. And make sure that we start the soft
renderer with a clean GL state.
2018-08-10 12:19:15 +02:00
Yamagi Burmeister
e7fa5518a9
Replace zlib dependency by miniz single header library.
...
I've chosen the minimal invasive way for this:
* Import miniz and remove -lz linker flags.
* Create a short header minizconf.h roviding everything we need
originally defined by zconf.h and not provided by miniz.
* Replace zlib.h with miniz.h and minizconf.h.
2018-08-10 10:24:25 +02:00
Yamagi Burmeister
10bdaaec06
Move stb_image_write.h into vid. It's used there, only.
2018-08-07 11:45:26 +02:00
Yamagi Burmeister
1fcd0324e0
Move the icon into the vid interface.
...
It's only used there.
2018-08-07 10:30:11 +02:00
Yamagi Burmeister
d328aa9a9e
Move rev.h into the client.
2018-08-07 10:20:02 +02:00
Yamagi Burmeister
5bff7e1568
Move refresh.c into the client and rename to glimp_sdl.c.
...
The GL backends have been an integral part of the vid interface for
years.
2018-08-07 10:08:20 +02:00
Yamagi Burmeister
b805b4e044
Move vid.c and dependencies into the client.
...
The vid interface has been exclusive to the client for years, trace
that in the file hierarchy.
2018-08-07 10:00:21 +02:00