Home
last modified time | relevance | path

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

/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()
112 HWC2::Error HWCLayer::SetLayerSurfaceDamage(hwc_region_t damage) { in SetLayerSurfaceDamage()
136 HWC2::Error HWCLayer::SetLayerBlendMode(HWC2::BlendMode mode) { in SetLayerBlendMode()
159 HWC2::Error HWCLayer::SetLayerColor(hwc_color_t color) { in SetLayerColor()
167 HWC2::Error HWCLayer::SetLayerCompositionType(HWC2::Composition type) { in SetLayerCompositionType()
192 HWC2::Error HWCLayer::SetLayerDataspace(int32_t dataspace) { in SetLayerDataspace()
200 HWC2::Error HWCLayer::SetLayerDisplayFrame(hwc_rect_t frame) { in SetLayerDisplayFrame()
[all …]
Dhwc_layers.h55 class HWCLayer {
57 explicit HWCLayer(hwc2_display_t display_id, HWCBufferAllocator *buf_allocator);
58 ~HWCLayer();
116 bool operator()(const HWCLayer *lhs, const HWCLayer *rhs) const { in operator()
Dhwc_display.h143 HWCLayer *GetHWCLayer(hwc2_layer_t layer);
240 HWCLayer *client_target_ = nullptr; // Also known as framebuffer target
241 std::map<hwc2_layer_t, HWCLayer *> layer_map_; // Look up by Id - TODO
242 std::multiset<HWCLayer *, SortLayersByZ> layer_set_; // Maintain a set sorted by Z
Dhwc_session.cpp464 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerBlendMode, mode); in SetLayerBlendMode()
469 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerBuffer, buffer, in SetLayerBuffer()
475 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerColor, color); in SetLayerColor()
481 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerCompositionType, in SetLayerCompositionType()
487 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerDataspace, in SetLayerDataspace()
493 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerDisplayFrame, in SetLayerDisplayFrame()
499 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerPlaneAlpha, in SetLayerPlaneAlpha()
505 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerSourceCrop, crop); in SetLayerSourceCrop()
510 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerSurfaceDamage, in SetLayerSurfaceDamage()
517 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerTransform, in SetLayerTransform()
[all …]
Dhwc_display.cpp245 client_target_ = new HWCLayer(id_, buffer_allocator_); in Init()
278 HWCLayer *layer = *layer_set_.emplace(new HWCLayer(id_, buffer_allocator_)); in CreateLayer()
286 HWCLayer *HWCDisplay::GetHWCLayer(hwc2_layer_t layer_id) { in GetHWCLayer()
1386 HWCLayer *hwc_layer = GetHWCLayer(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()
Dhwc_session.h99 hwc2_layer_t layer, HWC2::Error (HWCLayer::*member)(Args...), in CallLayerFunction()
/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()
194 HWC2::Error HWCLayer::SetLayerBuffer(buffer_handle_t buffer, int32_t acquire_fence) { in SetLayerBuffer()
276 HWC2::Error HWCLayer::SetLayerSurfaceDamage(hwc_region_t damage) { in SetLayerSurfaceDamage()
300 HWC2::Error HWCLayer::SetLayerBlendMode(HWC2::BlendMode mode) { in SetLayerBlendMode()
323 HWC2::Error HWCLayer::SetLayerColor(hwc_color_t color) { in SetLayerColor()
334 HWC2::Error HWCLayer::SetLayerCompositionType(HWC2::Composition type) { in SetLayerCompositionType()
359 HWC2::Error HWCLayer::SetLayerDataspace(int32_t dataspace) { in SetLayerDataspace()
396 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();
125 bool operator()(const HWCLayer *lhs, const HWCLayer *rhs) const { in operator()
Dhwc_display.h152 HWCLayer *GetHWCLayer(hwc2_layer_t layer);
256 HWCLayer *client_target_ = nullptr; // Also known as framebuffer target
257 std::map<hwc2_layer_t, HWCLayer *> layer_map_; // Look up by Id - TODO
258 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_session.h66 hwc2_layer_t layer, HWC2::Error (HWCLayer::*member)(Args...), in CallLayerFunction()
/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();
126 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.cpp622 HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetCursorPosition, x, y); in SetCursorPosition()
633 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerBlendMode, mode); in SetLayerBlendMode()
638 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerBuffer, buffer, in SetLayerBuffer()
644 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerColor, color); in SetLayerColor()
650 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerCompositionType, in SetLayerCompositionType()
656 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerDataspace, in SetLayerDataspace()
662 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerDisplayFrame, in SetLayerDisplayFrame()
668 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerPlaneAlpha, in SetLayerPlaneAlpha()
674 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerSourceCrop, crop); in SetLayerSourceCrop()
679 return HWCSession::CallLayerFunction(device, display, layer, &HWCLayer::SetLayerSurfaceDamage, in SetLayerSurfaceDamage()
[all …]
Dhwc_display.cpp377 client_target_ = new HWCLayer(id_, buffer_allocator_); in Init()
427 HWCLayer *layer = *layer_set_.emplace(new HWCLayer(id_, buffer_allocator_)); in CreateLayer()
435 HWCLayer *HWCDisplay::GetHWCLayer(hwc2_layer_t layer_id) { in GetHWCLayer()
1695 HWCLayer *hwc_layer = GetHWCLayer(layer); in BuildLayerStack()
Dhwc_session.h109 hwc2_layer_t layer, HWC2::Error (HWCLayer::*member)(Args...), in CallLayerFunction()