Commit Graph

57 Commits

Author SHA1 Message Date
Alexey Kutepov
511a1ccb77
Merge pull request #19 from SolitudeSF/fix
Macro -> template.
2019-09-13 02:23:12 +07:00
SolitudeSF
c2609f230a
Macro -> template. 2019-09-12 16:55:28 +03:00
rexim
79464dfe9a Remove TODO(#12) 2019-09-12 07:58:37 +07:00
Alexey Kutepov
a94de86386
Merge pull request #18 from tsoding/nix-overlay
Add NixOS overlay for boomer
2019-09-12 07:47:38 +07:00
rexim
8ffecb1d4a Add NixOS overlay for boomer 2019-09-12 07:46:53 +07:00
Alexey Kutepov
0f7c8ec915
Merge pull request #14 from tsoding/12
(#12) Scaling and translation
2019-09-12 02:35:24 +07:00
rexim
8966a2bd4a Add TODO(#17) 2019-09-12 02:34:05 +07:00
rexim
373460e909 Add TODO(#16) 2019-09-12 02:34:04 +07:00
rexim
daf8c52c91 Add TODO(#15) 2019-09-12 02:34:04 +07:00
rexim
95461f11e9 (#12) Do not interpolate textures 2019-09-12 02:28:39 +07:00
rexim
8219a508b8 (#12) Implement proper dragging 2019-09-12 02:28:27 +07:00
rexim
dbe4e8eff9 (#12) Introduce scaling 2019-09-12 01:47:14 +07:00
rexim
92ee5abe08 (#12) Introduce translation 2019-09-12 01:34:27 +07:00
rexim
5d9a46b142 (#12) Fix screenshot distortion 2019-09-12 01:34:14 +07:00
rexim
e54c518536 (#12) Fix upside down bug 2019-09-12 01:33:30 +07:00
rexim
24f865ec5d (#12) Use center as the pivot 2019-09-12 01:01:06 +07:00
rexim
0a8df4c646 (#12) scaling and rotation test 2019-09-12 00:54:29 +07:00
Alexey Kutepov
66ca842d00
Merge pull request #10 from tsoding/9
(#9) Render the screenshot
2019-09-12 00:22:20 +07:00
rexim
deafa01897 Add TODO(#13) 2019-09-12 00:21:56 +07:00
rexim
3ce3dbdb6c Add TODO(#12) 2019-09-12 00:21:56 +07:00
rexim
8608258b5b Add TODO(#11) 2019-09-12 00:21:55 +07:00
rexim
21fc07c2ce (#9) Render the screenshot 2019-09-12 00:20:27 +07:00
rexim
51d704ac7e (#9) Fix saveToPPM call 2019-09-11 23:21:31 +07:00
Alexey Kutepov
9747b6c547
Merge pull request #6 from tsoding/screenshot-approach
Screenshot approach current progress
2019-09-09 21:33:39 +07:00
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