summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/intel
AgeCommit message (Collapse)Author
2010-01-04Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: docs/relnotes.html src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/r300/r300_cs.h src/mesa/drivers/dri/i965/brw_wm_surface_state.c src/mesa/main/enums.c
2010-01-04intel: Fix CopyTexImage from tiled mipmap levels > 0.Eric Anholt
Fixes piglit fbo-copyteximage.
2010-01-04intel: intelScreenContext() is no longer usedKristian Høgsberg
2010-01-04intel: Remove remaining dri2.enabled testsKristian Høgsberg
2010-01-04intel: Drop more cliprect bookkeepingKristian Høgsberg
2010-01-04intel: Remove struct intel_framebufferKristian Høgsberg
With the vsync fields no longer relevant and by refactoring the code to no longer use color_rb[0-1] we can just use struct gl_framebuffer directly.
2010-01-04intel: Remove client-side vblank codeKristian Høgsberg
2010-01-04intel: Drop intelWindowMoved()Kristian Høgsberg
Everything this functions does under DRI2 is also taken care of by intel_draw_buffer(), which is always called where intelWindowMoved() is called.
2010-01-04intel: Drop batchbuffer cliprect_mode trackingKristian Høgsberg
2010-01-04intel: Drop DRI1 static regionsKristian Høgsberg
2010-01-04intel: Use depth buffer from ctx.DrawBuffer in copypix_src_region()Kristian Høgsberg
This function was using intel->depth_region, which is the static region for the DRI1 depth buffer. This code has always been broken with DRI2 but I suspect it doesn't get excersized much.
2010-01-04intel: Drop LOCK/UNLOCK_HARDWARE()Kristian Høgsberg
2010-01-04intel: Drop DRI1 SwapBuffer implementationKristian Høgsberg
2010-01-04intel: Drop DRI1 CopySubBuffer implementationKristian Høgsberg
2010-01-04intel: Drop DRI1 supportKristian Høgsberg
The DDX driver stopped supporting DRI1 so we're dropping support for that from the DRI driver too.
2010-01-04Push __driDriverExtensions out of dri_util.c and into the driversKristian Høgsberg
This lets the individual drivers select which extensions to advertise. Specifically, most drivers (tdfx, sis, savage etc) don't support DRI2 but the shared extension list in dri_util.c does list the DRI2 extension. Pushing the list into the drivers, lets us avoid listing the DRI2 extension for drivers that don't support it.
2010-01-04Remove leftover __DRI{screen,drawable,context}Private referencesKristian Høgsberg
As part of the DRI driver interface rewrite I merged __DRIscreenPrivate and __DRIscreen, and likewise for __DRIdrawablePrivate and __DRIcontextPrivate. I left typedefs in place though, to avoid renaming all the *Private use internal to the driver. That was probably a mistake, and it turns out a one-line find+sed combo can do the mass rename. Better late than never.
2009-12-31Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c
2009-12-29mesa: implement per-buffer color maskingBrian Paul
This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0. The ctx->Color.ColorMask field is now a 2-D array. Until drivers are modified to support per-buffer color masking, they can just look at the 0th color mask. The new _mesa_ColorMaskIndexed() function will be called by glColorMaskIndexedEXT() or glColorMaski().
2009-12-28intel: Fix false positives in checking for non-packed depth/stencil RB.Eric Anholt
The wine d3d9 visual.c testcase was tripping over this and failing. Presumably it's binding a packed depth/stencil texture to both stencil and depth attachment points, and we make a new renderbuffer wrapper for each in that case.
2009-12-28intel: Allow binding a stencil but not a depth buffer.Eric Anholt
Wine's d3d9 visual.c testcase tries this a lot, so I've added some piglit tests (fbo-nodepth-test, fbo-nostencil-test, fbo-stencil-only) and enabled it.
2009-12-28intel: Improve INTEL_DEBUG=fbo output.Eric Anholt
2009-12-28intel: Remove dead fthrottle_mode option. We only do IRQ waits.Eric Anholt
Noticed by clang.
2009-12-28intel: Silence compiler warnings.Vinson Lee
2009-12-27Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul
Conflicts: src/gallium/auxiliary/util/u_network.c src/gallium/auxiliary/util/u_network.h src/gallium/drivers/i915/i915_state.c src/gallium/drivers/trace/tr_rbug.c src/gallium/state_trackers/vega/bezier.c src/gallium/state_trackers/vega/vg_context.c src/gallium/state_trackers/xorg/xorg_crtc.c src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/xlib/xlib_brw_context.c src/mesa/main/mtypes.h
2009-12-25intel: Silence implicit function declaration warning.Vinson Lee
2009-12-22intel: Replace some gen3 IS_* checks with context structure usage.Eric Anholt
Shaves 400 bytes or so from i915_dri.so.
2009-12-22intel: Replace IS_965 checks with context structure usage.Eric Anholt
Saves another 600 bytes or so of code.
2009-12-22intel: Replace IS_G4X() across the driver with context structure usage.Eric Anholt
Saves ~2KB of code.
2009-12-22intel: Replace IS_IGDNG checks with intel->is_ironlake or needs_ff_sync.Eric Anholt
Saves ~480 bytes of code.
2009-12-22intel: Fix leakage of active texture state in glBitmap fp metaops.Eric Anholt
Noticed by clang.
2009-12-22intel: Remove unused stored values reported by clang.Eric Anholt
2009-12-21intel: Replace release info in DRIVER_DATE with "DEVELOPMENT"Ian Romanick
2009-12-21Merge branch 'mesa_7_7_branch'Ian Romanick
Conflicts: src/mesa/main/version.h
2009-12-21intel: Bump driver date to reflect status as final Q4 driver RCIan Romanick
2009-12-21Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/mesa/main/version.h src/mesa/state_tracker/st_atom_shader.c
2009-12-15intel: Fallback to software if drawable size is > MaxRenderbufferSizeIan Romanick
This prevents the mystery blank window if, for example, glxgears is resized larger than 2048 wide on 915. Since the Intel drivers in Mesa 7.6 lack GTT mapped fallbacks, the performance is a slideshow at best. On Mesa 7.7 and later the performance is much better.
2009-12-11Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/gallium/state_trackers/xorg/xorg_xv.c src/mesa/drivers/dri/intel/intel_span.c
2009-12-10intel: Remove ARGB internal_format == GL_RGB hacksIan Romanick
Now that XRGB is supported, we don't need to hack around cases of an RGBA format buffer with an internal format of GL_RGB.
2009-12-10intel: Make RGB textures use XRGB8888Ian Romanick
2009-12-10intel: Make RGB renderbuffers use XRGB8888 like we do for RGB system buffers.Ian Romanick
2009-12-10intel: Use spantmp2 GL_BGR / GL_UNSIGNED_INT_8_8_8_8_REV for XRGB8888Ian Romanick
2009-12-10intel: name in intel_create_renderbuffer was always 0, removeIan Romanick
2009-12-10intel: Use texformat accessor to get bytes-per-pixelIan Romanick
2009-12-10intel: softwareBuffer in intel_alloc_renderbuffer_storage was always false, ↵Ian Romanick
remove
2009-12-10intel: Axe intel_renderbuffer::texformatIan Romanick
Since the texformat branch merge, the value of intel_renderbuffer::texformat is just a copy of gl_renderbuffer::Format.
2009-12-10intel: Flush the render/texture cache when finishing render to texture.Eric Anholt
Back when we were flushing the entire batch at BindFramebuffer, the kernel would notice the domain transition when someone went to texture from it and flush for us. We no longer do the batch flushing every time, so we get to do aggressive flushing until we move batchbuffer handling to libdrm. Fixes piglit fbo-flushing. Bug #25377. No noticeable performance loss on cairo-gl (so this is better than batch flushing).
2009-12-08i965: Enable the accelerated ReadPixels path on gen4 along with pre-gen4.Eric Anholt
Passes piglit pbo-read-argb8888, and doesn't otherwise regress quick.tests.
2009-12-08Merge branch 'mesa_7_7_branch'Andre Maasikas
Conflicts: src/mesa/drivers/dri/r600/r700_assembler.c src/mesa/main/version.h
2009-12-07Revert "intel: Make RGB renderbuffers use XRGB8888 like we do for RGB system ↵Ian Romanick
buffers." This reverts commit 4598942b1b88a2a7d5af7febae7e79eedf00e385. XRGB8888 doesn't work as intended. Revert this for now, and we'll revisit it for 7.8 or something.