Searched refs:fenceEvent (Results 1 – 3 of 3) sorted by relevance
/external/OpenCL-CTS/test_conformance/gl/ |
D | test_fence_sync.cpp | 232 cl_int rowIdx, cl_event fenceEvent, size_t numThreads ) in run_cl_kernel() argument 238 int numEvents = ( fenceEvent != NULL ) ? 1 : 0; in run_cl_kernel() 239 cl_event *fence_evt = ( fenceEvent != NULL ) ? &fenceEvent : NULL; in run_cl_kernel() 280 void SetRunData( cl_int rowIdx, cl_event fenceEvent ) in SetRunData() argument 283 mFenceEvent = fenceEvent; in SetRunData() 487 clEventWrapper fenceEvent; in test_fence_sync_single() local 510 if (fenceEvent != NULL) in test_fence_sync_single() 512 clReleaseEvent(fenceEvent); in test_fence_sync_single() 517 fenceEvent = clCreateEventFromGLsyncKHR_ptr(context, glFence, &error); in test_fence_sync_single() 525 thread.SetRunData( (cl_int)i, fenceEvent ); in test_fence_sync_single() [all …]
|
/external/OpenCL-CTS/test_conformance/gles/ |
D | test_fence_sync.cpp | 243 cl_int rowIdx, cl_event fenceEvent, size_t numThreads ) in run_cl_kernel() argument 249 int numEvents = ( fenceEvent != NULL ) ? 1 : 0; in run_cl_kernel() 250 cl_event *fence_evt = ( fenceEvent != NULL ) ? &fenceEvent : NULL; in run_cl_kernel() 291 void SetRunData( cl_int rowIdx, cl_event fenceEvent ) in SetRunData() argument 294 mFenceEvent = fenceEvent; in SetRunData() 457 clEventWrapper fenceEvent; in test_fence_sync_single() local 480 thread.SetRunData( (cl_int)i, fenceEvent ); in test_fence_sync_single() 487 …error = run_cl_kernel( kernel, queue, streams[ 0 ], streams[ 1 ], (cl_int)i, fenceEvent, (size_t)n… in test_fence_sync_single() 510 if( fenceEvent != NULL ) in test_fence_sync_single() 512 clReleaseEvent( fenceEvent ); in test_fence_sync_single() [all …]
|
/external/skia/src/gpu/d3d/ |
D | GrD3DGpu.cpp | 211 HANDLE fenceEvent; in waitForQueueCompletion() local 212 fenceEvent = CreateEvent(nullptr, FALSE, FALSE, nullptr); in waitForQueueCompletion() 213 SkASSERT(fenceEvent); in waitForQueueCompletion() 214 GR_D3D_CALL_ERRCHECK(fFence->SetEventOnCompletion(fCurrentFenceValue, fenceEvent)); in waitForQueueCompletion() 215 WaitForSingleObject(fenceEvent, INFINITE); in waitForQueueCompletion() 216 CloseHandle(fenceEvent); in waitForQueueCompletion()
|