Home
last modified time | relevance | path

Searched refs:layer_buffer (Results 1 – 17 of 17) sorted by relevance

/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_layers.cpp114 LayerBuffer *layer_buffer = &layer_->input_buffer; in SetLayerBuffer() local
122 layer_buffer->width = UINT32(aligned_width); in SetLayerBuffer()
123 layer_buffer->height = UINT32(aligned_height); in SetLayerBuffer()
124 layer_buffer->unaligned_width = UINT32(handle->unaligned_width); in SetLayerBuffer()
125 layer_buffer->unaligned_height = UINT32(handle->unaligned_height); in SetLayerBuffer()
127 layer_buffer->format = GetSDMFormat(handle->format, handle->flags); in SetLayerBuffer()
138 layer_buffer->flags.video = true; in SetLayerBuffer()
142 layer_buffer->flags.secure = true; in SetLayerBuffer()
144 layer_buffer->flags.secure_camera = true; in SetLayerBuffer()
148 layer_buffer->flags.secure_display = true; in SetLayerBuffer()
[all …]
Dhwc_display.cpp388 LayerBuffer *layer_buffer = &layer->input_buffer; in BuildLayerStack() local
389 layer_buffer->width = UINT32(layer->dst_rect.right - layer->dst_rect.left); in BuildLayerStack()
390 layer_buffer->height = UINT32(layer->dst_rect.bottom - layer->dst_rect.top); in BuildLayerStack()
391 layer_buffer->unaligned_width = layer_buffer->width; in BuildLayerStack()
392 layer_buffer->unaligned_height = layer_buffer->height; in BuildLayerStack()
393 layer_buffer->acquire_fence_fd = -1; in BuildLayerStack()
394 layer_buffer->release_fence_fd = -1; in BuildLayerStack()
397 layer->src_rect.right = layer_buffer->width; in BuildLayerStack()
398 layer->src_rect.bottom = layer_buffer->height; in BuildLayerStack()
943 LayerBuffer *layer_buffer = &layer->input_buffer; in BuildLayerStack() local
[all …]
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_layers.cpp83 LayerBuffer *layer_buffer = layer_->input_buffer; in SetLayerBuffer() local
85 layer_buffer->width = UINT32(handle->width); in SetLayerBuffer()
86 layer_buffer->height = UINT32(handle->height); in SetLayerBuffer()
87 auto format = layer_buffer->format; in SetLayerBuffer()
88 layer_buffer->format = GetSDMFormat(handle->format, handle->flags); in SetLayerBuffer()
89 if (format != layer_buffer->format) { in SetLayerBuffer()
96 layer_buffer->flags.video = (handle->buffer_type == BUFFER_TYPE_VIDEO) ? true : false; in SetLayerBuffer()
98 layer_buffer->flags.secure = in SetLayerBuffer()
100 layer_buffer->flags.secure_display = in SetLayerBuffer()
103 layer_buffer->planes[0].fd = ion_fd_; in SetLayerBuffer()
[all …]
Dhwc_display.cpp384 LayerBuffer *layer_buffer = layer->input_buffer; in BuildLayerStack() local
387 layer_buffer->width = display_width; in BuildLayerStack()
388 layer_buffer->height = display_height; in BuildLayerStack()
389 layer_buffer->acquire_fence_fd = -1; in BuildLayerStack()
390 layer_buffer->release_fence_fd = -1; in BuildLayerStack()
919 LayerBuffer *layer_buffer = layer->input_buffer; in BuildLayerStack() local
925 close(layer_buffer->release_fence_fd); in BuildLayerStack()
926 layer_buffer->release_fence_fd = -1; in BuildLayerStack()
928 hwc_layer->PushReleaseFence(layer_buffer->release_fence_fd); in BuildLayerStack()
929 layer_buffer->release_fence_fd = -1; in BuildLayerStack()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/hwc/
Dblit_engine_c2d.cpp210 LayerBuffer &layer_buffer = layer->input_buffer; in PostCommit() local
213 layer_buffer.release_fence_fd = in PostCommit()
215 fence_fd = layer_buffer.release_fence_fd; in PostCommit()
216 close(layer_buffer.acquire_fence_fd); in PostCommit()
217 layer_buffer.acquire_fence_fd = -1; in PostCommit()
284 LayerBuffer &layer_buffer = layer_stack->layers.at(gpu_target_index)->input_buffer; in Prepare() local
285 int fbwidth = INT(layer_buffer.unaligned_width); in Prepare()
286 int fbheight = INT(layer_buffer.unaligned_height); in Prepare()
296 LayerBuffer &layer_buffer = layer->input_buffer; in Prepare() local
303 layer_buffer.width = aligned_w; in Prepare()
[all …]
Dhwc_display.cpp436 LayerBuffer &layer_buffer = layer->input_buffer; in PrepareLayerParams() local
439 layer_buffer.format = GetSDMFormat(pvt_handle->format, pvt_handle->flags); in PrepareLayerParams()
448 layer_buffer.width = UINT32(aligned_width); in PrepareLayerParams()
449 layer_buffer.height = UINT32(aligned_height); in PrepareLayerParams()
450 layer_buffer.unaligned_width = UINT32(unaligned_width); in PrepareLayerParams()
451 layer_buffer.unaligned_height = UINT32(unaligned_height); in PrepareLayerParams()
459 layer_buffer.flags.video = true; in PrepareLayerParams()
464 layer_buffer.flags.secure = true; in PrepareLayerParams()
466 layer_buffer.flags.secure_camera = true; in PrepareLayerParams()
474 layer_buffer.flags.secure_display = true; in PrepareLayerParams()
[all …]
Dhwc_tonemapper.cpp210 LayerBuffer &layer_buffer = layer->input_buffer; in PostCommit() local
211 CloseFd(&layer_buffer.acquire_fence_fd); in PostCommit()
212 session->SetReleaseFence(layer_buffer.release_fence_fd); in PostCommit()
Dhwc_display_external_test.cpp744 LayerBuffer &layer_buffer = layer->input_buffer; in PostCommit() local
746 close(layer_buffer.release_fence_fd); in PostCommit()
747 layer_buffer.release_fence_fd = -1; in PostCommit()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dblit_engine_c2d.cpp210 LayerBuffer *layer_buffer = layer->input_buffer; in PostCommit() local
213 layer_buffer->release_fence_fd = in PostCommit()
215 fence_fd = layer_buffer->release_fence_fd; in PostCommit()
216 close(layer_buffer->acquire_fence_fd); in PostCommit()
217 layer_buffer->acquire_fence_fd = -1; in PostCommit()
284 LayerBuffer *layer_buffer = layer_stack->layers.at(gpu_target_index)->input_buffer; in Prepare() local
285 int fbwidth = INT(layer_buffer->width); in Prepare()
286 int fbheight = INT(layer_buffer->height); in Prepare()
296 LayerBuffer *layer_buffer = layer->input_buffer; in Prepare() local
299 layer_buffer->width = fbwidth; in Prepare()
[all …]
Dhwc_display.cpp326 LayerBuffer *layer_buffer = new LayerBuffer(); in AllocateLayerStack() local
327 layer->input_buffer = layer_buffer; in AllocateLayerStack()
345 LayerBuffer *layer_buffer = layer->input_buffer; in PrepareLayerParams() local
348 layer_buffer->format = GetSDMFormat(pvt_handle->format, pvt_handle->flags); in PrepareLayerParams()
349 layer_buffer->width = UINT32(pvt_handle->width); in PrepareLayerParams()
350 layer_buffer->height = UINT32(pvt_handle->height); in PrepareLayerParams()
358 layer_buffer->flags.video = true; in PrepareLayerParams()
363 layer_buffer->flags.secure = true; in PrepareLayerParams()
370 layer_buffer->flags.secure_display = true; in PrepareLayerParams()
399 layer_buffer->width = UINT32(aligned_width); in PrepareLayerParams()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_hdmi.cpp262 LayerBuffer &layer_buffer = layer->input_buffer; in SetS3DMode() local
264 if (layer_buffer.s3d_format != kS3dFormatNone) { in SetS3DMode()
272 s3d_format_to_mode_.find(layer_buffer.s3d_format); in SetS3DMode()
276 } else if (layer_buffer.flags.secure && layer_count > 2) { in SetS3DMode()
/hardware/qcom/display/msm8996/sdm/libs/core/
Ddisplay_hdmi.cpp270 LayerBuffer *layer_buffer = layer->input_buffer; in SetS3DMode() local
272 if (layer_buffer->s3d_format != kS3dFormatNone) { in SetS3DMode()
280 s3d_format_to_mode_.find(layer_buffer->s3d_format); in SetS3DMode()
284 } else if (layer_buffer->flags.secure && layer_count > 2) { in SetS3DMode()
Ddisplay_base.cpp954 LayerBuffer *layer_buffer = layer->input_buffer; in NeedsMixerReconfiguration() local
956 if (!layer_buffer->flags.video) { in NeedsMixerReconfiguration()
/hardware/qcom/display/msm8998/sdm/libs/core/fb/
Dhw_device.h133 void SetIGC(const LayerBuffer *layer_buffer, uint32_t index);
Dhw_device.cpp1076 void HWDevice::SetIGC(const LayerBuffer *layer_buffer, uint32_t index) { in SetIGC() argument
1081 switch (layer_buffer->igc) { in SetIGC()
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_device.h126 void SetIGC(const LayerBuffer *layer_buffer, uint32_t index);
Dhw_device.cpp987 void HWDevice::SetIGC(const LayerBuffer *layer_buffer, uint32_t index) { in SetIGC() argument
992 switch (layer_buffer->igc) { in SetIGC()