Lines Matching refs:pbuffers
983 vector<EGLSurface>& pbuffers = (thread.getId() == 0 ? m_pbuffers0 : m_pbuffers1); in createDestroyObjects() local
1006 if (pbuffers.size() > 5 && ((m_types & TYPE_PBUFFER) != 0)) in createDestroyObjects()
1026 else if (pbuffers.size() < 3 && ((m_types & TYPE_PBUFFER) != 0)) in createDestroyObjects()
1081 pbuffers.push_back(surface); in createDestroyObjects()
1197 const int pbufferNdx = rnd.getInt(0, (int)(pbuffers.size()-1)); in createDestroyObjects()
1200 result = egl.destroySurface(m_display, pbuffers[pbufferNdx]); in createDestroyObjects()
1201 …ginMessage << result << " = eglDestroySurface(" << m_display << ", " << pbuffers[pbufferNdx] << ")… in createDestroyObjects()
1204 pbuffers.erase(pbuffers.begin() + pbufferNdx); in createDestroyObjects()
1262 vector<EGLSurface>& pbuffers = (thread.getId() == 0 ? m_pbuffers0 : m_pbuffers1); in pushObjectsToShared() local
1267 for (int pbufferNdx = 0; pbufferNdx < (int)pbuffers.size(); pbufferNdx++) in pushObjectsToShared()
1268 m_sharedPbuffers.push_back(pbuffers[pbufferNdx]); in pushObjectsToShared()
1270 pbuffers.clear(); in pushObjectsToShared()
1291 vector<EGLSurface>& pbuffers = (thread.getId() == 0 ? m_pbuffers0 : m_pbuffers1); in pullObjectsFromShared() local
1300 pbuffers.push_back(m_sharedPbuffers[ndx]); in pullObjectsFromShared()
1420 vector<EGLSurface>& pbuffers = (thread.getId() == 0 ? m_pbuffers0 : m_pbuffers1); in destroyObjects() local
1425 for (int pbufferNdx = 0; pbufferNdx < (int)pbuffers.size(); pbufferNdx++) in destroyObjects()
1427 if (pbuffers[pbufferNdx] != EGL_NO_SURFACE) in destroyObjects()
1432 result = egl.destroySurface(m_display, pbuffers[pbufferNdx]); in destroyObjects()
1433 …ginMessage << result << " = eglDestroySurface(" << m_display << ", " << pbuffers[pbufferNdx] << ")… in destroyObjects()
1435 pbuffers[pbufferNdx] = EGL_NO_SURFACE; in destroyObjects()
1438 pbuffers.clear(); in destroyObjects()