summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915
Commit message (Collapse)AuthorAgeFilesLines
* intel: Drop viewport hack when we canKristian Høgsberg2010-05-112-4/+0
|
* i915: Drop intelFlush().Vinson Lee2010-05-101-1/+1
| | | | | This was missed in commit c4775a27e3aaa2006b98f225387499b79bc609ef. Fixes i915 build.
* Merge branch 'gles2-2'Kristian Høgsberg2010-05-025-4/+8
|\ | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_util.h
| * intel: Only register ES2 extensions for ES2 contextsKristian Høgsberg2010-04-282-0/+2
| |
| * dri: Add DRI entrypoints to create a context for a given APIKristian Høgsberg2010-04-283-4/+6
| |
* | i965: Fix cube map layouts on Ironlake.Eric Anholt2010-04-291-1/+1
| | | | | | | | | | | | | | | | | | We were doubling up the offsets for the mipmap levels for CPU access. Instead of reimplementing i945_miptree_layout_2d with 6 cube images separated by qpitch, share that function and provide the level offsets later. Fixes piglit cubemap and fbo-cubemap.
* | i915: Add debugging for just prorgam compile under INTEL_DEBUG=wmEric Anholt2010-04-271-0/+11
| |
* | i915: Provide counts in the error messages for program limits.Eric Anholt2010-04-272-10/+19
|/
* i915: Map sampler indices to texture units correctly for fragment shaders.Eric Anholt2010-04-201-1/+3
| | | | | | | Fixes hang with "gst-launch-0.10 videotestsrc ! video/x-raw-rgb ! glupload ! gleffects effect=heat ! glimagesink" which uses 2 samplers pointing at GL_TEXTURE1 and GL_TEXTURE2, and piglit glsl-fs-sampler-numbering.
* i915: Add missing break; after handling the stub NOISE instructions.Eric Anholt2010-04-201-0/+1
| | | | Bug #27348
* i915: Fix comments about cube layoutsJakob Bornecrantz2010-04-131-2/+3
|
* intel: Remove redundant fields from struct intel_contextKristian Høgsberg2010-03-302-7/+7
| | | | All these pointers are in the __DRIcontext struct, which we point to.
* Merge branch '7.8'Brian Paul2010-03-221-2/+2
|\ | | | | | | | | | | | | Conflicts: src/gallium/drivers/cell/ppu/cell_screen.c src/mesa/state_tracker/st_cb_drawpixels.c
| * intel: Use bit-wise not instead of logical not (i830 path)Ian Romanick2010-03-181-1/+1
| | | | | | | | | | | | | | | | The assertion is checking that the low-order bits of offset are not set. It does this by anding the inverted offset mask with the offset. This is clearly intended to be a bit-wise "invert". Fixes bug #25984.
| * Use bit-wise not instead of logical not.Ian Romanick2010-03-181-1/+1
| | | | | | | | | | | | | | | | The assertion is checking that the low-order bits of offset are not set. It does this by anding the inverted offset mask with the offset. This is clearly intended to be a bit-wise "invert". Fixes bug #25984.
* | intel: Replace mt->pitch with mt->region->pitch.Eric Anholt2010-03-173-19/+16
| | | | | | | | | | | | The pitch is not really an inherent part of the miptree, since it's not part of any of the layout calculations, and it's dictated by the libdrm-allocated region pitch now.
* | dri: drop MINIGLX_SOURCES (2)George Sapountzis2010-03-061-1/+0
| |
* | dri: drop MINIGLX_SOURCESGeorge Sapountzis2010-03-061-2/+0
|/
* intel: Remove support for the DRI1 TFP extension.Eric Anholt2010-03-052-63/+22
|
* i915: Fix up i830 for tiled drawing offsets.Eric Anholt2010-03-042-10/+36
| | | | Corresponds to b87406e55f029d29594ae76a4b39a4fe1007fe4f.
* Remove stray defines of HAVE_RGBAIan Romanick2010-03-031-1/+0
| | | | | | | Now that color-index support is removed from t_dd_tritmp.h and t_dd_unfilled.h, drivers no longer need define HAVE_RGBA. Signed-off-by: Ian Romanick <[email protected]>
* i915: Use x,y drawing offsets instead of changing buffer offsets.Eric Anholt2010-03-033-12/+41
| | | | This should fix rendering into mipmaps of tiled textures.
* i915: Fix logic !gen >= 3Chris Wilson2010-02-221-1/+1
| | | | | | | The effect of this was that all objects were aligned to 128 bytes on all generations, rather than just gen2. Signed-off-by: Chris Wilson <[email protected]>
* i915: Remove superfluous MI_NOOP from vertex emissionChris Wilson2010-02-221-2/+1
| | | | Signed-off-by: Chris Wilson <[email protected]>
* Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg2010-02-195-138/+134
|
* i915: update render buffers at prepare_render timeJesse Barnes2010-02-181-0/+1
| | | | | We need to do this before we emit any state dependent on the current render buffers.
* mesa: change ctx->Driver.ProgramStringNotify() to return GLbooleanBrian Paul2010-02-041-2/+5
| | | | | | | | | | | | | GL_TRUE indicates that the driver accepts the program. GL_FALSE indicates the program can't be compiled/translated by the driver for some reason (too many resources used, etc). Propogate this result up to the GL API: set GL_INVALID_OPERATION error if glProgramString() was called. Set shader program link status to GL_FALSE if glLinkProgram() was called. At this point, drivers still don't do any program checking and always return GL_TRUE.
* i915: Remove unnecessary headers.Vinson Lee2010-01-302-2/+0
|
* i915: Remove unused initial and current state, now that there's nothing else.Eric Anholt2010-01-286-22/+10
|
* intel: Remove long-disabled meta readpixels, and associated meta support.Eric Anholt2010-01-289-1042/+20
|
* Merge branch 'mesa_7_7_branch'Brian Paul2010-01-255-13/+0
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/intel/intel_screen.c src/mesa/drivers/dri/intel/intel_swapbuffers.c src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texstate.c
| * i915: Remove unnecessary headers.Vinson Lee2010-01-225-13/+0
| |
* | dri: Remove unnecessary glapi headers.Chia-I Wu2010-01-212-4/+0
| | | | | | | | They are not used at all.
* | intel: Remove leftover symlinks from DRI1 removal.Eric Anholt2010-01-071-1/+0
| |
* | Merge branch 'remove-intel-dri1'Kristian Høgsberg2010-01-058-89/+52
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove-intel-dri1: intel: intelScreenContext() is no longer used intel: Remove remaining dri2.enabled tests intel: Drop more cliprect bookkeeping intel: Remove struct intel_framebuffer intel: Remove client-side vblank code intel: Drop intelWindowMoved() intel: Drop batchbuffer cliprect_mode tracking intel: Drop DRI1 static regions intel: Use depth buffer from ctx.DrawBuffer in copypix_src_region() intel: Drop LOCK/UNLOCK_HARDWARE() intel: Drop DRI1 SwapBuffer implementation intel: Drop DRI1 CopySubBuffer implementation intel: Drop DRI1 support Push __driDriverExtensions out of dri_util.c and into the drivers Remove leftover __DRI{screen,drawable,context}Private references Check for libdrm_$chipset.pc when needed
| * | intel: Drop more cliprect bookkeepingKristian Høgsberg2010-01-042-60/+32
| | |
| * | intel: Remove client-side vblank codeKristian Høgsberg2010-01-041-1/+0
| | |
| * | intel: Drop batchbuffer cliprect_mode trackingKristian Høgsberg2010-01-043-23/+14
| | |
| * | Remove leftover __DRI{screen,drawable,context}Private referencesKristian Høgsberg2010-01-044-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Check for libdrm_$chipset.pc when neededKristian Høgsberg2010-01-041-1/+2
| | | | | | | | | | | | | | | | | | This adds missing pkg-config lookup for intel and moves the radeon lookup into a case...esac so it's only looked up when one or more of the radeon drivers are enabled.
* | | mesa: make texture BorderColor a union of float/int/uintBrian Paul2010-01-042-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | When we have integer-valued texture formats, the texture border color must also store integer and uint values. With GL 3.0, the new glTexParameterIiv() and glTexParameterIuiv() functions can set the border color to int or uint values.
* | | Merge branch 'mesa_7_7_branch'Brian Paul2010-01-041-3/+4
|\ \ \ | |/ / |/| / | |/ | | | | | | | | | | 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
| * i915: Use _MaxLevel on principle in texture setup.Eric Anholt2010-01-041-3/+4
| | | | | | | | | | | | It was OK before because we proceed to clamp the value to hardware limits, but given that other use of MaxLevel has been a trap, let's avoid it.
* | Merge branch 'mesa_7_7_branch'Brian Paul2009-12-312-3/+3
|\| | | | | | | | | | | | | | | 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
| * intel: Silence compiler warnings.Vinson Lee2009-12-281-2/+2
| |
| * Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul2009-12-271-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * i915: Fix assert.Vinson Lee2009-12-261-1/+1
| | |
* | | intel: Replace some gen3 IS_* checks with context structure usage.Eric Anholt2009-12-222-3/+3
| | | | | | | | | | | | Shaves 400 bytes or so from i915_dri.so.
* | | i915: Fix use of uninitialized variable in OPCODE_NOISE stub.Eric Anholt2009-12-221-1/+1
| | | | | | | | | | | | | | | | | | We don't actually care which register is used since we're just swizzling (0,0,0,0), but it should be a valid variable number. Detected by clang.
* | | mesa: Replace CLAMP_SELF() macro with more obvious CLAMP() usage.Eric Anholt2009-12-222-4/+4
| | | | | | | | | | | | | | | The same code is generated, and readers and static analyzers are happier.