summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
Commit message (Collapse)AuthorAgeFilesLines
* scons: Expose pkg-config in a simpler manner.José Fonseca2011-06-306-17/+15
|
* scons: Buid libGL.so (WIP).José Fonseca2011-06-301-1/+1
|
* target/egl-static: fix a compiler warningChia-I Wu2011-06-301-0/+3
|
* targets/egl-static: fix library search orderChia-I Wu2011-06-281-2/+2
| | | | | | | | | | | | Use $(MKLIB) -ldflags '-L$(TOP)/$(LIB_DIR)' instead of $(MKLIB) -L$(TOP)/$(LIB_DIR) to make sure the local library path appears before system's.
* targets/egl-static: fix building without libudevChia-I Wu2011-06-261-1/+2
| | | | Thanks to José for pointing out.
* targets/egl-static: refactor drm_fd_get_screen_nameChia-I Wu2011-06-261-28/+53
| | | | Add drm_fd_get_pci_id to get the PCI ID. Fix a leak with udev on error.
* targets/gbm: attemp to fix unresolved symbolsChia-I Wu2011-06-261-9/+22
| | | | | Move system libraries (usually .so) out of --start-group / --end-group pair. Add possiblly missing archives, defines, and shared libraries.
* targets/egl-static: do not use DRI_LIB_DEPSChia-I Wu2011-06-251-3/+3
| | | | It brings in libraries that are not necessarily needed.
* targets/egl: removedChia-I Wu2011-06-2412-949/+0
| | | | Not used.
* targets/egl-static: replace targets/eglChia-I Wu2011-06-241-0/+201
| | | | | Build egl_gallium from targets/egl-static intead of targets/egl. The latter exposes (unversioned) gallium interfaces and is frowned upon.
* targets/egl-static: allow st/mesa to be dynamically loadedChia-I Wu2011-06-244-19/+148
| | | | | | | | When shared glapi is not enabled, there are two glapi providers and we cannot decide which one to link to at build time. It results in unresolved symbols in st/mesa. This commit makes st/mesa a loadable module when shared glapi is not enabled, and hopes that the apps will link to one of the glapi providers (GL or GLES).
* targets/egl-static: add support for driver lookupChia-I Wu2011-06-241-0/+82
| | | | | Use pci id to driver map to look up the driver name. This is based on a433755ec5c48088a0d8a340851a1a8be9e58897.
* targets/gbm: build pipe driversChia-I Wu2011-06-249-4/+309
| | | | | | | Build pipe drivers here instead of using those built by the soon-to-be-removed targets/egl. [with an update by Benjamin Franzke to use --{start|end}-group]
* st/egl: drop guess_gl_api from egl_g3d_loaderChia-I Wu2011-06-242-37/+1
| | | | It is not used and confusing.
* st/egl: Hookup gbm for drm backendBenjamin Franzke2011-06-231-1/+1
|
* gbm: Add gallium (drm) backendBenjamin Franzke2011-06-234-0/+333
|
* xorg/nouveau: blacklist all pre NV30 cardsMarcin Slusarz2011-06-222-9/+57
| | | | | Bail out early in probe, so other driver can take control of the card. Doing it in screen_create would be too late.
* xorg/nouveau: rename to nouveau2Marcin Slusarz2011-06-202-8/+8
| | | | Signed-off-by: Marek Olšák <[email protected]>
* st/xorg: add GALLIUM_AUXILIARIES to target dependenciesMarcin Slusarz2011-06-201-1/+1
| | | | | | Without it changes to GALLIUM_AUXILIARIES don't induce target rebuild Signed-off-by: Marek Olšák <[email protected]>
* r600g: do not link with softpipeMarek Olšák2011-06-141-1/+0
|
* r300g: do not link with softpipeMarek Olšák2011-06-141-1/+0
|
* xorg-radeon: rename to xorg-r300Marek Olšák2011-06-143-30/+30
|
* target-helpers: remove copy-pasted function inline_noop_helperMarek Olšák2011-06-141-1/+1
|
* targets/egl: Support driver name lookup using pci listsBenjamin Franzke2011-06-071-1/+80
| | | | | | Make use of this in drm and wayland st/egl backends. Reviewed-by: Alex Deucher <[email protected]>
* dri/nouveau: Fix build with --enable-shared-dricore.Johannes Obermayr2011-06-021-1/+1
| | | | | | | | | - Based on the work of Себастьян Gliţa Κατινα <[email protected]> - Split Makefile.template into Makefile.defines and Makefile.targets - Adapt other drivers to new situation - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=35441 Signed-off-by: Brian Paul <[email protected]>
* st/egl: Fix udev linkage when egl_dri2 is not buildBenjamin Franzke2011-05-311-1/+1
|
* st/egl: Implement EGL_WL_bind_wayland_display for x11,drm,waylandBenjamin Franzke2011-05-131-0/+1
|
* targets/xorg-nouveau: load nouveau_dri.so instead of i915_dri.soMarcin Slusarz2011-05-021-1/+1
|
* targets/xorg-nouveau: add libnvc0.a to nouveau libsMarcin Slusarz2011-05-021-0/+1
|
* st/egl: Add wayland shm softpipe supportBenjamin Franzke2011-04-251-0/+1
|
* r300g/winsys: rename r300->radeon and do a little cleanupMarek Olšák2011-04-184-8/+8
| | | | | Renaming a few files, types, and functions. Also make the winsys independent of r300g.
* graw-gdi: Silence gcc missing initialization warning.José Fonseca2011-03-061-1/+3
|
* r300g: import the last bits of libdrm and cleanup the whole thingMarek Olšák2011-02-116-9/+2
| | | | | | | | | | | | | | Based on Dave's branch. The majority of this commit is a cleanup, mainly renaming things. There wasn't much code to import, just ioctl calls. Also done: - implemented unsynchronized bo_map (important optimization!) - radeon_bo_is_referenced_by_cs is no longer a refcount hack - dropped the libdrm_radeon dependency I'm surprised that this has resulted in less code in the end.
* st/egl: Add wayland platformBenjamin Franzke2011-02-071-0/+3
|
* Remove talloc from the SCons build system.Kenneth Graunke2011-01-314-4/+1
|
* svga: link libwsw for dri-vmwgfx target with make build system tooRoland Scheidegger2011-01-251-0/+1
|
* scons: Add support for GLES.Chia-I Wu2011-01-223-4/+24
| | | | | | | | | | | | | | | | | | GLES can be enabled by running scons with $ scons gles=yes When gles=yes is given, the build is changed in three ways. First, libmesa.a will be built with FEATURE_ES1 and FEATURE_ES2. This makes DRI drivers and libEGL support and advertise GLES support. Second, GLES libraries will be created. They are libGLESv1_CM, libGLESv2, and libglapi. Last, libGL or opengl32 will link to libglapi. This change is required as _glapi_* will be declared as __declspec(dllimport) in libmesa.a on windows. libmesa.a expects those symbols to be defined in another DLL. Due to this change to GL, GLES support is marked experimental. Note that GLES requires libxml2-python to generate some of its sources.
* graw: fix logic error in pixel format selectionBrian Paul2011-01-201-3/+17
| | | | | | | | | | | | | | | The loop to choose a pixel format for the window was incrementing 'i' after we succeeded in creating the window so if we chose format[0] for graw_create_window_and_screen() we were putting format[1] in the pipe_resource template for creating the render target. This only worked because of the order of the elements in the formats[] array. The graw_xlib.c code now properly compares the requested gallium pixel format against the visual's color layout. Update all the graw demos to fix the off-by-one-i error.
* glapi: Fix OpenGL and OpenGL ES interop.Chia-I Wu2011-01-202-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | When --enable-shared-glapi is specified, libGL will share libglapi with OpenGL ES instead of defining its own copy of glapi. This makes sure an app will get only one copy of glapi in its address space. The new option is disabled by default. When enabled, libGL and libglapi must be built from the same source tree and distributed together. This requirement comes from the fact that the dispatch offsets used by these libraries are re-assigned whenever GLAPI XMLs are changed. For GLX, indirect rendering for has_different_protocol() functions is tricky. A has_different_protocol() function is assigned only one dispatch offset, yet each entry point needs a different protocol opcode. It cannot be supported by the shared glapi. The fix to this is to make glXGetProcAddress handle such functions specially before calling _glapi_get_proc_address. Note that these files are automatically generated/re-generated src/glx/indirect.c src/glx/indirect.h src/mapi/glapi/glapi_mapi_tmp.h
* targets/egl-static: Assorted cleanups and fixes.Chia-I Wu2011-01-151-12/+12
| | | | | | Share more code between windows and non-windows platforms. Check env['x11'] for X11 and add env['X11_LIBS'] to LIBS. Add ws_wrapper for i965g.
* targets/egl: i965 needs libwsw.Chia-I Wu2011-01-151-1/+2
| | | | Fix undefined symbol wrapper_sw_winsys_dewrap_pipe_screen.
* targets/egl-static: Remove unnecessary header.Vinson Lee2011-01-131-1/+0
|
* scons: Ensure the OpenVG/EGL import libs are also prefixed with 'lib'.José Fonseca2011-01-131-0/+1
|
* scons: Build libOpenVG.dll & libEGL.dllJosé Fonseca2011-01-131-1/+4
| | | | | | But without creating liblibOpenVG or liblibEGL elsewhere. Thanks Chia-I Wu for pointing this out.
* scons: Update windows build for vgapi->openvg rename.José Fonseca2011-01-121-1/+1
|
* scons: Fix build on systems without libOpenVG.soJosé Fonseca2011-01-121-1/+2
|
* scons: Updates for targets/egl-static.Chia-I Wu2011-01-121-0/+122
| | | | | | | | Update SConscripts to re-enable or add support for EGL on windows and x11 platforms respectively. targets/egl-gdi is replaced by targets/egl-static, where "-static" means pipe drivers and state trackers are linked to statically by egl_gallium, and egl_gallium is a built-in driver of libEGL. There is no more egl_gallium.dll on Windows.
* targets/egl-static: New EGL target for scons.Chia-I Wu2011-01-126-123/+455
| | | | | This target is based on and replaces egl-gdi. It is suitable for both windows and x11.
* noop: remove dead dri targetJerome Glisse2011-01-113-128/+0
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* mesa: Remove GLES overlay.Chia-I Wu2011-01-104-52/+2
| | | | | | | With core mesa doing runtime API checks, GLES overlay is no longer needed. Make --enable-gles-overlay equivalent to --enable-gles[12]. There may still be places where compile-time checks are done. They could be fixed case by case.