Home
last modified time | relevance | path

Searched refs:layer_stack (Results 1 – 25 of 97) sorted by relevance

1234

/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dblit_engine.h56 virtual int Prepare(LayerStack *layer_stack) = 0;
57 virtual int PreCommit(hwc_display_contents_1_t *content_list, LayerStack *layer_stack) = 0;
58 virtual int Commit(hwc_display_contents_1_t *content_list, LayerStack *layer_stack) = 0;
59 virtual void PostCommit(LayerStack *layer_stack) = 0;
Dblit_engine_c2d.cpp203 void BlitEngineC2d::PostCommit(LayerStack *layer_stack) { in PostCommit() argument
209 Layer *layer = layer_stack->layers.at(i); in PostCommit()
214 layer_stack->layers.at(index)->input_buffer.release_fence_fd; in PostCommit()
218 layer_stack->layers.at(index)->input_buffer.release_fence_fd = -1; in PostCommit()
219 fd = layer_stack->layers.at(index)->input_buffer.acquire_fence_fd; in PostCommit()
220 layer_stack->layers.at(index)->input_buffer.acquire_fence_fd = -1; in PostCommit()
254 int BlitEngineC2d::Prepare(LayerStack *layer_stack) { in Prepare() argument
257 uint32_t layer_count = UINT32(layer_stack->layers.size()); in Prepare()
262 Layer *layer = layer_stack->layers.at(i); in Prepare()
284 LayerBuffer &layer_buffer = layer_stack->layers.at(gpu_target_index)->input_buffer; in Prepare()
[all …]
Dblit_engine_c2d.h76 virtual int Prepare(LayerStack *layer_stack);
77 virtual int PreCommit(hwc_display_contents_1_t *content_list, LayerStack *layer_stack);
78 virtual int Commit(hwc_display_contents_1_t *content_list, LayerStack *layer_stack);
79 virtual void PostCommit(LayerStack *layer_stack);
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dblit_engine.h56 virtual int Prepare(LayerStack *layer_stack) = 0;
57 virtual int PreCommit(hwc_display_contents_1_t *content_list, LayerStack *layer_stack) = 0;
58 virtual int Commit(hwc_display_contents_1_t *content_list, LayerStack *layer_stack) = 0;
59 virtual void PostCommit(LayerStack *layer_stack) = 0;
Dblit_engine_c2d.cpp203 void BlitEngineC2d::PostCommit(LayerStack *layer_stack) { in PostCommit() argument
209 Layer *layer = layer_stack->layers.at(i); in PostCommit()
214 layer_stack->layers.at(index)->input_buffer->release_fence_fd; in PostCommit()
218 layer_stack->layers.at(index)->input_buffer->release_fence_fd = -1; in PostCommit()
219 fd = layer_stack->layers.at(index)->input_buffer->acquire_fence_fd; in PostCommit()
220 layer_stack->layers.at(index)->input_buffer->acquire_fence_fd = -1; in PostCommit()
254 int BlitEngineC2d::Prepare(LayerStack *layer_stack) { in Prepare() argument
257 uint32_t layer_count = UINT32(layer_stack->layers.size()); in Prepare()
262 Layer *layer = layer_stack->layers.at(i); in Prepare()
284 LayerBuffer *layer_buffer = layer_stack->layers.at(gpu_target_index)->input_buffer; in Prepare()
[all …]
Dblit_engine_c2d.h76 virtual int Prepare(LayerStack *layer_stack);
77 virtual int PreCommit(hwc_display_contents_1_t *content_list, LayerStack *layer_stack);
78 virtual int Commit(hwc_display_contents_1_t *content_list, LayerStack *layer_stack);
79 virtual void PostCommit(LayerStack *layer_stack);
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dblit_engine.h56 virtual int Prepare(LayerStack *layer_stack) = 0;
57 virtual int PreCommit(hwc_display_contents_1_t *content_list, LayerStack *layer_stack) = 0;
58 virtual int Commit(hwc_display_contents_1_t *content_list, LayerStack *layer_stack) = 0;
59 virtual void PostCommit(LayerStack *layer_stack) = 0;
Dblit_engine_c2d.cpp203 void BlitEngineC2d::PostCommit(LayerStack *layer_stack) { in PostCommit() argument
209 Layer *layer = layer_stack->layers.at(i); in PostCommit()
214 layer_stack->layers.at(index)->input_buffer.release_fence_fd; in PostCommit()
218 layer_stack->layers.at(index)->input_buffer.release_fence_fd = -1; in PostCommit()
219 fd = layer_stack->layers.at(index)->input_buffer.acquire_fence_fd; in PostCommit()
220 layer_stack->layers.at(index)->input_buffer.acquire_fence_fd = -1; in PostCommit()
254 int BlitEngineC2d::Prepare(LayerStack *layer_stack) { in Prepare() argument
257 uint32_t layer_count = UINT32(layer_stack->layers.size()); in Prepare()
262 Layer *layer = layer_stack->layers.at(i); in Prepare()
284 LayerBuffer &layer_buffer = layer_stack->layers.at(gpu_target_index)->input_buffer; in Prepare()
[all …]
Dblit_engine_c2d.h76 virtual int Prepare(LayerStack *layer_stack);
77 virtual int PreCommit(hwc_display_contents_1_t *content_list, LayerStack *layer_stack);
78 virtual int Commit(hwc_display_contents_1_t *content_list, LayerStack *layer_stack);
79 virtual void PostCommit(LayerStack *layer_stack);
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Ddisplay_null.cpp115 DisplayError DisplayNull::Prepare(LayerStack *layer_stack) { in Prepare() argument
116 if (!layer_stack) { in Prepare()
120 for (auto layer : layer_stack->layers) { in Prepare()
139 DisplayError DisplayNullExternal::Commit(LayerStack *layer_stack) { in Commit() argument
140 if (!layer_stack) { in Commit()
144 for (Layer *layer : layer_stack->layers) { in Commit()
150 layer_stack->retire_fence_fd = -1; in Commit()
/hardware/qcom/sm7250/display/composer/
Ddisplay_null.cpp115 DisplayError DisplayNull::Prepare(LayerStack *layer_stack) { in Prepare() argument
116 if (!layer_stack) { in Prepare()
120 for (auto layer : layer_stack->layers) { in Prepare()
141 DisplayError DisplayNullExternal::Commit(LayerStack *layer_stack) { in Commit() argument
142 if (!layer_stack) { in Commit()
146 for (Layer *layer : layer_stack->layers) { in Commit()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Ddisplay_null.cpp36 DisplayError DisplayNull::Commit(LayerStack *layer_stack) { in Commit() argument
37 for (Layer *layer : layer_stack->layers) { in Commit()
43 layer_stack->retire_fence_fd = -1; in Commit()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Ddisplay_null.cpp36 DisplayError DisplayNull::Commit(LayerStack *layer_stack) { in Commit() argument
37 for (Layer *layer : layer_stack->layers) { in Commit()
43 layer_stack->retire_fence_fd = -1; in Commit()
/hardware/qcom/display/msm8996/sdm/libs/core/
Dstrategy.cpp84 LayerStack *layer_stack = hw_layers_info_->stack; in Start() local
85 uint32_t layer_count = UINT32(layer_stack->layers.size()); in Start()
87 if (layer_stack->layers.at(i)->composition == kCompositionGPUTarget) { in Start()
140 LayerStack *layer_stack = hw_layers_info_->stack; in GetNextStrategy() local
144 for (uint32_t i = 0; i < layer_stack->layers.size(); i++) { in GetNextStrategy()
145 Layer *layer = layer_stack->layers.at(i); in GetNextStrategy()
Ddisplay_hdmi.cpp110 DisplayError DisplayHDMI::Prepare(LayerStack *layer_stack) { in Prepare() argument
118 if (NeedsMixerReconfiguration(layer_stack, &new_mixer_width, &new_mixer_height)) { in Prepare()
125 SetS3DMode(layer_stack); in Prepare()
127 return DisplayBase::Prepare(layer_stack); in Prepare()
259 void DisplayHDMI::SetS3DMode(LayerStack *layer_stack) { in SetS3DMode() argument
262 uint32_t layer_count = UINT32(layer_stack->layers.size()); in SetS3DMode()
268 Layer *layer = layer_stack->layers.at(i); in SetS3DMode()
291 layer_stack->flags.s3d_mode_present = false; in SetS3DMode()
293 layer_stack->flags.s3d_mode_present = true; in SetS3DMode()
Ddisplay_primary.cpp94 DisplayError DisplayPrimary::Prepare(LayerStack *layer_stack) { in Prepare() argument
102 if (NeedsMixerReconfiguration(layer_stack, &new_mixer_width, &new_mixer_height)) { in Prepare()
109 return DisplayBase::Prepare(layer_stack); in Prepare()
112 DisplayError DisplayPrimary::Commit(LayerStack *layer_stack) { in Commit() argument
118 hw_intf_->SetAutoRefresh(layer_stack->flags.single_buffered_layer_present); in Commit()
123 error = DisplayBase::Commit(layer_stack); in Commit()
131 if (set_idle_timeout && !layer_stack->flags.single_buffered_layer_present) { in Commit()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Ddisplay_hdmi.cpp100 DisplayError DisplayHDMI::Prepare(LayerStack *layer_stack) { in Prepare() argument
108 if (NeedsMixerReconfiguration(layer_stack, &new_mixer_width, &new_mixer_height)) { in Prepare()
115 SetS3DMode(layer_stack); in Prepare()
120 return DisplayBase::Prepare(layer_stack); in Prepare()
252 void DisplayHDMI::SetS3DMode(LayerStack *layer_stack) { in SetS3DMode() argument
255 uint32_t layer_count = UINT32(layer_stack->layers.size()); in SetS3DMode()
261 Layer *layer = layer_stack->layers.at(i); in SetS3DMode()
284 layer_stack->flags.s3d_mode_present = false; in SetS3DMode()
286 layer_stack->flags.s3d_mode_present = true; in SetS3DMode()
Ddisplay_base.h56 DisplayError Prepare(LayerStack *layer_stack);
57 DisplayError Commit(LayerStack *layer_stack);
119 DisplayError BuildLayerStackStats(LayerStack *layer_stack);
121 void CommitLayerParams(LayerStack *layer_stack);
122 void PostCommitLayerParams(LayerStack *layer_stack);
123 DisplayError HandleHDR(LayerStack *layer_stack);
130 bool NeedsMixerReconfiguration(LayerStack *layer_stack, uint32_t *new_mixer_width,
/hardware/qcom/display/msm8909/sdm/libs/core/
Ddisplay_hdmi.cpp100 DisplayError DisplayHDMI::Prepare(LayerStack *layer_stack) { in Prepare() argument
108 if (NeedsMixerReconfiguration(layer_stack, &new_mixer_width, &new_mixer_height)) { in Prepare()
115 SetS3DMode(layer_stack); in Prepare()
120 return DisplayBase::Prepare(layer_stack); in Prepare()
252 void DisplayHDMI::SetS3DMode(LayerStack *layer_stack) { in SetS3DMode() argument
255 uint32_t layer_count = UINT32(layer_stack->layers.size()); in SetS3DMode()
261 Layer *layer = layer_stack->layers.at(i); in SetS3DMode()
284 layer_stack->flags.s3d_mode_present = false; in SetS3DMode()
286 layer_stack->flags.s3d_mode_present = true; in SetS3DMode()
Ddisplay_base.h56 DisplayError Prepare(LayerStack *layer_stack);
57 DisplayError Commit(LayerStack *layer_stack);
120 DisplayError BuildLayerStackStats(LayerStack *layer_stack);
122 void CommitLayerParams(LayerStack *layer_stack);
123 void PostCommitLayerParams(LayerStack *layer_stack);
124 DisplayError HandleHDR(LayerStack *layer_stack);
130 bool NeedsMixerReconfiguration(LayerStack *layer_stack, uint32_t *new_mixer_width,
/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_hdmi.cpp99 DisplayError DisplayHDMI::Prepare(LayerStack *layer_stack) { in Prepare() argument
107 if (NeedsMixerReconfiguration(layer_stack, &new_mixer_width, &new_mixer_height)) { in Prepare()
114 SetS3DMode(layer_stack); in Prepare()
119 return DisplayBase::Prepare(layer_stack); in Prepare()
251 void DisplayHDMI::SetS3DMode(LayerStack *layer_stack) { in SetS3DMode() argument
254 uint32_t layer_count = UINT32(layer_stack->layers.size()); in SetS3DMode()
260 Layer *layer = layer_stack->layers.at(i); in SetS3DMode()
283 layer_stack->flags.s3d_mode_present = false; in SetS3DMode()
285 layer_stack->flags.s3d_mode_present = true; in SetS3DMode()
Ddisplay_base.h55 DisplayError Prepare(LayerStack *layer_stack);
56 DisplayError Commit(LayerStack *layer_stack);
119 DisplayError BuildLayerStackStats(LayerStack *layer_stack);
121 void CommitLayerParams(LayerStack *layer_stack);
122 void PostCommitLayerParams(LayerStack *layer_stack);
123 DisplayError HandleHDR(LayerStack *layer_stack);
130 bool NeedsMixerReconfiguration(LayerStack *layer_stack, uint32_t *new_mixer_width,
/hardware/qcom/sm8150/display/sdm/libs/core/
Ddisplay_builtin.cpp149 DisplayError DisplayBuiltIn::Prepare(LayerStack *layer_stack) { in Prepare() argument
158 if (NeedsMixerReconfiguration(layer_stack, &new_mixer_width, &new_mixer_height)) { in Prepare()
164 if (CanSkipDisplayPrepare(layer_stack)) { in Prepare()
182 error = DisplayBase::Prepare(layer_stack); in Prepare()
249 DisplayError DisplayBuiltIn::Commit(LayerStack *layer_stack) { in Commit() argument
258 bool enable = (app_layer_count == 1) && layer_stack->flags.single_buffered_layer_present; in Commit()
259 bool need_refresh = layer_stack->flags.single_buffered_layer_present && (app_layer_count > 1); in Commit()
282 error = DisplayBase::Commit(layer_stack); in Commit()
327 previous_retire_fence_ = Sys::dup_(layer_stack->retire_fence_fd); in Commit()
745 DisplayError DisplayBuiltIn::HandleSecureEvent(SecureEvent secure_event, LayerStack *layer_stack) { in HandleSecureEvent() argument
[all …]
Ddisplay_base.h60 DisplayError Prepare(LayerStack *layer_stack);
61 DisplayError Commit(LayerStack *layer_stack);
62 virtual DisplayError Flush(LayerStack *layer_stack);
139 virtual DisplayError HandleSecureEvent(SecureEvent secure_event, LayerStack *layer_stack) { in HandleSecureEvent() argument
163 DisplayError BuildLayerStackStats(LayerStack *layer_stack);
165 void CommitLayerParams(LayerStack *layer_stack);
166 void PostCommitLayerParams(LayerStack *layer_stack);
172 bool NeedsMixerReconfiguration(LayerStack *layer_stack, uint32_t *new_mixer_width,
186 bool SetHdrModeAtStart(LayerStack *layer_stack);
/hardware/qcom/sm7250/display/sdm/libs/core/
Ddisplay_base.h97 DisplayError Prepare(LayerStack *layer_stack);
98 DisplayError Commit(LayerStack *layer_stack);
99 virtual DisplayError Flush(LayerStack *layer_stack);
176 virtual DisplayError HandleSecureEvent(SecureEvent secure_event, LayerStack *layer_stack) { in HandleSecureEvent() argument
213 DisplayError BuildLayerStackStats(LayerStack *layer_stack);
215 void CommitLayerParams(LayerStack *layer_stack);
216 void PostCommitLayerParams(LayerStack *layer_stack);
222 bool NeedsMixerReconfiguration(LayerStack *layer_stack, uint32_t *new_mixer_width,
238 bool SetHdrModeAtStart(LayerStack *layer_stack);
310 void SetRCData(LayerStack *layer_stack);

1234