Home
last modified time | relevance | path

Searched refs:aDevice (Results 1 – 25 of 534) sorted by relevance

12345678910>>...22

/dports/lang/spidermonkey78/firefox-78.9.0/gfx/layers/mlgpu/
H A DMLGPUScreenshotGrabber.cpp87 mImpl->GrabScreenshot(aDevice, aTexture); in MaybeGrabScreenshot()
133 aDevice->SetScissorRect(Nothing()); in ScaleDownWindowTargetToSize()
135 aDevice->SetTopology(MLGPrimitiveTopology::UnitQuad); in ScaleDownWindowTargetToSize()
139 aDevice->SetBlendState(MLGBlendState::Copy); in ScaleDownWindowTargetToSize()
140 aDevice->SetSamplerMode(0, SamplerMode::LinearClamp); in ScaleDownWindowTargetToSize()
192 RefPtr<MLGBuffer> vertices = aDevice->CreateBuffer( in BlitTexture()
223 aDevice->SetRenderTarget(rt); in BlitTexture()
224 aDevice->SetPSTexture(0, aSource); in BlitTexture()
229 aDevice->DrawInstanced(4, 1, 0, 0); in BlitTexture()
278 aTexture->GetSize(), aDevice, in GrabScreenshot()
[all …]
H A DSharedBufferMLGPU.cpp14 SharedBufferMLGPU::SharedBufferMLGPU(MLGDevice* aDevice, MLGBufferType aType, in SharedBufferMLGPU() argument
16 : mDevice(aDevice), in SharedBufferMLGPU()
184 SharedVertexBuffer::SharedVertexBuffer(MLGDevice* aDevice, size_t aDefaultSize) in SharedVertexBuffer() argument
185 : SharedBufferMLGPU(aDevice, MLGBufferType::Vertex, aDefaultSize) {} in SharedVertexBuffer()
211 void AutoBufferUploadBase::Init(void* aPtr, MLGDevice* aDevice, in Init() argument
215 mDevice = aDevice; in Init()
219 SharedConstantBuffer::SharedConstantBuffer(MLGDevice* aDevice, in SharedConstantBuffer() argument
221 : SharedBufferMLGPU(aDevice, MLGBufferType::Constant, aDefaultSize) { in SharedConstantBuffer()
222 mMaxConstantBufferBindSize = aDevice->GetMaxConstantBufferBindSize(); in SharedConstantBuffer()
223 mCanUseOffsetAllocation = aDevice->CanUseConstantBufferOffsetBinding(); in SharedConstantBuffer()
/dports/www/firefox-legacy/firefox-52.8.0esr/hal/gonk/
H A DGonkSwitch.cpp60 mDevice(aDevice) in SwitchHandler()
253 void EnableSwitch(SwitchDevice aDevice) in EnableSwitch() argument
255 mEventInfo[aDevice].mEnabled = true; in EnableSwitch()
259 void DisableSwitch(SwitchDevice aDevice) in DisableSwitch() argument
261 mEventInfo[aDevice].mEnabled = false; in DisableSwitch()
288 EventInfo& info = mEventInfo[aDevice]; in Notify()
305 void NotifyAnEvent(SwitchDevice aDevice) in NotifyAnEvent() argument
307 EventInfo& info = mEventInfo[aDevice]; in NotifyAnEvent()
411 sSwitchObserver->EnableSwitch(aDevice); in EnableSwitchNotificationsIOThread()
439 sSwitchObserver->DisableSwitch(aDevice); in DisableSwitchNotificationsIOThread()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/dom/presentation/
H A DPresentationDeviceManager.cpp192 NS_ENSURE_ARG(aDevice); in AddDevice()
199 mDevices.AppendElement(aDevice); in AddDevice()
201 NotifyDeviceChange(aDevice, u"add"); in AddDevice()
208 NS_ENSURE_ARG(aDevice); in RemoveDevice()
211 int32_t index = mDevices.IndexOf(aDevice); in RemoveDevice()
218 NotifyDeviceChange(aDevice, u"remove"); in RemoveDevice()
225 NS_ENSURE_ARG(aDevice); in UpdateDevice()
232 NotifyDeviceChange(aDevice, u"update"); in UpdateDevice()
242 NS_ENSURE_ARG(aDevice); in OnSessionRequest()
259 NS_ENSURE_ARG(aDevice); in OnTerminateRequest()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/dom/presentation/
H A DPresentationDeviceManager.cpp191 NS_ENSURE_ARG(aDevice); in AddDevice()
198 mDevices.AppendElement(aDevice); in AddDevice()
200 NotifyDeviceChange(aDevice, u"add"); in AddDevice()
207 NS_ENSURE_ARG(aDevice); in RemoveDevice()
210 int32_t index = mDevices.IndexOf(aDevice); in RemoveDevice()
217 NotifyDeviceChange(aDevice, u"remove"); in RemoveDevice()
224 NS_ENSURE_ARG(aDevice); in UpdateDevice()
231 NotifyDeviceChange(aDevice, u"update"); in UpdateDevice()
241 NS_ENSURE_ARG(aDevice); in OnSessionRequest()
258 NS_ENSURE_ARG(aDevice); in OnTerminateRequest()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/presentation/
H A DPresentationDeviceManager.cpp90 obs->NotifyObservers(aDevice, in NotifyDeviceChange()
209 NS_ENSURE_ARG(aDevice); in AddDevice()
216 mDevices.AppendElement(aDevice); in AddDevice()
218 NotifyDeviceChange(aDevice, u"add"); in AddDevice()
226 NS_ENSURE_ARG(aDevice); in RemoveDevice()
236 NotifyDeviceChange(aDevice, u"remove"); in RemoveDevice()
244 NS_ENSURE_ARG(aDevice); in UpdateDevice()
251 NotifyDeviceChange(aDevice, u"update"); in UpdateDevice()
262 NS_ENSURE_ARG(aDevice); in OnSessionRequest()
283 NS_ENSURE_ARG(aDevice); in OnTerminateRequest()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/system/gonk/
H A DAudioManager.h83 uint32_t GetVolumeIndex(uint32_t aDevice);
89 nsresult SetVolumeIndexToAliasStreams(uint32_t aIndex, uint32_t aDevice);
90 nsresult SetVolumeIndexToConsistentDeviceIfNeeded(uint32_t aIndex, uint32_t aDevice);
91 nsresult SetVolumeIndex(uint32_t aIndex, uint32_t aDevice, bool aUpdateCache = true);
132 uint32_t aDevice);
152 uint32_t aDevice);
162 void AudioOutDeviceUpdated(uint32_t aDevice);
165 …void UpdateDeviceConnectionState(bool aIsConnected, uint32_t aDevice, const nsCString& aDeviceName…
H A DAudioManager.cpp375 AudioManager::AudioOutDeviceUpdated(uint32_t aDevice) in NS_IMPL_ISUPPORTS()
377 MOZ_ASSERT(audio_is_output_device(aDevice)); in NS_IMPL_ISUPPORTS()
378 mAudioOutDevicesUpdated |= aDevice; in NS_IMPL_ISUPPORTS()
419 mConnectedDevices.Remove(aDevice); in UpdateDeviceConnectionState()
424 mConnectedDevices.Put(aDevice, aDeviceName); in UpdateDeviceConnectionState()
1284 bool ret = mVolumeIndexes.Get(aDevice, &index); in SetPhoneState()
1350 if (aDevice == AUDIO_DEVICE_OUT_SPEAKER || aDevice == AUDIO_DEVICE_OUT_EARPIECE) { in SetPhoneState()
1362 rv = SetVolumeIndex(aIndex, aDevice); in SetPhoneState()
1375 mVolumeIndexes.Put(aDevice, aIndex); in SetPhoneState()
1377 mManager.AudioOutDeviceUpdated(aDevice); in SetPhoneState()
[all …]
/dports/graphics/jogamp-jogl/jogl/src/newt/classes/jogamp/newt/driver/x11/
H A DDisplayDriver.java87aDevice = new X11GraphicsDevice(handle, AbstractGraphicsDevice.DEFAULT_UNIT, true /* owner */); in createNativeImpl()
89 CompleteDisplay0(aDevice.getHandle()); in createNativeImpl()
91 closeNativeImpl(aDevice); in createNativeImpl()
97 protected void closeNativeImpl(final AbstractGraphicsDevice aDevice) { in closeNativeImpl() argument
98 …DisplayRelease0(aDevice.getHandle(), javaObjectAtom, windowDeleteAtom /*, kbdHandle */); // XKB di… in closeNativeImpl()
102 aDevice.close(); // closes X11 display in closeNativeImpl()
107 final AbstractGraphicsDevice _aDevice = aDevice; // aDevice could be pulled by destroy event in dispatchMessagesNative()
127 …Enabled() { return isNativeValid() ? Boolean.valueOf(((X11GraphicsDevice)aDevice).isXineramaEnable… in isXineramaEnabled()
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/layers/mlgpu/
H A DSharedBufferMLGPU.cpp16 SharedBufferMLGPU::SharedBufferMLGPU(MLGDevice* aDevice, MLGBufferType aType, in SharedBufferMLGPU() argument
18 : mDevice(aDevice), in SharedBufferMLGPU()
184 SharedVertexBuffer::SharedVertexBuffer(MLGDevice* aDevice, size_t aDefaultSize) in SharedVertexBuffer() argument
185 : SharedBufferMLGPU(aDevice, MLGBufferType::Vertex, aDefaultSize) {} in SharedVertexBuffer()
211 void AutoBufferUploadBase::Init(void* aPtr, MLGDevice* aDevice, in Init() argument
215 mDevice = aDevice; in Init()
219 SharedConstantBuffer::SharedConstantBuffer(MLGDevice* aDevice, in SharedConstantBuffer() argument
221 : SharedBufferMLGPU(aDevice, MLGBufferType::Constant, aDefaultSize) { in SharedConstantBuffer()
222 mMaxConstantBufferBindSize = aDevice->GetMaxConstantBufferBindSize(); in SharedConstantBuffer()
223 mCanUseOffsetAllocation = aDevice->CanUseConstantBufferOffsetBinding(); in SharedConstantBuffer()
/dports/www/firefox-legacy/firefox-52.8.0esr/hal/
H A DHal.cpp764 EnableSwitchNotifications(SwitchDevice aDevice) { in EnableSwitchNotifications() argument
766 PROXY_IF_SANDBOXED(EnableSwitchNotifications(aDevice)); in EnableSwitchNotifications()
770 DisableSwitchNotifications(SwitchDevice aDevice) { in DisableSwitchNotifications() argument
772 PROXY_IF_SANDBOXED(DisableSwitchNotifications(aDevice)); in DisableSwitchNotifications()
775 SwitchState GetCurrentSwitchState(SwitchDevice aDevice) in GetCurrentSwitchState() argument
792 GetSwitchObserverList(SwitchDevice aDevice) { in GetSwitchObserverList() argument
793 MOZ_ASSERT(0 <= aDevice && aDevice < NUM_SWITCH_DEVICE); in GetSwitchObserverList()
797 return sSwitchObserverLists[aDevice]; in GetSwitchObserverList()
816 SwitchObserverList& observer = GetSwitchObserverList(aDevice); in RegisterSwitchObserver()
819 EnableSwitchNotifications(aDevice); in RegisterSwitchObserver()
[all …]
/dports/graphics/jogamp-jogl/jogl/src/newt/classes/jogamp/newt/driver/bcm/egl/
H A DDisplayDriver.java69aDevice = new EGLGraphicsDevice(EGL.EGL_DEFAULT_DISPLAY, handle, AbstractGraphicsDevice.DEFAULT_CO… in createNativeImpl()
73 protected void closeNativeImpl(final AbstractGraphicsDevice aDevice) { in closeNativeImpl() argument
74 if (aDevice.getHandle() != EGL.EGL_NO_DISPLAY) { in closeNativeImpl()
75 DestroyDisplay(aDevice.getHandle()); in closeNativeImpl()
77 aDevice.close(); in closeNativeImpl()
/dports/www/domoticz/domoticz-2020.2/main/
H A DEventsPythonModule.cpp267 … if (Plugins::PyDict_SetItem((PyObject*)m_DeviceDict, pKey, (PyObject*)aDevice) == -1) in PythonEventsProcessPython()
278 aDevice->id = static_cast<int>(sitem.ID); in PythonEventsProcessPython()
279 aDevice->name = Plugins::PyUnicode_FromString(sitem.deviceName.c_str()); in PythonEventsProcessPython()
280 aDevice->type = sitem.devType; in PythonEventsProcessPython()
281 aDevice->sub_type = sitem.subType; in PythonEventsProcessPython()
282 aDevice->switch_type = sitem.switchtype; in PythonEventsProcessPython()
283 aDevice->n_value = sitem.nValue; in PythonEventsProcessPython()
284aDevice->n_value_string = Plugins::PyUnicode_FromString(temp_n_value_string.c_str()); in PythonEventsProcessPython()
285 aDevice->s_value = Plugins::PyUnicode_FromString(sitem.sValue.c_str()); in PythonEventsProcessPython()
286aDevice->last_update_string = Plugins::PyUnicode_FromString(sitem.lastUpdate.c_str()); in PythonEventsProcessPython()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/hal/fallback/
H A DFallbackSwitch.cpp14 EnableSwitchNotifications(SwitchDevice aDevice) in EnableSwitchNotifications() argument
19 DisableSwitchNotifications(SwitchDevice aDevice) in DisableSwitchNotifications() argument
24 GetCurrentSwitchState(SwitchDevice aDevice) { in GetCurrentSwitchState() argument
29 NotifySwitchStateFromInputDevice(SwitchDevice aDevice, SwitchState aState) in NotifySwitchStateFromInputDevice() argument
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/layers/
H A DSyncObject.cpp18 ID3D11Device* aDevice in CreateSyncObjectHost() argument
22 return MakeAndAddRef<SyncObjectD3D11Host>(aDevice); in CreateSyncObjectHost()
32 ID3D11Device* aDevice in CreateSyncObjectClient() argument
40 return MakeAndAddRef<SyncObjectD3D11Client>(aHandle, aDevice); in CreateSyncObjectClient()
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/layers/
H A DSyncObject.cpp18 ID3D11Device* aDevice in CreateSyncObjectHost() argument
22 return MakeAndAddRef<SyncObjectD3D11Host>(aDevice); in CreateSyncObjectHost()
32 ID3D11Device* aDevice in CreateSyncObjectClient() argument
40 return MakeAndAddRef<SyncObjectD3D11Client>(aHandle, aDevice); in CreateSyncObjectClient()
/dports/www/firefox-esr/firefox-91.8.0/gfx/layers/
H A DSyncObject.cpp21 ID3D11Device* aDevice) { in CreateSyncObjectHost() argument
22 return MakeAndAddRef<SyncObjectD3D11Host>(aDevice); in CreateSyncObjectHost()
27 SyncHandle aHandle, ID3D11Device* aDevice) { in CreateSyncObjectClient() argument
32 return MakeAndAddRef<SyncObjectD3D11Client>(aHandle, aDevice); in CreateSyncObjectClient()
/dports/www/firefox/firefox-99.0/gfx/layers/
H A DSyncObject.cpp21 ID3D11Device* aDevice) { in CreateSyncObjectHost() argument
22 return MakeAndAddRef<SyncObjectD3D11Host>(aDevice); in CreateSyncObjectHost()
27 SyncHandle aHandle, ID3D11Device* aDevice) { in CreateSyncObjectClient() argument
32 return MakeAndAddRef<SyncObjectD3D11Client>(aHandle, aDevice); in CreateSyncObjectClient()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/layers/
H A DSyncObject.cpp21 ID3D11Device* aDevice) { in CreateSyncObjectHost() argument
22 return MakeAndAddRef<SyncObjectD3D11Host>(aDevice); in CreateSyncObjectHost()
27 SyncHandle aHandle, ID3D11Device* aDevice) { in CreateSyncObjectClient() argument
32 return MakeAndAddRef<SyncObjectD3D11Client>(aHandle, aDevice); in CreateSyncObjectClient()
/dports/graphics/jogamp-jogl/jogl/src/nativewindow/classes/com/jogamp/nativewindow/egl/
H A DEGLGraphicsDevice.java83 …public EGLGraphicsDevice(final AbstractGraphicsDevice aDevice, final long eglDisplay, final EGLDis… in EGLGraphicsDevice() argument
84 … super(NativeWindowFactory.TYPE_EGL, aDevice.getConnection(), aDevice.getUnitID(), eglDisplay); in EGLGraphicsDevice()
86 if( aDevice instanceof EGLGraphicsDevice ) { in EGLGraphicsDevice()
87 nativeDisplayID = ((EGLGraphicsDevice)aDevice).getNativeDisplayID(); in EGLGraphicsDevice()
89 nativeDisplayID = aDevice.getHandle(); in EGLGraphicsDevice()
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/layers/
H A DIMFYCbCrImage.cpp68 InitTextures(IDirect3DDevice9* aDevice, in InitTextures() argument
75 if (!aDevice) { in InitTextures()
80 if (FAILED(aDevice->CreateTexture(aSize.width, aSize.height, in InitTextures()
90 if (FAILED(aDevice->CreateTexture(aSize.width, aSize.height, in InitTextures()
110 FinishTextures(IDirect3DDevice9* aDevice, in FinishTextures() argument
114 if (!aDevice) { in FinishTextures()
129 hr = aDevice->UpdateSurface(aSurface, nullptr, dstSurface, nullptr); in FinishTextures()
136 static bool UploadData(IDirect3DDevice9* aDevice, in UploadData() argument
145 aTexture = InitTextures(aDevice, aSrcSize, D3DFMT_A8, surf, aHandle, rect); in UploadData()
160 return FinishTextures(aDevice, aTexture, surf); in UploadData()
/dports/graphics/jogamp-jogl/jogl/src/newt/classes/jogamp/newt/driver/android/
H A DDisplayDriver.java57aDevice = EGLDisplayUtil.eglCreateEGLGraphicsDevice(EGL.EGL_DEFAULT_DISPLAY, AbstractGraphicsDevic… in createNativeImpl()
58 aDevice.open(); in createNativeImpl()
61 protected void closeNativeImpl(final AbstractGraphicsDevice aDevice) { in closeNativeImpl() argument
62 aDevice.close(); in closeNativeImpl()
/dports/www/firefox-legacy/firefox-52.8.0esr/hal/sandbox/
H A DSandboxHal.cpp304 EnableSwitchNotifications(SwitchDevice aDevice) in EnableSwitchNotifications() argument
306 Hal()->SendEnableSwitchNotifications(aDevice); in EnableSwitchNotifications()
310 DisableSwitchNotifications(SwitchDevice aDevice) in DisableSwitchNotifications() argument
312 Hal()->SendDisableSwitchNotifications(aDevice); in DisableSwitchNotifications()
316 GetCurrentSwitchState(SwitchDevice aDevice) in GetCurrentSwitchState() argument
319 Hal()->SendGetCurrentSwitchState(aDevice, &state); in GetCurrentSwitchState()
326 Unused << aDevice; in NotifySwitchStateFromInputDevice()
775 RecvEnableSwitchNotifications(const SwitchDevice& aDevice) override in RecvEnableSwitchNotifications() argument
778 hal::RegisterSwitchObserver(aDevice, this); in RecvEnableSwitchNotifications()
785 hal::UnregisterSwitchObserver(aDevice, this); in RecvDisableSwitchNotifications()
[all …]
/dports/graphics/jogamp-jogl/jogl/src/newt/classes/jogamp/newt/driver/kd/
H A DDisplayDriver.java66aDevice = EGLDisplayUtil.eglCreateEGLGraphicsDevice(EGL.EGL_DEFAULT_DISPLAY, AbstractGraphicsDevic… in createNativeImpl()
67 aDevice.open(); in createNativeImpl()
71 protected void closeNativeImpl(final AbstractGraphicsDevice aDevice) { in closeNativeImpl() argument
72 aDevice.close(); in closeNativeImpl()
/dports/graphics/jogamp-jogl/jogl/src/newt/classes/jogamp/newt/driver/awt/
H A DDisplayDriver.java51 aDevice = AWTGraphicsDevice.createDefault(); in createNativeImpl()
55 aDevice = d; in setAWTGraphicsDevice()
73 protected void closeNativeImpl(final AbstractGraphicsDevice aDevice) { in closeNativeImpl() argument
74 aDevice.close(); in closeNativeImpl()

12345678910>>...22