Home
last modified time | relevance | path

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

12

/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()
Dhwc_layers.h72 HWC2::Error SetLayerSurfaceDamage(hwc_region_t damage);
Dhwc_display.h147 int32_t dataspace, hwc_region_t damage);
Dhwc_session.cpp438 int32_t dataspace, hwc_region_t damage) { in SetClientTarget() argument
440 acquire_fence, dataspace, damage); in SetClientTarget()
513 hwc2_layer_t layer, hwc_region_t damage) { in SetLayerSurfaceDamage() argument
515 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()
408 const std::vector<IComposerClient::Rect>& damage) { in setClientTargetInternal() argument
409 bool doWrite = (damage.size() <= (kMaxLength - 4) / 4); in setClientTargetInternal()
410 size_t length = 4 + ((doWrite) ? damage.size() * 4 : 0); in setClientTargetInternal()
421 writeRegion(damage); in setClientTargetInternal()
/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()
Dhwc_layers.h78 HWC2::Error SetLayerSurfaceDamage(hwc_region_t damage);
Dhwc_display.h159 int32_t dataspace, hwc_region_t damage);
/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/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/sdm845/display/sdm/libs/hwc2/
Dhwc_layers.cpp288 HWC2::Error HWCLayer::SetLayerSurfaceDamage(hwc_region_t damage) { in SetLayerSurfaceDamage() argument
290 if ((damage.numRects == 1) && (damage.rects[0].bottom == 0) && (damage.rects[0].right == 0)) { in SetLayerSurfaceDamage()
299 SetDirtyRegions(damage); in SetLayerSurfaceDamage()
304 if (layer_->dirty_regions.size() != damage.numRects) { in SetLayerSurfaceDamage()
307 for (uint32_t j = 0; j < damage.numRects; j++) { in SetLayerSurfaceDamage()
309 SetRect(damage.rects[j], &damage_rect); in SetLayerSurfaceDamage()
317 SetDirtyRegions(damage); in SetLayerSurfaceDamage()
Dhwc_layers.h88 HWC2::Error SetLayerSurfaceDamage(hwc_region_t damage);
/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()
Dhwc_layers.h75 HWC2::Error SetLayerSurfaceDamage(hwc_region_t damage);
Dhwc_session.cpp553 int32_t dataspace, hwc_region_t damage) { in SetClientTarget() argument
555 acquire_fence, dataspace, damage); in SetClientTarget()
634 hwc2_layer_t layer, hwc_region_t damage) { in SetLayerSurfaceDamage() argument
636 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()
Dhwc_layers.h79 HWC2::Error SetLayerSurfaceDamage(hwc_region_t damage);
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposerCommandEngine.h194 auto damage = readRegion((length - 4) / 4); in executeSetClientTarget() local
202 err = mHal->setClientTarget(mCurrentDisplay, clientTarget, fence, dataspace, damage); in executeSetClientTarget()
397 auto damage = readRegion(length / 4); in executeSetLayerSurfaceDamage() local
398 auto err = mHal->setLayerSurfaceDamage(mCurrentDisplay, mCurrentLayer, damage); in executeSetLayerSurfaceDamage()
DComposerHal.h100 int32_t dataspace, const std::vector<hwc_rect_t>& damage) = 0;
117 const std::vector<hwc_rect_t>& damage) = 0;
/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()
/hardware/interfaces/graphics/composer/2.1/
DIComposerClient.hal776 * vec<Rect> damage);
795 * The damage parameter describes a surface damage region as defined in
810 * @param damage is the surface damage region.
934 * setLayerSurfaceDamage(vec<Rect> damage);
940 * Once set through this function, the damage region remains the same
943 * If damage is non-empty, then it may be assumed that any portion of the
945 * this frame. If damage is empty, then the whole source buffer must be
949 * damage must contain exactly one empty rect([0, 0, 0, 0]).
951 * The damage rects are relative to the pre-transformed buffer, and their
955 * @param layer is the layer to which the damage region is set.
[all …]
/hardware/interfaces/usb/1.2/
DIUsb.hal61 * from damage due to contaminant presence.
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/include/hwc2on1adapter/
DHWC2On1Adapter.h235 hwc_region_t damage);
537 HWC2::Error setSurfaceDamage(hwc_region_t damage);
/hardware/libhardware/include/hardware/
Dhwcomposer2.h1729 hwc_region_t damage);
2205 hwc_region_t damage);
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.h215 hwc_region_t damage);
514 HWC2::Error setSurfaceDamage(hwc_region_t damage);

12