Commit Graph

133 Commits

Author SHA1 Message Date
rexim
929c08f453 Add TODO(#9) 2019-09-09 21:32:54 +07:00
rexim
bef0fd4a23 Add TODO(#8) 2019-09-09 21:32:53 +07:00
rexim
13d1236db8 Add TODO(#7) 2019-09-09 21:32:53 +07:00
Alexey Kutepov
7439e91e9d
Merge pull request #5 from abridgewater/glTextureMappingSucks
probe/fbconfig: Texture-map a quadrangle using the "legacy" APIs
2019-09-09 21:23:47 +07:00
rexim
b1a2629d7e Introduce target and source size constant for easy modification 2019-09-09 21:21:24 +07:00
rexim
38392e3a77 Make fbconfig probe work correctly on my machine for now 2019-09-09 21:16:43 +07:00
Alastair Bridgewater
21a37af414 probe/fbconfig: Texture-map a quadrangle using the "legacy" APIs
* This was... obnoxious to figure out.  Need to set up a small
pile of state in the context, with very little in the way of
diagnostic advice when all you get for output is a white rectangle
and no texture.

  * The legacy (no shader!) APIs are based on the fixed-function
pipeline, and apparently not supported by certain OpenGL
implementations such as the Intel open-source Linux drivers.

  * Apparently, the "modern" way to do things is to set up a
"vertex buffer", store the coordinates there, and then use shaders
to do the geometry mangling and texture mapping.
2019-09-07 16:36:20 -04:00
rexim
617f4554ba GLUT app boilerplate 2019-09-05 03:57:57 +07:00
rexim
487d3d7bd3 Port screenshot example to Nim 2019-09-05 00:50:23 +07:00
Alexey Kutepov
3232e85e31
Merge pull request #4 from tsoding/screen-texture
FBConfig and Screenshot research
2019-09-03 02:04:02 +07:00
rexim
d89e467c38 Add screenshot probe 2019-08-31 19:11:59 +07:00
rexim
a15128b8ed Fix code style for fbconfig probe 2019-08-31 18:24:43 +07:00
rexim
f6bdde7dc9 Add fbconfig-probe example 2019-08-30 08:35:16 +07:00
rexim
704a9d1eeb Add glXIntro to references 2019-08-30 08:34:24 +07:00
rexim
024c5f5d87 glxex -> boomer 2019-08-28 23:30:10 +07:00
rexim
71ff0edf3c Add Twitch Archive links 2019-08-23 05:50:03 +07:00
Alexey Kutepov
4343fdd78c
Merge pull request #3 from tsoding/glxex
Glxex
2019-08-22 09:04:16 +07:00
rexim
b82aefb321 Add GLX example to References 2019-08-22 06:21:04 +07:00
rexim
6a006dde62 Make glxex draw something 2019-08-22 06:20:54 +07:00
rexim
791cd4a101 Implement actually working GLX example 2019-08-22 06:20:54 +07:00
rexim
82decde1b2 Add GLX example 2019-08-22 06:20:54 +07:00
Alexey Kutepov
46918cb424
Merge pull request #2 from greenfork/add-0-20-compatibility
Add compatibility for Nim 0.20+
2019-08-17 08:05:49 +07:00
Dmitry Matveyev
81699b69c6 Change block structure to procedure for main 2019-08-16 12:18:59 +03:00
Dmitry Matveyev
3d4ecc1203 Add compatibility for Nim 0.20+ 2019-08-16 10:24:45 +03:00
rexim
72ded7d2ff Add Tsoding badge 2019-08-08 21:52:19 +07:00
rexim
7d3b94d1e2 Add Support 2019-08-08 21:52:02 +07:00
rexim
505f2a7864 Add References 2019-08-08 21:51:36 +07:00
rexim
7408a61334 Wrap X11 app state into an object 2019-08-08 01:46:17 +07:00
rexim
14cfee4c14 Simplify x11 example 2019-08-08 01:10:59 +07:00
rexim
78b9b92615 Add Quick Start to README 2019-08-08 00:46:38 +07:00
rexim
ac6fcd8c65 Add X11 example
Just to get myself familiarized with X11 brutality
2019-08-08 00:45:07 +07:00
rexim
b4d7c52d16 Create Nim project 2019-08-07 23:30:18 +07:00
Alexey Kutepov
9a744938c2
Initial commit 2019-08-07 23:20:29 +07:00