Home
last modified time | relevance | path

Searched refs:Layer (Results 1 – 25 of 184) sorted by relevance

12345678

/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposerHal.h76 virtual Error createLayer(Display display, Layer* outLayer) = 0;
77 virtual Error destroyLayer(Display display, Layer layer) = 0;
103 virtual Error validateDisplay(Display display, std::vector<Layer>* outChangedLayers,
106 std::vector<Layer>* outRequestedLayers,
110 std::vector<Layer>* outLayers,
113 virtual Error setLayerCursorPosition(Display display, Layer layer, int32_t x, int32_t y) = 0;
114 virtual Error setLayerBuffer(Display display, Layer layer, buffer_handle_t buffer,
116 virtual Error setLayerSurfaceDamage(Display display, Layer layer,
118 virtual Error setLayerBlendMode(Display display, Layer layer, int32_t mode) = 0;
119 virtual Error setLayerColor(Display display, Layer layer, IComposerClient::Color color) = 0;
[all …]
DComposerResources.h275 bool addLayer(Layer layer, std::unique_ptr<ComposerLayerResource> layerResource) { in addLayer()
280 bool removeLayer(Layer layer) { return mLayerResources.erase(layer) > 0; } in removeLayer()
282 ComposerLayerResource* findLayerResource(Layer layer) { in findLayerResource()
291 std::vector<Layer> getLayers() const { in getLayers()
292 std::vector<Layer> layers; in getLayers()
310 std::unordered_map<Layer, std::unique_ptr<ComposerLayerResource>> mLayerResources;
330 std::function<void(Display display, bool isVirtual, const std::vector<Layer>& layers)>;
375 Error addLayer(Display display, Layer layer, uint32_t bufferCacheSize) { in addLayer()
388 Error removeLayer(Display display, Layer layer) { in removeLayer()
417 Error getLayerBuffer(Display display, Layer layer, uint32_t slot, bool fromCache, in getLayerBuffer()
[all …]
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_tonemapper.h56 Layer *layer = nullptr;
60 Layer *layer = nullptr;
77 DisplayError AllocateIntermediateBuffers(const Layer *layer);
81 void SetToneMapConfig(Layer *layer, PrimariesTransfer blend_cs);
82 bool IsSameToneMapConfig(Layer *layer, PrimariesTransfer blend_cs);
112 void ToneMap(Layer *layer, ToneMapSession *session);
113 DisplayError AcquireToneMapSession(Layer *layer, uint32_t *sess_idx, PrimariesTransfer blend_cs);
Dhwc_tonemapper.cpp103 DisplayError ToneMapSession::AllocateIntermediateBuffers(const Layer *layer) { in AllocateIntermediateBuffers()
150 void ToneMapSession::SetToneMapConfig(Layer *layer, PrimariesTransfer blend_cs) { in SetToneMapConfig()
159 bool ToneMapSession::IsSameToneMapConfig(Layer *layer, PrimariesTransfer blend_cs) { in IsSameToneMapConfig()
179 Layer *layer = layer_stack->layers.at(i); in HandleToneMap()
224 void HWCToneMapper::ToneMap(Layer* layer, ToneMapSession *session) { in ToneMap()
257 Layer *layer = layer_stack->layers.at(UINT32(session->layer_index_)); in PostCommit()
335 DisplayError HWCToneMapper::AcquireToneMapSession(Layer *layer, uint32_t *session_index, in AcquireToneMapSession()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_tonemapper.h56 Layer *layer = nullptr;
60 Layer *layer = nullptr;
77 DisplayError AllocateIntermediateBuffers(const Layer *layer);
81 void SetToneMapConfig(Layer *layer);
82 bool IsSameToneMapConfig(Layer *layer);
112 void ToneMap(Layer *layer, ToneMapSession *session);
113 DisplayError AcquireToneMapSession(Layer *layer, uint32_t *session_index);
Dhwc_tonemapper.cpp103 DisplayError ToneMapSession::AllocateIntermediateBuffers(const Layer *layer) { in AllocateIntermediateBuffers()
149 void ToneMapSession::SetToneMapConfig(Layer *layer) { in SetToneMapConfig()
158 bool ToneMapSession::IsSameToneMapConfig(Layer *layer) { in IsSameToneMapConfig()
178 Layer *layer = layer_stack->layers.at(i); in HandleToneMap()
221 void HWCToneMapper::ToneMap(Layer* layer, ToneMapSession *session) { in ToneMap()
254 Layer *layer = layer_stack->layers.at(UINT32(session->layer_index_)); in PostCommit()
317 DisplayError HWCToneMapper::AcquireToneMapSession(Layer *layer, uint32_t *session_index) { in AcquireToneMapSession()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_tonemapper.h56 Layer *layer = nullptr;
60 Layer *layer = nullptr;
77 DisplayError AllocateIntermediateBuffers(const Layer *layer);
81 void SetToneMapConfig(Layer *layer);
82 bool IsSameToneMapConfig(Layer *layer);
112 void ToneMap(Layer *layer, ToneMapSession *session);
113 DisplayError AcquireToneMapSession(Layer *layer, uint32_t *session_index);
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_tonemapper.h56 Layer *layer = nullptr;
60 Layer *layer = nullptr;
77 DisplayError AllocateIntermediateBuffers(const Layer *layer);
81 void SetToneMapConfig(Layer *layer, PrimariesTransfer blend_cs);
82 bool IsSameToneMapConfig(Layer *layer, PrimariesTransfer blend_cs);
112 void ToneMap(Layer *layer, ToneMapSession *session);
113 DisplayError AcquireToneMapSession(Layer *layer, uint32_t *sess_idx, PrimariesTransfer blend_cs);
Dhwc_tonemapper.cpp103 DisplayError ToneMapSession::AllocateIntermediateBuffers(const Layer *layer) { in AllocateIntermediateBuffers()
150 void ToneMapSession::SetToneMapConfig(Layer *layer, PrimariesTransfer blend_cs) { in SetToneMapConfig()
159 bool ToneMapSession::IsSameToneMapConfig(Layer *layer, PrimariesTransfer blend_cs) { in IsSameToneMapConfig()
179 Layer *layer = layer_stack->layers.at(i); in HandleToneMap()
224 void HWCToneMapper::ToneMap(Layer* layer, ToneMapSession *session) { in ToneMap()
257 Layer *layer = layer_stack->layers.at(UINT32(session->layer_index_)); in PostCommit()
335 DisplayError HWCToneMapper::AcquireToneMapSession(Layer *layer, uint32_t *session_index, in AcquireToneMapSession()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_tonemapper.h56 Layer *layer = nullptr;
60 Layer *layer = nullptr;
77 DisplayError AllocateIntermediateBuffers(const Layer *layer);
81 void SetToneMapConfig(Layer *layer);
82 bool IsSameToneMapConfig(Layer *layer);
112 void ToneMap(Layer *layer, ToneMapSession *session);
113 DisplayError AcquireToneMapSession(Layer *layer, uint32_t *session_index);
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_tonemapper.h63 void SetToneMapConfig(Layer *layer);
64 bool IsSameToneMapConfig(Layer *layer);
88 void ToneMap(hwc_layer_1_t *hwc_layer, Layer *layer, ToneMapSession *session);
89 DisplayError AcquireToneMapSession(Layer *layer, uint32_t *session_index);
Dblit_engine_c2d.cpp209 Layer *layer = layer_stack->layers.at(i); in PostCommit()
262 Layer *layer = layer_stack->layers.at(i); in Prepare()
295 Layer *layer = layer_stack->layers.at(k); in Prepare()
334 Layer *layer = layer_stack->layers.at(i); in PreCommit()
341 Layer *blit_layer = layer_stack->layers.at(blit_target_start_index_ + processed_blit); in PreCommit()
380 Layer *layer = layer_stack->layers.at(j + content_list->numHwLayers); in PreCommit()
413 Layer *layer = layer_stack->layers.at(i); in Commit()
435 Layer *layer = layer_stack->layers.at(i); in Commit()
441 Layer *bottom_layer = layer_stack->layers.at(k); in Commit()
464 Layer *blit_layer = layer_stack->layers.at(blit_target_start_index_ + processed_blit); in Commit()
[all …]
Dhwc_tonemapper.cpp101 void ToneMapSession::SetToneMapConfig(Layer *layer) { in SetToneMapConfig()
110 bool ToneMapSession::IsSameToneMapConfig(Layer *layer) { in IsSameToneMapConfig()
130 Layer *layer = layer_stack->layers.at(i); in HandleToneMap()
173 void HWCToneMapper::ToneMap(hwc_layer_1_t *hwc_layer, Layer* layer, ToneMapSession *session) { in ToneMap()
207 Layer *layer = layer_stack->layers.at(UINT32(session->layer_index_)); in PostCommit()
270 DisplayError HWCToneMapper::AcquireToneMapSession(Layer *layer, uint32_t *session_index) { in AcquireToneMapSession()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_tonemapper.h63 void SetToneMapConfig(Layer *layer);
64 bool IsSameToneMapConfig(Layer *layer);
88 void ToneMap(hwc_layer_1_t *hwc_layer, Layer *layer, ToneMapSession *session);
89 DisplayError AcquireToneMapSession(Layer *layer, uint32_t *session_index);
Dblit_engine_c2d.cpp209 Layer *layer = layer_stack->layers.at(i); in PostCommit()
262 Layer *layer = layer_stack->layers.at(i); in Prepare()
295 Layer *layer = layer_stack->layers.at(k); in Prepare()
334 Layer *layer = layer_stack->layers.at(i); in PreCommit()
341 Layer *blit_layer = layer_stack->layers.at(blit_target_start_index_ + processed_blit); in PreCommit()
380 Layer *layer = layer_stack->layers.at(j + content_list->numHwLayers); in PreCommit()
413 Layer *layer = layer_stack->layers.at(i); in Commit()
435 Layer *layer = layer_stack->layers.at(i); in Commit()
441 Layer *bottom_layer = layer_stack->layers.at(k); in Commit()
464 Layer *blit_layer = layer_stack->layers.at(blit_target_start_index_ + processed_blit); in Commit()
[all …]
Dhwc_tonemapper.cpp101 void ToneMapSession::SetToneMapConfig(Layer *layer) { in SetToneMapConfig()
110 bool ToneMapSession::IsSameToneMapConfig(Layer *layer) { in IsSameToneMapConfig()
130 Layer *layer = layer_stack->layers.at(i); in HandleToneMap()
173 void HWCToneMapper::ToneMap(hwc_layer_1_t *hwc_layer, Layer* layer, ToneMapSession *session) { in ToneMap()
207 Layer *layer = layer_stack->layers.at(UINT32(session->layer_index_)); in PostCommit()
270 DisplayError HWCToneMapper::AcquireToneMapSession(Layer *layer, uint32_t *session_index) { in AcquireToneMapSession()
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.h121 class Layer; variable
125 bool operator()(const std::shared_ptr<Layer>& lhs,
126 const std::shared_ptr<Layer>& rhs);
347 const Layer& layer);
349 const Layer& layer);
395 std::multiset<std::shared_ptr<Layer>, SortLayersByZ> mLayers;
396 std::unordered_map<size_t, std::shared_ptr<Layer>> mHwc1LayerMap;
462 LatchedState(Layer& parent, T initialValue) in LatchedState()
492 Layer& mParent;
497 class Layer {
[all …]
DHWC2On1Adapter.cpp290 layerHook<decltype(&Layer::setCursorPosition), in doGetFunction()
291 &Layer::setCursorPosition, int32_t, int32_t>); in doGetFunction()
294 layerHook<decltype(&Layer::setBuffer), &Layer::setBuffer, in doGetFunction()
298 layerHook<decltype(&Layer::setSurfaceDamage), in doGetFunction()
299 &Layer::setSurfaceDamage, hwc_region_t>); in doGetFunction()
307 layerHook<decltype(&Layer::setColor), &Layer::setColor, in doGetFunction()
316 layerHook<decltype(&Layer::setDisplayFrame), in doGetFunction()
317 &Layer::setDisplayFrame, hwc_rect_t>); in doGetFunction()
320 layerHook<decltype(&Layer::setPlaneAlpha), in doGetFunction()
321 &Layer::setPlaneAlpha, float>); in doGetFunction()
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/include/hwc2on1adapter/
DHWC2On1Adapter.h129 class Layer; variable
133 bool operator()(const std::shared_ptr<Layer>& lhs,
134 const std::shared_ptr<Layer>& rhs) const;
382 const Layer& layer);
387 const Layer& layer);
446 std::multiset<std::shared_ptr<Layer>, SortLayersByZ> mLayers;
450 std::unordered_map<size_t, std::shared_ptr<Layer>> mHwc1LayerMap;
524 class Layer {
526 explicit Layer(Display& display);
528 bool operator==(const Layer& other) { return mId == other.mId; }
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/passthrough/include/composer-passthrough/2.1/
DHwcHal.h158 Error createLayer(Display display, Layer* outLayer) override { in createLayer()
163 Error destroyLayer(Display display, Layer layer) override { in destroyLayer()
327 Error validateDisplay(Display display, std::vector<Layer>* outChangedLayers, in validateDisplay()
329 uint32_t* outDisplayRequestMask, std::vector<Layer>* outRequestedLayers, in validateDisplay()
345 std::vector<Layer> changedLayers(typesCount); in validateDisplay()
360 std::vector<Layer> requestedLayers(reqsCount); in validateDisplay()
383 Error presentDisplay(Display display, int32_t* outPresentFence, std::vector<Layer>* outLayers, in presentDisplay()
412 Error setLayerCursorPosition(Display display, Layer layer, int32_t x, int32_t y) override { in setLayerCursorPosition()
417 Error setLayerBuffer(Display display, Layer layer, buffer_handle_t buffer, in setLayerBuffer()
423 Error setLayerSurfaceDamage(Display display, Layer layer, in setLayerSurfaceDamage()
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp257 layerHook<decltype(&Layer::setCursorPosition), in doGetFunction()
258 &Layer::setCursorPosition, int32_t, int32_t>); in doGetFunction()
261 layerHook<decltype(&Layer::setBuffer), &Layer::setBuffer, in doGetFunction()
265 layerHook<decltype(&Layer::setSurfaceDamage), in doGetFunction()
266 &Layer::setSurfaceDamage, hwc_region_t>); in doGetFunction()
274 layerHook<decltype(&Layer::setColor), &Layer::setColor, in doGetFunction()
283 layerHook<decltype(&Layer::setDisplayFrame), in doGetFunction()
284 &Layer::setDisplayFrame, hwc_rect_t>); in doGetFunction()
287 layerHook<decltype(&Layer::setPlaneAlpha), in doGetFunction()
288 &Layer::setPlaneAlpha, float>); in doGetFunction()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dblit_engine_c2d.cpp209 Layer *layer = layer_stack->layers.at(i); in PostCommit()
262 Layer *layer = layer_stack->layers.at(i); in Prepare()
295 Layer *layer = layer_stack->layers.at(k); in Prepare()
326 Layer *layer = layer_stack->layers.at(i); in PreCommit()
333 Layer *blit_layer = layer_stack->layers.at(blit_target_start_index_ + processed_blit); in PreCommit()
367 Layer *layer = layer_stack->layers.at(j + content_list->numHwLayers); in PreCommit()
398 Layer *layer = layer_stack->layers.at(i); in Commit()
420 Layer *layer = layer_stack->layers.at(i); in Commit()
426 Layer *bottom_layer = layer_stack->layers.at(k); in Commit()
449 Layer *blit_layer = layer_stack->layers.at(blit_target_start_index_ + processed_blit); in Commit()
[all …]
Dhwc_display.h144 virtual void PrepareDynamicRefreshRate(Layer *layer);
161 DisplayError SetMetaData(const private_handle_t *pvt_handle, Layer *layer);
163 bool IsLayerUpdating(hwc_display_contents_1_t *content_list, const Layer *layer);
207 int PrepareLayerParams(hwc_layer_1_t *hwc_layer, Layer *layer);
208 void CommitLayerParams(hwc_layer_1_t *hwc_layer, Layer *layer);
/hardware/interfaces/graphics/composer/2.3/utils/hal/include/composer-hal/2.3/
DComposerHal.h35 using V2_1::Layer;
75 Display display, Layer layer, in setLayerPerFrameMetadata()
100 Display display, Layer layer,
104 virtual Error setLayerColorTransform(Display display, Layer layer, const float* matrix) = 0;
120 Display display, Layer layer,
/hardware/interfaces/graphics/composer/2.1/vts/functional/
DVtsHalGraphicsComposerV2_1TargetTest.cpp222 Layer layer; in TEST_F()
251 Layer layer; in TEST_F()
800 Layer layer; in TEST_F()
841 Layer layer; in TEST_F()
886 Layer layer; in TEST_F()
900 Layer layer; in TEST_F()
919 Layer layer; in TEST_F()
935 Layer layer; in TEST_F()
950 Layer layer; in TEST_F()
967 Layer layer; in TEST_F()
[all …]

12345678