summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915tex/intel_fbo.c
AgeCommit message (Collapse)Author
2007-07-31fix value returned by intel_new_renderbuffer_fb()Brian
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-30Lots of improvements to the surface-related code.Brian
Z testing now works with i915 driver. Add gl_renderbuffer::surface pointer (and reverse pointer). Remove intel_surface and xmesa_surface types - no longer used.
2007-07-27Merge branch 'master' of git+ssh://michal@git.freedesktop.org/git/mesa/mesa ↵michal
into softpipe_0_1_branch
2007-07-21set the _BaseFormat for window-framebuffers, could hit some assertion otherwiseRoland Scheidegger
2007-07-19fix mesa fb bindingRoland Scheidegger
Make sure that we bind the right buffer (draw or read) when rebinding the window framebuffer (the api doesn't allow binding different draw and read buffers at the same time, but the default window framebuffer is basically 2 fb objects, one for read, one for write, which can be different). Pass both of these two down the driver api (no driver uses this right now).
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-17fix mesa fb bindingRoland Scheidegger
Make sure that we bind the right buffer (draw or read) when rebinding the window framebuffer (the api doesn't allow binding different draw and read buffers at the same time, but the default window framebuffer is basically 2 fb objects, one for read, one for write, which can be different). Pass both of these two down the driver api (no driver uses this right now).
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-11remove bogus assertion, change drawable updatesRoland Scheidegger
don't update driDrawable information until later at all (blit needs fixing).
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-04-11use _mesa_reference_renderbuffer(), fix typoBrian
2007-04-08i915tex: Clean up resizing of renderbuffers.Michel Dänzer
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-02-28i915tex: Check that intel_rb is valid before trying to add it to an fbo.Michel Dänzer
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
2006-11-01Import texmem i915 driver to its new location as i915tex.Keith Whitwell