summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915tex
AgeCommit message (Collapse)Author
2007-06-11Replace texobj->Complete with texobj->_Complete since it's a derived field.Brian
2007-06-05Add PCI IDs for the G33, Q33, and Q35 chipsets.Wang Zhenyu
2007-06-05i915tex: Better attempt to release miptree when overriding texture image.Michel Dänzer
The previous approach could lead to crashes in FBO code that dereferences the miptree struct pointer unconditionally.
2007-05-31i915tex: Add support for 945GMEWang Zhenyu
2007-05-22Replace initInitState() with _mesa_init_driver_state().Brian
2007-05-22i915tex: Implement SetTexOffset hook.Michel Dänzer
Only build tested for I830 generation.
2007-05-22i915/i915tex: minor cleanup (remove unneeded function callRoland Scheidegger
2007-05-22unbreak 3d textures (typo when setting tex layout)Roland Scheidegger
2007-05-19fix miptree layout (i915) for small compressed mipmapsRoland Scheidegger
This seems to work now. Also fix i945 set_level_info, need to match i915 behaviour for storing mip height, as it's assumed to be the mip width (in texels) elsewhere and the division by 4 is done later (untested).
2007-05-19fix miptree comparison with compressed texturesRoland Scheidegger
TexelBytes is always 0 with compressed textures, thus would never match mt->cpp. This caused constant blitting around of textures, and it fixes at least the horrible performance of Q3 if compressed textures are enabled.
2007-05-09Clean-up in I830AllocVidMem(), s/int/unsigned long/ for ret variable.Brian
2007-05-08i915/miniglx: remove unused codeDave Airlie
2007-04-17Defer buffer pool creation to the first context creation.Thomas Hellstrom
This way we have a hw context so that we can take the hardware lock. Also, at this point, AIGLX isn't locked with the X server context as it is at screen creation.
2007-04-16just clean-upsBrian
2007-04-16remove _tnl_arb_vertex_program_stageBrian
2007-04-16Make sure we are locked when creating drm buffer objects.Thomas Hellstrom
Don't place buffer objects on unfenced list when newly created. Fix a buffer object wait-for-idle deadlock.
2007-04-11use _mesa_reference_renderbuffer(), fix typoBrian
2007-04-09i915tex: Fix some mismatches between texels or bytes for pitch/stride.Michel Dänzer
2007-04-09i915tex: Make sure texture format fetch hooks are initialized.Michel Dänzer
2007-04-08i915tex: Clean up resizing of renderbuffers.Michel Dänzer
2007-04-05include points.h to fix warningsBrian
2007-04-04i810/i915/i915tex: reinitialize the context point stateXiang, Haihao
2007-03-27i915tex compile fix (account for moved _UseTexEnvProgram var)Roland Scheidegger
2007-03-27Restore the UseTexEnvProgram logic.Brian
Was removed during glsl-compiler work. Still need to go back and revisit this because of the interaction with fragment shaders...
2007-03-26merge of glsl-compiler-1 branchBrian
2007-03-26i915tex: Make sure renderbuffers don't get deleted when flipping them.Michel Dänzer
Since the recent renderbuffer refcounting fixes it's no longer sufficient to just remove the old renderbuffer from the framebuffer and then add the new one because the former may decrease the reference count to 0 and delete the old renderbuffer.
2007-03-21merge from masterBrian
2007-03-19i915tex: The intended triple buffering fix.Michel Dänzer
Making modifications while the editor spawned by git-commit was suspended didn't have the intended effect.
2007-03-19i915tex: Fix triple buffering after recent Mesa core changes.Michel Dänzer
Remove superfluous _mesa_resize_framebuffer call which is now harmful because it causes the third renderbuffer to have width/height 0, so Mesa refuses to render to it. In the long term, it would be nice to remove the hack in intel_alloc_window_storage in favour of a proper Mesa interface for flipping between more than two colour buffers.
2007-03-18fix typo in subrect_disable packetKeith Whitwell
2007-03-15Fix off by one error in immediate state packet size.Keith Whitwell
2007-03-12i915tex: Don't crash when intel_fb->color_rb[i] is NULL.Michel Dänzer
This can be the case on some systems when running glxinfo.
2007-03-10Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa ↵Brian
into glsl-compiler-1
2007-03-10i915tex: Fix build against libdrm git...Michel Dänzer
2007-03-10i915tex: Fix intel_wait_flips being declared implicitly.Michel Dänzer
2007-03-10i915tex: Fix build against released version of libdrm.Michel Dänzer
2007-03-10Merge branch 'i915tex-pageflip'Michel Dänzer
2007-03-09i915tex: Wait for pending scheduled flips before switching vsync pipe.Michel Dänzer
This avoids hangs when the vblank sequence numbers are not in sync between pipes, in particular when they run at different refresh rates.
2007-03-09i915tex: Set intel_fb->vbl_waited to current instead of what we aimed for.Michel Dänzer
2007-03-09Merge branch 'origin' into glsl-compiler-1Brian
Conflicts: src/mesa/main/context.c
2007-03-09i915tex: Sync pages between pipes immediately again.Michel Dänzer
This should be safe now that we no longer use the MI_WAIT_FOR_EVENT instruction incorrectly and should also work correctly with applications that render to the front buffer.
2007-03-09i915tex: Do not wait for pending flips on both pipes at the same time.Michel Dänzer
The MI_WAIT_FOR_EVENT instruction does not support waiting for several events at once, so this should fix the lockups with page flipping when both pipes are enabled.
2007-03-07i915tex: Set framebuffer size to match window before calling _mesa_make_current.Michel Dänzer
Fixes issues with apps that don't call glViewport by default.
2007-03-07i945_miptree_layout: Adapt cubemap fixes from i915_miptree_layout.Michel Dänzer
Cubemaps aren't working fully correctly yet, but at least they don't seem to cause crashes anymore.
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?)