Searched refs:pSource (Results 1 - 25 of 29) sorted by relevance

12

/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/
H A DVBoxMPWddm.h112 DECLINLINE(VOID) vboxWddmAssignPrimary(PVBOXWDDM_SOURCE pSource, PVBOXWDDM_ALLOCATION pAllocation, D3DDDI_VIDEO_PRESENT_SOURCE_ID srcId) argument
115 if (pSource->pPrimaryAllocation == pAllocation)
118 if (pSource->pPrimaryAllocation)
120 PVBOXWDDM_ALLOCATION pOldAlloc = pSource->pPrimaryAllocation;
131 pAllocation->bVisible = pSource->bVisible;
133 if (pSource->AllocData.hostID != pAllocation->AllocData.hostID)
135 pSource->u8SyncState &= ~VBOXWDDM_HGSYNC_F_SYNCED_LOCATION; /* force guest->host notification */
136 pSource->AllocData.hostID = pAllocation->AllocData.hostID;
139 if (!vboxWddmAddrVramEqual(&pSource->AllocData.Addr, &pAllocation->AllocData.Addr))
142 pSource
[all...]
H A DVBoxMPVhwa.cpp353 PVBOXWDDM_SOURCE pSource = &pDevExt->aSources[VidPnSourceId];
354 pSource->cOverlays = 0;
355 InitializeListHead(&pSource->OverlayList);
356 KeInitializeSpinLock(&pSource->OverlayListLock);
696 PVBOXWDDM_SOURCE pSource = &pDevExt->aSources[i];
697 if (pSource->Vhwa.Settings.fFlags & VBOXVHWA_F_ENABLED)
708 int vboxVhwaHlpDestroyPrimary(PVBOXMP_DEVEXT pDevExt, PVBOXWDDM_SOURCE pSource, D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId)
710 PVBOXWDDM_ALLOCATION pFbSurf = VBOXVHWA_PRIMARY_ALLOCATION(pSource);
717 int vboxVhwaHlpCreatePrimary(PVBOXMP_DEVEXT pDevExt, PVBOXWDDM_SOURCE pSource, D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId)
719 PVBOXWDDM_ALLOCATION pFbSurf = VBOXVHWA_PRIMARY_ALLOCATION(pSource);
[all...]
H A DVBoxMPVidPn.cpp215 PVBOXWDDM_SOURCE pSource = &paSources[pTarget->VidPnSourceId]; local
216 if (!pSource)
218 Assert(pSource->cTargets);
219 Assert(ASMBitTest(pSource->aTargetMap, pTarget->u32Id));
220 ASMBitClear(pSource->aTargetMap, pTarget->u32Id);
221 pSource->cTargets--;
225 pSource->u8SyncState &= ~VBOXWDDM_HGSYNC_F_SYNCED_TOPOLOGY;
228 void VBoxVidPnStSourceTargetAdd(PVBOXWDDM_SOURCE paSources, uint32_t cScreens, PVBOXWDDM_SOURCE pSource, PVBOXWDDM_TARGET pTarget) argument
230 if (pTarget->VidPnSourceId == pSource->AllocData.SurfDesc.VidPnSourceId)
235 ASMBitSet(pSource
243 VBoxVidPnStTIterInit(PVBOXWDDM_SOURCE pSource, PVBOXWDDM_TARGET paTargets, uint32_t cTargets, VBOXWDDM_TARGET_ITER *pIter) argument
254 PVBOXWDDM_SOURCE pSource = pIter->pSource; local
270 PVBOXWDDM_SOURCE pSource = &paSources[VidPnSourceId]; local
300 VBoxVidPnSourceInit(PVBOXWDDM_SOURCE pSource, const D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId, uint8_t u8SyncState) argument
2149 PVBOXWDDM_SOURCE pSource = &paSources[VidPnSourceId]; local
2253 VBOXWDDM_SOURCE *pSource = &pInfo->paSources[VidPnSourceId]; local
2283 PVBOXWDDM_SOURCE pSource = &paSources[VidPnSourceId]; local
2394 VBOXWDDM_SOURCE *pSource = &paSources[pTarget->VidPnSourceId]; local
[all...]
H A DVBoxMPVdma.cpp457 PVBOXWDDM_SOURCE pSource,
463 POINT pos = pSource->VScreenPos;
713 PVBOXWDDM_SOURCE pSource = &pDevExt->aSources[pCF->Alloc.pAlloc->AllocData.SurfDesc.VidPnSourceId]; local
717 VBOXVBVA_OP(ReportDirtyRect, pDevExt, pSource, &UnionRect);
721 VBOXVBVA_OP_WITHLOCK(ReportDirtyRect, pDevExt, pSource, &UnionRect);
1208 VBOXWDDM_SOURCE *pSource = &pDevExt->aSources[srcId]; local
1210 bool fPrimary = vboxWddmAddrVramEqual(&pDstAllocData->Addr, &pSource->AllocData.Addr);
1230 rc = VBoxVrListRectsSubst(&pSource->VrList, pDstRects->UpdateRects.cRects, (const RTRECT*)pDstRects->UpdateRects.aRects, NULL);
1232 pSource->fHas3DVrs = TRUE;
1244 Assert(pSource
454 vboxVdmaProcessVRegCmdLegacy(PVBOXMP_DEVEXT pDevExt, VBOXMP_CRPACKER *pCrPacker, uint32_t u32CrConClientID, PVBOXWDDM_SOURCE pSource, PVBOXWDDM_SWAPCHAIN pSwapchain, const RECT *pSrcRect, const VBOXVDMAPIPE_RECTS *pContextRects) argument
1288 VBOXWDDM_SOURCE *pSource = &pDevExt->aSources[srcId]; local
1369 vboxVdmaBltDirtyRectsUpdate(PVBOXMP_DEVEXT pDevExt, VBOXWDDM_SOURCE *pSource, uint32_t cRects, const RECT *paRects) argument
1415 VBOXWDDM_SOURCE *pSource = &pDevExt->aSources[pDstAlloc->AllocData.SurfDesc.VidPnSourceId]; local
1437 VBOXWDDM_SOURCE *pSource = &pDevExt->aSources[pAlloc->AllocData.SurfDesc.VidPnSourceId]; local
[all...]
H A DVBoxMPWddm.cpp442 bool vboxWddmGhDisplayCheckSetInfoFromSourceNew(PVBOXMP_DEVEXT pDevExt, PVBOXWDDM_SOURCE pSource, bool fReportTargets)
444 if (pSource->u8SyncState == VBOXWDDM_HGSYNC_F_SYNCED_ALL)
446 if (!pSource->fTargetsReported && fReportTargets)
447 pSource->u8SyncState &= ~VBOXWDDM_HGSYNC_F_SYNCED_TOPOLOGY;
452 if (!pSource->AllocData.Addr.SegmentId && pSource->AllocData.SurfDesc.width)
458 pTargetMap = pSource->aTargetMap;
465 NTSTATUS Status = vboxWddmGhDisplaySetInfoNew(pDevExt, &pSource->AllocData, pTargetMap, &pSource->VScreenPos, pSource
[all...]
H A DVBoxMPVidPn.h27 void VBoxVidPnSourceInit(PVBOXWDDM_SOURCE pSource, const D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId, uint8_t u8SyncState);
39 PVBOXWDDM_SOURCE pSource; member in struct:VBOXWDDM_TARGET_ITER
47 void VBoxVidPnStTIterInit(PVBOXWDDM_SOURCE pSource, PVBOXWDDM_TARGET paTargets, uint32_t cTargets, VBOXWDDM_TARGET_ITER *pIter);
H A DVBoxMPMisc.cpp891 PVBOXWDDM_SOURCE pSource = &pDevExt->aSources[VidPnSourceId];
893 if (!memcmp(&pSource->VScreenPos, &Pos, sizeof (Pos)))
896 pSource->VScreenPos = Pos;
897 pSource->u8SyncState &= ~VBOXWDDM_HGSYNC_F_SYNCED_DIMENSIONS;
899 vboxWddmGhDisplayCheckSetInfoFromSource(pDevExt, pSource);
2103 PVBOXWDDM_SOURCE pSource = &paSources[ModifiedVidPnSourceId];
2110 if (vboxWddmAddrSetVram(&pSource->AllocData.Addr, 1, offVram))
2111 pSource->u8SyncState &= ~VBOXWDDM_HGSYNC_F_SYNCED_LOCATION;
/vbox/src/VBox/Main/src-server/darwin/
H A DHostPowerDarwin.cpp169 CFDictionaryRef pSource = NULL; local
179 pSource = IOPSGetPowerSourceDescription(pBlob, CFArrayGetValueAtIndex(pSources, i));
181 if (!pSource)
185 if (CFDictionaryGetValue(pSource, CFSTR(kIOPSIsPresentKey)) == kCFBooleanFalse)
188 result = CFDictionaryGetValueIfPresent(pSource, CFSTR(kIOPSTransportTypeKey), &psValue);
193 result = CFDictionaryGetValueIfPresent(pSource, CFSTR(kIOPSPowerSourceStateKey), &psValue);
206 result = CFDictionaryGetValueIfPresent(pSource, CFSTR(kIOPSCurrentCapacityKey), &psValue);
210 result = CFDictionaryGetValueIfPresent(pSource, CFSTR(kIOPSMaxCapacityKey), &psValue);
219 result = CFDictionaryGetValueIfPresent(pSource, CFSTR(kIOPSDeadWarnLevelKey), &psValue);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/
H A Dw16thred.c75 static char * pSource; /* ptr to sourc of a "shadow-stack" copy */ variable
267 ** variables pSource and pTarget are the calculated source and
340 pSource = (char *) &t;
346 *(pTarget + bytesMoved ) = *(pSource + bytesMoved );
359 pSource = t->stack->md.stackTop - cxByteCount;
367 mov si, WORD PTR [pSource]
371 mov ax, WORD PTR [pSource + 2]
/vbox/src/VBox/Frontends/VirtualBox/src/runtime/
H A DUIDnDEnumFormat_win.cpp158 void UIDnDEnumFormatEtc::CopyFormat(FORMATETC *pDest, FORMATETC *pSource) argument
161 AssertPtrReturnVoid(pSource);
163 *pDest = *pSource;
165 if (pSource->ptd)
168 *(pDest->ptd) = *(pSource->ptd);
/vbox/src/VBox/Additions/WINNT/VBoxTray/
H A DVBoxDnDEnumFormat.cpp160 void VBoxDnDEnumFormatEtc::CopyFormat(FORMATETC *pDest, FORMATETC *pSource) argument
163 AssertPtrReturnVoid(pSource);
165 *pDest = *pSource;
167 if (pSource->ptd)
170 *(pDest->ptd) = *(pSource->ptd);
/vbox/src/VBox/VMM/VMMR3/
H A DPATMSSM.cpp440 SSMFIELD_ENTRY_RCPTR( RELOCREC, pSource),
990 rc = patmPatchAddReloc32(pVM, &pPatchRec->patch, rec.pRelocPos, rec.uType, rec.pSource, rec.pDest);
1113 || (pRec->pSource == pRec->pDest && PATM_IS_ASMFIX(pRec->pSource)) );
1115 /* bird: What is this for exactly? Only the MMIO fixups used to have pSource set. */
1116 if ( pRec->pSource
1117 && !PATMIsPatchGCAddr(pVM, (RTRCUINTPTR)pRec->pSource)
1268 pRec->pSource = pRec->pDest = PATM_ASMFIX_VM_FORCEDACTIONS;
1281 pRec->pSource = pRec->pDest = PATM_ASMFIX_CPUID_DEF_PTR;
1286 pRec->pSource
1513 RTRCPTR pSource = (RTRCPTR)((RTRCINTPTR)pRec->pSource + delta); local
[all...]
H A DPATMPatch.h20 int patmPatchAddReloc32(PVM pVM, PPATCHINFO pPatch, uint8_t *pRelocHC, uint32_t uType, RTRCPTR pSource = 0, RTRCPTR pDest = 0);
H A DPATMPatch.cpp102 RTRCPTR pSource /*= 0*/, RTRCPTR pDest /*= 0*/)
110 && pSource == pDest
111 && PATM_IS_ASMFIX(pSource))
112 || ((uType == FIXUP_REL_JMPTOPATCH || uType == FIXUP_REL_JMPTOGUEST) && pSource && pDest));
114 LogFlow(("patmPatchAddReloc32 type=%d pRelocGC=%RRv source=%RRv dest=%RRv\n", uType, pRelocHC - pVM->patm.s.pPatchMemGC + pVM->patm.s.pPatchMemGC , pSource, pDest));
120 pRec->pSource = pSource;
H A DPATM.cpp786 Assert(pRec->pDest == pRec->pSource); Assert(PATM_IS_ASMFIX(pRec->pSource));
787 Log(("Absolute patch template fixup type %#x at %RHv -> %RHv at %RRv\n", pRec->pSource, *(RTRCUINTPTR *)pRec->pRelocPos, *(RTRCINTPTR*)pRec->pRelocPos + delta, pRec->pRelocPos));
792 Log(("Absolute fixup at %RRv %RHv -> %RHv at %RRv\n", pRec->pSource, *(RTRCUINTPTR *)pRec->pRelocPos, *(RTRCINTPTR*)pRec->pRelocPos + delta, pRec->pRelocPos));
793 if ( !pRec->pSource
794 || PATMIsPatchGCAddr(pVM, pRec->pSource))
802 Assert(pRec->pSource && pPatch->patch.cbPrivInstr <= 15);
837 rc = PGMPhysSimpleDirtyWriteGCPtr(VMMGetCpu0(pVM), pRec->pSource, curInstr, pPatch->patch.cbPrivInstr);
853 RTRCINTPTR displ = (RTRCINTPTR)pTarget - (RTRCINTPTR)pRec->pSource;
854 RTRCINTPTR displOld= (RTRCINTPTR)pRec->pDest - (RTRCINTPTR)pRec->pSource;
930 RTRCPTR pSource = (RTRCPTR)((RTRCINTPTR)pRec->pSource + delta); local
[all...]
/vbox/src/VBox/Devices/PC/
H A DDrvACPI.cpp168 CFDictionaryRef pSource = NULL;
176 pSource = IOPSGetPowerSourceDescription(pBlob, CFArrayGetValueAtIndex(pSources, i));
178 if(!pSource)
182 if (CFDictionaryGetValue(pSource, CFSTR(kIOPSIsPresentKey)) == kCFBooleanFalse)
185 fResult = CFDictionaryGetValueIfPresent(pSource, CFSTR(kIOPSTransportTypeKey), &psValue);
190 fResult = CFDictionaryGetValueIfPresent(pSource, CFSTR(kIOPSPowerSourceStateKey), &psValue);
283 CFDictionaryRef pSource = NULL; local
291 pSource = IOPSGetPowerSourceDescription(pBlob, CFArrayGetValueAtIndex(pSources, i));
293 if(!pSource)
297 if (CFDictionaryGetValue(pSource, CFST
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/common/
H A DVBoxMPVidModes.cpp504 VBOXWDDM_SOURCE *pSource = &pExt->aSources[iDisplay];
505 return !pSource->AllocData.SurfDesc.width || !pSource->AllocData.SurfDesc.height;
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Ddpnathlp.h157 PSOCKADDR pSource,
H A Daxextend.idl640 [in] IUnknown *pSource,
710 [in] IUnknown *pSource,
734 [in] IUnknown *pSource,
H A Dvfw.h1188 STDMETHOD(Paste)(IAVIEditStream*iface,LONG*plStart,LONG*plLength,PAVISTREAM pSource,LONG lStart,LONG lEnd) PURE;
1207 HRESULT WINAPI CreateEditableStream(PAVISTREAM *ppEditable,PAVISTREAM pSource);
1214 PAVISTREAM pSource, LONG lStart, LONG lEnd);
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/
H A Ddpnathlp.h155 const PSOCKADDR pSource,
H A Daxextend.idl639 [in] IUnknown *pSource,
709 [in] IUnknown *pSource,
733 [in] IUnknown *pSource,
H A Dvfw.h1188 STDMETHOD(Paste)(IAVIEditStream*iface,LONG*plStart,LONG*plLength,PAVISTREAM pSource,LONG lStart,LONG lEnd) PURE;
1207 HRESULT WINAPI CreateEditableStream(PAVISTREAM *ppEditable,PAVISTREAM pSource);
1214 PAVISTREAM pSource, LONG lStart, LONG lEnd);
/vbox/src/VBox/Main/src-server/
H A DSnapshotImpl.cpp2680 ComObjPtr<Medium> pSource; local
2719 pVMMALockList, pSource, pTarget,
2751 ComAssertThrow(pReplaceHD == pSource, E_FAIL);
2757 const Guid *pReplaceMachineId = pSource->i_getFirstMachineBackrefId();
2763 const Guid *pSnapshotId = pSource->i_getFirstMachineBackrefSnapshotId();
2773 rc2 = pSource->i_removeBackReference(replaceMachineId, replaceSnapshotId);
2776 toDelete.push_back(MediumDeleteRec(pHD, pSource, pTarget,
2788 toDelete.push_back(MediumDeleteRec(pHD, pSource, pTarget,
/vbox/src/VBox/VMM/include/
H A DPATMInternal.h175 RTRCPTR pSource; member in struct:__anon16931

Completed in 520 milliseconds

12