Home
last modified time | relevance | path

Searched refs:pDevice (Results 1 – 25 of 115) sorted by relevance

12345

/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DDraw.cpp63 ResolveState(Device *pDevice) in ResolveState() argument
65 if (pDevice->bound_empty_gs && pDevice->bound_vs && in ResolveState()
66 pDevice->bound_vs->state.tokens) { in ResolveState()
67 Shader *gs = pDevice->bound_empty_gs; in ResolveState()
68 Shader *vs = pDevice->bound_vs; in ResolveState()
70 struct pipe_context *pipe = pDevice->pipe; in ResolveState()
132 Device *pDevice = CastDevice(hDevice); in Draw() local
134 ResolveState(pDevice); in Draw()
136 assert(pDevice->primitive < PIPE_PRIM_MAX); in Draw()
137 util_draw_arrays(pDevice->pipe, in Draw()
[all …]
DDevice.cpp129 Device *pDevice = CastDevice(pCreateData->hDrvDevice); in CreateDevice() local
130 memset(pDevice, 0, sizeof *pDevice); in CreateDevice()
134 pDevice->pipe = pipe; in CreateDevice()
136 pDevice->empty_vs = CreateEmptyShader(pDevice, PIPE_SHADER_VERTEX); in CreateDevice()
137 pDevice->empty_fs = CreateEmptyShader(pDevice, PIPE_SHADER_FRAGMENT); in CreateDevice()
139 pipe->bind_vs_state(pipe, pDevice->empty_vs); in CreateDevice()
140 pipe->bind_fs_state(pipe, pDevice->empty_fs); in CreateDevice()
142 pDevice->max_dual_source_render_targets = in CreateDevice()
145 pDevice->hRTCoreLayer = pCreateData->hRTCoreLayer; in CreateDevice()
146 pDevice->hDevice = (HANDLE)pCreateData->hRTDevice.handle; in CreateDevice()
[all …]
DInputAssembly.cpp63 Device *pDevice = CastDevice(hDevice); in IaSetTopology() local
104 pDevice->primitive = primitive; in IaSetTopology()
131 Device *pDevice = CastDevice(hDevice); in IaSetVertexBuffers() local
132 struct pipe_context *pipe = pDevice->pipe; in IaSetVertexBuffers()
136 struct pipe_vertex_buffer *vb = &pDevice->vertex_buffers[StartBuffer + i]; in IaSetVertexBuffers()
142 if (so_target && pDevice->draw_so_target != so_target) { in IaSetVertexBuffers()
143 if (pDevice->draw_so_target) { in IaSetVertexBuffers()
144 pipe_so_target_reference(&pDevice->draw_so_target, NULL); in IaSetVertexBuffers()
146 pipe_so_target_reference(&pDevice->draw_so_target, in IaSetVertexBuffers()
171 struct pipe_vertex_buffer *vb = &pDevice->vertex_buffers[i]; in IaSetVertexBuffers()
[all …]
DQuery.cpp108 Device *pDevice = CastDevice(hDevice); in CreateQuery() local
109 struct pipe_context *pipe = pDevice->pipe; in CreateQuery()
167 Device *pDevice = CastDevice(hDevice); in QueryBegin() local
168 struct pipe_context *pipe = pDevice->pipe; in QueryBegin()
198 Device *pDevice = CastDevice(hDevice); in QueryEnd() local
199 struct pipe_context *pipe = pDevice->pipe; in QueryEnd()
203 pQuery->SeqNo = ++pDevice->LastEmittedQuerySeqNo; in QueryEnd()
231 Device *pDevice = CastDevice(hDevice); in QueryGetData() local
232 struct pipe_context *pipe = pDevice->pipe; in QueryGetData()
241 (pQuery->SeqNo - pDevice->LastFinishedQuerySeqNo) > 0 && in QueryGetData()
[all …]
DOutputMerger.cpp476 translateBlend(Device *pDevice, in translateBlend() argument
479 if (!pDevice->max_dual_source_render_targets) { in translateBlend()
556 Device *pDevice = CastDevice(hDevice); in CreateBlendState() local
557 struct pipe_context *pipe = pDevice->pipe; in CreateBlendState()
579 state.rt[0].rgb_src_factor = translateBlend(pDevice, pBlendDesc->SrcBlend); in CreateBlendState()
580 state.rt[0].rgb_dst_factor = translateBlend(pDevice, pBlendDesc->DestBlend); in CreateBlendState()
589 state.rt[0].alpha_src_factor = translateBlend(pDevice, pBlendDesc->SrcBlendAlpha); in CreateBlendState()
590 state.rt[0].alpha_dst_factor = translateBlend(pDevice, pBlendDesc->DestBlendAlpha); in CreateBlendState()
631 Device *pDevice = CastDevice(hDevice); in CreateBlendState1() local
632 struct pipe_context *pipe = pDevice->pipe; in CreateBlendState1()
[all …]
DShader.cpp59 CreateEmptyShader(Device *pDevice, in CreateEmptyShader() argument
62 struct pipe_context *pipe = pDevice->pipe; in CreateEmptyShader()
121 DeleteEmptyShader(Device *pDevice, in DeleteEmptyShader() argument
124 struct pipe_context *pipe = pDevice->pipe; in DeleteEmptyShader()
165 Device *pDevice = CastDevice(hDevice); in SetConstantBuffers() local
166 struct pipe_context *pipe = pDevice->pipe; in SetConstantBuffers()
200 Device *pDevice = CastDevice(hDevice); in SetSamplers() local
201 struct pipe_context *pipe = pDevice->pipe; in SetSamplers()
203 void **samplers = pDevice->samplers[shader_type]; in SetSamplers()
230 Device *pDevice = CastDevice(hDevice); in SetShaderResources() local
[all …]
DState.h118 Device *pDevice = CastDevice(hDevice); in CastPipeContext() local
119 return pDevice ? pDevice->pipe : NULL; in CastPipeContext()
133 Device *pDevice = CastDevice(hDevice); in CastPipeDevice() local
134 return pDevice ? pDevice->pipe : NULL; in CastPipeDevice()
142 Device *pDevice = CastDevice(hDevice); in SetError() local
143 pDevice->UMCallbacks.pfnSetErrorCb(pDevice->hRTCoreLayer, hr); in SetError()
DResource.cpp659 Device *pDevice = CastDevice(hDevice); in ResourceCopy() local
660 if (!CheckPredicate(pDevice)) { in ResourceCopy()
664 struct pipe_context *pipe = pDevice->pipe; in ResourceCopy()
733 Device *pDevice = CastDevice(hDevice); in ResourceCopyRegion() local
734 if (!CheckPredicate(pDevice)) { in ResourceCopyRegion()
738 struct pipe_context *pipe = pDevice->pipe; in ResourceCopyRegion()
874 Device *pDevice = CastDevice(hDevice); in ResourceUpdateSubResourceUP() local
875 if (!CheckPredicate(pDevice)) { in ResourceUpdateSubResourceUP()
879 struct pipe_context *pipe = pDevice->pipe; in ResourceUpdateSubResourceUP()
DShader.h42 CreateEmptyShader(Device *pDevice,
46 DeleteEmptyShader(Device *pDevice,
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/darwin/
DSDL_sysjoystick.c109 GetHIDElementState(recDevice *pDevice, recElement *pElement) in GetHIDElementState() argument
113 if (pDevice && pElement) { in GetHIDElementState()
115 …if (IOHIDDeviceGetValue(pDevice->deviceRef, pElement->elementRef, &valueRef) == kIOReturnSuccess) { in GetHIDElementState()
132 GetHIDScaledCalibratedState(recDevice * pDevice, recElement * pElement, SInt32 min, SInt32 max) in GetHIDScaledCalibratedState() argument
136 const SInt32 value = GetHIDElementState(pDevice, pElement); in GetHIDScaledCalibratedState()
162 AddHIDElements(CFArrayRef array, recDevice *pDevice) in AddHIDElements() argument
165 CFArrayApplyFunction(array, range, AddHIDElement, pDevice); in AddHIDElements()
183 recDevice *pDevice = (recDevice *) parameter; in AddHIDElement() local
211 if (!ElementAlreadyAdded(cookie, pDevice->firstAxis)) { in AddHIDElement()
214 pDevice->axes++; in AddHIDElement()
[all …]
/third_party/mesa3d/src/gallium/targets/d3d10sw/tests/
Dtri.cpp117 ComPtr<ID3D11Device> pDevice; in main() local
129 &pDevice, in main()
137 hr = pDevice->QueryInterface(IID_IDXGIDevice, (void **)&pDXGIDevice); in main()
169 …hr = pDevice->CreateRenderTargetView(pBackBuffer.Get(), &RenderTargetViewDesc, &pRenderTargetView); in main()
181 hr = pDevice->CreateVertexShader(g_VS, sizeof g_VS, nullptr, &pVertexShader); in main()
197 hr = pDevice->CreateInputLayout(InputElementDescs, in main()
208 hr = pDevice->CreatePixelShader(g_PS, sizeof g_PS, nullptr, &pPixelShader); in main()
236 hr = pDevice->CreateBuffer(&BufferDesc, &BufferData, &pVertexBuffer); in main()
261 hr = pDevice->CreateRasterizerState(&RasterizerDesc, &pRasterizerState); in main()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkDeviceMemory.hpp47 DeviceMemory(const VkMemoryAllocateInfo *pCreateInfo, Device *pDevice);
135 …fo, void *mem, const DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, Device *pDevice) in DeviceMemoryInternal() argument
136 : DeviceMemory(pCreateInfo, pDevice) in DeviceMemoryInternal()
DVkDeviceMemoryExternalHost.cpp38 …void *mem, const DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, vk::Device *pDevice) in ExternalMemoryHost() argument
39 : vk::DeviceMemory(pCreateInfo, pDevice) in ExternalMemoryHost()
DVkDeviceMemoryExternalLinux.hpp35 … *mem, const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, vk::Device *pDevice) in OpaqueFdExternalMemory() argument
36 : vk::DeviceMemory(pCreateInfo, pDevice) in OpaqueFdExternalMemory()
DVkDeviceMemoryExternalFuchsia.hpp71 … *mem, const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, vk::Device *pDevice) in VmoExternalMemory() argument
72 : vk::DeviceMemory(pCreateInfo, pDevice) in VmoExternalMemory()
DVkDeviceMemoryExternalMac.hpp71 … *mem, const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, vk::Device *pDevice) in OpaqueFdExternalMemory() argument
72 : vk::DeviceMemory(pCreateInfo, pDevice) in OpaqueFdExternalMemory()
/third_party/mesa3d/src/gallium/frontends/nine/
Dvertexdeclaration9.h60 NineVertexDeclaration9_new( struct NineDevice9 *pDevice,
65 NineVertexDeclaration9_new_from_fvf( struct NineDevice9 *pDevice,
Dswapchain9.c184 struct NineDevice9 *pDevice = This->base.device; in NineSwapChain9_Resize() local
199 user_assert(pDevice->ex || pParams->BackBufferCount <= in NineSwapChain9_Resize()
201 user_assert(!pDevice->ex || pParams->BackBufferCount <= in NineSwapChain9_Resize()
203 user_assert(pDevice->ex || in NineSwapChain9_Resize()
369 resource = nine_resource_create_with_retry(pDevice, This->screen, &tmplt); in NineSwapChain9_Resize()
384 hr = NineSurface9_new(pDevice, NineUnknown(This), resource, NULL, 0, in NineSwapChain9_Resize()
403 resource = nine_resource_create_with_retry(pDevice, This->screen, &tmplt); in NineSwapChain9_Resize()
427 resource = nine_resource_create_with_retry(pDevice, This->screen, &tmplt); in NineSwapChain9_Resize()
437 hr = NineDevice9_CreateDepthStencilSurface(pDevice, in NineSwapChain9_Resize()
1099 struct NineDevice9 *pDevice = This->base.device; in NineSwapChain9_GetFrontBufferData() local
[all …]
Dindexbuffer9.c129 NineIndexBuffer9_new( struct NineDevice9 *pDevice, in NineIndexBuffer9_new() argument
133 NINE_DEVICE_CHILD_NEW(IndexBuffer9, ppOut, /* args */ pDevice, pDesc); in NineIndexBuffer9_new()
Dswapchain9ex.c105 NineSwapChain9Ex_new( struct NineDevice9 *pDevice, in NineSwapChain9Ex_new() argument
114 NINE_DEVICE_CHILD_NEW(SwapChain9Ex, ppOut, pDevice, /* args */ in NineSwapChain9Ex_new()
Dvertexbuffer9.c121 NineVertexBuffer9_new( struct NineDevice9 *pDevice, in NineVertexBuffer9_new() argument
125 NINE_DEVICE_CHILD_NEW(VertexBuffer9, ppOut, /* args */ pDevice, pDesc); in NineVertexBuffer9_new()
Dpixelshader9.c256 NinePixelShader9_new( struct NineDevice9 *pDevice, in NinePixelShader9_new() argument
261 NINE_DEVICE_CHILD_BIND_NEW(PixelShader9, ppOut, pDevice, pFunction, cso); in NinePixelShader9_new()
263 NINE_DEVICE_CHILD_NEW(PixelShader9, ppOut, pDevice, pFunction, cso); in NinePixelShader9_new()
Dvertexdeclaration9.c269 NineVertexDeclaration9_new( struct NineDevice9 *pDevice, in NineVertexDeclaration9_new() argument
273 NINE_DEVICE_CHILD_NEW(VertexDeclaration9, ppOut, /* args */ pDevice, pElements); in NineVertexDeclaration9_new()
277 NineVertexDeclaration9_new_from_fvf( struct NineDevice9 *pDevice, in NineVertexDeclaration9_new_from_fvf() argument
410 NINE_DEVICE_CHILD_NEW(VertexDeclaration9, ppOut, /* args */ pDevice, elems); in NineVertexDeclaration9_new_from_fvf()
Dvertexshader9.c305 NineVertexShader9_new( struct NineDevice9 *pDevice, in NineVertexShader9_new() argument
310 NINE_DEVICE_CHILD_BIND_NEW(VertexShader9, ppOut, pDevice, pFunction, cso); in NineVertexShader9_new()
312 NINE_DEVICE_CHILD_NEW(VertexShader9, ppOut, pDevice, pFunction, cso); in NineVertexShader9_new()
/third_party/mesa3d/src/intel/nullhw-layer/
Dintel_nullhw.c207 VkDevice* pDevice) in nullhw_CreateDevice() argument
239 VkResult result = fpCreateDevice(physicalDevice, &device_info, pAllocator, pDevice); in nullhw_CreateDevice()
244 struct device_data *device_data = new_device_data(*pDevice, instance_data); in nullhw_CreateDevice()
246 vk_device_dispatch_table_load(&device_data->vtable, fpGetDeviceProcAddr, *pDevice); in nullhw_CreateDevice()

12345