Searched refs:surface_state (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/libs/vr/libdvr/ |
D | dvr_display_manager.cpp | 171 void dvrSurfaceStateDestroy(DvrSurfaceState* surface_state) { in dvrSurfaceStateDestroy() argument 172 delete surface_state; in dvrSurfaceStateDestroy() 175 int dvrSurfaceStateGetSurfaceCount(DvrSurfaceState* surface_state, in dvrSurfaceStateGetSurfaceCount() argument 177 if (!surface_state) in dvrSurfaceStateGetSurfaceCount() 180 *count_out = surface_state->state.size(); in dvrSurfaceStateGetSurfaceCount() 184 int dvrSurfaceStateGetUpdateFlags(DvrSurfaceState* surface_state, in dvrSurfaceStateGetUpdateFlags() argument 187 if (!surface_state || surface_index >= surface_state->state.size()) in dvrSurfaceStateGetUpdateFlags() 190 *flags_out = surface_state->state[surface_index].update_flags; in dvrSurfaceStateGetUpdateFlags() 194 int dvrSurfaceStateGetSurfaceId(DvrSurfaceState* surface_state, in dvrSurfaceStateGetSurfaceId() argument 196 if (!surface_state || surface_index >= surface_state->state.size()) in dvrSurfaceStateGetSurfaceId() [all …]
|
/frameworks/native/libs/vr/libdvr/include/dvr/ |
D | dvr_display_manager.h | 47 DvrSurfaceState* surface_state); 61 int dvrSurfaceStateCreate(DvrSurfaceState** surface_state); 64 void dvrSurfaceStateDestroy(DvrSurfaceState* surface_state); 68 int dvrSurfaceStateGetSurfaceCount(DvrSurfaceState* surface_state, 75 int dvrSurfaceStateGetUpdateFlags(DvrSurfaceState* surface_state, 82 int dvrSurfaceStateGetSurfaceId(DvrSurfaceState* surface_state, 87 int dvrSurfaceStateGetProcessId(DvrSurfaceState* surface_state, 93 int dvrSurfaceStateGetQueueCount(DvrSurfaceState* surface_state, 100 ssize_t dvrSurfaceStateGetQueueIds(DvrSurfaceState* surface_state, 107 int dvrSurfaceStateGetZOrder(DvrSurfaceState* surface_state, [all …]
|
D | dvr_api.h | 97 DvrDisplayManager* client, DvrSurfaceState* surface_state); 104 typedef int (*DvrSurfaceStateCreatePtr)(DvrSurfaceState** surface_state); 105 typedef void (*DvrSurfaceStateDestroyPtr)(DvrSurfaceState* surface_state); 106 typedef int (*DvrSurfaceStateGetSurfaceCountPtr)(DvrSurfaceState* surface_state, 109 DvrSurfaceState* surface_state, size_t surface_index, 111 typedef int (*DvrSurfaceStateGetSurfaceIdPtr)(DvrSurfaceState* surface_state, 114 typedef int (*DvrSurfaceStateGetProcessIdPtr)(DvrSurfaceState* surface_state, 117 typedef int (*DvrSurfaceStateGetQueueCountPtr)(DvrSurfaceState* surface_state, 120 typedef ssize_t (*DvrSurfaceStateGetQueueIdsPtr)(DvrSurfaceState* surface_state, 124 typedef int (*DvrSurfaceStateGetZOrderPtr)(DvrSurfaceState* surface_state, [all …]
|
D | dvr_deleter.h | 30 void dvrSurfaceStateDestroy(DvrSurfaceState* surface_state);
|
/frameworks/native/libs/vr/libdvr/tests/ |
D | dvr_display_manager-test.cpp | 166 UniqueDvrSurfaceState surface_state) in TestDisplayManager() argument 168 surface_state_(std::move(surface_state)) { in TestDisplayManager() 321 DvrSurfaceState* surface_state; in SetUp() local 327 ret = dvrSurfaceStateCreate(&surface_state); in SetUp() 329 ASSERT_NE(nullptr, surface_state); in SetUp() 333 UniqueDvrSurfaceState(surface_state))); in SetUp()
|