Home
last modified time | relevance | path

Searched refs:surface_state (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/vr/libdvr/
Ddvr_display_manager.cpp192 void dvrSurfaceStateDestroy(DvrSurfaceState* surface_state) { in dvrSurfaceStateDestroy() argument
193 delete surface_state; in dvrSurfaceStateDestroy()
196 int dvrSurfaceStateGetSurfaceCount(DvrSurfaceState* surface_state, in dvrSurfaceStateGetSurfaceCount() argument
198 if (!surface_state) in dvrSurfaceStateGetSurfaceCount()
201 *count_out = surface_state->state.size(); in dvrSurfaceStateGetSurfaceCount()
205 int dvrSurfaceStateGetUpdateFlags(DvrSurfaceState* surface_state, in dvrSurfaceStateGetUpdateFlags() argument
208 if (!surface_state || surface_index >= surface_state->state.size()) in dvrSurfaceStateGetUpdateFlags()
211 *flags_out = surface_state->state[surface_index].update_flags; in dvrSurfaceStateGetUpdateFlags()
215 int dvrSurfaceStateGetSurfaceId(DvrSurfaceState* surface_state, in dvrSurfaceStateGetSurfaceId() argument
217 if (!surface_state || surface_index >= surface_state->state.size()) in dvrSurfaceStateGetSurfaceId()
[all …]
/frameworks/native/libs/vr/libdvr/include/dvr/
Ddvr_display_manager.h54 DvrSurfaceState* surface_state);
68 int dvrSurfaceStateCreate(DvrSurfaceState** surface_state);
71 void dvrSurfaceStateDestroy(DvrSurfaceState* surface_state);
75 int dvrSurfaceStateGetSurfaceCount(DvrSurfaceState* surface_state,
82 int dvrSurfaceStateGetUpdateFlags(DvrSurfaceState* surface_state,
89 int dvrSurfaceStateGetSurfaceId(DvrSurfaceState* surface_state,
94 int dvrSurfaceStateGetProcessId(DvrSurfaceState* surface_state,
100 int dvrSurfaceStateGetQueueCount(DvrSurfaceState* surface_state,
107 ssize_t dvrSurfaceStateGetQueueIds(DvrSurfaceState* surface_state,
114 int dvrSurfaceStateGetZOrder(DvrSurfaceState* surface_state,
[all …]
Ddvr_api.h53 DvrDisplayManager* client, DvrSurfaceState* surface_state);
57 typedef int (*DvrSurfaceStateCreatePtr)(DvrSurfaceState** surface_state);
58 typedef void (*DvrSurfaceStateDestroyPtr)(DvrSurfaceState* surface_state);
59 typedef int (*DvrSurfaceStateGetSurfaceCountPtr)(DvrSurfaceState* surface_state,
62 DvrSurfaceState* surface_state, size_t surface_index,
64 typedef int (*DvrSurfaceStateGetSurfaceIdPtr)(DvrSurfaceState* surface_state,
67 typedef int (*DvrSurfaceStateGetProcessIdPtr)(DvrSurfaceState* surface_state,
70 typedef int (*DvrSurfaceStateGetQueueCountPtr)(DvrSurfaceState* surface_state,
73 typedef ssize_t (*DvrSurfaceStateGetQueueIdsPtr)(DvrSurfaceState* surface_state,
77 typedef int (*DvrSurfaceStateGetZOrderPtr)(DvrSurfaceState* surface_state,
[all …]
Ddvr_deleter.h31 void dvrSurfaceStateDestroy(DvrSurfaceState* surface_state);
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_display_manager-test.cpp73 UniqueDvrSurfaceState surface_state) in TestDisplayManager() argument
75 surface_state_(std::move(surface_state)) { in TestDisplayManager()
219 DvrSurfaceState* surface_state; in SetUp() local
225 ret = dvrSurfaceStateCreate(&surface_state); in SetUp()
227 ASSERT_NE(nullptr, surface_state); in SetUp()
231 UniqueDvrSurfaceState(surface_state))); in SetUp()