Home | History | Annotate | Download | only in surfaceflinger

Lines Matching refs:hwcId

238     void forceClientComposition(int32_t hwcId);
243 void setCompositionType(int32_t hwcId, HWC2::Composition type,
245 HWC2::Composition getCompositionType(int32_t hwcId) const;
247 void setClearClientTarget(int32_t hwcId, bool clear);
248 bool getClearClientTarget(int32_t hwcId) const;
361 bool hasHwcLayer(int32_t hwcId) {
362 if (mHwcLayers.count(hwcId) == 0) {
365 if (mHwcLayers[hwcId].layer->isAbandoned()) {
366 ALOGI("Erasing abandoned layer %s on %d", mName.string(), hwcId);
367 mHwcLayers.erase(hwcId);
373 std::shared_ptr<HWC2::Layer> getHwcLayer(int32_t hwcId) {
374 if (mHwcLayers.count(hwcId) == 0) {
377 return mHwcLayers[hwcId].layer;
380 void setHwcLayer(int32_t hwcId, std::shared_ptr<HWC2::Layer>&& layer) {
382 mHwcLayers[hwcId].layer = layer;
384 mHwcLayers.erase(hwcId);