Commit Graph

30375 Commits

Author SHA1 Message Date
José Fonseca 976afaf98f gallium/docs: Document the OS module. 2010-02-03 15:56:36 +00:00
José Fonseca b724694f3a os: Also add the aligned memory prototypes to the embedded section. 2010-02-03 12:57:49 +00:00
José Fonseca 6b424a0550 util: Reimplement all utility functions in terms of the new OS abstraction. 2010-02-03 12:13:06 +00:00
José Fonseca 0b0e705712 os: New OS abstraction module. 2010-02-03 12:11:58 +00:00
José Fonseca 630c375fe9 trace: Include the appropriate header instead of defining prototypes.
Avoids header when the header was included before.
2010-02-03 11:06:23 +00:00
José Fonseca aa8b49c9ca gallium: Move some compiler portability stuff into p_compiler.h 2010-02-02 20:55:08 +00:00
José Fonseca 25357696c3 gallium: Move deprecated pipe/internal/p_winsys_screen.h inside util/u_simple_screen.h 2010-02-02 16:09:56 +00:00
José Fonseca 2aaca1df9d gallium: Move p_thread.h and p_atomic.h out of gallium interfaces.
Into os/os_thread.h and util/u_atomic.h respectively.
2010-02-02 15:18:01 +00:00
José Fonseca 38f6f23fcf gallium: Make pipe_atomic a regular int32_t. 2010-02-02 14:43:48 +00:00
José Fonseca 28486880ca gallium: pipe/p_inlines.h -> util/u_inlines.h 2010-02-02 14:42:17 +00:00
José Fonseca 57839d11ff gallium: Use MSVC atomic intrinsics directly instead of the Windows header wrappers. 2010-02-01 16:12:44 +00:00
José Fonseca 1776e738fb gallium: Remove unnecessary includes. Add others to compensate. 2010-02-01 16:11:46 +00:00
José Fonseca b232b68cdc mesa: Add missing includes. 2010-02-01 15:12:20 +00:00
José Fonseca 854627387d llvmpipe: Add missing includes. 2010-02-01 15:11:34 +00:00
José Fonseca f6cecbb361 i915: Add missing includes. 2010-02-01 15:11:18 +00:00
José Fonseca ad9cc55bed util: Add missing includes. 2010-02-01 15:11:06 +00:00
José Fonseca 06f198285d draw: Add missing includes. 2010-02-01 15:10:51 +00:00
José Fonseca 7827bc73c7 gallium: Drop mutex-based pipe_atomic implementation.
First step to severe the dependency in OS abstractions from the Gallium
interfaces.
2010-02-01 14:23:36 +00:00
Vinson Lee 5cc20a06b0 mesa: Remove unnecessary headers. 2010-02-01 00:43:33 -08:00
Vinson Lee e3a99e8522 glx: Remove unnecessary headers. 2010-02-01 00:22:50 -08:00
Vinson Lee 12f66b6dc9 st/dri: Remove duplicate type qualifier. 2010-01-31 23:52:48 -08:00
Vinson Lee dfd76c0044 i965g: Add missing va_end. 2010-01-31 23:47:07 -08:00
Vinson Lee 2de590eacd r300g: Fix memory leak on memory allocation failure. 2010-01-31 22:38:25 -08:00
Vinson Lee 0df64f4bac r600: Remove duplicate assignment. 2010-01-31 22:33:01 -08:00
Vinson Lee 19af9ea792 egl: Remove unnecessary headers. 2010-01-31 21:56:53 -08:00
Marcin Kościelnicki de917c1c61 nv04: Update to new nouveau_class.h
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-02-01 01:30:19 +01:00
Marcin Slusarz 112def3c17 nv50/nv40/nv30: fix small memory leak of nouveau_resources on screen_destroy
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-02-01 01:28:06 +01:00
Francisco Jerez 71b32cc838 nv10, nv20: Fix build. 2010-02-01 01:26:36 +01:00
Chia-I Wu eb961f81d5 egl: Clean up surface attributes.
Add missing attributes and use correct types in _EGLSurface.  Remove
ifdef tests that serve no purpose.  Update _eglQuerySurface and
_eglSurfaceAttrib for missing queries and checks.
2010-01-31 22:21:26 +08:00
Chia-I Wu 0135e5d6c8 egl: Add support for more EGLImage extensions to EGL core.
Add support EGL_KHR_vg_parent_image and EGL_KHR_gl_*.  This is as simple
as adding some flags that can be enabled.  Individual drivers need to
implement the extensions before enbaling the flags.
2010-01-31 22:20:42 +08:00
Vinson Lee f8f2520e88 st/mesa: Remove unnecessary headers. 2010-01-31 02:34:51 -08:00
Vinson Lee 980fa564e4 mesa: Remove unnecessary headers. 2010-01-31 02:30:12 -08:00
Vinson Lee c8f781e0ad i965: Silence uninitialized variable warning. 2010-01-31 00:44:57 -08:00
Vinson Lee d36e90f580 r300g: Silence uninitialized variable warning. 2010-01-30 22:50:35 -08:00
Chia-I Wu bbdce27649 egl: Surface type validaction should depend on extensions supported.
EGL_SCREEN_BIT_MESA is a valid bit only when EGL_MESA_screen_surface is
supported.
2010-01-31 14:46:15 +08:00
Chia-I Wu 216925ccd1 egl: Initialize display configs with the display.
This changes _eglInitConfig to take the display as its argument.
2010-01-31 14:46:14 +08:00
Chia-I Wu d69242be55 egl: Initialize display resources with their display.
Change _eglInitSurface, _eglInitContext, and _eglInitImage to take an
_EGLDisplay instead of an _EGLDriver.  This is a more natural form, and
plus, the display encodes information such as the extensions supported
that might be required for attribute list parsing.
2010-01-31 14:46:14 +08:00
Chia-I Wu e694ccad80 egl: Refactor _eglInitImage.
Refactor attribute list parsing code to _eglParseImageAttribList.
2010-01-31 14:46:14 +08:00
Chia-I Wu caa5c8dfe8 egl: Refactor _eglInitContext.
Refactor attribute list parsing code to _eglParseContextAttribList.  Add
a check to make sure the config supports the client API.
2010-01-31 14:46:14 +08:00
Chia-I Wu 6f1529293f egl: Refactor _eglInitSurface.
Refactor attribute list parsing code to _eglParseSurfaceAttribList.
2010-01-31 14:46:13 +08:00
Vinson Lee 5ad488908b i915: Set bit field of length 1 light_twoside to unsigned. 2010-01-30 22:36:54 -08:00
Vinson Lee bc783f3d38 glut: Remove unnecessary headers. 2010-01-30 22:24:34 -08:00
Vinson Lee 8a2cf4549a radeon: Remove unnecessary headers. 2010-01-30 21:32:09 -08:00
Vinson Lee 1a0d1fa36d r600: Remove unnecessary headers. 2010-01-30 21:11:04 -08:00
Vinson Lee b41f963136 r300: Remove unnecessary headers. 2010-01-30 20:49:42 -08:00
Vinson Lee 391892b0d8 r200: Remove unnecessary headers. 2010-01-30 20:43:23 -08:00
Vinson Lee 12eb32e342 r128: Remove unnecessary headers. 2010-01-30 20:24:13 -08:00
Chia-I Wu 996fd61442 egl: Remove code blocks that are commented out.
They are either unit tests or to demonstrate how functions are supposed
to be used.  The unit test is outdated and it should be better to take a
look at any of the working drivers to see how a function is used.
2010-01-31 11:31:58 +08:00
Chia-I Wu 89e6eb5fbe progs/egl: Update eglinfo to display more attributes.
Add config caveat, bind-to-texture, and renderable type.  Remove double
buffer and stereo attributes.
2010-01-31 11:20:15 +08:00
Chia-I Wu 66f0517695 st/egl: Do not ignore configs without a renderable type.
Configs without a renderable type are still informative for programs
such as eglinfo.
2010-01-31 11:20:15 +08:00