summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915tex
AgeCommit message (Collapse)Author
2007-08-10Lift common winsys functions into pipe's new p_winsys.Keith Whitwell
2007-07-31simplify clear.x1,y2,x2,y2 setupBrian
2007-07-31In i915/i830_emit_state(), check if state->draw_region is non-null.Brian
This fixes a problem hit by glClear in the samples/stencil.c program.
2007-07-31fix stencil addressing bugBrian
2007-07-31remove obsolete xmesa_get_stencil_surface() stubBrian
2007-07-31fix comments and param names for intel_miptree_image_map()Brian
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-30implement read_quad_f_swz()Brian
2007-07-30implement surfaces for softpipe renderingBrian
2007-07-30call st_invalidate_state()Brian
2007-07-29fix range reduction for sin/cos in i915tex (#11609)Roland Scheidegger
2007-07-29Fix crashes when the frag prog can't be handled in hardware (#11131)Roland Scheidegger
Must not change to/from swrast after Render.Start or bad things will happen. (Driver will still somewhat incorrectly report an implementation error, and apps can't really figure out if a prog is natively supported as validation is later - could try doing it earlier to give some hint at least, even though native status may still change later due to fog etc.)
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-20minor cleanups, disable debuggingRoland Scheidegger
2007-07-19remove some more really old ifdefed out code...Roland 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-19increase MAX_RELOCS so never run out before batch buffer is full (fixes ↵Roland Scheidegger
xdemos/shape)
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 checks for old ddxRoland Scheidegger
2007-07-17remove some more old stuffRoland Scheidegger
2007-07-17get rid of more pageflip/rotation code.Roland Scheidegger
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-17remove old code, remaining bits of static handles, disable (no longer ↵Roland Scheidegger
functional anyway) rotation code
2007-07-17increase MAX_RELOCS so never run out before batch buffer is full (fixes ↵Roland Scheidegger
xdemos/shape)
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-16fix resize bugs (fb size updated too late), fix typos, cleanups...Roland Scheidegger
2007-07-16small cleanupsRoland Scheidegger
2007-07-16fix segfault with i915 drivers in swrast drawpixels path when resizing windowsRoland Scheidegger
2007-07-16get rid of more cliprects...Roland Scheidegger
2007-07-16more cliprect elimination (swrast span)Roland Scheidegger
2007-07-16get rid of more fake cliprects (drawpixel), and enable blit draw with scissorRoland Scheidegger
2007-07-16get rid of more cliprects (readpixel)...Roland Scheidegger
2007-07-16allow blit path for read pixels if pack->alignment isn't 1.Roland Scheidegger
pack->alignment doesn't matter usually if the image is sufficiently aligned anyway. Speeds up some tests/readrate cases by a factor of 100 (since the pack->alignment default which noone ever bothers to change is 4).
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-15fix the texture copypixels pathRoland Scheidegger
2007-07-15begin getting rid of fake clip rects (copy_pixel)Roland Scheidegger
2007-07-14fix assertion, z/stencil swarst readback, (still looks suspicious) ↵Roland Scheidegger
copyTexSubimage
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-11restrict blitted area to size of rendered areaRoland Scheidegger
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.)