Commit Graph

101 Commits

Author SHA1 Message Date
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
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