Commit graph

32082 commits

Author SHA1 Message Date
George Sapountzis
fae5758fac glapi.c: mv check_table to glapi_getproc.c 2010-03-01 20:54:19 +02:00
George Sapountzis
42f3241e04 glapi.c: split check_table to not_null and get_proc 2010-03-01 20:54:18 +02:00
George Sapountzis
750a7f1f1d glapi.h: drop dispatch_override prototypes
cannot find them in mesa tree
2010-03-01 20:54:18 +02:00
George Sapountzis
57d31591d1 glapi.h: misc cosmetic
- revert context/dispatch order, similar to glapi.c
- stray GL_GLEXT_PROTOTYPES
2010-03-01 20:54:18 +02:00
George Sapountzis
a4ec52f245 glapi.h: consolidate GET_DISPATCH() and GET_CURRENT_CONTEXT() macros
Use likely() macro, as this is what most projects use.

Drops GL_CALL define, cannot find it in mesa tree.

Also, whitespace cleaunps in glthread.h
2010-03-01 20:54:17 +02:00
José Fonseca
c9f1db0a03 nouveau: Rename pipe formats. 2010-03-01 18:53:32 +00:00
José Fonseca
33080a8454 llvmpipe: Rename pipe formats. 2010-03-01 18:53:32 +00:00
José Fonseca
4710040617 i965: Rename pipe formats. 2010-03-01 18:53:32 +00:00
José Fonseca
b2b1e899f6 i915g: Rename pipe formats. 2010-03-01 18:53:32 +00:00
José Fonseca
c828f784e5 cell: Rename pipe formats. 2010-03-01 18:53:32 +00:00
José Fonseca
0b6e45e1ee python: Rename pipe formats. 2010-03-01 18:53:32 +00:00
José Fonseca
b306308757 vega: Rename pipe formats. 2010-03-01 18:53:32 +00:00
José Fonseca
5706d7fcaf wgl: Rename pipe formats. 2010-03-01 18:53:32 +00:00
José Fonseca
d34a1a7028 xorg: Rename pipe formats. 2010-03-01 18:53:32 +00:00
José Fonseca
41b80461b7 glx: Rename pipe formats. 2010-03-01 18:53:31 +00:00
José Fonseca
ae3926011e egl: Rename pipe formats. 2010-03-01 18:53:31 +00:00
José Fonseca
c456dd5b4b dri: Rename pipe formats. 2010-03-01 18:53:31 +00:00
José Fonseca
7d1a79a04e mesa: Rename pipe formats. 2010-03-01 18:53:31 +00:00
José Fonseca
a489753471 translate: Rename pipe formats. 2010-03-01 18:53:31 +00:00
José Fonseca
7a61722f69 draw: Rename pipe formats. 2010-03-01 18:53:31 +00:00
José Fonseca
712ba6e6b0 util: Rename pipe formats. 2010-03-01 18:53:31 +00:00
José Fonseca
3843548a67 gallium: Standardize on the LSB->MSB notation.
Less confusing, and seems to gather more consensus.

Below are the sed commands used. This and following commits are the
result of applying this too to the whole tree, plus manual whitespaces
fixes.

s/\<PIPE_FORMAT_A8R8G8B8_UNORM\>/ASDGFSJKDGSDFGSJDFGREKT/g
s/\<PIPE_FORMAT_B8G8R8A8_UNORM\>/PIPE_FORMAT_A8R8G8B8_UNORM/g
s/\<ASDGFSJKDGSDFGSJDFGREKT\>/PIPE_FORMAT_B8G8R8A8_UNORM/g

s/\<PIPE_FORMAT_X8R8G8B8_UNORM\>/ASDGFSJKDGSDFGSJDFGREKT/g
s/\<PIPE_FORMAT_B8G8R8X8_UNORM\>/PIPE_FORMAT_X8R8G8B8_UNORM/g
s/\<ASDGFSJKDGSDFGSJDFGREKT\>/PIPE_FORMAT_B8G8R8X8_UNORM/g

s/\<PIPE_FORMAT_R8G8B8A8_UNORM_REV\>/PIPE_FORMAT_A8B8G8R8_UNORM/g
s/\<PIPE_FORMAT_R8G8B8X8_UNORM\>/PIPE_FORMAT_X8B8G8R8_UNORM/g
s/\<PIPE_FORMAT_A1R5G5B5_UNORM\>/PIPE_FORMAT_B5G5R5A1_UNORM/g
s/\<PIPE_FORMAT_A4R4G4B4_UNORM\>/PIPE_FORMAT_B4G4R4A4_UNORM/g
s/\<PIPE_FORMAT_R5G6B5_UNORM\>/PIPE_FORMAT_B5G6R5_UNORM/g
s/\<PIPE_FORMAT_A2B10G10R10_UNORM\>/PIPE_FORMAT_R10G10B10A2_UNORM/g

