Home
last modified time | relevance | path

Searched refs:HWCLayer (Results 1 – 25 of 30) sorted by relevance

12

/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_layers.cpp34 std::atomic<hwc2_layer_t> HWCLayer::next_id_(1);
37 HWCLayer::HWCLayer(hwc2_display_t display_id, HWCBufferAllocator *buf_allocator) in HWCLayer() function in sdm::HWCLayer
46 HWCLayer::~HWCLayer() { in ~HWCLayer()
61 HWC2::Error HWCLayer::SetLayerBuffer(buffer_handle_t buffer, int32_t acquire_fence) { in SetLayerBuffer()
130 HWC2::Error HWCLayer::SetLayerSurfaceDamage(hwc_region_t damage) { in SetLayerSurfaceDamage()
163 HWC2::Error HWCLayer::SetLayerBlendMode(HWC2::BlendMode mode) { in SetLayerBlendMode()
186 HWC2::Error HWCLayer::SetLayerColor(hwc_color_t color) { in SetLayerColor()
194 HWC2::Error HWCLayer::SetLayerCompositionType(HWC2::Composition type) { in SetLayerCompositionType()
219 HWC2::Error HWCLayer::SetLayerDataspace(int32_t dataspace) { in SetLayerDataspace()
227 HWC2::Error HWCLayer::SetLayerDisplayFrame(hwc_rect_t frame) { in SetLayerDisplayFrame()
[all …]
Dhwc_layers.h56 class HWCLayer {
58 explicit HWCLayer(hwc2_display_t display_id, HWCBufferAllocator *buf_allocator);
59 ~HWCLayer();
122 bool operator()(const HWCLayer *lhs, const HWCLayer *rhs) const { in operator()
Dhwc_display.h140 HWCLayer *GetHWCLayer(hwc2_layer_t layer);
219 bool IsLayerUpdating(HWCLayer *layer);
237 HWCLayer *client_target_ = nullptr; // Also known as framebuffer target
238 std::map<hwc2_layer_t, HWCLayer *> layer_map_; // Look up by Id - TODO
239 std::multiset<HWCLayer *, SortLayersByZ> layer_set_; // Maintain a set sorted by Z
Dhwc_session.cpp468 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerBlendMode, mode); in SetLayerBlendMode()
473 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerBuffer, buffer, in SetLayerBuffer()
479 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerColor, color); in SetLayerColor()
485 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerCompositionType, in SetLayerCompositionType()
491 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerDataspace, in SetLayerDataspace()
497 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerDisplayFrame, in SetLayerDisplayFrame()
503 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerPlaneAlpha, in SetLayerPlaneAlpha()
509 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerSourceCrop, crop); in SetLayerSourceCrop()
514 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerSurfaceDamage, in SetLayerSurfaceDamage()
521 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerTransform, in SetLayerTransform()
[all …]
Dhwc_display.cpp242 client_target_ = new HWCLayer(id_, buffer_allocator_); in Init()
283 HWCLayer *layer = *layer_set_.emplace(new HWCLayer(id_, buffer_allocator_)); in CreateLayer()
293 HWCLayer *HWCDisplay::GetHWCLayer(hwc2_layer_t layer_id) { in GetHWCLayer()
1398 HWCLayer *hwc_layer = GetHWCLayer(layer); in BuildLayerStack()
1608 bool HWCDisplay::IsLayerUpdating(HWCLayer *hwc_layer) { in BuildLayerStack()
Dhwc_session.h65 hwc2_layer_t layer, HWC2::Error (HWCLayer::*member)(Args...), in CallLayerFunction()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_layers.cpp34 std::atomic<hwc2_layer_t> HWCLayer::next_id_(1);
72 HWCLayer::HWCLayer(hwc2_display_t display_id, HWCBufferAllocator *buf_allocator) in HWCLayer() function in sdm::HWCLayer
80 HWCLayer::~HWCLayer() { in ~HWCLayer()
92 HWC2::Error HWCLayer::SetLayerBuffer(buffer_handle_t buffer, int32_t acquire_fence) { in SetLayerBuffer()
165 HWC2::Error HWCLayer::SetLayerSurfaceDamage(hwc_region_t damage) { in SetLayerSurfaceDamage()
189 HWC2::Error HWCLayer::SetLayerBlendMode(HWC2::BlendMode mode) { in SetLayerBlendMode()
212 HWC2::Error HWCLayer::SetLayerColor(hwc_color_t color) { in SetLayerColor()
223 HWC2::Error HWCLayer::SetLayerCompositionType(HWC2::Composition type) { in SetLayerCompositionType()
244 HWC2::Error HWCLayer::SetLayerDataspace(int32_t dataspace) { in SetLayerDataspace()
280 HWC2::Error HWCLayer::SetLayerDisplayFrame(hwc_rect_t frame) { in SetLayerDisplayFrame()
[all …]
Dhwc_layers.h58 class HWCLayer {
60 explicit HWCLayer(hwc2_display_t display_id, HWCBufferAllocator *buf_allocator);
61 ~HWCLayer();
122 bool operator()(const HWCLayer *lhs, const HWCLayer *rhs) const { in operator()
Dhwc_display.h165 HWCLayer *GetHWCLayer(hwc2_layer_t layer);
259 HWCLayer *client_target_ = nullptr; // Also known as framebuffer target
260 std::map<hwc2_layer_t, HWCLayer *> layer_map_; // Look up by Id - TODO
261 std::multiset<HWCLayer *, SortLayersByZ> layer_set_; // Maintain a set sorted by Z
Dhwc_session.cpp581 HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetCursorPosition, x, y); in SetCursorPosition()
589 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerBlendMode, mode); in SetLayerBlendMode()
594 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerBuffer, buffer, in SetLayerBuffer()
600 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerColor, color); in SetLayerColor()
606 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerCompositionType, in SetLayerCompositionType()
612 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerDataspace, in SetLayerDataspace()
618 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerDisplayFrame, in SetLayerDisplayFrame()
624 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerPlaneAlpha, in SetLayerPlaneAlpha()
630 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerSourceCrop, crop); in SetLayerSourceCrop()
635 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerSurfaceDamage, in SetLayerSurfaceDamage()
[all …]
Dhwc_display.cpp366 client_target_ = new HWCLayer(id_, buffer_allocator_); in Init()
413 HWCLayer *layer = *layer_set_.emplace(new HWCLayer(id_, buffer_allocator_)); in CreateLayer()
421 HWCLayer *HWCDisplay::GetHWCLayer(hwc2_layer_t layer_id) { in GetHWCLayer()
1614 HWCLayer *hwc_layer = GetHWCLayer(layer); in BuildLayerStack()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_layers.cpp34 std::atomic<hwc2_layer_t> HWCLayer::next_id_(1);
171 HWCLayer::HWCLayer(hwc2_display_t display_id, HWCBufferAllocator *buf_allocator) in HWCLayer() function in sdm::HWCLayer
179 HWCLayer::~HWCLayer() { in ~HWCLayer()
191 HWC2::Error HWCLayer::SetLayerBuffer(buffer_handle_t buffer, int32_t acquire_fence) { in SetLayerBuffer()
264 HWC2::Error HWCLayer::SetLayerSurfaceDamage(hwc_region_t damage) { in SetLayerSurfaceDamage()
288 HWC2::Error HWCLayer::SetLayerBlendMode(HWC2::BlendMode mode) { in SetLayerBlendMode()
311 HWC2::Error HWCLayer::SetLayerColor(hwc_color_t color) { in SetLayerColor()
322 HWC2::Error HWCLayer::SetLayerCompositionType(HWC2::Composition type) { in SetLayerCompositionType()
343 HWC2::Error HWCLayer::SetLayerDataspace(int32_t dataspace) { in SetLayerDataspace()
380 HWC2::Error HWCLayer::SetLayerDisplayFrame(hwc_rect_t frame) { in SetLayerDisplayFrame()
[all …]
Dhwc_layers.h62 class HWCLayer {
64 explicit HWCLayer(hwc2_display_t display_id, HWCBufferAllocator *buf_allocator);
65 ~HWCLayer();
128 bool operator()(const HWCLayer *lhs, const HWCLayer *rhs) const { in operator()
Dhwc_display.h163 HWCLayer *GetHWCLayer(hwc2_layer_t layer);
266 HWCLayer *client_target_ = nullptr; // Also known as framebuffer target
267 std::map<hwc2_layer_t, HWCLayer *> layer_map_; // Look up by Id - TODO
268 std::multiset<HWCLayer *, SortLayersByZ> layer_set_; // Maintain a set sorted by Z
Dhwc_session.cpp615 HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetCursorPosition, x, y); in SetCursorPosition()
626 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerBlendMode, mode); in SetLayerBlendMode()
631 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerBuffer, buffer, in SetLayerBuffer()
637 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerColor, color); in SetLayerColor()
643 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerCompositionType, in SetLayerCompositionType()
649 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerDataspace, in SetLayerDataspace()
655 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerDisplayFrame, in SetLayerDisplayFrame()
661 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerPlaneAlpha, in SetLayerPlaneAlpha()
667 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerSourceCrop, crop); in SetLayerSourceCrop()
672 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerSurfaceDamage, in SetLayerSurfaceDamage()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_layers.cpp34 std::atomic<hwc2_layer_t> HWCLayer::next_id_(1);
174 HWCLayer::HWCLayer(hwc2_display_t display_id, HWCBufferAllocator *buf_allocator) in HWCLayer() function in sdm::HWCLayer
182 HWCLayer::~HWCLayer() { in ~HWCLayer()
197 HWC2::Error HWCLayer::SetLayerBuffer(buffer_handle_t buffer, int32_t acquire_fence) { in SetLayerBuffer()
279 HWC2::Error HWCLayer::SetLayerSurfaceDamage(hwc_region_t damage) { in SetLayerSurfaceDamage()
312 HWC2::Error HWCLayer::SetLayerBlendMode(HWC2::BlendMode mode) { in SetLayerBlendMode()
335 HWC2::Error HWCLayer::SetLayerColor(hwc_color_t color) { in SetLayerColor()
346 HWC2::Error HWCLayer::SetLayerCompositionType(HWC2::Composition type) { in SetLayerCompositionType()
371 HWC2::Error HWCLayer::SetLayerDataspace(int32_t dataspace) { in SetLayerDataspace()
408 HWC2::Error HWCLayer::SetLayerDisplayFrame(hwc_rect_t frame) { in SetLayerDisplayFrame()
[all …]
Dhwc_layers.h62 class HWCLayer {
64 explicit HWCLayer(hwc2_display_t display_id, HWCBufferAllocator *buf_allocator);
65 ~HWCLayer();
130 bool operator()(const HWCLayer *lhs, const HWCLayer *rhs) const { in operator()
Dhwc_display.h152 HWCLayer *GetHWCLayer(hwc2_layer_t layer);
238 bool IsLayerUpdating(HWCLayer *layer);
255 HWCLayer *client_target_ = nullptr; // Also known as framebuffer target
256 std::map<hwc2_layer_t, HWCLayer *> layer_map_; // Look up by Id - TODO
257 std::multiset<HWCLayer *, SortLayersByZ> layer_set_; // Maintain a set sorted by Z
Dhwc_session.cpp483 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerBlendMode, mode); in SetLayerBlendMode()
488 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerBuffer, buffer, in SetLayerBuffer()
494 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerColor, color); in SetLayerColor()
500 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerCompositionType, in SetLayerCompositionType()
506 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerDataspace, in SetLayerDataspace()
512 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerDisplayFrame, in SetLayerDisplayFrame()
518 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerPlaneAlpha, in SetLayerPlaneAlpha()
524 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerSourceCrop, crop); in SetLayerSourceCrop()
529 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerSurfaceDamage, in SetLayerSurfaceDamage()
536 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerTransform, in SetLayerTransform()
[all …]
Dhwc_display.cpp368 client_target_ = new HWCLayer(id_, buffer_allocator_); in Init()
414 HWCLayer *layer = *layer_set_.emplace(new HWCLayer(id_, buffer_allocator_)); in CreateLayer()
423 HWCLayer *HWCDisplay::GetHWCLayer(hwc2_layer_t layer_id) { in GetHWCLayer()
1597 HWCLayer *hwc_layer = GetHWCLayer(layer); in BuildLayerStack()
1809 bool HWCDisplay::IsLayerUpdating(HWCLayer *hwc_layer) { in BuildLayerStack()
Dhwc_session.h66 hwc2_layer_t layer, HWC2::Error (HWCLayer::*member)(Args...), in CallLayerFunction()
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_layers.cpp31 std::atomic<hwc2_layer_t> HWCLayer::next_id_(1);
184 HWCLayer::HWCLayer(hwc2_display_t display_id, HWCBufferAllocator *buf_allocator) in HWCLayer() function in sdm::HWCLayer
192 HWCLayer::~HWCLayer() { in ~HWCLayer()
209 HWC2::Error HWCLayer::SetLayerBuffer(buffer_handle_t buffer, int32_t acquire_fence) { in SetLayerBuffer()
288 HWC2::Error HWCLayer::SetLayerSurfaceDamage(hwc_region_t damage) { in SetLayerSurfaceDamage()
321 HWC2::Error HWCLayer::SetLayerBlendMode(HWC2::BlendMode mode) { in SetLayerBlendMode()
344 HWC2::Error HWCLayer::SetLayerColor(hwc_color_t color) { in SetLayerColor()
355 HWC2::Error HWCLayer::SetLayerCompositionType(HWC2::Composition type) { in SetLayerCompositionType()
380 HWC2::Error HWCLayer::SetLayerDataspace(int32_t dataspace) { in SetLayerDataspace()
417 HWC2::Error HWCLayer::SetLayerDisplayFrame(hwc_rect_t frame) { in SetLayerDisplayFrame()
[all …]
Dhwc_layers.h70 class HWCLayer {
72 explicit HWCLayer(hwc2_display_t display_id, HWCBufferAllocator *buf_allocator);
73 ~HWCLayer();
154 bool operator()(const HWCLayer *lhs, const HWCLayer *rhs) const { in operator()
Dhwc_display.h303 HWCLayer *GetHWCLayer(hwc2_layer_t layer_id);
414 bool IsLayerUpdating(HWCLayer *layer);
433 HWCLayer *client_target_ = nullptr; // Also known as framebuffer target
434 std::map<hwc2_layer_t, HWCLayer *> layer_map_; // Look up by Id - TODO
435 std::multiset<HWCLayer *, SortLayersByZ> layer_set_; // Maintain a set sorted by Z
Dhwc_session.cpp530 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerPerFrameMetadata, in SetLayerPerFrameMetadata()
774 HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetCursorPosition, x, y); in SetCursorPosition()
785 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerBlendMode, mode); in SetLayerBlendMode()
790 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerBuffer, buffer, in SetLayerBuffer()
796 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerColor, color); in SetLayerColor()
802 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerCompositionType, in SetLayerCompositionType()
808 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerDataspace, in SetLayerDataspace()
814 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerDisplayFrame, in SetLayerDisplayFrame()
820 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerPlaneAlpha, in SetLayerPlaneAlpha()
826 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerSourceCrop, crop); in SetLayerSourceCrop()
[all …]

12