Age | Commit message (Collapse) | Author |
|
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.
(cherry picked from commit 989ec9e8a69f909cb64f17e4465982613b4b054d)
|
|
Later 945-ish chipset can use graphics address instead.
(cherry picked from commit d50cec6ef9e2178ea663e58d548390f0f3da7692)
|
|
We should also carefully select surface type id.
(cherry picked from commit 7a705081788bf957409e17baa5f189241589057c)
|
|
Also safe check context size to not exceed surface max.
|
|
o Check for RANDR_GET_CRTC_INTERFACE before defining functions that
are used only if it is defined.
o Declare a variable before code, and rename it from ret to xvmc_status
to better describe it.
o if 0 some static functions not used.
o Don't declare some unused variables.
o Declare as static some functions that are used only in the file defining it.
o Add a default/fallback return True to the Bool function
src/xvmc/intel_batchbuffer.c:intelInitBatchBuffer().
o Ansify src/xvmc/xf86dri.c.
o Add missing prototype to src/xvmc/xf86dri.h and follow pattern of other
headers by adding "extern" before function prototype.
|
|
|
|
Make surface list track like context list, and move
generic PutSurface code out of i915. So MC driver just
needs to fill specific the command params, and we can
get one single type of intel xvmc command to issue,
ddx driver's put_image_size got removed.
Fix last commit with missing XvMCContext assignment.
Fix priv_data free with apropriate X11 XFree.
|
|
Use XvMCContext's context_id for dri context handling instead
of driver private id. Remove unnecessary field for i915 private
structs.
|
|
|
|
|
|
|
|
|
|
Still a lot of things to move include batch buffer, lock, context,
surface resource handling, etc.
|
|
|
|
|
|
git+ssh://zhen@people.freedesktop.org/~zhen/xf86-video-intel into xvmc
|
|
|
|
|
|
|
|
|
|
convert i915 to new xvmc driver interface
|
|
until we really implement it, OSD can't work for now.
|
|
|
|
|
|
|
|
We don't have extra attributes than Xv port.
|
|
and put wrap function in driver xvmc priv instead of per xv port priv
|
|
|
|
dead lock.
|
|
2. clean code
|
|
|
|
2. implement macroblock_ipicture instruction
3. 16bit INTRA block
|
|
|
|
|
|
|
|
|
|
|
|
|