Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • mesa/kmscube
  • rantogno/kmscube
  • allocator/kmscube
  • mvicomoya/kmscube
  • ds-hwang/kmscube
  • jianhuilee/kmscube
  • lyudess/kmscube
  • robclark/kmscube
  • strassek/kmscube
  • borneoa/kmscube
  • alex.kanavin/kmscube
  • ezequielgarcia/kmscube
  • lemon.py/kmscube
  • afd/kmscube
  • KhaledEmaraDev/kmscube
  • dv1/kmscube
  • nirmoy/kmscube
  • cubanismo/kmscube
  • ayaka/kmscube
  • antonovitch/kmscube
  • vitalyp/kmscube
  • anholt/kmscube
  • festevam/kmscube
  • austriancoder/kmscube
  • Yaong/kmscube
  • tagr/kmscube
  • nroberts/kmscube
  • lynxeye/kmscube
  • gediz/kmscube
  • dhobsong/kmscube
  • tantan/kmscube
  • rui/kmscube
  • uniontechWu/kmscube
  • tomstokes/kmscube
  • lfrb/kmscube
  • lauramazzuca21/kmscube
  • bbrezillon/kmscube
  • larumbe/kmscube
  • asahilina/kmscube
  • tq-steina/kmscube
  • moiman/kmscube
  • enunes/kmscube
  • lumag/kmscube
  • ralphcampbell/kmscube
  • oreaus/kmscube
  • eric/kmscube
  • bbatson/kmscube
  • swick/kmscube
  • mairacanal/kmscube
  • hugues.fruchet/kmscube
  • ericsmith/kmscube
51 results
Show changes
Commits on Source (4)
......@@ -139,7 +139,7 @@ void ESUTIL_API esInitContext ( ESContext *esContext );
/// ES_WINDOW_DEPTH - specifies that a depth buffer should be created
/// ES_WINDOW_STENCIL - specifies that a stencil buffer should be created
/// ES_WINDOW_MULTISAMPLE - specifies that a multi-sample buffer should be created
/// \return GL_TRUE if window creation is succesful, GL_FALSE otherwise
/// \return GL_TRUE if window creation is successful, GL_FALSE otherwise
GLboolean ESUTIL_API esCreateWindow ( ESContext *esContext, const char *title, GLint width, GLint height, GLuint flags );
//
......@@ -291,7 +291,7 @@ void ESUTIL_API esOrtho(ESMatrix *result, float left, float right, float bottom,
void ESUTIL_API esMatrixMultiply(ESMatrix *result, ESMatrix *srcA, ESMatrix *srcB);
//
//// \brief return an indentity matrix
//// \brief return an identity matrix
//// \param result returns identity matrix
//
void ESUTIL_API esMatrixLoadIdentity(ESMatrix *result);
......
......@@ -54,14 +54,15 @@ dep_libdrm = dependency('libdrm', version : '>=2.4.71')
dep_gbm = dependency('gbm', version : '>=13.0')
dep_egl = dependency('egl')
dep_gles2 = dependency('glesv2')
dep_gles3 = dependency('glesv2', version : '>= 3', required : false)
if dep_gles3.found()
with_gles3 = cc.check_header('GLES3/gl3.h', dependencies: dep_gles2)
if with_gles3
sources += files('cube-shadertoy.c')
add_project_arguments('-DHAVE_GLES3', language : 'c')
message('GLES3 supported; shadertoy & texturator are included in this build')
else
message('GLES3 not supported; shadertoy & texturator are NOT included in this build')
warning('GLES3 not supported; shadertoy & texturator are NOT included in this build')
endif
dep_libpng = dependency('libpng', required : false)
......@@ -103,7 +104,7 @@ endif
executable('kmscube', sources, dependencies : dep_common, install : true)
if dep_gles3.found()
if with_gles3
executable('texturator', files(
'common.c',
'drm-legacy.c',
......
......@@ -67,7 +67,7 @@
* Description of layout on screen from texelFetch:
*
* Draws a series of "rectangles" which display each miplevel and array slice,
* at full size. They are layed out as follows:
* at full size. They are laid out as follows:
*
* miplevel 3 + + + + +
*
......