Commit graph

92185 commits

Author SHA1 Message Date
Brian Paul
a9b46b9e4c mesa: GL_BYTE vertex/texcoord arrays 2008-06-20 11:49:25 -06:00
Brian Paul
42c468a5de mesa: initial support for fixed-pt vertex arrays 2008-06-20 11:32:22 -06:00
Brian Paul
8e0f166eb5 mesa: refactor: move initialization of DefaultPacking state. 2008-06-20 11:31:05 -06:00
Brian Paul
722db809e6 gallium: always need st_init-blit() 2008-06-20 11:30:43 -06:00
Brian Paul
62d1d591d5 gallium: remove unneeded #include 2008-06-20 11:30:21 -06:00
Brian Paul
39ce394082 mesa: fix errors in prev commit 2008-06-20 11:15:30 -06:00
Brian Paul
9cae37870e mesa: revamp glBlendFunc loopback 2008-06-20 11:05:00 -06:00
Brian Paul
1b241a4369 mesa: added _vbo_Materialfv() 2008-06-20 11:04:37 -06:00
Brian Paul
71f67dde34 mesa: _vbo_Color4f, _vbo_Normal3f, _vbo_MultiTexCoord4f functions 2008-06-20 10:48:14 -06:00
Brian Paul
95c9fc82f5 mesa: fix some FEATURE_x tests 2008-06-20 10:47:38 -06:00
Brian Paul
a87e717d0d egl: added null ptr checks 2008-06-20 10:20:47 -06:00
Brian Paul
fbd6e86b8f egl: implment EGL_LARGEST_PBUFFER query 2008-06-20 10:20:25 -06:00
Brian Paul
8a75d10953 egl: added null ptr check 2008-06-20 10:20:06 -06:00
Brian Paul
cae4444fa1 egl: default API should be ES 2008-06-20 10:19:51 -06:00
Brian Paul
d7a4d498e4 gallium: assorted FEATURE tests 2008-06-20 08:09:59 -06:00
Brian Paul
2dcd4ce4b6 gallium: remove unneeded #include 2008-06-20 08:09:46 -06:00
Brian Paul
907c0978af mesa: test for FEATURE_ATI_fragment_shader 2008-06-20 08:07:38 -06:00
Brian Paul
9f6a4e2a65 egl: fix assorted context-related bugs
Move memset() to proper place.
Added EGL_CONTEXT_CLIENT_VERSION query.
Fix bad return EGL_FALSE -> EGL_TRUE.
2008-06-19 21:19:33 -06:00
Brian Paul
78d05bcc27 gallium: new st_api.c file with token symbol for identifying the API 2008-06-19 16:26:21 -06:00
Brian Paul
158298eea0 gallium: remove unused vars 2008-06-19 16:26:21 -06:00
Brian Paul
064001dbe7 egl: use dlsym() to try to identify APIs 2008-06-19 16:26:21 -06:00
Brian Paul
a8533d5493 egl: clean up prototype code, new _eglFindAPIs() function. 2008-06-19 16:26:20 -06:00
Brian Paul
21177c8764 mesa: tweak mipmap level selection for cube maps
This is just a hack.  After we convert the 3D texcoord into a face plus 2D
texcoord we need to recompute the partial derivatives and mipmap LOD.
But we don't have the info to do that.  Adjusting the original mipmap
level by -1 seems to give somewhat better results than before though.
2008-06-19 14:37:50 -06:00
Jakob Bornecrantz
8d0329fb6a i915: Fixed cubemap layouts
Apprently we shouldn't do all the advanced layout
	operation for none compressed formats.

	The compressed code was also broken, its currently
	disabled, but should be fixed once i915simple starts
	to support compressed formats.
