~ubuntu-branches/ubuntu/natty/mesa/natty-proposed

« back to all changes in this revision

Viewing changes to src/gallium/winsys/drm/Makefile.egl

  • Committer: Bazaar Package Importer
  • Author(s): Robert Hooker, Robert Hooker, Christopher James Halse Rogers
  • Date: 2010-09-14 08:55:40 UTC
  • mfrom: (1.2.28 upstream)
  • Revision ID: james.westby@ubuntu.com-20100914085540-m4fpl0hdjlfd4jgz
Tags: 7.9~git20100909-0ubuntu1
[ Robert Hooker ]
* New upstream git snapshot up to commit 94118fe2d4b1e5 (LP: #631413)
* New features include ATI HD5xxx series support in r600, and a vastly
  improved glsl compiler.
* Remove pre-generated .pc's, use the ones generated at build time
  instead.
* Remove all references to mesa-utils now that its no longer shipped
  with the mesa source.
* Disable the experimental ARB_fragment_shader option by default on
  i915, it exposes incomplete functionality that breaks KDE compositing
  among other things. It can be enabled via driconf still. (LP: #628930).

[ Christopher James Halse Rogers ]
* debian/patches/04_osmesa_version.diff:
  - Refresh for new upstream
* Bugs fixed in this release:
  - Fixes severe rendering corruption in Unity on radeon (LP: #628727,
    LP: #596292, LP: #599741, LP: #630315, LP: #613694, LP: #599741).
  - Also fixes rendering in gnome-shell (LP: #578619).
  - Flickering in OpenGL apps on radeon (LP: #626943, LP: #610541).
  - Provides preliminary support for new intel chips (LP: #601052).
* debian/rules:
  - Update configure flags to match upstream reshuffling.
  - Explicitly remove gallium DRI drivers that we don't want to ship.
* Update debian/gbp.conf for this Maverick-specific packaging
* libegl1-mesa-dri-x11,kms: There are no longer separate kms or x11 drivers
  for EGL, libegl1-mesa-drivers now contains a single driver that provides
  both backends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# src/gallium/winsys/drm/Makefile.egl
2
 
 
3
 
# The driver Makefile should define
4
 
#
5
 
#   EGL_DRIVER_NAME, the name of the driver
6
 
#   EGL_DRIVER_SOURCES, the sources of the driver
7
 
#   EGL_DRIVER_LIBS, extra libraries needed by the driver
8
 
#   EGL_DRIVER_PIPES, the pipe drivers of the driver
9
 
#
10
 
# before including this file.
11
 
 
12
 
EGL_DRIVER_OBJECTS = $(EGL_DRIVER_SOURCES:.c=.o)
13
 
 
14
 
common_LIBS = -ldrm -lm $(DLOPEN_LIBS)
15
 
 
16
 
x11_ST = $(TOP)/src/gallium/state_trackers/egl/libeglx11.a
17
 
x11_LIBS = $(common_LIBS) -lX11 -lXext -lXfixes
18
 
 
19
 
kms_ST = $(TOP)/src/gallium/state_trackers/egl/libeglkms.a
20
 
kms_LIBS = $(common_LIBS)
21
 
 
22
 
##### RULES #####
23
 
 
24
 
.c.o:
25
 
        $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@
26
 
 
27
 
 
28
 
##### TARGETS #####
29
 
 
30
 
EGL_DISPLAY_DRIVERS = $(foreach dpy, $(EGL_DISPLAYS), egl_$(dpy)_$(EGL_DRIVER_NAME).so)
31
 
 
32
 
EGL_DISPLAY_LIBS = $(foreach drv, $(EGL_DISPLAY_DRIVERS), $(TOP)/$(LIB_DIR)/$(drv))
33
 
 
34
 
default: $(EGL_DISPLAY_LIBS)
35
 
 
36
 
$(EGL_DISPLAY_LIBS): $(TOP)/$(LIB_DIR)/%.so: %.so
37
 
        $(INSTALL) $< $(TOP)/$(LIB_DIR)
38
 
 
39
 
define mklib-egl
40
 
$(MKLIB) -o $@ -noprefix -linker '$(CC)' -ldflags '$(LDFLAGS)' \
41
 
        $(MKLIB_OPTIONS) $(EGL_DRIVER_OBJECTS) $($(1)_ST) \
42
 
        $(EGL_DRIVER_PIPES) $(GALLIUM_AUXILIARIES) $($(1)_LIBS) $(EGL_DRIVER_LIBS)
43
 
endef
44
 
 
45
 
egl_x11_$(EGL_DRIVER_NAME).so: $(EGL_DRIVER_OBJECTS) $(x11_ST) $(EGL_DRIVER_PIPES) $(GALLIUM_AUXILIARIES) Makefile
46
 
        $(call mklib-egl,x11)
47
 
 
48
 
egl_kms_$(EGL_DRIVER_NAME).so: $(EGL_DRIVER_OBJECTS) $(kms_ST) $(EGL_DRIVER_PIPES) $(GALLIUM_AUXILIARIES) Makefile
49
 
        $(call mklib-egl,kms)
50
 
 
51
 
clean:
52
 
        -rm -f $(EGL_DRIVER_OBJECTS)
53
 
        -rm -f $(EGL_DISPLAY_DRIVERS)
54
 
 
55
 
install: $(EGL_DISPLAY_LIBS)
56
 
        $(INSTALL) -d $(DESTDIR)$(EGL_DRIVER_INSTALL_DIR)
57
 
        for lib in $(EGL_DISPLAY_LIBS); do \
58
 
                $(MINSTALL) -m 755 "$$lib" $(DESTDIR)$(EGL_DRIVER_INSTALL_DIR); \
59
 
        done
60
 
 
61
 
depend: