Commit Graph

6 Commits

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