Home
last modified time | relevance | path

Searched refs:ClientHandle (Results 1 – 3 of 3) sorted by relevance

/sdk/emulator/opengl/tests/ut_renderer/
DRenderer.h29 class ClientHandle {
33 ClientHandle(unsigned int _pid, unsigned int _handle) : pid(_pid), handle(_handle) {} in ClientHandle() function
35 bool operator< (const ClientHandle & p) const {
42 int createSurface(RenderingThread *thread, const ClientHandle & handle);
43 int destroySurface(RenderingThread *thread, const ClientHandle &handle);
44 …int createContext(RenderingThread *thread, const ClientHandle & ctx, const ClientHandle shareCtx, …
45 int destroyContext(RenderingThread *thread,const ClientHandle & ctx);
47 … const ClientHandle & drawSurface, const ClientHandle & readSurface, const ClientHandle & ctx);
48 int swapBuffers(RenderingThread *thread, const ClientHandle & surface);
51 typedef std::map<ClientHandle, RendererSurface *> SurfaceMap;
[all …]
DRenderer.cpp57 int Renderer::createSurface(RenderingThread *thread, const ClientHandle & handle) in createSurface()
76 int Renderer::destroySurface(RenderingThread *thread, const ClientHandle &handle) in destroySurface()
91 int Renderer::createContext(RenderingThread *thread, const ClientHandle &handle, ClientHandle share… in createContext()
116 int Renderer::destroyContext(RenderingThread *thread, const ClientHandle &handle) in destroyContext()
132 const ClientHandle &drawSurface, in makeCurrent()
133 const ClientHandle &readSurface, in makeCurrent()
134 const ClientHandle & ctx) in makeCurrent()
173 const ClientHandle &surface) in swapBuffers()
DRenderingThread.cpp215 return Renderer::instance()->createContext(m_tls, Renderer::ClientHandle(pid, handle), in s_createContext()
216 Renderer::ClientHandle(pid, shareCtx), in s_createContext()
224 return Renderer::instance()->createSurface(m_tls, Renderer::ClientHandle(pid, handle)); in s_createSurface()
229 return Renderer::instance()->destroySurface(m_tls, Renderer::ClientHandle(pid, handle)); in s_destroySurface()
234 return Renderer::instance()->destroyContext(m_tls, Renderer::ClientHandle(pid, handle)); in s_destroyContext()
241 Renderer::ClientHandle(pid, drawSurface), in s_makeCurrent()
242 Renderer::ClientHandle(pid, readSurface), in s_makeCurrent()
243 Renderer::ClientHandle(pid, ctx)); in s_makeCurrent()
254 Renderer::instance()->swapBuffers(m_tls, Renderer::ClientHandle(pid, surface)); in s_swapBuffers()