summaryrefslogtreecommitdiff
path: root/src/i915_video.c
AgeCommit message (Collapse)Author
2009-07-28h/v bias in 3DSTATE_DEST_BUFFER_VARIABLES is 4-bits wideKrzysztof Halasa
Fixes bug #22370
2009-05-18 DRI2 for XvMCXiang Hai hao
2009-05-01Split i915 textured video commands to fit into batch buffers.Keith Packard
i915 textured video commands are quite long, but must be contained in the same batch buffer as the 3D setup commands. When the number of clip rects for the video becomes too large for the associated commands to fit in the same batch buffer, this change breaks the sequence into pieces, ensuring that each batch contains the necessary setup sequence. Signed-off-by: Keith Packard <keithp@keithp.com>
2009-04-27Now that video destination pixmaps are always in BOs, no more MarkSync.Eric Anholt
2009-03-06intel: Nuke shared-entity support (zaphod mode).Eric Anholt
It's been broken for years now, and KMS offers a much better chance of getting this working sensibly without making a mess of the 2D driver.
2009-02-20Fix i915 textured video to work with the i830_memory -> bo change.Kristian Høgsberg
Forgot to update i915_video.c in 872aadc7102bd5131e1582ede081e22672911ba2.
2009-01-17Protect i915 textured video against batchbuffer wrapping.Eric Anholt
2008-08-05Use dri_bo for all object allocations, including pixmaps under uxaKeith Packard
2008-07-17Merge branch 'master' into drm-gemCarl Worth
Conflicts: configure.ac src/reg_dumper/Makefile.am
2008-06-28xvmc: Don't copy on xvmc surface in PutImageZhenyu Wang
As xvmc rendering result has already been in fb, we shouldn't do extra copy on it. Although special care is required for i915 xvmc surface pitch alignment, which must be at least 1KB aligned. So video display function should take it into acount instead of always setting Y pitch to be double of U/V pitch.
2008-06-10Change most usage of pixmap offsets to using a reloc macro.Eric Anholt
This is based on airlied's RING->BATCH commit. The 965 code still needs to be fixed up for relocations.
2008-03-14Change OUT_RING and similar calls to OUT_BATCH for batchbuffer mergeEric Anholt
2008-03-11Remove i830+ driver's use of CARD*/INT* types for great justice.Eric Anholt
Several uses are actually left, which are determined by the X Server interfaces we're implementing.
2008-03-11Add support for brightness control to i915 textured video output.Eric Anholt
2007-09-20Fix pixmap offsetHong Liu
Use consistent interface for counting pixmap offset.
2007-08-10Attempt to fix several front buffer tiling failure cases.Eric Anholt
Front buffer tiling is now disabled with G965 and XAA. Some of the acceleration that i830_xaa.c does can't be supported on tiled buffers. Adds a tiling field to struct i830_memory, and uses it instead of separate variables for each potential tiled buffer.
2007-07-06FBC and tiling changesJesse Barnes
- change framebuffer option name to "FramebufferCompression" - add new "Tiling" option (controls all tiling, not just front buffer) - add debug message to fb compression enable/disable routines - update man page with new options
2007-06-13Fix and enable the 915-class planar textured video path.Eric Anholt
2007-06-12Fix context switching between DRI and X.Eric Anholt
Now, all 3D pipeline consumers in the driver just call IntelEmitInvariantState(), which handles basic state setup, the caching of that state setup, and notifying DRI clients. This also removes a mistaken idle wait in the Render code which was papering over the brokenness in the context switching.
2007-06-12Clean up some nits in i915_video.c setup.Eric Anholt
- The screen dimensions were used for the clipping despite drawing being done to any pixmap, not necessarily the screen. - One piece of state setup was not documented anywhere, and isn't used in other 3d hardware paths that also work. - A 3DSTATE_MODES_1 command (830-class only) was issued even though it no longer exists.
2007-01-31Move the render code to non-EXA-specific filenames.Eric Anholt
2007-01-10Formalize sync interfaceWang Zhenyu
We should just call i830MarkSync/i830WaitSync in places we need, which care for both XAA and EXA.
2006-12-28Draw textured video to the backing pixmap in the composited case.Eric Anholt
Currently, when the backing pixmap is not in framebuffer, we just BadAlloc rather than drawing garbage to the front buffer. This can be fixed with EXA.
2006-12-19Align textured video dither matrix to windowKeith Packard
2006-12-19Turn on dithering for 915 textured videoKeith Packard
2006-11-30Merge branch 'exa' of ../xf86-video-intel into modesettingEric Anholt
Conflicts: man/i810.man src/Makefile.am src/i830.h src/i830_driver.c src/i830_rotate.c src/i830_video.c
2006-11-08Disable some debug messageAlan Hourihane
2006-10-26Major cleanup of 3D invariant state, fixing hangs with rotation and render.exaEric Anholt
Now, the generic invariant state is always set while the X Server is active, and happens automatically when the X Server grabs the DRI lock. More 3D state is moved to the generic code. Then, the 3D consumers (video, rotation, render) set last_3d to their enum entry, and can update their own invariant state when another consumer was active.
2006-07-24remove an extra '-'textured-videoWang Zhenyu
2006-07-18Re-convert i915 video to new fragment shader API.Eric Anholt
Although in the history of this branch it had happened before, this time it's for real.
2006-07-18Merge branch 'master' into textured-videoEric Anholt
This moves the i915 textured video implementation into i915_video.c to avoid conflicts in register definitions with i830_reg.h when we use i915_reg.h. This also means that i810_reg.h's i915 3D regs definitions are removed and replaced with i915_reg.h usage. Conflicts: src/i830_rotate.c