Home
last modified time | relevance | path

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

1234

/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/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/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/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/sdm845/display/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/sm8150/display/sdm/libs/core/
Ddisplay_builtin.cpp140 DisplayError DisplayBuiltIn::Prepare(LayerStack *layer_stack) { in Prepare() argument
149 if (NeedsMixerReconfiguration(layer_stack, &new_mixer_width, &new_mixer_height)) { in Prepare()
155 if (CanSkipDisplayPrepare(layer_stack)) { in Prepare()
171 error = DisplayBase::Prepare(layer_stack); in Prepare()
224 DisplayError DisplayBuiltIn::Commit(LayerStack *layer_stack) { in Commit() argument
233 bool enable = (app_layer_count == 1) && layer_stack->flags.single_buffered_layer_present; in Commit()
234 bool need_refresh = layer_stack->flags.single_buffered_layer_present && (app_layer_count > 1); in Commit()
247 error = DisplayBase::Commit(layer_stack); in Commit()
674 DisplayError DisplayBuiltIn::HandleSecureEvent(SecureEvent secure_event, LayerStack *layer_stack) { in HandleSecureEvent() argument
675 hw_layers_.info.stack = layer_stack; in HandleSecureEvent()
[all …]
Ddisplay_base.h60 DisplayError Prepare(LayerStack *layer_stack);
61 DisplayError Commit(LayerStack *layer_stack);
62 virtual DisplayError Flush(LayerStack *layer_stack);
134 virtual DisplayError HandleSecureEvent(SecureEvent secure_event, LayerStack *layer_stack) { in HandleSecureEvent() argument
156 DisplayError BuildLayerStackStats(LayerStack *layer_stack);
158 void CommitLayerParams(LayerStack *layer_stack);
159 void PostCommitLayerParams(LayerStack *layer_stack);
165 bool NeedsMixerReconfiguration(LayerStack *layer_stack, uint32_t *new_mixer_width,
179 bool SetHdrModeAtStart(LayerStack *layer_stack);
/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/sdm845/display/sdm/libs/core/
Ddisplay_hdmi.cpp104 DisplayError DisplayHDMI::Prepare(LayerStack *layer_stack) { in Prepare() argument
112 if (NeedsMixerReconfiguration(layer_stack, &new_mixer_width, &new_mixer_height)) { in Prepare()
119 SetS3DMode(layer_stack); in Prepare()
124 return DisplayBase::Prepare(layer_stack); in Prepare()
255 void DisplayHDMI::SetS3DMode(LayerStack *layer_stack) { in SetS3DMode() argument
258 uint32_t layer_count = UINT32(layer_stack->layers.size()); in SetS3DMode()
264 Layer *layer = layer_stack->layers.at(i); in SetS3DMode()
287 layer_stack->flags.s3d_mode_present = false; in SetS3DMode()
289 layer_stack->flags.s3d_mode_present = true; in SetS3DMode()
/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,

1234