summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* egl_xdri: Report only OpenGL support.Chia-I Wu2010-01-221-9/+2
| | | | | It reported OpenGL ES support because some demos did not set EGL_RENDERABLE_TYPE correctly. The demos are fixed.
* egl_xdri: Do not reinitialize in __glXInitialize.Chia-I Wu2010-01-223-25/+78
| | | | | | __glXInitialize should return the same GLX display for the same X display. This issue is triggered by a35f6bb207efe3c959bbd16a37f2049e5aceeea9.
* egl_glx: Report only OpenGL support.Chia-I Wu2010-01-221-10/+3
| | | | | It reported OpenGL ES support because some demos did not set EGL_RENDERABLE_TYPE correctly. The demos are fixed.
* egl: Update driver Makefiles.Chia-I Wu2010-01-222-134/+23
| | | | Update to use the new Makefile.template.
* egl: Add Makefile.template for EGL drivers.Chia-I Wu2010-01-221-0/+51
|
* winsys/drm: Update Makefile.template.Chia-I Wu2010-01-221-8/+1
| | | | | Mainly to respect LDFLAGS and remove unused target $(LIBNAME_EGL). This is based on the patch by Tomáš Chvátal <[email protected]>.
* gallium: fix conditional rendering commentBrian Paul2010-01-211-1/+1
|
* gallium/docs: document conditional renderingBrian Paul2010-01-211-0/+36
|
* gallium: updated comments, whitespace fixesBrian Paul2010-01-211-15/+15
|
* mesa: minor whitespace fixBrian Paul2010-01-211-1/+1
|
* mesa: support for GL_ARB_fragment_coord_conventionsLuca Barbieri2010-01-215-0/+20
| | | | Signed-off-by: Brian Paul <[email protected]>
* softpipe: added region assertions in softpipe_get_tex_transfer()Brian Paul2010-01-211-0/+4
|
* dri: Remove unnecessary glapi headers.Chia-I Wu2010-01-216-9/+0
| | | | They are not used at all.
* Do not include glapi/dispatch.h outside Mesa core.Chia-I Wu2010-01-216-6/+10
| | | | | Include the glapi*.h directly instead. glapi/dispatch.h became a Mesa core header since 22884db174b9fb0736cec1c6a192f8b9a97500c1.
* gallium/i965: Make brw_batchbuffer prototypes match in source & headerAlan Coopersmith2010-01-202-3/+3
| | | | | Signed-off-by: Alan Coopersmith <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* radeong: Fix EGL driver names.Corbin Simpson2010-01-202-2/+2
| | | | Using "radeon" instead of "radeong" because we don't have classic EGL.
* Fix touching live system during install.Tomas Chvatal2010-01-201-1/+1
|
* r200: re-adding missing pitch alignment check in blit codeAlex Deucher2010-01-201-0/+4
| | | | lost after switch to common code
* mesa: replace questionable CPU_TO_LE32 macro with functionBrian Paul2010-01-201-6/+9
|
* Copy __FUNCTION__ portability #defines from mesa/compiler.h to eglcompiler.hAlan Coopersmith2010-01-201-0/+18
| | | | | Signed-off-by: Alan Coopersmith <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* r200: fix some breakage after move to common blit codeAlex Deucher2010-01-201-4/+0
|
* r200: fix typo in 76cf2618327a7f008dcfd0d91d64d6d9e01f9a9cAlex Deucher2010-01-201-1/+1
| | | | noticed by Maciej on IRC.
* st/egl_g3d: Add support for driver probe.Chia-I Wu2010-01-202-11/+108
| | | | | Hook the drv->Probe callback to allow the drivers to probe displays. The loading of state trackers is delayed to avoid unnecessary loading.
* st/egl_g3d: Add support for probe to native displays.Chia-I Wu2010-01-205-7/+146
| | | | | | The functions can be used to check if a display is supported without creating a struct native_display. It uses a probe object that can be shared across drivers.
* egl: Add a simple cache for driver probe.Chia-I Wu2010-01-202-0/+56
| | | | | | In current design, multiple drivers will probe the same display and the best driver is determined. The cache can be used by the drivers to store and share the probed data.
* egl: Improve driver matching.Chia-I Wu2010-01-203-20/+35
| | | | | Make drv->Probe return a score so that the matching can be done by finding the driver with the highest score.
* egl: Rename _EGL_PLATFORM_X to _EGL_PLATFORM_POSIX.Chia-I Wu2010-01-202-9/+9
| | | | | The macro is used to determine if dlfcn.h or dirent.h is available. POSIX is a better name than X in such case.
* egl: Remove unused driver and display functions.Chia-I Wu2010-01-204-156/+0
| | | | Remove _eglPreloadDriver, _eglLookupDriver, and _eglSplitDisplayString.
* egl: Use _eglPreloadDrivers.Chia-I Wu2010-01-202-9/+3
| | | | | Replace the use of _eglPreloadDriver by _eglPreloadDrivers. The latter supports EGL_DISPLAY which have a better chance to "just work".
* egl: Add _eglPreloadDrivers.Chia-I Wu2010-01-203-7/+215
| | | | | | It can be used to load the user driver specified by EGL_DRIVER, or a set of drivers specified by EGL_DISPLAY, or the default driver, and in that order.
* st/egl_g3d: Do not reuse the pipe transfer in ximage.Chia-I Wu2010-01-201-18/+22
| | | | | A pipe transfer is supposed to be temporary. It should be created before X*PutImage and destroyed afterwards.
* Remove hardcoded -Wall from Radeon DRI makefilesAlan Coopersmith2010-01-194-5/+3
| | | | | Signed-off-by: Alan Coopersmith <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* r300g: Move GB_AA_CONFIG to its eventual new home.Corbin Simpson2010-01-194-6/+8
|
* r300g: Make invariant state into an atom.Corbin Simpson2010-01-195-4/+7
|
* Merge remote branch 'origin/opengl-es-v2'Chia-I Wu2010-01-2078-340/+17375
|\
| * st/es: Clean up install target.Chia-I Wu2010-01-121-7/+7
| | | | | | | | | | | | Use DESTDIR and MINSTALL. Signed-off-by: Chia-I Wu <[email protected]>
| * st/es: Fix build issue after merge.Chia-I Wu2010-01-123-20/+20
| | | | | | | | | | | | | | | | In c847a13d38d4e8c5f4c386d060dcc8ec09e491a3, auxiliaries becomes a single library; In e388d62b4712bcd75cecad53f5ca20a2bb6f89b1, the default build is changed to have -fvisibility=hidden. Signed-off-by: Chia-I Wu <[email protected]>
| * mesa/es: Update sources.mk.Chia-I Wu2010-01-121-4/+3
| | | | | | | | | | | | | | Add/remove files that are unused/used to the omit list. Finally, they should all be features that can be omitted. Signed-off-by: Chia-I Wu <[email protected]>
| * mesa/es: Fix build issue after merge.Chia-I Wu2010-01-122-12/+14
| | | | | | | | | | | | | | | | | | In cd6b8dd9e82fedc55d033131fbc0f8ee950567c8, color read/type fields are moved; Based on 068596c9a7e8d330ffdff8ad8700bd6093b5bdea and cc020425e929110613ddb405d3e82313d27a35ed, GLSL builtin library is autogenerated and GLSL libraries are built and used. Signed-off-by: Chia-I Wu <[email protected]>
| * Merge branch 'master' into opengl-es-v2Chia-I Wu2010-01-121483-43817/+126717
| |\ | | | | | | | | | | | | Conflicts: src/mesa/main/dd.h
| * | mesa/es: Improve support for GL_OES_compressed_paletted_texture.Chia-I Wu2010-01-041-142/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add error checking and fix handling of level (it should be negative). Besides, always use the palette entry format/type when calling _mesa_TexImage2D. It respects the base internal formats of the cpal formats, and is simpler and faster, except for cases where the unpack alignment needs to be changed. Signed-off-by: Chia-I Wu <[email protected]>
| * | mesa/es: Fix GL_RGB565 support in FBO.Chia-I Wu2010-01-042-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | In GL_OES_framebuffer_object and OpenGL ES 2.0, GL_RGB565 is a valid internal format. Since it is not supported by the core, map it to GL_RGB5 as a workaround. Signed-off-by: Chia-I Wu <[email protected]>
| * | mesa/es: Fix GL_OES_texture_cube_map support.Chia-I Wu2010-01-046-19/+199
| | | | | | | | | | | | | | | | | | | | | | | | Unlike in OpenGL, GL_OES_texture_cube_map says that all coordinates are changed the same time by the token GL_TEXTURE_GEN_STR_OES, and the initial mode is GL_REFLECTION_MAP_OES. Signed-off-by: Chia-I Wu <[email protected]>
| * | mesa/es: Clean up extension string.Chia-I Wu2010-01-042-6/+12
| | | | | | | | | | | | | | | | | | | | | Add some new extensions and remove those that do not belong to OpenGL ES 2.0. Signed-off-by: Chia-I Wu <[email protected]>
| * | mesa/es: Add more exnteions to APIspec.Chia-I Wu2010-01-042-21/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds definitions of GL_EXT_texture_compression_dxt1 GL_EXT_texture_lod_bias GL_EXT_blend_minmax GL_EXT_multi_draw_arrays to APIspec.xml and get_gen.py. Some of the enums are not avaiable in the header files and the defining extensions are disabled. Signed-off-by: Chia-I Wu <[email protected]>
| * | mesa/es: Add more extensions to glapi.Chia-I Wu2010-01-043-13/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds definitions of GL_OES_texture_half_float_linear, GL_OES_texture_float_linear GL_OES_texture_half_float, GL_OES_texture_float GL_OES_vertex_half_float GL_OES_vertex_type_10_10_10_2 GL_OES_get_program_binary GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888 GL_EXT_texture_lod_bias GL_EXT_blend_minmax GL_EXT_read_format_bgra GL_EXT_multi_draw_arrays to glapi. Signed-off-by: Chia-I Wu <[email protected]>
| * | mesa/es: Generate code for special functions.Chia-I Wu2010-01-046-20/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | es_generator.py did not generate code for special functions. They were supposed to be defined elsewhere. But as a result, parameter checking was also skipped. This commit changes the way special functions are called so that parameter checking is always performed. When there is nothing to check, the check functions becomes macros expanding to the real functions, as an optimization. Signed-off-by: Chia-I Wu <[email protected]>
| * | mesa/es: Remove unused code in es_generator.py.Chia-I Wu2010-01-041-44/+0
| | | | | | | | | | | | | | | | | | Remove unused GetLoopSizeExpression. Signed-off-by: Chia-I Wu <[email protected]>
| * | mesa/es: Generate _mesa_GetFixedv.Chia-I Wu2010-01-043-266/+31
| | | | | | | | | | | | | | | | | | | | | Have get_gen.py generate _mesa_GetFixedv. The generated function does all the checkings and thus simplifies APIspec.xml a bit. Signed-off-by: Chia-I Wu <[email protected]>
| * | mesa/es: Add a sanity check to APIspec.py.Chia-I Wu2010-01-041-1/+17
| | | | | | | | | | | | | | | | | | | | | Some attributes are constant in a switch. Raise an exception if they are not. Signed-off-by: Chia-I Wu <[email protected]>