e92b864dff
providing GLSL support. * clutter/cogl/cogl.h: added rather direct binding of needed for glsl shaders. * clutter/cogl/gl/cogl-defines.h.in: * clutter/cogl/gl/cogl.c: * clutter/cogl/gles/cogl-defines.h: added stubs. * clutter/cogl/gles/cogl.c: added stubs. * clutter/glx/clutter-stage-glx.c: (clutter_stage_glx_realize): unrelated memory management sanity fix. (clutter_stage_glx_unrealize): unbind all shaders on stage unrealize. * clutter/Makefile.am: added clutter-shader.[ch] * clutter/clutter-actor.[ch]: adding shader capability to actors. * clutter/clutter-feature.h: added CLUTTER_FEATURE_SHADERS_GLSL * clutter/clutter-private.h: added stack of shaders to context. * clutter/clutter-shader.[ch]: new. * tests/Makefile.am: added shader test. * tests/test-shader.c: (frame_cb), (main): simple shader test, cycle through the inline shader with right/left mouse buttons.
35 lines
1.4 KiB
Makefile
35 lines
1.4 KiB
Makefile
noinst_PROGRAMS = test-textures test-events test-offscreen test-scale \
|
|
test-actors test-behave test-text test-entry test-project \
|
|
test-perspective test-rotate test-depth \
|
|
test-threads test-timeline test-score test-script \
|
|
test-model test-grab test-effects test-fullscreen test-shader
|
|
|
|
INCLUDES = -I$(top_srcdir)/
|
|
LDADD = $(top_builddir)/clutter/libclutter-@CLUTTER_FLAVOUR@-@CLUTTER_MAJORMINOR@.la
|
|
AM_CFLAGS = $(CLUTTER_CFLAGS)
|
|
AM_LDFLAGS = $(CLUTTER_LIBS)
|
|
|
|
test_textures_SOURCES = test-textures.c
|
|
test_events_SOURCES = test-events.c
|
|
test_offscreen_SOURCES = test-offscreen.c
|
|
test_scale_SOURCES = test-scale.c
|
|
test_actors_SOURCES = test-actors.c
|
|
test_grab_SOURCES = test-grab.c
|
|
test_behave_SOURCES = test-behave.c
|
|
test_text_SOURCES = test-text.c
|
|
test_entry_SOURCES = test-entry.c
|
|
test_project_SOURCES = test-project.c
|
|
test_perspective_SOURCES = test-perspective.c
|
|
test_rotate_SOURCES = test-rotate.c
|
|
test_depth_SOURCES = test-depth.c
|
|
test_threads_SOURCES = test-threads.c
|
|
test_timeline_SOURCES = test-timeline.c
|
|
test_shader_SOURCES = test-shader.c
|
|
test_score_SOURCES = test-score.c
|
|
test_script_SOURCES = test-script.c
|
|
test_model_SOURCES = test-model.c
|
|
test_effects_SOURCES = test-effects.c
|
|
test_fullscreen_SOURCES = test-fullscreen.c
|
|
|
|
EXTRA_DIST = redhand.png test-script.json
|