Home
last modified time | relevance | path

Searched refs:mSwapState (Results 1 – 4 of 4) sorted by relevance

/external/angle/src/libANGLE/renderer/gl/eagl/
DWindowSurfaceEAGL.mm40 rx::SharedSwapState *mSwapState; field
61 mSwapState = swapState;
64 [self setFrame:CGRectMake(0, 0, mSwapState->textures[0].width,
65 mSwapState->textures[0].height)];
72 pthread_mutex_lock(&mSwapState->mutex);
74 if (mSwapState->lastRendered->swapId > mSwapState->beingPresented->swapId)
76 std::swap(mSwapState->lastRendered, mSwapState->beingPresented);
79 pthread_mutex_unlock(&mSwapState->mutex);
90 const auto &texture = *mSwapState->beingPresented;
137 pthread_mutex_init(&mSwapState.mutex, nullptr);
[all …]
DWindowSurfaceEAGL.h99 SharedSwapState mSwapState; variable
/external/angle/src/libANGLE/renderer/gl/cgl/
DWindowSurfaceCGL.mm31 rx::SharedSwapState *mSwapState; field
53 mSwapState = swapState;
56 [self setFrame:CGRectMake(0, 0, mSwapState->textures[0].width,
57 mSwapState->textures[0].height)];
90 pthread_mutex_lock(&mSwapState->mutex);
92 if (mSwapState->lastRendered->swapId > mSwapState->beingPresented->swapId)
94 std::swap(mSwapState->lastRendered, mSwapState->beingPresented);
98 pthread_mutex_unlock(&mSwapState->mutex);
116 const auto &texture = *mSwapState->beingPresented;
163 pthread_mutex_init(&mSwapState.mutex, nullptr);
[all …]
DWindowSurfaceCGL.h91 SharedSwapState mSwapState; variable