summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915tex
AgeCommit message (Collapse)Author
2007-03-06Fix/improve framebuffer object reference counting.Brian
Use _mesa_reference_framebuffer() and _mesa_unreference_framebuffer() functions to be sure reference counting is done correctly. Additional assertions are done too. Note _mesa_dereference_framebuffer() renamed to "unreference" as that's more accurate.
2007-03-06fix for bug#10182Xiang, Haihao
call _mesa_dereference_framebuffer instead of _mesa_dereference_framebuffer in i810, i915, i915tex, i965 drivers.
2007-02-28i915tex: Sync pages differently when crossing pipe borders.Michel Dänzer
Don't flip (up to twice) immediately but just arrange things such that the pages will be in sync on both pipes on the next flip.
2007-02-28i915tex: Check that intel_rb is valid before trying to add it to an fbo.Michel Dänzer
2007-02-28i915tex: Also update intel_rb->vbl_pending when scheduled swap is not a flip.Michel Dänzer
2007-02-24Fix broken cubemap mipmap layout (the cubemap.c demo was segfaulting).Brian
In i915_miptree_layout() change the width, height parameters that are passed to intel_miptree_set_level_info(). As it was, the width, height values were larger than the source image dimensions and we segfaulted in memcpy() when copying the original texture data into the texture buffer region. This fix should probably be checked by someone more familiar with the code (Keith?)
2007-02-24clean-up, comment codeBrian
2007-02-24make src ptr constBrian
2007-02-23Update DRI drivers for new glsl compiler.Brian
Mostly: - update #includes - update STATE_* token code
2007-02-22i915tex: Schedule flips when possible.Michel Dänzer
Also move vsync related state from context to window, so it's possible to schedule several flips ahead of time with triple buffering.
2007-02-20i915tex: Triple buffering support, only effective with page flipping so far.Michel Dänzer
Pending flips are tracked per renderbuffer and the colour renderbuffer attachments of window framebuffer objects are rotated on flips to avoid stalling the pipeline for pending flips unnecessarily.
2007-02-20intelWindowMoved: Some debugging output was accidentally left always enabled.Michel Dänzer
2007-02-20intelRotateWindow: Only use back buffer and cliprects in very specific cases.Michel Dänzer
2007-02-20intelCopyBuffer: Remove incorrect intel_fb->pf_current_page tests.Michel Dänzer
intel_get_rb_region already takes the current page into account. This would result in broken rendering when multiple 3D windows are visible and the pages are reversed.
2007-02-20i915tex: Support page flipping on both CRTCs independently.Michel Dänzer
No longer track page flipping state per context but per window, via struct intel_framebuffer which wraps struct gl_framebuffer for windows.
2007-02-20i915tex: Make page flipping work again.Michel Dänzer
2007-02-19i915tex: Fix performance regression with new vbo code and latest drm.Thomas Hellstrom
With current memory preferences, vbos ended up in AGP space where reading from them got a bit slow. Make sure buffer objects are initially created in system memory.
2007-02-14i915tex: Take into account various mapping states when dropping theThomas Hellstrom
batch buffer after a resolution / rotation switch.
2007-02-02Merge branch 'vbo-0.2'Keith Whitwell
Conflicts: src/mesa/main/texcompress_s3tc.c src/mesa/tnl/t_array_api.c
2007-02-02 push commit 2dfb3a217f730d6783fb2ac8b73248dc682f923c to i915texZou Nan hai
2007-01-23i915tex: Relocation fixes:Thomas Hellstrom
Increase the number of allowed relocations per batchbuffer. Fix an assert to avoid an array index overflow. (Reported by Steve Wilkins)
2007-01-23i915tex: Fix randr resizing. Rotation still broken.Thomas Hellstrom
2007-01-16Merge branch 'master' of git+ssh://keithw@git.freedesktop.org/git/mesa/mesa ↵Keith Whitwell
into vbo-0.2 Conflicts: src/mesa/array_cache/sources src/mesa/drivers/dri/i965/brw_context.c src/mesa/drivers/dri/i965/brw_draw.c src/mesa/drivers/dri/i965/brw_fallback.c src/mesa/drivers/dri/i965/brw_vs_emit.c src/mesa/drivers/dri/i965/brw_vs_tnl.c src/mesa/drivers/dri/mach64/mach64_context.c src/mesa/main/extensions.c src/mesa/main/getstring.c src/mesa/tnl/sources src/mesa/tnl/t_save_api.c src/mesa/tnl/t_save_playback.c src/mesa/tnl/t_vtx_api.c src/mesa/tnl/t_vtx_exec.c src/mesa/vbo/vbo_attrib.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_api.c src/mesa/vbo/vbo_save_draw.c
2007-01-09i915tex: Remove unused tex_program field.Michel Dänzer
2007-01-09intel_finalize_mipmap_tree: Only flush batchbuffer when necessary.Michel Dänzer
2006-12-31fix issue with i915tex advertising visuals it can't supportDave Airlie
This may not be the proper way to fix this but it does work easily.
2006-12-14Avoid failing assertion in intel_miptree_set_image_offset() with cube maps.Michel Dänzer
Cube maps still aren't working quite correctly though.
2006-12-14Share code to lay out >= 945 style 2D mipmaps between i915tex and i965 drivers.Michel Dänzer
Use the i965 version as it has some fixes over the i915tex version.
2006-12-14intel_finalize_mipmap_tree: Add more conditions for rebuilding mipmap trees.Michel Dänzer
These are taken from the i965 driver and fix corruption of some mipmap levels under some circumsances with 945 chipsets at least. Also flush the batchbuffer after copying data between trees, or some apps fail an assertion elsewhere.
2006-12-14intel_batchbuffer_flush: Don't assert cliprects when lock is not held.Michel Dänzer
This is a legitimate situation when copying texture data between mipmap trees.
2006-12-14intelTexSubimage: Fix last parameter for intel_miptree_image_map().Michel Dänzer
2006-12-07i915tex: Recalculate viewport related hardware state in intelWindowMoved().Michel Dänzer
This fixes vertically displaced rendering with some apps like Google Earth. Simplify other parts of the function somewhat.
2006-11-28Update miniglx support for new memory managerDave Airlie
2006-11-23realign some of the i830 code from the i915Dave Airlie
2006-11-23fixup draw/depth region handling in i830 along lines of i915Dave Airlie
2006-11-21blend, logicop changes for intelEmitCopyBlit backported to i915Keith Whitwell
2006-11-10Fix up texture compression at least Get and TexImage, not too sure aboutDave Airlie
how to fix SubTexImage with compressed textures
2006-11-03Set DO_DEBUG=0Brian Paul
2006-11-03only enabled memcpy timing if DO_DEBUG=1Brian Paul
2006-11-02Fix GL_EXT_packed_depth_stencil crash, but shadowtex still brokenBrian Paul
2006-11-02Fix fragment program fog problems found with Glean.Brian Paul
1. add PROGRAM_CONSTANT to switch() in src_vector(). 2. use _mesa_append_fog_code() to handle fog options in i915ProgramStringNotify(). 3. Re-enable some vertex attribute emit code that was previously disabled in i915ValidateFragmentProgram().
2006-11-02Call _mesa_problem() from i915_program_error() so we get a nice error message.Brian Paul
2006-11-02Fixes Glean vertex/fragment test failures. Those tests never calledBrian Paul
glViewport so the viewport was 0 by 0 pixels.
2006-11-02remove GetBufferSize codeBrian Paul
2006-11-02remove unneeded extern declaration of lockMutexBrian Paul
2006-11-02bump driver dateBrian Paul
2006-11-02Use RGBA_LOGICOP_ENABLED() instead of ctx->Color._LogicOpEnabled since we oftenBrian Paul
need to check for this condition before the later field has been computed. Fixes logicop bug #8860.
2006-11-02merge current trunk into vbo branchAlan Hourihane
2006-11-01Remove x/y/width/height parameters from Clear functions.Brian Paul
2006-11-01Don't use the x/y/width/height params passed to Clear(). Get themBrian Paul
after locking. Next: remove the params altogether.