summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915tex/intel_context.c
AgeCommit message (Collapse)Author
2007-07-31Merge branch 'i915tex_privbuffers' into softpipe_0_1_branchKeith Whitwell
Conflicts: src/mesa/drivers/dri/i915tex/intel_buffers.c src/mesa/drivers/dri/i915tex/intel_context.c src/mesa/drivers/dri/i915tex/intel_fbo.c src/mesa/drivers/dri/i915tex/intel_pixel_draw.c
2007-07-20minor cleanups, disable debuggingRoland Scheidegger
2007-07-19more cleanups (looks pretty reasonable now)Roland Scheidegger
remove some already ifdefed out, no longer functional and used code. Don't do our own scissor clipping in the pixeldraw/copy paths, as meas already does that for us...
2007-07-18swapbuffers with non-current contexts, cleanupsRoland Scheidegger
manywin got broken (when intelPageflip got no longer called). Make sure that intelFlush is getting called when a context gets unbound, to handle later swapbuffer calls on that context's drawable better. Related, fix non-current cliprects getting used on unbound drawables.
2007-07-17get rid of more pageflip/rotation code.Roland Scheidegger
2007-07-17remove old code, remaining bits of static handles, disable (no longer ↵Roland Scheidegger
functional anyway) rotation code
2007-07-17Merge branch 'origin' into softpipe_0_1_branchKeith Whitwell
2007-07-17Merge branch 'i915tex_privbuffers' into softpipe_0_1_branchKeith Whitwell
2007-07-15change back driver change from previous commitRoland Scheidegger
2007-07-15fix bogus fb/drawable information (fixes xdemos/wincopy)Roland Scheidegger
the framebuffer objects attached to drawables can have invalidate state associated with them, since for the window framebuffer this is per-context state and not per-fbo state. Since drivers may rely on that information (otherwise would need to check if currently the window-framebuffer is bound in a lot of places) fix it up in _mesa_make_current (ugly).
2007-07-15begin getting rid of fake clip rects (copy_pixel)Roland Scheidegger
2007-07-13bugfixes (wrt fb updates), cleanupsRoland Scheidegger
move drawable validation back to where it was now that the driDrawable information isn't used directly anymore. Fix bogus fb updates (the context we get for SwapBuffer processing may not have the drawable being processed attached!) glthreads behaves a bit better but still not correct.
2007-07-12don't use driDrawable information directly, don't resize at makecurrentRoland Scheidegger
driDrawable information now isn't used in most parts of the driver. makecurrent only updates fb information when the context is new (driDrawable is still updated by the dri common code).
2007-07-11Fix screen corruption on resize.Keith Whitwell
Move buffer resize check to immediately after swapbuffers. Update cliprects inside the locked region of swapbuffers.
2007-07-11remove bogus assertion, change drawable updatesRoland Scheidegger
don't update driDrawable information until later at all (blit needs fixing).
2007-07-11drop some more code no longer neededRoland Scheidegger
2007-07-11some fixes, fake frontbufferRoland Scheidegger
still doesn't work quite right (resize). Fake frontbuffer doesn't copy in real frontbuffer. Don't even think about doing rotation/page flip/triple buffering for now... More cleanups needed (fake cliprects etc.)
2007-07-10First attempt at using private back/z buffers.Roland Scheidegger
Allocate and use private back and z/stencil buffers. This is still very broken.
2007-07-10i915tex: Better procedure for dropping batchbuffer on virtual resolution change.Michel Dänzer
The previous procedure would often result in a GPU lockup.
2007-07-10i915tex: Only wait for vblank when really necessary.Michel Dänzer
This avoids superfluous waits for vblank timing out under some circumstances.
2007-07-06Merge branch 'master' of git+ssh://michal@git.freedesktop.org/git/mesa/mesa ↵michal
into softpipe_0_1_branch
2007-06-20Add state tracker create/destroy calls to i915 driver.Keith Whitwell
2007-06-05Add PCI IDs for the G33, Q33, and Q35 chipsets.Wang Zhenyu
2007-05-31i915tex: Add support for 945GMEWang Zhenyu
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-16remove _tnl_arb_vertex_program_stageBrian
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-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-09i915tex: Set intel_fb->vbl_waited to current instead of what we aimed for.Michel Dänzer
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-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-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-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-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
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 unneeded extern declaration of lockMutexBrian Paul
2006-11-02bump driver dateBrian Paul
2006-11-02merge current trunk into vbo branchAlan Hourihane
2006-11-01Import texmem i915 driver to its new location as i915tex.Keith Whitwell