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.cpp171 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/
Ddvr_display_manager.h47 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 …]
Ddvr_api.h99 DvrDisplayManager* client, DvrSurfaceState* surface_state);
106 typedef int (*DvrSurfaceStateCreatePtr)(DvrSurfaceState** surface_state);
107 typedef void (*DvrSurfaceStateDestroyPtr)(DvrSurfaceState* surface_state);
108 typedef int (*DvrSurfaceStateGetSurfaceCountPtr)(DvrSurfaceState* surface_state,
111 DvrSurfaceState* surface_state, size_t surface_index,
113 typedef int (*DvrSurfaceStateGetSurfaceIdPtr)(DvrSurfaceState* surface_state,
116 typedef int (*DvrSurfaceStateGetProcessIdPtr)(DvrSurfaceState* surface_state,
119 typedef int (*DvrSurfaceStateGetQueueCountPtr)(DvrSurfaceState* surface_state,
122 typedef ssize_t (*DvrSurfaceStateGetQueueIdsPtr)(DvrSurfaceState* surface_state,
126 typedef int (*DvrSurfaceStateGetZOrderPtr)(DvrSurfaceState* surface_state,
[all …]
Ddvr_deleter.h30 void dvrSurfaceStateDestroy(DvrSurfaceState* surface_state);
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_display_manager-test.cpp166 UniqueDvrSurfaceState surface_state) in TestDisplayManager() argument
168 surface_state_(std::move(surface_state)) { in TestDisplayManager()
313 DvrSurfaceState* surface_state; in SetUp() local
319 ret = dvrSurfaceStateCreate(&surface_state); in SetUp()
321 ASSERT_NE(nullptr, surface_state); in SetUp()
325 UniqueDvrSurfaceState(surface_state))); in SetUp()