summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl
Commit message (Collapse)AuthorAgeFilesLines
* targets/egl: Use C++ compiler to link GL/ES state trackers.Chia-I Wu2010-09-171-3/+10
| | | | | Otherwise, applications compiled with C compiler might have trouble using them.
* targets/egl: Fix crashes from loading invalid modules.Chia-I Wu2010-09-101-4/+1
| | | | Be defensive.
* gallium: Remove ST_API_OPENGL_ES1 and ST_API_OPENGL_ES2.Chia-I Wu2010-09-106-4/+50
| | | | They are no longer used.
* st/egl: Use profiles to create OpenGL ES contexts.Chia-I Wu2010-09-105-78/+43
| | | | | | | Replace all uses of ST_API_OPENGL_ES{1,2} by profiles. Having 3 st_api's to provide OpenGL, OpenGL ES 1.1, and OpenGL ES 2.0 is not a sane abstraction, since all of them share glapi for current context/dispatch management.
* targets/egl: Check against drm_driver_descriptor::name.Chia-I Wu2010-08-243-16/+15
| | | | | | drm_driver_descriptor::driver_name is defined to be the name of the kernel module. We should check against drm_driver_descriptor::name instead of drm_driver_descriptor::driver_name.
* targets/egl: add pipe_r600Benjamin Franzke2010-08-242-0/+40
| | | | | KNOWN ISSUE: eglShowScreenSurfaceMESA in st/egl/kms fails but st/egl/x11 works
* targets/egl: rename pipe_radeon to pipe_r300Benjamin Franzke2010-08-242-8/+8
| | | | | | | | | | | | | | st/egl/x11/x11_screen.c requests a driver named r300 not radeon KNOWN ISSUE: breaks st/egl/kms/ st/egl/kms requests a pipe named "radeon" that will not be found now so why not leaving pipe_radeon there? that was possible as long we have only r300g. now there is also r600g for which st/egl/kms also requests a pipe named "radeon" (possible solution in later commit)
* targets/egl: Link with DRI_LIB_DEPS.Chia-I Wu2010-08-171-3/+3
| | | | | Use DRI_LIB_DEPS when linking GL/GLES state trackers. This fixes missing talloc symbol errors, and is hopefully more future proof.
* targets/egl: Fix build by including missing headers.Vinson Lee2010-08-062-0/+2
|
* targets/egl: fix buildJoakim Sindholt2010-08-051-0/+1
|
* st/egl: Fix build on FreeBSD.Chia-I Wu2010-07-161-1/+1
| | | | | | | There is no libdl on FreeBSD. Based on patch from Thinker <[email protected]>, which is against 7.8. This fixes fdo bug #29093.
* st/egl: Add egl-gdi target.Chia-I Wu2010-06-301-46/+0
| | | | | | | | | The target supports OpenVG on Windows with software rasterizer. The egl_g3d_loader defined by the target supports arbitrary client APIs and window systems. It is the SConscript that limits the support to OpenVG and GDI. This commit also fixes a typo in gdi backend.
* egl: Check for drm winsys not just the driver nameJakob Bornecrantz2010-06-291-5/+5
| | | | Also fix pipe_radeon.so not building
* i915g: Fix copy pastoJakob Bornecrantz2010-06-291-4/+4
|
* egl: Fix gallium build when EGL is not installed on systemJakob Bornecrantz2010-06-291-1/+2
|
* i915g: Add missing egl pipe fileJakob Bornecrantz2010-06-291-0/+28
|
* st/egl: Build a single EGL driver.Chia-I Wu2010-06-298-63/+205
| | | | | | | | | | | | This change makes st/egl build a single egl_gallium.so and multiple st_<API>.so and pipe_<HW>.so. When a display is initialized, the corresponding pipe driver will be loaded. When a context is created, the corresponding state tracker will be loaded. Unlike DRI drivers, no ABI compatibility is maintained. egl_gallium, pipe drivers and state trackers should always be distributed as a single package. As such, there is only a single src/gallium/targets/egl/ that builds everything for the package.
* st/egl: Move module loading code to targets.Chia-I Wu2010-06-298-35/+343
| | | | | | | | | | Several changes are made. libegl.a no longer defines _eglMain. It defines functions to create and destroy a _EGLDriver instead. The creation function is called by the targets. It takes an egl_g3d_loader as its argument. The loader is defined by the targets and is in charge of creating st_api and pipe_screen. This allows us to move the module loading code to targets. Lastly, the modules are now loaded as the respective contexts are created.
* st/egl: Reorganize targets.Chia-I Wu2010-06-2911-0/+427
Merge all targets into targets/egl/. The target produces egl_gallium_<HW>.so for each pipe driver and st_<API>.so for each client APIs. This enables us to further merge egl_gallium_<HW>.so into egl_gallium.so later.