Home
last modified time | relevance | path

Searched refs:hwc2_layer_t (Results 1 – 25 of 44) sorted by relevance

12

/hardware/interfaces/graphics/composer/2.1/utils/hwc2onfbadapter/include/hwc2onfbadapter/
DHWC2OnFbAdapter.h70 hwc2_layer_t addLayer();
71 bool removeLayer(hwc2_layer_t layer);
72 bool hasLayer(hwc2_layer_t layer) const;
73 bool markLayerDirty(hwc2_layer_t layer, bool dirty);
74 const std::unordered_set<hwc2_layer_t>& getDirtyLayers() const;
93 std::unordered_set<hwc2_layer_t> mLayers;
94 std::unordered_set<hwc2_layer_t> mDirtyLayers;
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwcomposer.cpp84 hwc2_layer_t CreateLayer() { in CreateLayer()
85 hwc2_layer_t layer = nextLayer_++; in CreateLayer()
90 bool IsValidLayer(hwc2_layer_t layer) { in IsValidLayer()
94 void DestroyLayer(hwc2_layer_t layer) { in DestroyLayer()
99 bool SetClientComposed(hwc2_layer_t layer, bool value) { in SetClientComposed()
120 void GetNonClientComposedIDs(hwc2_layer_t* layers, uint32_t size) { in GetNonClientComposedIDs()
143 hwc2_layer_t nextLayer_ = 1;
144 std::set<hwc2_layer_t> layers_;
145 std::map<hwc2_layer_t, bool> isClientComposed_;
270 hwc2_layer_t* out_layer) { in Hwc2ImplCreateLayer()
[all …]
Dhwc_display.h163 HWCLayer *GetHWCLayer(hwc2_layer_t layer);
194 hwc2_layer_t *out_layers, int32_t *out_types);
196 hwc2_layer_t *out_layers, int32_t *out_layer_requests);
199 virtual HWC2::Error SetCursorPosition(hwc2_layer_t layer, int x, int y);
202 virtual HWC2::Error CreateLayer(hwc2_layer_t *out_layer_id);
203 virtual HWC2::Error DestroyLayer(hwc2_layer_t layer_id);
204 virtual HWC2::Error SetLayerZOrder(hwc2_layer_t layer_id, uint32_t z);
206 virtual HWC2::Error GetReleaseFences(uint32_t *out_num_elements, hwc2_layer_t *out_layers,
267 std::map<hwc2_layer_t, HWCLayer *> layer_map_; // Look up by Id - TODO
269 std::map<hwc2_layer_t, HWC2::Composition> layer_changes_;
[all …]
Dhwc_layers.h67 hwc2_layer_t GetId() const { return id_; } in GetId()
101 const hwc2_layer_t id_;
103 static std::atomic<hwc2_layer_t> next_id_;
Dhwc_session.cpp328 hwc2_layer_t *out_layer_id) { in CreateLayer()
361 hwc2_layer_t layer) { in DestroyLayer()
412 uint32_t *out_num_elements, hwc2_layer_t *out_layers, in GetChangedCompositionTypes()
457 hwc2_layer_t *out_layers, int32_t *out_layer_requests) { in GetDisplayRequests()
495 uint32_t *out_num_elements, hwc2_layer_t *out_layers, in GetReleaseFences()
608 static int32_t SetCursorPosition(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer, in SetCursorPosition()
620 static int32_t SetLayerBlendMode(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer, in SetLayerBlendMode()
629 static int32_t SetLayerBuffer(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer, in SetLayerBuffer()
635 static int32_t SetLayerColor(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer, in SetLayerColor()
641 hwc2_layer_t layer, int32_t int_type) { in SetLayerCompositionType()
[all …]
/hardware/libhardware/include/hardware/
Dhwcomposer2.h906 typedef uint64_t hwc2_layer_t; typedef
1221 hwc2_display_t display, hwc2_layer_t* outLayer);
1237 hwc2_device_t* device, hwc2_display_t display, hwc2_layer_t layer);
1292 uint32_t* outNumElements, hwc2_layer_t* outLayers,
1489 uint32_t* outNumElements, hwc2_layer_t* outLayers,
1629 hwc2_layer_t* outLayers, int32_t* outFences);
2137 hwc2_device_t* device, hwc2_display_t display, hwc2_layer_t layer,
2171 hwc2_device_t* device, hwc2_display_t display, hwc2_layer_t layer,
2204 hwc2_device_t* device, hwc2_display_t display, hwc2_layer_t layer,
2232 hwc2_device_t* device, hwc2_display_t display, hwc2_layer_t layer,
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/include/hwc2on1adapter/
DHWC2On1Adapter.h203 HWC2::Error createLayer(hwc2_layer_t* outLayerId);
204 HWC2::Error destroyLayer(hwc2_layer_t layerId);
209 hwc2_layer_t* outLayers, int32_t* outTypes);
219 hwc2_layer_t* outLayers, int32_t* outFences);
221 uint32_t* outNumElements, hwc2_layer_t* outLayers,
249 HWC2::Error updateLayerZ(hwc2_layer_t layerId, uint32_t z);
339 const std::unordered_map<hwc2_layer_t, HWC2::Composition>&
344 const std::unordered_map<hwc2_layer_t, HWC2::LayerRequest>&
349 void addTypeChange(hwc2_layer_t layerId, in addTypeChange()
356 void addLayerRequest(hwc2_layer_t layerId, in addLayerRequest()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.h190 HWC2::Error createLayer(hwc2_layer_t* outLayerId);
191 HWC2::Error destroyLayer(hwc2_layer_t layerId);
196 hwc2_layer_t* outLayers, int32_t* outTypes);
206 hwc2_layer_t* outLayers, int32_t* outFences);
208 uint32_t* outNumElements, hwc2_layer_t* outLayers,
225 HWC2::Error updateLayerZ(hwc2_layer_t layerId, uint32_t z);
299 const std::unordered_map<hwc2_layer_t, HWC2::Composition>&
304 const std::unordered_map<hwc2_layer_t, HWC2::LayerRequest>&
317 void addTypeChange(hwc2_layer_t layerId, in addTypeChange()
324 void addLayerRequest(hwc2_layer_t layerId, in addLayerRequest()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_display.h140 HWCLayer *GetHWCLayer(hwc2_layer_t layer);
166 hwc2_layer_t *out_layers, int32_t *out_types);
168 hwc2_layer_t *out_layers, int32_t *out_layer_requests);
171 virtual HWC2::Error SetCursorPosition(hwc2_layer_t layer, int x, int y);
174 virtual HWC2::Error CreateLayer(hwc2_layer_t *out_layer_id);
175 virtual HWC2::Error DestroyLayer(hwc2_layer_t layer_id);
176 virtual HWC2::Error SetLayerZOrder(hwc2_layer_t layer_id, uint32_t z);
178 virtual HWC2::Error GetReleaseFences(uint32_t *out_num_elements, hwc2_layer_t *out_layers,
238 std::map<hwc2_layer_t, HWCLayer *> layer_map_; // Look up by Id - TODO
240 std::map<hwc2_layer_t, HWC2::Composition> layer_changes_;
[all …]
Dhwc_layers.h61 hwc2_layer_t GetId() const { return id_; } in GetId()
93 const hwc2_layer_t id_;
95 static std::atomic<hwc2_layer_t> next_id_;
Dhwc_session.h65 hwc2_layer_t layer, HWC2::Error (HWCLayer::*member)(Args...), in CallLayerFunction()
90 hwc2_layer_t *out_layer_id);
93 static int32_t DestroyLayer(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer);
103 static int32_t SetLayerZOrder(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer,
Dhwc_session.cpp230 hwc2_layer_t *out_layer_id) { in CreateLayer()
256 hwc2_layer_t layer) { in DestroyLayer()
311 uint32_t *out_num_elements, hwc2_layer_t *out_layers, in GetChangedCompositionTypes()
352 hwc2_layer_t *out_layers, int32_t *out_layer_requests) { in GetDisplayRequests()
389 uint32_t *out_num_elements, hwc2_layer_t *out_layers, in GetReleaseFences()
459 static int32_t SetCursorPosition(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer, in SetCursorPosition()
465 static int32_t SetLayerBlendMode(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer, in SetLayerBlendMode()
471 static int32_t SetLayerBuffer(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer, in SetLayerBuffer()
477 static int32_t SetLayerColor(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer, in SetLayerColor()
483 hwc2_layer_t layer, int32_t int_type) { in SetLayerCompositionType()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_display.h152 HWCLayer *GetHWCLayer(hwc2_layer_t layer);
181 hwc2_layer_t *out_layers, int32_t *out_types);
183 hwc2_layer_t *out_layers, int32_t *out_layer_requests);
186 virtual HWC2::Error SetCursorPosition(hwc2_layer_t layer, int x, int y);
189 virtual HWC2::Error CreateLayer(hwc2_layer_t *out_layer_id);
190 virtual HWC2::Error DestroyLayer(hwc2_layer_t layer_id);
191 virtual HWC2::Error SetLayerZOrder(hwc2_layer_t layer_id, uint32_t z);
193 virtual HWC2::Error GetReleaseFences(uint32_t *out_num_elements, hwc2_layer_t *out_layers,
256 std::map<hwc2_layer_t, HWCLayer *> layer_map_; // Look up by Id - TODO
258 std::map<hwc2_layer_t, HWC2::Composition> layer_changes_;
[all …]
Dhwc_layers.h67 hwc2_layer_t GetId() const { return id_; } in GetId()
101 const hwc2_layer_t id_;
103 static std::atomic<hwc2_layer_t> next_id_;
Dhwc_session.h66 hwc2_layer_t layer, HWC2::Error (HWCLayer::*member)(Args...), in CallLayerFunction()
91 hwc2_layer_t *out_layer_id);
94 static int32_t DestroyLayer(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer);
104 static int32_t SetLayerZOrder(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer,
Dhwc_session.cpp247 hwc2_layer_t *out_layer_id) { in CreateLayer()
273 hwc2_layer_t layer) { in DestroyLayer()
328 uint32_t *out_num_elements, hwc2_layer_t *out_layers, in GetChangedCompositionTypes()
369 hwc2_layer_t *out_layers, int32_t *out_layer_requests) { in GetDisplayRequests()
405 uint32_t *out_num_elements, hwc2_layer_t *out_layers, in GetReleaseFences()
474 static int32_t SetCursorPosition(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer, in SetCursorPosition()
480 static int32_t SetLayerBlendMode(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer, in SetLayerBlendMode()
486 static int32_t SetLayerBuffer(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer, in SetLayerBuffer()
492 static int32_t SetLayerColor(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer, in SetLayerColor()
498 hwc2_layer_t layer, int32_t int_type) { in SetLayerCompositionType()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_display.h165 HWCLayer *GetHWCLayer(hwc2_layer_t layer);
193 hwc2_layer_t *out_layers, int32_t *out_types);
195 hwc2_layer_t *out_layers, int32_t *out_layer_requests);
198 virtual HWC2::Error SetCursorPosition(hwc2_layer_t layer, int x, int y);
201 virtual HWC2::Error CreateLayer(hwc2_layer_t *out_layer_id);
202 virtual HWC2::Error DestroyLayer(hwc2_layer_t layer_id);
203 virtual HWC2::Error SetLayerZOrder(hwc2_layer_t layer_id, uint32_t z);
205 virtual HWC2::Error GetReleaseFences(uint32_t *out_num_elements, hwc2_layer_t *out_layers,
260 std::map<hwc2_layer_t, HWCLayer *> layer_map_; // Look up by Id - TODO
262 std::map<hwc2_layer_t, HWC2::Composition> layer_changes_;
[all …]
Dhwc_layers.h63 hwc2_layer_t GetId() const { return id_; } in GetId()
96 const hwc2_layer_t id_;
98 static std::atomic<hwc2_layer_t> next_id_;
Dhwc_session.cpp323 hwc2_layer_t *out_layer_id) { in CreateLayer()
359 hwc2_layer_t layer) { in DestroyLayer()
417 uint32_t *out_num_elements, hwc2_layer_t *out_layers, in GetChangedCompositionTypes()
462 hwc2_layer_t *out_layers, int32_t *out_layer_requests) { in GetDisplayRequests()
500 uint32_t *out_num_elements, hwc2_layer_t *out_layers, in GetReleaseFences()
574 static int32_t SetCursorPosition(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer, in SetCursorPosition()
586 static int32_t SetLayerBlendMode(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer, in SetLayerBlendMode()
592 static int32_t SetLayerBuffer(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer, in SetLayerBuffer()
598 static int32_t SetLayerColor(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer, in SetLayerColor()
604 hwc2_layer_t layer, int32_t int_type) { in SetLayerCompositionType()
[all …]
Dhwc_session.h99 hwc2_layer_t layer, HWC2::Error (HWCLayer::*member)(Args...), in CallLayerFunction()
124 hwc2_layer_t *out_layer_id);
127 static int32_t DestroyLayer(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer);
137 static int32_t SetLayerZOrder(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer,
/hardware/interfaces/graphics/composer/2.1/utils/hwc2onfbadapter/
DHWC2OnFbAdapter.cpp336 uint32_t* outNumElements, hwc2_layer_t* outLayers, in getChangedCompositionTypesHook()
364 hwc2_layer_t* /*outLayers*/, int32_t* /*outLayerRequests*/) { in getDisplayRequestsHook() argument
409 uint32_t* outNumElements, hwc2_layer_t* /*outLayers*/, in getReleaseFencesHook() argument
420 int32_t createLayerHook(hwc2_device_t* device, hwc2_display_t display, hwc2_layer_t* outLayer) { in createLayerHook()
431 int32_t destroyLayerHook(hwc2_device_t* device, hwc2_display_t display, hwc2_layer_t layer) { in destroyLayerHook()
445 int32_t setCursorPositionHook(hwc2_device_t* device, hwc2_display_t display, hwc2_layer_t /*layer*/, in setCursorPositionHook() argument
456 int32_t setLayerBufferHook(hwc2_device_t* device, hwc2_display_t display, hwc2_layer_t layer, in setLayerBufferHook()
475 int32_t setLayerSurfaceDamageHook(hwc2_device_t* device, hwc2_display_t display, hwc2_layer_t layer, in setLayerSurfaceDamageHook()
490 hwc2_layer_t layer, int32_t type) { in setLayerCompositionTypeHook()
504 int32_t setLayerStateHook(hwc2_device_t* device, hwc2_display_t display, hwc2_layer_t layer, in setLayerStateHook()
[all …]
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display.h220 HWCLayer *GetHWCLayer(hwc2_layer_t layer_id);
288 hwc2_layer_t *out_layers, int32_t *out_types);
290 hwc2_layer_t *out_layers, int32_t *out_layer_requests);
293 virtual HWC2::Error SetCursorPosition(hwc2_layer_t layer, int x, int y);
296 virtual HWC2::Error CreateLayer(hwc2_layer_t *out_layer_id);
297 virtual HWC2::Error DestroyLayer(hwc2_layer_t layer_id);
298 virtual HWC2::Error SetLayerZOrder(hwc2_layer_t layer_id, uint32_t z);
300 virtual HWC2::Error GetReleaseFences(uint32_t *out_num_elements, hwc2_layer_t *out_layers,
386 std::map<hwc2_layer_t, HWCLayer *> layer_map_; // Look up by Id - TODO
388 std::map<hwc2_layer_t, HWC2::Composition> layer_changes_;
[all …]
Dhwc_layers.h75 hwc2_layer_t GetId() const { return id_; } in GetId()
124 const hwc2_layer_t id_;
126 static std::atomic<hwc2_layer_t> next_id_;
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_display.h303 HWCLayer *GetHWCLayer(hwc2_layer_t layer_id);
347 hwc2_layer_t *out_layers, int32_t *out_types);
349 hwc2_layer_t *out_layers, int32_t *out_layer_requests);
352 virtual HWC2::Error SetCursorPosition(hwc2_layer_t layer, int x, int y);
355 virtual HWC2::Error CreateLayer(hwc2_layer_t *out_layer_id);
356 virtual HWC2::Error DestroyLayer(hwc2_layer_t layer_id);
357 virtual HWC2::Error SetLayerZOrder(hwc2_layer_t layer_id, uint32_t z);
359 virtual HWC2::Error GetReleaseFences(uint32_t *out_num_elements, hwc2_layer_t *out_layers,
434 std::map<hwc2_layer_t, HWCLayer *> layer_map_; // Look up by Id - TODO
436 std::map<hwc2_layer_t, HWC2::Composition> layer_changes_;
[all …]
Dhwc_layers.h75 hwc2_layer_t GetId() const { return id_; } in GetId()
121 const hwc2_layer_t id_;
123 static std::atomic<hwc2_layer_t> next_id_;

12