Home
last modified time | relevance | path

Searched refs:surface_id (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/native/libs/vr/libvrflinger/
Ddisplay_surface.cpp28 SurfaceType surface_type, int surface_id, in DisplaySurface() argument
32 surface_id_(surface_id), in DisplaySurface()
40 surface_id(), process_id()); in ~DisplaySurface()
130 surface_id(), update_flags.value()); in SurfaceUpdated()
138 surface_id()); in ClearUpdate()
147 surface_id(), visible(), z_order()); in OnGetSurfaceInfo()
148 return {{surface_id(), visible(), z_order()}}; in OnGetSurfaceInfo()
154 surface_id(), consumer_queue->id()); in RegisterQueue()
178 surface_id(), consumer_queue->id()); in UnregisterQueue()
193 surface_id(), queue_id); in GetQueue()
[all …]
Ddisplay_surface.h31 DisplayService* service, int surface_id, int process_id, int user_id,
38 int surface_id() const { return surface_id_; } in surface_id() function
56 int surface_id, int process_id, int user_id);
120 ApplicationDisplaySurface(DisplayService* service, int surface_id, in ApplicationDisplaySurface() argument
122 : DisplaySurface(service, SurfaceType::Application, surface_id, in ApplicationDisplaySurface()
140 DirectDisplaySurface(DisplayService* service, int surface_id, int process_id, in DirectDisplaySurface() argument
142 : DisplaySurface(service, SurfaceType::Direct, surface_id, process_id, in DirectDisplaySurface()
Ddisplay_service.cpp60 return a->surface_id() < b->surface_id(); in DumpState()
69 stream << " surface_id=" << surface->surface_id() in DumpState()
94 stream << " surface_id=" << surface->surface_id() in DumpState()
256 const int surface_id = message.GetChannelId(); in OnCreateSurface() local
262 surface_id, process_id); in OnCreateSurface()
265 DisplaySurface::Create(this, surface_id, process_id, user_id, attributes); in OnCreateSurface()
280 return {{surface->surface_id(), surface->visible(), surface->z_order()}}; in OnCreateSurface()
349 int surface_id) const { in GetDisplaySurface()
350 return std::static_pointer_cast<DisplaySurface>(GetChannel(surface_id)); in GetDisplaySurface()
Dhardware_composer.h132 int surface_id = -1; in GetSurfaceId() local
134 &source_, [&surface_id](const SourceSurface& surface_source) { in GetSurfaceId()
135 surface_id = surface_source.GetSurfaceId(); in GetSurfaceId()
137 return surface_id; in GetSurfaceId()
153 bool operator<(int surface_id) const { return GetSurfaceId() < surface_id; }
237 int GetSurfaceId() const { return surface->surface_id(); } in GetSurfaceId()
Ddisplay_manager_service.cpp102 items.push_back({surface->surface_id(), surface->process_id(), in OnGetSurfaceState()
115 pdx::Message& /*message*/, int surface_id, int queue_id) { in OnGetSurfaceQueue() argument
116 auto surface = display_service_->GetDisplaySurface(surface_id); in OnGetSurfaceQueue()
Ddisplay_manager_service.h57 int surface_id,
Ddisplay_service.h34 std::shared_ptr<DisplaySurface> GetDisplaySurface(int surface_id) const;
/frameworks/base/media/mca/filterfw/native/core/
Dgl_env.cpp216 bool GLEnv::SwitchToSurfaceId(int surface_id) { in SwitchToSurfaceId() argument
218 if (surface_id_ != surface_id) { in SwitchToSurfaceId()
219 const SurfaceWindowPair* surface = FindOrNull(surfaces_, surface_id); in SwitchToSurfaceId()
222 surface_id_ = surface_id; in SwitchToSurfaceId()
230 bool GLEnv::ReleaseSurfaceId(int surface_id) { in ReleaseSurfaceId() argument
231 if (surface_id > 0) { in ReleaseSurfaceId()
232 const SurfaceWindowPair* surface_window_pair = FindOrNull(surfaces_, surface_id); in ReleaseSurfaceId()
234 if (surface_id_ == surface_id) in ReleaseSurfaceId()
241 surfaces_.erase(surface_id); in ReleaseSurfaceId()
Dgl_env.h116 bool SwitchToSurfaceId(int surface_id);
121 bool ReleaseSurfaceId(int surface_id);
/frameworks/native/libs/vr/libdisplay/
Ddisplay_manager_client.cpp35 DisplayManagerClient::GetSurfaceQueue(int surface_id, int queue_id) { in GetSurfaceQueue() argument
37 surface_id, queue_id); in GetSurfaceQueue()
42 surface_id, queue_id, status.GetErrorMessage().c_str()); in GetSurfaceQueue()
Ddisplay_client.cpp36 surface_id_ = status.get().surface_id;
54 surface_id_ = status.get().surface_id;
/frameworks/native/libs/vr/libdisplay/include/private/dvr/
Ddisplay_protocol.h141 int32_t surface_id; member
178 PDX_SERIALIZABLE_MEMBERS(SurfaceState, surface_id, process_id,
183 int surface_id; member
188 PDX_SERIALIZABLE_MEMBERS(SurfaceInfo, surface_id, visible, z_order);
263 LocalChannelHandle(int surface_id, int queue_id));
Ddisplay_manager_client.h24 pdx::Status<std::unique_ptr<ConsumerQueue>> GetSurfaceQueue(int surface_id,
Ddisplay_client.h30 int surface_id() const { return surface_id_; } in surface_id() function
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_display_manager-test.cpp174 Status<UniqueDvrReadBufferQueue> GetReadBufferQueue(int surface_id, in GetReadBufferQueue() argument
178 display_manager_.get(), surface_id, queue_id, &queue); in GetReadBufferQueue()
239 int surface_id; in GetSurfaceId() local
241 surface_index, &surface_id); in GetSurfaceId()
245 return {surface_id}; in GetSurfaceId()
498 const int surface_id = dvrSurfaceGetId(surface.get()); in TEST_F() local
499 ASSERT_GE(surface_id, 0); in TEST_F()
512 EXPECT_STATUS_EQ(surface_id, manager_->GetSurfaceId(0)); in TEST_F()
769 const int surface_id = dvrSurfaceGetId(surface.get()); in TEST_F() local
770 ASSERT_GE(surface_id, 0); in TEST_F()
[all …]
/frameworks/native/libs/vr/libdvr/
Ddvr_display_manager.cpp147 int surface_id, int queue_id, in dvrDisplayManagerGetReadBufferQueue() argument
152 auto status = client->client->GetSurfaceQueue(surface_id, queue_id); in dvrDisplayManagerGetReadBufferQueue()
199 *surface_id_out = surface_state->state[surface_index].surface_id; in dvrSurfaceStateGetSurfaceId()
Ddvr_surface.cpp120 return surface->surface->surface_id(); in dvrSurfaceGetId()
/frameworks/native/libs/vr/libdvr/include/dvr/
Ddvr_display_manager.h54 int surface_id, int queue_id,
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3SharedOutputStream.cpp117 bool Camera3SharedOutputStream::isConsumerConfigurationDeferred(size_t surface_id) const { in isConsumerConfigurationDeferred()
119 if (surface_id >= kMaxOutputs) { in isConsumerConfigurationDeferred()
123 return (mSurfaceUniqueIds[surface_id].first == nullptr); in isConsumerConfigurationDeferred()
DCamera3OutputStreamInterface.h47 virtual bool isConsumerConfigurationDeferred(size_t surface_id = 0) const = 0;
DCamera3FakeStream.h78 virtual bool isConsumerConfigurationDeferred(size_t surface_id) const;
DCamera3SharedOutputStream.h49 virtual bool isConsumerConfigurationDeferred(size_t surface_id) const;
DCamera3StreamSplitter.cpp426 for (auto& surface_id : surface_ids) { in attachBufferToOutputs() local
427 sp<IGraphicBufferProducer>& gbp = mOutputs[surface_id]; in attachBufferToOutputs()
468 decrementBufRefCountLocked(outputSlots[slot]->getId(), surface_id); in attachBufferToOutputs()
DCamera3OutputStream.h147 virtual bool isConsumerConfigurationDeferred(size_t surface_id) const;
DCamera3OutputStream.cpp1038 bool Camera3OutputStream::isConsumerConfigurationDeferred(size_t surface_id) const { in isConsumerConfigurationDeferred()
1041 if (surface_id != 0) { in isConsumerConfigurationDeferred()
1042 ALOGE("%s: surface_id %zu for Camera3OutputStream should be 0!", __FUNCTION__, surface_id); in isConsumerConfigurationDeferred()

12