mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 12:02:04 +00:00
1bfeddaaee
(clutter_stage_egl_realize): Use ES 2 renderable type when building for GLES 2. * clutter/eglnative/clutter-event-egl.c (get_backend_time): Added a NULL for the microseconds parameter of g_timer_elapsed. * clutter/eglnative/clutter-stage-egl.h: * clutter/eglnative/clutter-egl.h: * clutter/eglnative/clutter-backend-egl.h: Include clutter-egl-headers.h instead of including the GL headers directly so it can include gl2.h when building for GLES 2. * clutter/eglnative/clutter-egl-headers.h: * clutter/eglnative/Makefile.am (libclutter_eglnative_la_SOURCES): Added clutter-egl-headers.h * clutter/cogl/gles/cogl-fixed-fragment-shader.glsl: GLES 2 doesn't provide a default precision for floats in the fragment shader and it will reject the shader if there isn't one.
22 lines
494 B
Makefile
22 lines
494 B
Makefile
libclutterincludedir = $(includedir)/clutter-@CLUTTER_MAJORMINOR@/clutter
|
|
libclutterinclude_HEADERS = clutter-egl.h
|
|
|
|
INCLUDES = \
|
|
-DG_LOG_DOMAIN=\"ClutterEGL\" \
|
|
-I$(top_srcdir) \
|
|
$(CLUTTER_CFLAGS) \
|
|
$(CLUTTER_DEBUG_CFLAGS) \
|
|
$(GCC_FLAGS)
|
|
|
|
LDADD = $(CLUTTER_LIBS)
|
|
|
|
noinst_LTLIBRARIES = libclutter-eglnative.la
|
|
|
|
libclutter_eglnative_la_SOURCES = \
|
|
clutter-backend-egl.h \
|
|
clutter-backend-egl.c \
|
|
clutter-event-egl.c \
|
|
clutter-stage-egl.h \
|
|
clutter-stage-egl.c \
|
|
clutter-egl-headers.h
|