Home
last modified time | relevance | path

Searched refs:EmulatedEglFenceSync (Results 1 – 15 of 15) sorted by relevance

/hardware/google/gfxstream/host/gl/
DEmulatedEglFenceSync.cpp51 void addFence(EmulatedEglFenceSync* fence) { in addFence()
61 mFences.eraseIf([time = mTime.load()](EmulatedEglFenceSync* fence, int fenceTime) { in sweep()
62EmulatedEglFenceSync* actual = EmulatedEglFenceSync::getFromHandle((uint64_t)(uintptr_t)fence); in sweep()
78 StaticMap<EmulatedEglFenceSync*, int> mFences;
89 void EmulatedEglFenceSync::incrementTimelineAndDeleteOldFences() { in incrementTimelineAndDeleteOldFences()
94 std::unique_ptr<EmulatedEglFenceSync> EmulatedEglFenceSync::create( in create()
107 return std::unique_ptr<EmulatedEglFenceSync>( in create()
108 new EmulatedEglFenceSync(display, in create()
114 EmulatedEglFenceSync::EmulatedEglFenceSync(EGLDisplay display, in EmulatedEglFenceSync() function in gfxstream::gl::EmulatedEglFenceSync
134 EmulatedEglFenceSync::~EmulatedEglFenceSync() { in ~EmulatedEglFenceSync()
[all …]
DEmulatedEglFenceSync.h60 class EmulatedEglFenceSync {
67 static std::unique_ptr<EmulatedEglFenceSync> create(
72 ~EmulatedEglFenceSync();
136 static EmulatedEglFenceSync* getFromHandle(uint64_t handle);
143 EmulatedEglFenceSync(EGLDisplay display,
163 DISALLOW_COPY_AND_ASSIGN(EmulatedEglFenceSync);
DAndroid.bp23 "EmulatedEglFenceSync.cpp",
Dmeson.build30 'EmulatedEglFenceSync.cpp',
DCMakeLists.txt23 EmulatedEglFenceSync.cpp
DEmulationGl.h124 std::unique_ptr<EmulatedEglFenceSync> createEmulatedEglFenceSync(
DEmulationGl.cpp672 std::unique_ptr<EmulatedEglFenceSync> EmulationGl::createEmulatedEglFenceSync( in createEmulatedEglFenceSync()
676 return EmulatedEglFenceSync::create(mEglDisplay, in createEmulatedEglFenceSync()
DBUILD.bazel264 "EmulatedEglFenceSync.cpp",
/hardware/google/gfxstream/host/
DSyncThread.h77 void triggerWait(gl::EmulatedEglFenceSync* fenceSync, uint64_t timeline);
81 void triggerBlockedWaitNoTimeline(gl::EmulatedEglFenceSync* fenceSync);
85 void triggerWaitWithCompletionCallback(gl::EmulatedEglFenceSync* fenceSync,
94 void doSyncWait(gl::EmulatedEglFenceSync* fenceSync, std::function<void()> onComplete);
DSyncThread.cpp44 using gl::EmulatedEglFenceSync;
133 void SyncThread::triggerWait(EmulatedEglFenceSync* fenceSync, in triggerWait()
148 void SyncThread::triggerBlockedWaitNoTimeline(EmulatedEglFenceSync* fenceSync) { in triggerBlockedWaitNoTimeline()
160 void SyncThread::triggerWaitWithCompletionCallback(EmulatedEglFenceSync* fenceSync, FenceCompletion… in triggerWaitWithCompletionCallback()
223 void SyncThread::doSyncWait(EmulatedEglFenceSync* fenceSync, std::function<void()> onComplete) { in doSyncWait()
226 if (!EmulatedEglFenceSync::getFromHandle((uint64_t)(uintptr_t)fenceSync)) { in doSyncWait()
282 EmulatedEglFenceSync::incrementTimelineAndDeleteOldFences(); in doSyncWait()
DRenderControl.cpp49 using gl::EmulatedEglFenceSync;
1086 EmulatedEglFenceSync* fenceSync = EmulatedEglFenceSync::getFromHandle(eglsync_ptr); in rcTriggerWait()
1133 auto fenceSync = reinterpret_cast<EmulatedEglFenceSync*>(outSync); in rcCreateSyncKHR()
1156 EmulatedEglFenceSync* fenceSync = EmulatedEglFenceSync::getFromHandle(handle); in rcClientWaitSyncKHR()
1192 EmulatedEglFenceSync* fenceSync = EmulatedEglFenceSync::getFromHandle(handle); in rcWaitSyncKHR()
1214 EmulatedEglFenceSync* fenceSync = EmulatedEglFenceSync::getFromHandle(handle); in rcDestroySyncKHR()
1365 EmulatedEglFenceSync* fenceSync = EmulatedEglFenceSync::getFromHandle(handle); in rcIsSyncSignaled()
1493 EmulatedEglFenceSync* fenceSync = EmulatedEglFenceSync::getFromHandle(handle); in rcDestroySyncKHRAsync()
DFrameBuffer.cpp89 using gl::EmulatedEglFenceSync;
2344 EmulatedEglFenceSync::onSave(stream); in onSave()
2615 EmulatedEglFenceSync::onLoad(stream); in onLoad()
2748 EmulatedEglFenceSync* fenceSync = EmulatedEglFenceSync::getFromHandle(fenceHandle); in waitForGpuVulkan()
3830 EmulatedEglFenceSync* fenceSync = EmulatedEglFenceSync::getFromHandle(eglsync); in waitForGpu()
3841 EmulatedEglFenceSync* fenceSync = EmulatedEglFenceSync::getFromHandle(eglsync); in asyncWaitForGpuWithCb()
DRendererImpl.cpp397 gl::EmulatedEglFenceSync::onLoad(stream); in load()
/hardware/google/gfxstream/host/tests/
DSampleApplication.cpp41 using gl::EmulatedEglFenceSync;
175 Item(unsigned int cb = 0, EmulatedEglFenceSync* s = nullptr) in Item()
178 EmulatedEglFenceSync* sync = nullptr;
323 EmulatedEglFenceSync* SampleApplication::getFenceSync() { in getFenceSync()
326 return EmulatedEglFenceSync::getFromHandle(sync); in getFenceSync()
DSampleApplication.h86 gl::EmulatedEglFenceSync* getFenceSync();