Commit Graph

35159 Commits

Author SHA1 Message Date
Chia-I Wu
e5b5d84e8a st/vega: Use SConscript for Windows build.
Fix several portability issues and add SConscript for Windows build.
2010-05-31 13:28:01 +08:00
Chia-I Wu
a2f3115307 gallium/util: Define isfinite and isnan for MSVC.
Define isfinite and isnan to _finite and _isnan respectively for MSVC.
Those macros are needed by st/vega.
2010-05-31 13:27:58 +08:00
Chia-I Wu
60558b1594 mapi/vgapi: Add SConscript for Windows build. 2010-05-31 13:27:53 +08:00
Chia-I Wu
f6f9d1014b st/egl: Use OS-specific module suffices.
At least, .dll is used on Windows.
2010-05-31 13:27:48 +08:00
Chia-I Wu
ec0bab3a51 targets/egl: Add SConscript for egl_gdi_swrast.
egl_gdi_swrast uses st/egl/gdi and winsys/sw/gdi to provide an EGL
driver for Windows.
2010-05-31 13:27:46 +08:00
Chia-I Wu
a8e195ec24 st/egl: Add GDI backend.
The backend uses Windows GDI driver to provide a software EGL
implementation on Windows.
2010-05-31 13:27:44 +08:00
Chia-I Wu
1e6c10f4be egl: Use SConscript for Windows build.
Fix several portability issues and add SConscript for Windows build.
2010-05-31 13:27:41 +08:00
Chia-I Wu
0d820fc203 egl: Use khronos types for EGL_MESA_screen_surface.
That is, use khronos_uint32_t instead of uint32_t.
2010-05-31 11:31:08 +08:00
Chia-I Wu
ba26631d0d Define PUBLIC to dllexport on MSVC.
Define PUBLIC to __declspec(dllexport) when _MVC_VER is defined.
2010-05-31 11:31:07 +08:00
Chia-I Wu
14f1157a2e Update KHRONOS_APICALL for _WIN32 platform.
Use __declspec(dllexport) when KHRONOS_DLL_EXPORTS is defined.
2010-05-31 11:31:07 +08:00
Chia-I Wu
d2cb999045 Always define int32_t in compiler headers.
eglplatform.h no longer defines int32_t.
2010-05-31 11:00:01 +08:00
Chia-I Wu
fa97399f42 glapi: Update SConscript for Windows.
Define macros to enable dllexport and thread support.  Adjust the output
path of mapi sources.
2010-05-31 10:53:29 +08:00
Chia-I Wu
59f8dca7cf Update OpenGL ES headers. 2010-05-31 10:43:17 +08:00
Chia-I Wu
8e1b375a8d autoconf: Remove unused APIS.
It was used by glapi, which has been moved to mapi.
2010-05-31 10:43:00 +08:00
Chia-I Wu
c08449b78e mesa: Fix/add feature test to shader.c.
Those macros used by _mesa_init_shader_dispatch are not available when
FEATURE_GL is not defined.
2010-05-31 10:40:56 +08:00
Marek Olšák
21dfcde3ff r300g: set correct pitch in libdrm
to match what DDX sets. This prevents some flushes from occuring.
2010-05-31 04:16:24 +02:00
Marek Olšák
7a4601db52 r300g: remove texture usage transfer flag 2010-05-31 04:16:24 +02:00
Marek Olšák
4182d3ea00 r600g: remove unused struct r600_state
What was the purpose of it?
2010-05-31 04:16:24 +02:00
Vinson Lee
33c2dbe5b0 vbo: Remove unnecessary header. 2010-05-30 15:47:21 -07:00
Vinson Lee
1202f17063 r600g: Remove unnecessary headers. 2010-05-30 15:30:05 -07:00
Alex Deucher
3b869b4cdb r600g: RS880 is r6xx-based
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-05-30 16:08:55 -04:00
José Fonseca
7f1c007840 llvmpipe: Remove unused framebuffer stuff from the rasterizer. 2010-05-30 16:39:14 +01:00
José Fonseca
2b7fbccfdc llvmpipe: Don't force a linear to tiled conversion after rasterization on debug builds.
Only do this if runtime debugging flags to show subtiles/tiles are set.
2010-05-30 16:39:06 +01:00
José Fonseca
82715bb227 llvmpipe: Call llvmpipe_set_texture_tile_layout only when necessary.
Like the other places.
2010-05-30 16:38:46 +01:00
José Fonseca
b57e18c35c util: Add inline function for approximate floating point comparison. 2010-05-30 16:38:41 +01:00
José Fonseca
f503b3dd9d llvmpipe: Use pointer_to_func() instead of custom wrappers. 2010-05-30 16:38:23 +01:00
José Fonseca
4b29da1226 draw: Use pointer_to_func() instead of custom wrappers. 2010-05-30 16:38:03 +01:00
José Fonseca
6f67a71aad util: Generic pointer to func conversion helper.
That observes strict-aliasing rules.
2010-05-30 16:36:08 +01:00
José Fonseca
18fb9ff6d8 llvmpipe: Pass the fs variant to the rasterizer. 2010-05-30 10:30:01 +01:00
José Fonseca
dc10943038 python/retrace: Interpret resource_copy_region. 2010-05-30 10:30:01 +01:00
José Fonseca
311227abbb st/python: Expose region_copy/fill_region instead of deprecated surface_copy/fill 2010-05-30 10:30:01 +01:00
Chia-I Wu
0f37f242dd st/vega: Use FREE.
Match MALLOC with FREE.  Otherwise, it causes weird segfaults when built
with memory debugging.
2010-05-30 11:11:27 +08:00
Chia-I Wu
a5183a38c2 st/egl: Hook eglCreatePbufferFromClientBuffer.
This is some refactoring works.  Creating a pbuffer from an
EGL_OPENVG_IMAGE is still not supported.
2010-05-30 11:09:30 +08:00
Chia-I Wu
9d7219c560 st/egl: Fix eglCopyBuffers.
It was broken since surface_copy -> resource_copy_region transition.
2010-05-30 11:05:15 +08:00
Chia-I Wu
20c3d7190e st/egl: Initialize KMS backend from an fd.
Check if the native native is EGL_DEFAULT_DISPLAY.  If not, treat it as
an fd.
2010-05-30 10:52:50 +08:00
Marek Olšák
b202c78586 r300: fix blits for textures of width/height greater than 2048 on r5xx
Yes I am fixing r300c ... who knew?
2010-05-29 17:44:20 +02:00
Marek Olšák
b5c147caba r600g: remove unused variable 2010-05-29 15:41:22 +02:00
Marek Olšák
7d9396d7cf r600g: fix gallium function parameters 2010-05-29 15:41:22 +02:00
Marek Olšák
1d57b6ebd1 r600g: make a local copy of viewport state 2010-05-29 15:41:22 +02:00
Jakob Bornecrantz
e7f0f6bb72 i915g: Rename winsys c file 2010-05-29 13:31:30 +02:00
Jakob Bornecrantz
835f5a65a1 i915g: Move pci id to winsys struct 2010-05-29 13:30:25 +02:00
Jakob Bornecrantz
bbaaf823fa targets/egl: Give egl targets a good build enviroment 2010-05-29 13:19:13 +02:00
Kristian Høgsberg
0defc25977 egl_dri2: Split driver loading out into its own function 2010-05-28 21:31:22 -04:00
Kristian Høgsberg
c5ddaa2cd7 egl_dri2: Check for xcb_connect() failure the right way
It always returns a valid xcb_connection_t, but if connection failed, it's in the
error state.
2010-05-28 21:31:22 -04:00
Marek Olšák
ba10b2732b r600g: fix build 2010-05-29 02:31:44 +02:00
Roland Scheidegger
1e17178fc4 llvmpipe: adapt to clear interface changes
with some newfangled code, should support separate depth/stencil clears.
Needs some testing.
2010-05-29 01:31:01 +02:00
Roland Scheidegger
837d32062e i965g: adapt to clear interface changes
just like i915g, should in theory support separate depth/stencil clears
(untested), with the same 2d blitter hacks.
2010-05-29 01:29:31 +02:00
Roland Scheidegger
4bc7b14224 i915g: adapt to clear interface changes
should in theory support separate depth/stencil clears (untested).
Also fix some format omissions?
2010-05-29 01:28:21 +02:00
Roland Scheidegger
10baf7ec1d r300g: adapt to clear interface changes
should support separate depth/stencil clears just fine with changed u_blitter.
2010-05-29 01:26:22 +02:00
Roland Scheidegger
e5b82c8222 nv50: adapt to clear interface changes
should support separate depth/stencil clears just fine.
2010-05-29 01:25:09 +02:00