Commit Graph

11347 Commits

Author SHA1 Message Date
Ben Skeggs ecfa3e4d0a nouveau: Keep drm channel alloc struct around. 2007-08-15 14:31:26 +10:00
Ben Skeggs 3cc4e9815d nouveau: reindent nouveau_span.c 2007-08-15 14:31:26 +10:00
Ben Skeggs fcbd06d201 nouveau: Remove ALLOW_MULTI_SUBCHANNEL hack
Irrelevant, since we depend on working context switching now.
2007-08-15 14:31:25 +10:00
Ben Skeggs fef3dcbee6 nouveau: Always render offscreen, emulate front buffer rendering. 2007-08-15 14:31:25 +10:00
Ben Skeggs b7c93de6d7 nouveau: Split nouveau_buffers into nouveau_mem and nouveau_fbo 2007-08-15 14:31:25 +10:00
Ben Skeggs 40e8ce700b nouveau: reindent nouveau_buffers.h 2007-08-15 14:31:25 +10:00
Ben Skeggs 386a70eeb5 nouveau: reindent nouveau_buffers.c 2007-08-15 14:31:25 +10:00
Ben Skeggs 553f5759a6 nouveau: Lets only do private buffers. 2007-08-15 14:31:25 +10:00
Brian dc73217294 Fix a few more problems with freeing FBOs/textures during context destruction.
Free FBOs before textures since the later may be referenced by the former.
Need to bind the context we're destroying if there isn't a current context
so that ctx->DeleteTexture() etc can be used.
2007-08-14 11:58:37 +01:00
Xiang, Haihao 5dab3bf4bc xdemo case: Wei Wang's patch for bug#9759 2007-08-14 11:39:23 +08:00
Brian 393a625538 free any render/framebuffers left in hash tables when freeing shared state 2007-08-13 17:39:29 +01:00
Michel Dänzer b7a9222dc7 i915tex: Make sure pitch is aligned properly for render-to-texture.
Just always align texture pitch to multiples of 64 bytes for now, pending a
more sophisticated scheme to do it only when really necessary.
2007-08-13 17:58:45 +02:00
Brian 9e01b915f1 Implement mutex/locking around texture object reference counting.
Use new _mesa_reference_texobj() function for referencing/unreferencing
textures.  Add new assertions/tests to try to detect invalid usage of
deleted textures.
2007-08-13 11:29:46 +01:00
Brian 6f47250888 added some missing Default1D/2DArray texture code 2007-08-13 11:10:32 +01:00
Xiang, Haihao 88451b04e9 i965: fix projtex_mask
projtex_mask is only an 8bit field, and wm.input_size_masks includes
other attributes' information, therefore right shift is needed.
2007-08-13 17:16:27 +08:00
Xiang, Haihao c9e4aa2b30 i915: satisfy certain alignment restrictions for small
compressed texture
2007-08-13 11:43:37 +08:00
Dan Torop 21b37b9687 fix spantmp2 READ_RGBA inline asm (#11931) 2007-08-12 13:41:13 +02:00
Keith Whitwell 6ea55d3525 Make it easier to compare against the pipe driver debug code. 2007-08-11 13:48:19 +01:00
Keith Whitwell c60113cd41 Improve debugging further.
Pull apart some key packets into individual fields and print sanely.
2007-08-11 13:40:22 +01:00
Keith Whitwell 4a789e408d Better debugging 2007-08-11 09:55:10 +01:00
Xiang, Haihao db928291dc i965: roland's DXTn format texture patch(bug10347) 2007-08-10 16:37:30 +08:00
Xiang, Haihao 8ea66fa2ec i965/i915tex: applying right alignment to compressed texture,
which make small textures(4x4,2x2,1x1) work well.
2007-08-10 16:23:14 +08:00
Xiang, Haihao 2cafd749b8 i965: set mt->cpp differently with compressed texture 2007-08-10 15:14:12 +08:00
Brian 48c37a29fa fix byte swap bug for GLint stencil indexes (bug 11909) 2007-08-09 08:49:05 +01:00
Carlos Martín Nieto 6a78221a10 nouveau: Missing notifier -> notifierobj migration
I missed this in the original migration.
2007-08-08 14:49:37 +02:00
Brian 3973d1ad33 move free() after dereference (bug 11878) 2007-08-07 22:06:08 +01:00
Brian e45b40381c parse standard -geometry option 2007-08-07 22:02:27 +01:00
Brian 90cc31f31b fix potential NULL dereference (bug 11879) 2007-08-07 21:57:29 +01:00
Brian 1223b75e63 remove SHELL line, replace -e test with new logic (Daniel Stone) 2007-08-07 21:51:46 +01:00
Brian 237b985356 fix potential NULL dereference (bug 11880) 2007-08-07 21:48:31 +01:00
Brian 872d179141 fix swizzle error test (bug 11881) 2007-08-07 21:42:34 +01:00
Ingo Molnar 4a8ad16ec0 glxgears: Add an x/y window size parameter. 2007-08-07 09:57:02 +02:00
Brian 0ed3ff5011 fix even-sized point positioning (bug 11874) 2007-08-07 08:17:02 +01:00
Xiang, Haihao d05b721543 fix vbo_split_copy related bug 9962 2007-08-07 08:21:28 +08:00
Carlos Martín Nieto 75a88e9082 nouveau: update to DRM API patchlevel 10
Finally let DRI build for nouveau.
2007-08-07 01:00:29 +02:00
Brian 23f71f2ea5 add OSMESA_LIB_NAME 2007-08-03 10:08:39 -06:00
Brian 002942913d added -lm 2007-08-03 07:24:11 -06:00
Brian 792b882cf6 fix missing backslash 2007-08-02 20:26:49 -06:00
Eric Anholt 101563a838 Don't try to use kernel BO flags in dri_bufmgr_fake internals. 2007-08-02 15:55:42 -07:00
Brian 2d72da5692 added bluegene-osmesa 2007-08-02 14:22:13 -06:00
Brian 2457f4cf67 OSmesa on BlueGene (Alexander Neundorf) 2007-08-02 14:22:02 -06:00
Brian 2c3cb693cc fix stencil value masking bug 11805, and fix sizeof() bug 2007-08-02 09:08:29 -06:00
Brian e2556b7487 remove unnecessary null check (bug 11814) 2007-08-02 08:44:34 -06:00
Brian 85421351e6 fix invalid pointer usage in bezierPatchDeleteList(), bug 11807 2007-08-02 08:40:29 -06:00
Brian 89cad79b41 fix double free()s (bug 11808) 2007-08-02 08:38:01 -06:00
Brian 6e6a02261a s/MAX_TEXTURE_LEVELS/SIS_MAX_TEXTURE_LEVELS/ and add assertion (bug 11806) 2007-08-02 08:35:13 -06:00
Brian 6dae3f8c88 move code to prevent NULL ptr dereference (bug 11810) 2007-08-02 08:31:44 -06:00
Brian c3e6bfc9e2 Remove some code that was never hit (bug 11811).
Also added an assertion to check that NR_MAT_ATTRIBS == MAT_ATTRIB_MAX.
In the unlikely event this ever changes, maybe restore the code.
2007-08-02 08:29:55 -06:00
Keith Whitwell 46ac453196 Fix typo in logic for unalias2() 2007-08-02 11:39:19 +01:00
Zou Nan hai 505453a04e fix fd.o bug #11804
glPolygonMode with point sprite on i965
2007-08-02 15:27:13 +08:00