s/\<PIPE_FORMAT_A8L8_UNORM\>/PIPE_FORMAT_L8A8_UNORM/g

s/\<PIPE_FORMAT_A8L8_SRGB\>/PIPE_FORMAT_L8A8_SRGB/g
s/\<PIPE_FORM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E_FORMAT_UYVY/g
s/\<PIPE_FORMAT_YCBCR_REV\>/PIPE_FORMAT_YUYV/g
2010-03-01 18:51:55 +00:00
José Fonseca
b152abe914 progs/gallium/unit: Rename PIPE_FORMAT_A8B8G8R8_SNORM. 2010-03-01 18:47:36 +00:00
José Fonseca
568a3c7365 r300: Remove PIPE_FORMAT_A8B8G8R8_SNORM.
PIPE_FORMAT_R8G8B8A8_SNORM already listed.
2010-03-01 18:47:36 +00:00
José Fonseca
971ab386c0 softpipe: Advertise PIPE_FORMAT_R8G8B8A8_SNORM instead. 2010-03-01 18:47:36 +00:00
José Fonseca
a6c4c4486d util: Remove PIPE_FORMAT_A8B8G8R8_SNORM. 2010-03-01 18:47:36 +00:00
José Fonseca
835a725684 gallium: Remove PIPE_FORMAT_A8B8G8R8_SNORM.
Its actually an alias for PIPE_FORMAT_R8G8B8A8_SNORM.
2010-03-01 18:47:36 +00:00
Michal Krol
c863f30155 util: Generate linear<->sRGB conversion tables. 2010-03-01 19:00:40 +01:00
Roland Scheidegger
881be30836 identity: adapt to new vertex element cso 2010-03-01 18:48:05 +01:00
Roland Scheidegger
2918edb46a failover: adapt to new vertex element cso 2010-03-01 18:47:54 +01:00
Roland Scheidegger
470dbb84b8 i965g: adapt to new vertex element cso 2010-03-01 18:47:28 +01:00
Roland Scheidegger
8e2df0dcb9 i915g: adapt to new vertex element cso 2010-03-01 18:47:17 +01:00
Roland Scheidegger
4dfe2df629 cell: adapt to new vertex element cso 2010-03-01 18:47:04 +01:00
Roland Scheidegger
e9441e1f88 r300g: adapt to new vertex element cso 2010-03-01 18:46:49 +01:00
Roland Scheidegger
f897303855 llvmpipe: adapt to new vertex element cso 2010-03-01 18:46:39 +01:00
Roland Scheidegger
057427dd3e softpipe: adapt to new vertex element cso 2010-03-01 18:46:29 +01:00
Roland Scheidegger
b1676a953e svga: adapt to new vertex element cso 2010-03-01 18:46:12 +01:00
Roland Scheidegger
618e7e0c88 trace: adapt to new vertex element cso 2010-03-01 18:45:57 +01:00
Roland Scheidegger
9abef5ebfa vega: adapt to new vertex element cso 2010-03-01 18:45:46 +01:00
Roland Scheidegger
1f57069c68 vega: adapt to new vertex element cso 2010-03-01 18:45:25 +01:00
Roland Scheidegger
711476be29 xorg: adapt to new vertex element cso 2010-03-01 18:43:58 +01:00
Roland Scheidegger
8397c80646 gallium/docs: document new vertex element cso interface 2010-03-01 18:42:47 +01:00
Roland Scheidegger
49d3f662b6 vl: adapt to new vertex element cso interface 2010-03-01 18:41:03 +01:00
Roland Scheidegger
ac4abaecd5 util: adapt blitter code to new vertex element cso
The interface of util_draw_vertex_buffer looks a bit odd (calling code has to
set vertex elements but not vertex buffers) but due to the way cso state
handling generally works (can't re-bind original vertex element state easily
there) I guess that's ok for now.
2010-03-01 18:40:22 +01:00
Roland Scheidegger
18603a2f07 st/mesa: fix mesa statetracker adaption to new vertex elements interface 2010-03-01 18:36:19 +01:00
Michal Krol
9a2c4f907b tgsi: Cleanup exec code for CLAMP, CMP and CND. 2010-03-01 17:57:18 +01:00
José Fonseca
ac8e1c18f2 util: Fix PIPE_FORMAT_R8G8B8_SRGB swizzles.
The only user of PIPE_FORMAT_R8G8B8_SRGB is mesa, which
per src/mesa/main/texstore.c interprets it as

  R8 G8 B8

and not the other way around.
2010-03-01 16:42:54 +00:00
José Fonseca
88e640fc14 xlib: Use PIPE_FORMAT_R8G8B8A8_UNORM(_REV) as appropriate. 2010-03-01 16:28:38 +00:00
José Fonseca
a2bcdb7e50 r300: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate. 2010-03-01 16:26:36 +00:00
José Fonseca
2c1249e226 i915g: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate. 2010-03-01 16:25:25 +00:00