Home
last modified time | relevance | path

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

1234

/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/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/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/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,
Ddisplay_primary.cpp83 DisplayError DisplayPrimary::Prepare(LayerStack *layer_stack) { in Prepare() argument
91 if (NeedsMixerReconfiguration(layer_stack, &new_mixer_width, &new_mixer_height)) { in Prepare()
102 return DisplayBase::Prepare(layer_stack); in Prepare()
105 DisplayError DisplayPrimary::Commit(LayerStack *layer_stack) { in Commit() argument
112 bool enable = (app_layer_count == 1) && layer_stack->flags.single_buffered_layer_present; in Commit()
113 bool need_refresh = layer_stack->flags.single_buffered_layer_present && (app_layer_count > 1); in Commit()
121 error = DisplayBase::Commit(layer_stack); in Commit()
/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/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,
Ddisplay_primary.cpp83 DisplayError DisplayPrimary::Prepare(LayerStack *layer_stack) { in Prepare() argument
91 if (NeedsMixerReconfiguration(layer_stack, &new_mixer_width, &new_mixer_height)) { in Prepare()
102 return DisplayBase::Prepare(layer_stack); in Prepare()
105 DisplayError DisplayPrimary::Commit(LayerStack *layer_stack) { in Commit() argument
112 bool enable = (app_layer_count == 1) && layer_stack->flags.single_buffered_layer_present; in Commit()
113 bool need_refresh = layer_stack->flags.single_buffered_layer_present && (app_layer_count > 1); in Commit()
121 error = DisplayBase::Commit(layer_stack); in Commit()
/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,
Ddisplay_primary.cpp82 DisplayError DisplayPrimary::Prepare(LayerStack *layer_stack) { in Prepare() argument
102 for (Layer *layer : layer_stack->layers) { in Prepare()
116 if (NeedsMixerReconfiguration(layer_stack, &new_mixer_width, &new_mixer_height)) { in Prepare()
127 return DisplayBase::Prepare(layer_stack); in Prepare()
130 DisplayError DisplayPrimary::Commit(LayerStack *layer_stack) { in Commit() argument
137 bool enable = (app_layer_count == 1) && layer_stack->flags.single_buffered_layer_present; in Commit()
138 bool need_refresh = layer_stack->flags.single_buffered_layer_present && (app_layer_count > 1); in Commit()
146 error = DisplayBase::Commit(layer_stack); in Commit()

1234