2008-06-19 17:11:06 +02:00
José Fonseca
6fbfcf9222 gallium: Handle malloc failure. 2008-06-19 23:05:09 +09:00
Jakob Bornecrantz
6cbc2734d1 i915: Refractored and clean up i915_texture.c 2008-06-19 14:43:54 +02:00
José Fonseca
c5bf215b1b gallium: Add extra parenthesis as advised by gcc. 2008-06-19 21:17:33 +09:00
Michal Krol
b440cea343 util: Add missing format names. 2008-06-19 14:08:06 +02:00
José Fonseca
aa816d114e draw: Fix MSVC integer size conversion warning. 2008-06-19 10:47:54 +09:00
José Fonseca
4a49f1d2e2 Parse the section:offset instead of the rva+base when reading mapfiles. 2008-06-19 10:47:49 +09:00
Eric Anholt
0da9bc6a69 i915: Note the non-PBO fallback for textured drawpixels under DEBUG_PIXEL. 2008-06-18 14:35:59 -07:00
Eric Anholt
bbe80af457 i915: Restore the accelerated PBO pixel path functions after GEM changes.
The fencing code is not required, and waiting on the fences defeated one of
the purposes of the extension, which is to allow asynchronous readpixels.
2008-06-18 14:19:18 -07:00
Brian Paul
f140138558 gallium: additional fixes to ensure even number of vertices per buffer 2008-06-18 15:08:19 -06:00
Eric Anholt
654258a4fe Merge commit 'origin/master' into drm-gem 2008-06-18 14:07:38 -07:00
Brian Paul
7d7f3e2c94 gallium: split long prims into chunks with an even number of vertices
This fixes culling "parity" errors when splitting long tri strips.  Splitting
strips into chunks with an odd number of vertices causes front/back-face
orientation to get reversed and upsets culling.
2008-06-18 14:55:12 -06:00
Eric Anholt
cf29ab3ba0 i915: Bug #14313: Fix accelerated (PBO) ReadPixels.
Refactoring of mine in 02d5ba8491 broke it
by failing to understand that the masking was about sign extension.
2008-06-18 13:50:49 -07:00
Brian Paul
b623fa9e2d mesa: Fix bug in _mesa_swizzle_ubyte_image 2008-06-18 19:43:06 +02:00
Jakob Bornecrantz
ba344753b1 tests: Added a test for a strange bug in texstore_a8 2008-06-18 19:07:07 +02:00
Brian Paul
b1eff0228b mesa: add fwd decl of fill_in_entrypoint_offset() 2008-06-18 11:00:43 -06:00
Brian Paul
9a2c70f075 gallium: added new st_set_framebuffer_surface()
This allows the winsys to explicitly specify gallium surfaces for a
framebuffer object.
2008-06-18 10:20:13 -06:00
Brian Paul
19f872f2ec mesa: fix ReadBuffer initialization 2008-06-18 09:30:13 -06:00
Brian Paul
a668b43568 egl: use RTLD_LAZY 2008-06-18 09:22:01 -06:00
Brian Paul
0cf79316d0 egl: omit libmesa.a glapi.c from library 2008-06-18 09:22:01 -06:00
Brian Paul
51f24ef5ba gallium: remove duplicated u_mm.c in file list 2008-06-18 09:22:01 -06:00
Brian Paul
414b535134 gallium: more FEATURE_x tests 2008-06-18 09:22:01 -06:00
Brian Paul
03d579aa19 mesa: FEATURE_dispatch to control dispatch table usage 2008-06-18 09:22:01 -06:00
Brian Paul
1496bba429 egl: call st_get_proc_address() 2008-06-18 09:22:01 -06:00
Brian Paul
5ebd8495b3 gallium: added st_get_proc_address() 2008-06-18 09:22:00 -06:00
Brian Paul
29d632efbc mesa: refactor: move GetProcAddress code from glapi.c into new glapi_getproc.c file 2008-06-18 09:22:00 -06:00
Brian Paul
04996bcef6 gallium: added FEATURE_x tests 2008-06-18 09:22:00 -06:00