/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | hwc_display_virtual.h | 38 hwc_display_contents_1_t *content_list, HWCDisplay **hwc_display); 40 static bool IsValidContentList(hwc_display_contents_1_t *content_list); 43 virtual int Prepare(hwc_display_contents_1_t *content_list); 44 virtual int Commit(hwc_display_contents_1_t *content_list); 49 int SetOutputBuffer(hwc_display_contents_1_t *content_list); 50 int SetOutputSliceFromMetadata(hwc_display_contents_1_t *content_list); 51 void CommitOutputBufferParams(hwc_display_contents_1_t *content_list); 57 inline bool HWCDisplayVirtual::IsValidContentList(hwc_display_contents_1_t *content_list) { in IsValidContentList() argument 58 return (content_list && content_list->numHwLayers > 0 && content_list->outbuf); in IsValidContentList()
|
D | hwc_display_virtual.cpp | 45 hwc_display_contents_1_t *content_list, in Create() argument 64 status = hwc_display_virtual->SetOutputSliceFromMetadata(content_list); in Create() 72 if (content_list->numHwLayers < 1) { in Create() 77 hwc_layer_1_t &fb_layer = content_list->hwLayers[content_list->numHwLayers-1]; in Create() 128 int HWCDisplayVirtual::Prepare(hwc_display_contents_1_t *content_list) { in Prepare() argument 131 status = SetOutputSliceFromMetadata(content_list); in Prepare() 137 MarkLayersForGPUBypass(content_list); in Prepare() 141 status = AllocateLayerStack(content_list); in Prepare() 146 status = SetOutputBuffer(content_list); in Prepare() 151 status = PrePrepareLayerStack(content_list); in Prepare() [all …]
|
D | hwc_display_null.cpp | 75 int HWCDisplayNull::Prepare(hwc_display_contents_1_t *content_list) { in Prepare() argument 76 for (size_t i = 0; i < content_list->numHwLayers; i++) { in Prepare() 77 if (content_list->hwLayers[i].compositionType == HWC_FRAMEBUFFER_TARGET || in Prepare() 78 content_list->hwLayers[i].compositionType == HWC_BACKGROUND) { in Prepare() 82 content_list->hwLayers[i].compositionType = HWC_OVERLAY; in Prepare() 88 int HWCDisplayNull::Commit(hwc_display_contents_1_t *content_list) { in Commit() argument 91 for (size_t i = 0; i < content_list->numHwLayers; i++) { in Commit() 92 content_list->hwLayers[i].releaseFenceFd = -1; in Commit()
|
D | hwc_display_primary.cpp | 156 int HWCDisplayPrimary::Prepare(hwc_display_contents_1_t *content_list) { in Prepare() argument 161 ProcessBootAnimCompleted(content_list); in Prepare() 164 MarkLayersForGPUBypass(content_list); in Prepare() 168 status = AllocateLayerStack(content_list); in Prepare() 173 status = PrePrepareLayerStack(content_list); in Prepare() 187 uint32_t num_updating_layers = GetUpdatingLayersCount(UINT32(content_list->numHwLayers - 1)); in Prepare() 210 if (content_list->numHwLayers <= 1) { in Prepare() 214 status = PrepareLayerStack(content_list); in Prepare() 222 int HWCDisplayPrimary::Commit(hwc_display_contents_1_t *content_list) { in Commit() argument 227 if (content_list->numHwLayers <= 1 && display_config.is_cmdmode) { in Commit() [all …]
|
D | hwc_display.h | 88 virtual int Prepare(hwc_display_contents_1_t *content_list) = 0; 89 virtual int Commit(hwc_display_contents_1_t *content_list) = 0; 175 int AllocateLayerStack(hwc_display_contents_1_t *content_list); 177 virtual int PrePrepareLayerStack(hwc_display_contents_1_t *content_list); 178 virtual int PrepareLayerStack(hwc_display_contents_1_t *content_list); 179 virtual int CommitLayerStack(hwc_display_contents_1_t *content_list); 180 virtual int PostCommitLayerStack(hwc_display_contents_1_t *content_list); 197 void MarkLayersForGPUBypass(hwc_display_contents_1_t *content_list); 202 bool NeedsFrameBufferRefresh(hwc_display_contents_1_t *content_list); 203 bool IsLayerUpdating(hwc_display_contents_1_t *content_list, const Layer *layer); [all …]
|
D | hwc_display_external.cpp | 113 int HWCDisplayExternal::Prepare(hwc_display_contents_1_t *content_list) { in Prepare() argument 118 MarkLayersForGPUBypass(content_list); in Prepare() 122 status = AllocateLayerStack(content_list); in Prepare() 127 status = PrePrepareLayerStack(content_list); in Prepare() 132 if (content_list->numHwLayers <= 1) { in Prepare() 137 bool one_video_updating_layer = SingleVideoLayerUpdating(UINT32(content_list->numHwLayers - 1)); in Prepare() 148 status = PrepareLayerStack(content_list); in Prepare() 156 int HWCDisplayExternal::Commit(hwc_display_contents_1_t *content_list) { in Commit() argument 163 status = HWCDisplay::CommitLayerStack(content_list); in Commit() 168 status = HWCDisplay::PostCommitLayerStack(content_list); in Commit()
|
D | hwc_display.cpp | 394 int HWCDisplay::AllocateLayerStack(hwc_display_contents_1_t *content_list) { in AllocateLayerStack() argument 395 if (!content_list || !content_list->numHwLayers) { in AllocateLayerStack() 400 size_t num_hw_layers = content_list->numHwLayers; in AllocateLayerStack() 526 int HWCDisplay::PrePrepareLayerStack(hwc_display_contents_1_t *content_list) { in PrePrepareLayerStack() argument 531 size_t num_hw_layers = content_list->numHwLayers; in PrePrepareLayerStack() 539 hwc_layer_1_t &hwc_layer = content_list->hwLayers[i]; in PrePrepareLayerStack() 543 int ret = PrepareLayerParams(&content_list->hwLayers[i], layer); in PrePrepareLayerStack() 646 layer->flags.updating = IsLayerUpdating(content_list, layer); in PrePrepareLayerStack() 682 layer_stack_.flags.geometry_changed = ((content_list->flags & HWC_GEOMETRY_CHANGED) > 0); in PrePrepareLayerStack() 700 int HWCDisplay::PrepareLayerStack(hwc_display_contents_1_t *content_list) { in PrepareLayerStack() argument [all …]
|
D | hwc_display_external_test.h | 41 virtual int Prepare(hwc_display_contents_1_t *content_list); 42 virtual int Commit(hwc_display_contents_1_t *content_list); 94 int PostCommit(hwc_display_contents_1_t *content_list);
|
D | blit_engine.h | 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;
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | hwc_display_virtual.h | 38 hwc_display_contents_1_t *content_list, HWCDisplay **hwc_display); 40 static bool IsValidContentList(hwc_display_contents_1_t *content_list); 43 virtual int Prepare(hwc_display_contents_1_t *content_list); 44 virtual int Commit(hwc_display_contents_1_t *content_list); 49 int SetOutputBuffer(hwc_display_contents_1_t *content_list); 50 int SetOutputSliceFromMetadata(hwc_display_contents_1_t *content_list); 51 void CommitOutputBufferParams(hwc_display_contents_1_t *content_list); 57 inline bool HWCDisplayVirtual::IsValidContentList(hwc_display_contents_1_t *content_list) { in IsValidContentList() argument 58 return (content_list && content_list->numHwLayers > 0 && content_list->outbuf); in IsValidContentList()
|
D | hwc_display_virtual.cpp | 45 hwc_display_contents_1_t *content_list, in Create() argument 64 status = hwc_display_virtual->SetOutputSliceFromMetadata(content_list); in Create() 72 if (content_list->numHwLayers < 1) { in Create() 77 hwc_layer_1_t &fb_layer = content_list->hwLayers[content_list->numHwLayers-1]; in Create() 128 int HWCDisplayVirtual::Prepare(hwc_display_contents_1_t *content_list) { in Prepare() argument 131 status = SetOutputSliceFromMetadata(content_list); in Prepare() 137 MarkLayersForGPUBypass(content_list); in Prepare() 141 status = AllocateLayerStack(content_list); in Prepare() 146 status = SetOutputBuffer(content_list); in Prepare() 151 status = PrePrepareLayerStack(content_list); in Prepare() [all …]
|
D | hwc_display_null.cpp | 75 int HWCDisplayNull::Prepare(hwc_display_contents_1_t *content_list) { in Prepare() argument 76 for (size_t i = 0; i < content_list->numHwLayers; i++) { in Prepare() 77 if (content_list->hwLayers[i].compositionType == HWC_FRAMEBUFFER_TARGET || in Prepare() 78 content_list->hwLayers[i].compositionType == HWC_BACKGROUND) { in Prepare() 82 content_list->hwLayers[i].compositionType = HWC_OVERLAY; in Prepare() 88 int HWCDisplayNull::Commit(hwc_display_contents_1_t *content_list) { in Commit() argument 91 for (size_t i = 0; i < content_list->numHwLayers; i++) { in Commit() 92 content_list->hwLayers[i].releaseFenceFd = -1; in Commit()
|
D | hwc_display_primary.cpp | 139 int HWCDisplayPrimary::Prepare(hwc_display_contents_1_t *content_list) { in Prepare() argument 144 ProcessBootAnimCompleted(content_list); in Prepare() 147 MarkLayersForGPUBypass(content_list); in Prepare() 151 status = AllocateLayerStack(content_list); in Prepare() 156 status = PrePrepareLayerStack(content_list); in Prepare() 170 bool one_updating_layer = SingleLayerUpdating(UINT32(content_list->numHwLayers - 1)); in Prepare() 187 if (content_list->numHwLayers <= 1) { in Prepare() 192 status = PrepareLayerStack(content_list); in Prepare() 200 int HWCDisplayPrimary::Commit(hwc_display_contents_1_t *content_list) { in Commit() argument 203 if (content_list->outbufAcquireFenceFd >= 0) { in Commit() [all …]
|
D | hwc_display.h | 55 virtual int Prepare(hwc_display_contents_1_t *content_list) = 0; 56 virtual int Commit(hwc_display_contents_1_t *content_list) = 0; 135 int AllocateLayerStack(hwc_display_contents_1_t *content_list); 137 virtual int PrePrepareLayerStack(hwc_display_contents_1_t *content_list); 138 virtual int PrepareLayerStack(hwc_display_contents_1_t *content_list); 139 virtual int CommitLayerStack(hwc_display_contents_1_t *content_list); 140 virtual int PostCommitLayerStack(hwc_display_contents_1_t *content_list); 157 void MarkLayersForGPUBypass(hwc_display_contents_1_t *content_list); 162 bool NeedsFrameBufferRefresh(hwc_display_contents_1_t *content_list); 163 bool IsLayerUpdating(hwc_display_contents_1_t *content_list, const Layer *layer); [all …]
|
D | hwc_display_external.cpp | 108 int HWCDisplayExternal::Prepare(hwc_display_contents_1_t *content_list) { in Prepare() argument 113 MarkLayersForGPUBypass(content_list); in Prepare() 117 status = AllocateLayerStack(content_list); in Prepare() 122 status = PrePrepareLayerStack(content_list); in Prepare() 127 if (content_list->numHwLayers <= 1) { in Prepare() 132 bool one_video_updating_layer = SingleVideoLayerUpdating(UINT32(content_list->numHwLayers - 1)); in Prepare() 144 status = PrepareLayerStack(content_list); in Prepare() 152 int HWCDisplayExternal::Commit(hwc_display_contents_1_t *content_list) { in Commit() argument 159 status = HWCDisplay::CommitLayerStack(content_list); in Commit() 164 status = HWCDisplay::PostCommitLayerStack(content_list); in Commit()
|
D | hwc_display.cpp | 309 int HWCDisplay::AllocateLayerStack(hwc_display_contents_1_t *content_list) { in AllocateLayerStack() argument 310 if (!content_list || !content_list->numHwLayers) { in AllocateLayerStack() 315 size_t num_hw_layers = content_list->numHwLayers; in AllocateLayerStack() 427 int HWCDisplay::PrePrepareLayerStack(hwc_display_contents_1_t *content_list) { in PrePrepareLayerStack() argument 432 size_t num_hw_layers = content_list->numHwLayers; in PrePrepareLayerStack() 440 hwc_layer_1_t &hwc_layer = content_list->hwLayers[i]; in PrePrepareLayerStack() 443 int ret = PrepareLayerParams(&content_list->hwLayers[i], layer); in PrePrepareLayerStack() 528 layer->flags.updating = IsLayerUpdating(content_list, layer); in PrePrepareLayerStack() 564 layer_stack_.flags.geometry_changed = ((content_list->flags & HWC_GEOMETRY_CHANGED) > 0); in PrePrepareLayerStack() 569 int HWCDisplay::PrepareLayerStack(hwc_display_contents_1_t *content_list) { in PrepareLayerStack() argument [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
D | hwc_display_virtual.h | 38 hwc_display_contents_1_t *content_list, HWCDisplay **hwc_display); 40 static bool IsValidContentList(hwc_display_contents_1_t *content_list); 43 virtual int Prepare(hwc_display_contents_1_t *content_list); 44 virtual int Commit(hwc_display_contents_1_t *content_list); 49 int SetOutputBuffer(hwc_display_contents_1_t *content_list); 50 int SetOutputSliceFromMetadata(hwc_display_contents_1_t *content_list); 51 void CommitOutputBufferParams(hwc_display_contents_1_t *content_list); 57 inline bool HWCDisplayVirtual::IsValidContentList(hwc_display_contents_1_t *content_list) { in IsValidContentList() argument 58 return (content_list && content_list->numHwLayers > 0 && content_list->outbuf); in IsValidContentList()
|
D | hwc_display_virtual.cpp | 45 hwc_display_contents_1_t *content_list, in Create() argument 64 status = hwc_display_virtual->SetOutputSliceFromMetadata(content_list); in Create() 72 if (content_list->numHwLayers < 1) { in Create() 77 hwc_layer_1_t &fb_layer = content_list->hwLayers[content_list->numHwLayers-1]; in Create() 128 int HWCDisplayVirtual::Prepare(hwc_display_contents_1_t *content_list) { in Prepare() argument 131 status = SetOutputSliceFromMetadata(content_list); in Prepare() 137 MarkLayersForGPUBypass(content_list); in Prepare() 141 status = AllocateLayerStack(content_list); in Prepare() 146 status = SetOutputBuffer(content_list); in Prepare() 151 status = PrePrepareLayerStack(content_list); in Prepare() [all …]
|
D | hwc_display_null.cpp | 75 int HWCDisplayNull::Prepare(hwc_display_contents_1_t *content_list) { in Prepare() argument 76 for (size_t i = 0; i < content_list->numHwLayers; i++) { in Prepare() 77 if (content_list->hwLayers[i].compositionType == HWC_FRAMEBUFFER_TARGET || in Prepare() 78 content_list->hwLayers[i].compositionType == HWC_BACKGROUND) { in Prepare() 82 content_list->hwLayers[i].compositionType = HWC_OVERLAY; in Prepare() 88 int HWCDisplayNull::Commit(hwc_display_contents_1_t *content_list) { in Commit() argument 91 for (size_t i = 0; i < content_list->numHwLayers; i++) { in Commit() 92 content_list->hwLayers[i].releaseFenceFd = -1; in Commit()
|
D | hwc_display_primary.cpp | 156 int HWCDisplayPrimary::Prepare(hwc_display_contents_1_t *content_list) { in Prepare() argument 161 ProcessBootAnimCompleted(content_list); in Prepare() 164 MarkLayersForGPUBypass(content_list); in Prepare() 168 status = AllocateLayerStack(content_list); in Prepare() 173 status = PrePrepareLayerStack(content_list); in Prepare() 187 uint32_t num_updating_layers = GetUpdatingLayersCount(UINT32(content_list->numHwLayers - 1)); in Prepare() 210 if (content_list->numHwLayers <= 1) { in Prepare() 214 status = PrepareLayerStack(content_list); in Prepare() 222 int HWCDisplayPrimary::Commit(hwc_display_contents_1_t *content_list) { in Commit() argument 227 if (content_list->numHwLayers <= 1 && display_config.is_cmdmode) { in Commit() [all …]
|
D | hwc_display.h | 88 virtual int Prepare(hwc_display_contents_1_t *content_list) = 0; 89 virtual int Commit(hwc_display_contents_1_t *content_list) = 0; 175 int AllocateLayerStack(hwc_display_contents_1_t *content_list); 177 virtual int PrePrepareLayerStack(hwc_display_contents_1_t *content_list); 178 virtual int PrepareLayerStack(hwc_display_contents_1_t *content_list); 179 virtual int CommitLayerStack(hwc_display_contents_1_t *content_list); 180 virtual int PostCommitLayerStack(hwc_display_contents_1_t *content_list); 197 void MarkLayersForGPUBypass(hwc_display_contents_1_t *content_list); 202 bool NeedsFrameBufferRefresh(hwc_display_contents_1_t *content_list); 203 bool IsLayerUpdating(hwc_display_contents_1_t *content_list, const Layer *layer); [all …]
|
D | hwc_display_external.cpp | 113 int HWCDisplayExternal::Prepare(hwc_display_contents_1_t *content_list) { in Prepare() argument 118 MarkLayersForGPUBypass(content_list); in Prepare() 122 status = AllocateLayerStack(content_list); in Prepare() 127 status = PrePrepareLayerStack(content_list); in Prepare() 132 if (content_list->numHwLayers <= 1) { in Prepare() 137 bool one_video_updating_layer = SingleVideoLayerUpdating(UINT32(content_list->numHwLayers - 1)); in Prepare() 148 status = PrepareLayerStack(content_list); in Prepare() 156 int HWCDisplayExternal::Commit(hwc_display_contents_1_t *content_list) { in Commit() argument 163 status = HWCDisplay::CommitLayerStack(content_list); in Commit() 168 status = HWCDisplay::PostCommitLayerStack(content_list); in Commit()
|
D | hwc_display.cpp | 394 int HWCDisplay::AllocateLayerStack(hwc_display_contents_1_t *content_list) { in AllocateLayerStack() argument 395 if (!content_list || !content_list->numHwLayers) { in AllocateLayerStack() 400 size_t num_hw_layers = content_list->numHwLayers; in AllocateLayerStack() 526 int HWCDisplay::PrePrepareLayerStack(hwc_display_contents_1_t *content_list) { in PrePrepareLayerStack() argument 531 size_t num_hw_layers = content_list->numHwLayers; in PrePrepareLayerStack() 539 hwc_layer_1_t &hwc_layer = content_list->hwLayers[i]; in PrePrepareLayerStack() 543 int ret = PrepareLayerParams(&content_list->hwLayers[i], layer); in PrePrepareLayerStack() 646 layer->flags.updating = IsLayerUpdating(content_list, layer); in PrePrepareLayerStack() 682 layer_stack_.flags.geometry_changed = ((content_list->flags & HWC_GEOMETRY_CHANGED) > 0); in PrePrepareLayerStack() 700 int HWCDisplay::PrepareLayerStack(hwc_display_contents_1_t *content_list) { in PrepareLayerStack() argument [all …]
|
D | hwc_display_external_test.h | 41 virtual int Prepare(hwc_display_contents_1_t *content_list); 42 virtual int Commit(hwc_display_contents_1_t *content_list); 94 int PostCommit(hwc_display_contents_1_t *content_list);
|
D | blit_engine.h | 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;
|