Home
last modified time | relevance | path

Searched refs:damage (Results 1 – 25 of 74) sorted by relevance

123

/hardware/interfaces/graphics/composer/aidl/include/android/hardware/graphics/composer3/
DComposerClientWriter.h86 int acquireFence, Dataspace dataspace, const std::vector<Rect>& damage) { in setClientTarget() argument
90 clientTargetCommand.damage.assign(damage.begin(), damage.end()); in setClientTarget()
145 void setLayerSurfaceDamage(int64_t display, int64_t layer, const std::vector<Rect>& damage) { in setLayerSurfaceDamage() argument
146 getLayerCommand(display, layer).damage.emplace(damage.begin(), damage.end()); in setLayerSurfaceDamage()
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/1/android/hardware/graphics/composer3/
DClientTarget.aidl39 android.hardware.graphics.common.Rect[] damage;
DLayerCommand.aidl40 @nullable android.hardware.graphics.common.Rect[] damage;
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/current/android/hardware/graphics/composer3/
DClientTarget.aidl39 android.hardware.graphics.common.Rect[] damage;
DLayerCommand.aidl40 @nullable android.hardware.graphics.common.Rect[] damage;
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/2/android/hardware/graphics/composer3/
DClientTarget.aidl39 android.hardware.graphics.common.Rect[] damage;
DLayerCommand.aidl40 @nullable android.hardware.graphics.common.Rect[] damage;
/hardware/interfaces/graphics/composer/aidl/android/hardware/graphics/composer3/
DClientTarget.aidl38 Rect[] damage;
DLayerCommand.aidl92 @nullable Rect[] damage;
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_layers.cpp130 HWC2::Error HWCLayer::SetLayerSurfaceDamage(hwc_region_t damage) { in SetLayerSurfaceDamage() argument
132 if ((damage.numRects == 1) && (damage.rects[0].bottom == 0) && (damage.rects[0].right == 0)) { in SetLayerSurfaceDamage()
141 SetDirtyRegions(damage); in SetLayerSurfaceDamage()
146 if (layer_->dirty_regions.size() != damage.numRects) { in SetLayerSurfaceDamage()
149 for (uint32_t j = 0; j < damage.numRects; j++) { in SetLayerSurfaceDamage()
151 SetRect(damage.rects[j], &damage_rect); in SetLayerSurfaceDamage()
159 SetDirtyRegions(damage); in SetLayerSurfaceDamage()
/hardware/interfaces/graphics/composer/2.1/utils/command-buffer/include/composer-command-buffer/2.1/
DComposerCommandBuffer.h249 Dataspace dataspace, const std::vector<IComposerClient::Rect>& damage) { in setClientTarget() argument
251 damage); in setClientTarget()
306 void setLayerSurfaceDamage(const std::vector<IComposerClient::Rect>& damage) { in setLayerSurfaceDamage() argument
307 bool doWrite = (damage.size() <= kMaxLength / 4); in setLayerSurfaceDamage()
308 size_t length = (doWrite) ? damage.size() * 4 : 0; in setLayerSurfaceDamage()
315 writeRegion(damage); in setLayerSurfaceDamage()
413 const std::vector<IComposerClient::Rect>& damage) { in setClientTargetInternal() argument
414 bool doWrite = (damage.size() <= (kMaxLength - 4) / 4); in setClientTargetInternal()
415 size_t length = 4 + ((doWrite) ? damage.size() * 4 : 0); in setClientTargetInternal()
426 writeRegion(damage); in setClientTargetInternal()
/hardware/interfaces/graphics/composer/2.2/utils/command-buffer/include/composer-command-buffer/2.2/
DComposerCommandBuffer.h68 Dataspace dataspace, const std::vector<IComposerClient::Rect>& damage) { in setClientTarget() argument
70 damage); in setClientTarget()
/hardware/qcom/sm7250/display/composer/
Dhwc_display_dummy.cpp117 int32_t dataspace, hwc_region_t damage) { in SetClientTarget() argument
121 client_damage_region_ = damage; in SetClientTarget()
DQtiComposerCommandBuffer.h252 const std::vector<IQtiComposerClient::Rect>& damage) { in setClientTarget() argument
253 bool doWrite = (damage.size() <= (kMaxLength - 4) / 4); in setClientTarget()
254 size_t length = 4 + ((doWrite) ? damage.size() * 4 : 0); in setClientTarget()
265 writeRegion(damage); in setClientTarget()
324 void setLayerSurfaceDamage(const std::vector<IQtiComposerClient::Rect>& damage) { in setLayerSurfaceDamage() argument
325 bool doWrite = (damage.size() <= kMaxLength / 4); in setLayerSurfaceDamage()
326 size_t length = (doWrite) ? damage.size() * 4 : 0; in setLayerSurfaceDamage()
333 writeRegion(damage); in setLayerSurfaceDamage()
Dhwc_display_dummy.h53 int32_t dataspace, hwc_region_t damage);
Dhwc_layers.cpp393 HWC2::Error HWCLayer::SetLayerSurfaceDamage(hwc_region_t damage) { in SetLayerSurfaceDamage() argument
395 if ((damage.numRects == 1) && (damage.rects[0].bottom == 0) && (damage.rects[0].right == 0)) { in SetLayerSurfaceDamage()
404 SetDirtyRegions(damage); in SetLayerSurfaceDamage()
409 if (layer_->dirty_regions.size() != damage.numRects) { in SetLayerSurfaceDamage()
412 for (uint32_t j = 0; j < damage.numRects; j++) { in SetLayerSurfaceDamage()
414 SetRect(damage.rects[j], &damage_rect); in SetLayerSurfaceDamage()
422 SetDirtyRegions(damage); in SetLayerSurfaceDamage()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_layers.cpp279 HWC2::Error HWCLayer::SetLayerSurfaceDamage(hwc_region_t damage) { in SetLayerSurfaceDamage() argument
281 if ((damage.numRects == 1) && (damage.rects[0].bottom == 0) && (damage.rects[0].right == 0)) { in SetLayerSurfaceDamage()
290 SetDirtyRegions(damage); in SetLayerSurfaceDamage()
295 if (layer_->dirty_regions.size() != damage.numRects) { in SetLayerSurfaceDamage()
298 for (uint32_t j = 0; j < damage.numRects; j++) { in SetLayerSurfaceDamage()
300 SetRect(damage.rects[j], &damage_rect); in SetLayerSurfaceDamage()
308 SetDirtyRegions(damage); in SetLayerSurfaceDamage()
/hardware/interfaces/graphics/composer/2.3/utils/command-buffer/include/composer-command-buffer/2.3/
DComposerCommandBuffer.h63 Dataspace dataspace, const std::vector<IComposerClient::Rect>& damage) { in setClientTarget() argument
65 damage); in setClientTarget()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_layers.cpp165 HWC2::Error HWCLayer::SetLayerSurfaceDamage(hwc_region_t damage) { in SetLayerSurfaceDamage() argument
167 if (layer_->dirty_regions.size() != damage.numRects) { in SetLayerSurfaceDamage()
170 for (uint32_t j = 0; j < damage.numRects; j++) { in SetLayerSurfaceDamage()
172 SetRect(damage.rects[j], &damage_rect); in SetLayerSurfaceDamage()
181 for (uint32_t i = 0; i < damage.numRects; i++) { in SetLayerSurfaceDamage()
183 SetRect(damage.rects[i], &rect); in SetLayerSurfaceDamage()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_layers.cpp312 HWC2::Error HWCLayer::SetLayerSurfaceDamage(hwc_region_t damage) { in SetLayerSurfaceDamage() argument
314 if ((damage.numRects == 1) && (damage.rects[0].bottom == 0) && (damage.rects[0].right == 0)) { in SetLayerSurfaceDamage()
323 SetDirtyRegions(damage); in SetLayerSurfaceDamage()
328 if (layer_->dirty_regions.size() != damage.numRects) { in SetLayerSurfaceDamage()
331 for (uint32_t j = 0; j < damage.numRects; j++) { in SetLayerSurfaceDamage()
333 SetRect(damage.rects[j], &damage_rect); in SetLayerSurfaceDamage()
341 SetDirtyRegions(damage); in SetLayerSurfaceDamage()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_layers.cpp264 HWC2::Error HWCLayer::SetLayerSurfaceDamage(hwc_region_t damage) { in SetLayerSurfaceDamage() argument
266 if (layer_->dirty_regions.size() != damage.numRects) { in SetLayerSurfaceDamage()
269 for (uint32_t j = 0; j < damage.numRects; j++) { in SetLayerSurfaceDamage()
271 SetRect(damage.rects[j], &damage_rect); in SetLayerSurfaceDamage()
280 for (uint32_t i = 0; i < damage.numRects; i++) { in SetLayerSurfaceDamage()
282 SetRect(damage.rects[i], &rect); in SetLayerSurfaceDamage()
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposerHal.h100 int32_t dataspace, const std::vector<hwc_rect_t>& damage) = 0;
117 const std::vector<hwc_rect_t>& damage) = 0;
DComposerCommandEngine.h219 auto damage = readRegion((length - 4) / 4); in executeSetClientTarget() local
227 err = mHal->setClientTarget(mCurrentDisplay, clientTarget, fence, dataspace, damage); in executeSetClientTarget()
394 auto damage = readRegion(length / 4); in executeSetLayerSurfaceDamage() local
395 auto err = mHal->setLayerSurfaceDamage(mCurrentDisplay, mCurrentLayer, damage); in executeSetLayerSurfaceDamage()
/hardware/google/graphics/common/hwc3/
DComposerCommandEngine.cpp118 DISPATCH_LAYER_COMMAND(display, command, damage, SurfaceDamage); in dispatchLayerCommand()
183 command.dataspace, command.damage); in executeSetClientTarget()
320 const std::vector<std::optional<common::Rect>>& damage) { in executeSetLayerSurfaceDamage() argument
321 auto err = mHal->setLayerSurfaceDamage(display, layer, damage); in executeSetLayerSurfaceDamage()
/hardware/interfaces/graphics/composer/2.1/utils/passthrough/include/composer-passthrough/2.1/
DHwcHal.h310 int32_t dataspace, const std::vector<hwc_rect_t>& damage) override { in setClientTarget() argument
311 hwc_region region = {damage.size(), damage.data()}; in setClientTarget()
424 const std::vector<hwc_rect_t>& damage) override { in setLayerSurfaceDamage() argument
425 hwc_region region = {damage.size(), damage.data()}; in setLayerSurfaceDamage()

123