| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
found by codespell
|
|
|
|
|
|
|
|
| |
gl2ext.h is the extenstion header for OpenGL ES 2.0 and all later
versions according to the Khronos documentation [1]. gl3ext.h is either
an empty stub, or may not even exist on some platforms.
[1]: https://www.khronos.org/registry/OpenGL/index_es.php#headers
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following build warning is seen:
../texturator.c:603:45: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context]
*complemented = (((float)rgba[2]) / 255.0) / 0.25;
Fix it by using the != 0.0f construction to properly convert from float
to bool.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
When libpng is not present the following build warning is seen:
../texturator.c:98:13: warning: 'png' defined but not used [-Wunused-variable]
static bool png;
Fix it by only defining the png variable when HAVE_LIBPNG is defined.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Instead of changing the code each time, allow the fourcc to be passed
in as an argument.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Rob Clark <robdclark@gmail.com>
|
|
|
|
|
|
|
|
| |
Extend also to texturator the command line flag to select the video
mode.
Signed-off-by: Antonio Borneo <antonio.borneo@st.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The mode of type "DRM_MODE_TYPE_PREFERED" can be miss-configured,
making kmscube not working.
Plus, user could need to test the other available video modes at
the connector.
Add a command line flag to specify the video mode. If the mode is
not present, print an informative message and fall-back to the
default behaviour (preferred mode or highest resolution mode).
Signed-off-by: Antonio Borneo <antonio.borneo@st.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
|
|
|
|
|
| |
Signed-off-by: Khaled Emara <ekhaled1836@gmail.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
|
| |
|
|
A utility for testing layouts of various types of textures in various
formats.
Not really too much related to kms or kmscube, other than re-using
kmscube's kms/gbm code and egl helper.
|