• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/libva


Commit MetaInfo

修訂6a1c58a195140e20375f0e57f512c023e22901ad (tree)
時間2009-07-08 18:42:05
作者Gwenole Beauchesne <gbeauchesne@spli...>
CommiterAustin Yuan

Log Message

Remove obsolete fields.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>

Change Summary

差異

--- a/src/va_backend.h
+++ b/src/va_backend.h
@@ -407,14 +407,11 @@ struct VADriverVTable
407407
408408 struct VADriverContext
409409 {
410- void *old_pNext; /* preserved for binary compatibility */
411-
412410 void *pDriverData;
413411 struct VADriverVTable vtable;
414412
415413 Display *x11_dpy;
416414 int x11_screen;
417- int old_dri2; /* obsolete */
418415 int version_major;
419416 int version_minor;
420417 int max_profiles;
--- a/src/x11/va_x11.c
+++ b/src/x11/va_x11.c
@@ -204,7 +204,6 @@ VADisplay vaGetDisplay (
204204 dri_state = calloc(1, sizeof(*dri_state));
205205 if (pDisplayContext && pDriverContext && dri_state)
206206 {
207- pDriverContext->old_pNext = (void *)(unsigned long)0xdeadbeef;
208207 pDriverContext->x11_dpy = native_dpy;
209208 pDisplayContext->pNext = pDisplayContexts;
210209 pDisplayContext->pDriverContext = pDriverContext;