Commit Graph

14041 Commits

Author SHA1 Message Date
Jakob Bornecrantz d607a02da9 i915: Made EGL report the actual modes on the screen/output pair 2008-05-23 11:24:33 +02:00
Thomas Hellstrom 01cc1eebe9 i915: Make batchbuffers larger. 2008-05-23 11:14:12 +02:00
Thomas Hellstrom 45fd9ec462 i915: Use the malloc pool for constant buffers since they don't go to the GPU directly. 2008-05-23 11:02:14 +02:00
Jakob Bornecrantz 9395fb6e8d mesa: Added linux-egl target, that only builds the i915simple driver and egl drivers 2008-05-23 11:02:14 +02:00
Jakob Bornecrantz 3972961e62 mesa: On second thought lets not build the driver 2008-05-23 11:02:14 +02:00
Zack Rusin 6f25d6d48d disable egl by default 2008-05-22 22:13:38 -04:00
Jakob Bornecrantz 6c78b8e97b mesa: Made linux-dri targets build EGL 2008-05-14 17:20:56 +02:00
Jakob Bornecrantz 3f9de6ff7d egl: Updated EGL samples to use new i915 EGL winsys 2008-05-14 17:20:25 +02:00
Jakob Bornecrantz d07fbdd939 i915: Added EGL winsys 2008-05-14 17:19:44 +02:00
Jakob Bornecrantz b0a58d5266 i915: Real fix for weird fence leak. Thanks Thomas 2008-04-23 11:56:35 +02:00
Jakob Bornecrantz 6b4798b906 i915: Fixed weird fence leak when I915_VBUF=true 2008-04-22 22:23:22 +02:00
Jakob Bornecrantz f2ee51e7d9 i915: Changed name to i915_dri.so 2008-04-15 12:08:36 +02:00
Jakob Bornecrantz ca750dd045 Removed intel_ioctl it wasn't needed 2008-04-14 17:02:02 +02:00
Jakob Bornecrantz 5dcfc1f1b6 Fixed memory leak 2008-04-12 14:34:59 +02:00
Jakob Bornecrantz bd56b21adf i915: Added debug counter to bufmgr 2008-04-08 18:40:36 +02:00
Jakob Bornecrantz 1d43a8b255 i915: Fixed fence related problems 2008-04-08 17:24:33 +02:00
Jakob Bornecrantz 2dd6022e65 i915: Fixed fence leak in intel_swapbuffers.c 2008-04-08 15:01:16 +02:00
Jakob Bornecrantz caa5b1736d Added fence counter to fence manager 2008-04-08 11:48:44 +02:00
Jakob Bornecrantz 4c0f724323 Fixed user_buffer memory leak 2008-04-08 11:26:52 +02:00
Jakob Bornecrantz d5d93a3158 i915: Pulled in changes from i915tex 2008-04-07 19:40:43 +02:00
Jakob Bornecrantz d945e8ddd7 mesa: Pulled in glthread from i915tex 2008-04-07 19:40:01 +02:00
Jakob Bornecrantz 24fc93ebdc gallium: Stop warnings 2008-04-07 19:39:28 +02:00
Keith Whitwell a8a5376406 draw: strip edgeflags out of fetch-emit path 2008-04-07 12:28:31 +01:00
Keith Whitwell 5c19e47362 draw: fix edgeflag handling on the pt paths
Encode edgeflags (and reset_stipple info) into the top two bits of the
fetch elements.  This info could be moved elsewhere, but for now we
can live with a 1<<30 maximum element size...

Also use the primitive decomposition code from draw_prim.c verbatim, as
it includes all this stuff and is known to work.
2008-04-06 14:31:41 +01:00
Michal Krol a8ca549553 draw: Use debug_printf(). 2008-04-05 10:22:47 +02:00
José Fonseca fdff063343 gallium: Keep fenced buffers list ordered.
This allows to keep the list small without the overhead of full walks.
2008-04-05 13:45:41 +09:00
José Fonseca f1efef809c gallium: Fix typo. 2008-04-05 13:45:40 +09:00
José Fonseca c1d26d3dcc gallium: Use the custom snprintf implementation everywhere (for Win32).
Because winddk's implemenation does not handle floats.
2008-04-05 13:45:40 +09:00
Brian bc029247d9 mesa: no longer combine vertex/fragment shader parameters/uniforms
GLSL Vertex and fragment shaders now have independent parameter buffers.
A new gl_uniform_list is used to keep track of program uniforms and where
each uniform is located in each shader's parameter buffer.
This makes better use of the space in each buffer and simplifies shader linking.
2008-04-04 18:59:21 -06:00
Brian b8cc9e88e0 mesa: new functions for managing list/index of uniforms 2008-04-04 18:57:40 -06:00
Brian 8a8e7b22c0 mesa: test code to exercise more GLSL functions 2008-04-04 18:56:22 -06:00
Brian f7f4b81ad8 mesa: added more ext funcs (from Mesa/master) 2008-04-04 18:55:48 -06:00
Brian b53d6ae4be gallium: always pass size=4 to make_immediate()
Mesa always packs 4 immediates into each parameter/const buffer slot.
I think we were just getting lucky with this as it was.
2008-04-04 18:28:14 -06:00
Brian 74a6a46b74 gallium: adjust the code in update_textures() to look more like update_samplers() 2008-04-04 16:45:05 -06:00
Brian fe1c9c0585 mesa: add missing glPush/PopMatrix() calls 2008-04-04 16:45:05 -06:00
Brian 1e4cd24e9c mesa: add missing glPush/PopMatrix() calls 2008-04-04 16:45:05 -06:00
Roland Scheidegger f32c512774 gallium: state tracker fixes for compressed textures 2008-04-04 21:10:15 +02:00
Brian Paul ac2ca39f8f gallium: add new call to st_flush_bitmap_cache() to fix recent regression 2008-04-04 12:24:25 -06:00
Brian Paul 5ffc5cce15 gallium: new debug code, disabled 2008-04-04 12:24:01 -06:00
Brian Paul 72f2c55069 gallium: make sure to set the SamplersUsed field for bitmap/drawpixels shaders
Also, make sure that field is copied/updated in the program clone and combine functions.
Without this we weren't getting SAMP declarations in the TGSI shaders.
2008-04-04 11:20:44 -06:00
Keith Whitwell 84501e68f6 gallium: Handle client-supplied edgeflags.
Also, implement support in the draw module.  We were hardwiring these
to one for quite a long time...

Currently using a draw_set_edgeflags() function, may be better to push
the argument into the draw_arrays() function.  TBD.
2008-04-04 17:05:27 +01:00
Michel Dänzer 1d6877b326 gallium: Revert st_gl_flush() changes from when the **fence argument was added.
As st_gl_flush() isn't used by st_finish() anymore, it doesn't have to make
sure pipe->flush() always gets called.
2008-04-04 16:27:45 +01:00
Michel Dänzer 7b5303adbf gallium: Call st_flush() instead of st_gl_flush() in st_finish().
This is enough for the current purpose of st_finish(), which is to wait for
things to settle down before context teardown.
2008-04-04 16:17:33 +01:00
Keith Whitwell 0b20d1b9b5 draw: move code to run pipeline from pt to new file
Add facility for draw_vbuf.c to reset these vertex ids on flushes.
Pre-initialize vertex ids correctly.
2008-04-04 13:19:26 +01:00
Brian 9edac96d69 Alias glStencilOpSeparateATI with glStencilOpSeparate. 2008-04-04 12:44:14 +02:00
Brian cdbfae9bef test glStencilFuncSeparateATI() 2008-04-04 12:44:14 +02:00
Brian 102f2ef4fc Finish up ATI_separate_stencil
Add entrypoints to glapi XML file and regenerate files.
Implement glStencilOpSeparateATI().
Consolidate some code in stencil.c
2008-04-04 12:44:14 +02:00
Roland Scheidegger 04097f5583 add missing _mesa_StencilFuncSeparateATI function 2008-04-04 12:44:13 +02:00
Roland Scheidegger cf9b07ea34 gallium: fix two-side stencil handling
Previously all drivers were in twosided mode since they checked for
stencil.enable[1] flag which was a copy of stencil.enable[0]. Note that drivers
should not reference stencil[1] state (other than the enable) if twosided
stenciling is disabled (for now the stencil state is still copied but for
instance clear_with_quads won't provide useful values in there).
Also, use _TestTwoSide instead of TestTwoSide since results would be
bogus otherwise if using APIs with implicit two side stencil enable
(i.e. core ogl 2.0).
2008-04-04 12:44:13 +02:00
Keith Whitwell 7a7bce7b24 gallium: make msvc less unhappy 2008-04-04 11:13:10 +01:00