/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/ |
D | VmsUtils.h | 46 bool operator==(const VmsLayer& layer) const { 47 return this->type == layer.type && this->subtype == layer.subtype && 48 this->version == layer.version; 55 size_t operator()(const VmsLayer& layer) const { in operator() 56 return std::hash<int>()(layer.type) ^ std::hash<int>()(layer.type) ^ in operator() 57 std::hash<int>()(layer.type); in operator() 63 VmsLayerAndPublisher(VmsLayer layer, int publisher_id) in VmsLayerAndPublisher() 64 : layer(std::move(layer)), publisher_id(publisher_id) {} in VmsLayerAndPublisher() 65 VmsLayer layer; member 72 VmsAssociatedLayer(VmsLayer layer, std::vector<int> publisher_ids) in VmsAssociatedLayer() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
D | hwc_tonemapper.cpp | 101 void ToneMapSession::SetToneMapConfig(Layer *layer) { in SetToneMapConfig() argument 103 tone_map_config_.type = layer->input_buffer.flags.hdr ? TONEMAP_FORWARD : TONEMAP_INVERSE; in SetToneMapConfig() 104 tone_map_config_.colorPrimaries = layer->input_buffer.color_metadata.colorPrimaries; in SetToneMapConfig() 105 tone_map_config_.transfer = layer->input_buffer.color_metadata.transfer; in SetToneMapConfig() 106 tone_map_config_.secure = layer->request.flags.secure; in SetToneMapConfig() 107 tone_map_config_.format = layer->request.format; in SetToneMapConfig() 110 bool ToneMapSession::IsSameToneMapConfig(Layer *layer) { in IsSameToneMapConfig() argument 111 LayerBuffer& buffer = layer->input_buffer; in IsSameToneMapConfig() 118 (layer->request.flags.secure == tone_map_config_.secure) && in IsSameToneMapConfig() 119 (layer->request.format == tone_map_config_.format) && in IsSameToneMapConfig() [all …]
|
D | blit_engine_c2d.cpp | 209 Layer *layer = layer_stack->layers.at(i); in PostCommit() local 210 LayerBuffer &layer_buffer = layer->input_buffer; in PostCommit() 211 if (layer->composition == kCompositionBlit) { in PostCommit() 262 Layer *layer = layer_stack->layers.at(i); in Prepare() local 265 if (Is10BitFormat(layer->input_buffer.format)) { in Prepare() 269 if (layer->composition == kCompositionGPUTarget) { in Prepare() 295 Layer *layer = layer_stack->layers.at(k); in Prepare() local 296 LayerBuffer &layer_buffer = layer->input_buffer; in Prepare() 308 layer->plane_alpha = 0xFF; in Prepare() 309 layer->blending = kBlendingOpaque; in Prepare() [all …]
|
D | hwc_display.cpp | 410 Layer *layer = new Layer(); in AllocateLayerStack() local 411 layer_stack_.layers.push_back(layer); in AllocateLayerStack() 418 for (Layer *layer : layer_stack_.layers) { in FreeLayerStack() 419 delete layer; in FreeLayerStack() 424 int HWCDisplay::PrepareLayerParams(hwc_layer_1_t *hwc_layer, Layer* layer) { in PrepareLayerParams() argument 427 LayerBuffer &layer_buffer = layer->input_buffer; in PrepareLayerParams() 445 if (SetMetaData(pvt_handle, layer) != kErrorNone) { in PrepareLayerParams() 471 layer->flags.solid_fill = true; in PrepareLayerParams() 472 layer->solid_fill_color = solid_fill_color_; in PrepareLayerParams() 507 void HWCDisplay::CommitLayerParams(hwc_layer_1_t *hwc_layer, Layer *layer) { in CommitLayerParams() argument [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | hwc_tonemapper.cpp | 101 void ToneMapSession::SetToneMapConfig(Layer *layer) { in SetToneMapConfig() argument 103 tone_map_config_.type = layer->input_buffer.flags.hdr ? TONEMAP_FORWARD : TONEMAP_INVERSE; in SetToneMapConfig() 104 tone_map_config_.colorPrimaries = layer->input_buffer.color_metadata.colorPrimaries; in SetToneMapConfig() 105 tone_map_config_.transfer = layer->input_buffer.color_metadata.transfer; in SetToneMapConfig() 106 tone_map_config_.secure = layer->request.flags.secure; in SetToneMapConfig() 107 tone_map_config_.format = layer->request.format; in SetToneMapConfig() 110 bool ToneMapSession::IsSameToneMapConfig(Layer *layer) { in IsSameToneMapConfig() argument 111 LayerBuffer& buffer = layer->input_buffer; in IsSameToneMapConfig() 118 (layer->request.flags.secure == tone_map_config_.secure) && in IsSameToneMapConfig() 119 (layer->request.format == tone_map_config_.format) && in IsSameToneMapConfig() [all …]
|
D | blit_engine_c2d.cpp | 209 Layer *layer = layer_stack->layers.at(i); in PostCommit() local 210 LayerBuffer &layer_buffer = layer->input_buffer; in PostCommit() 211 if (layer->composition == kCompositionBlit) { in PostCommit() 262 Layer *layer = layer_stack->layers.at(i); in Prepare() local 265 if (Is10BitFormat(layer->input_buffer.format)) { in Prepare() 269 if (layer->composition == kCompositionGPUTarget) { in Prepare() 295 Layer *layer = layer_stack->layers.at(k); in Prepare() local 296 LayerBuffer &layer_buffer = layer->input_buffer; in Prepare() 308 layer->plane_alpha = 0xFF; in Prepare() 309 layer->blending = kBlendingOpaque; in Prepare() [all …]
|
D | hwc_display.cpp | 410 Layer *layer = new Layer(); in AllocateLayerStack() local 411 layer_stack_.layers.push_back(layer); in AllocateLayerStack() 418 for (Layer *layer : layer_stack_.layers) { in FreeLayerStack() 419 delete layer; in FreeLayerStack() 424 int HWCDisplay::PrepareLayerParams(hwc_layer_1_t *hwc_layer, Layer* layer) { in PrepareLayerParams() argument 427 LayerBuffer &layer_buffer = layer->input_buffer; in PrepareLayerParams() 445 if (SetMetaData(pvt_handle, layer) != kErrorNone) { in PrepareLayerParams() 471 layer->flags.solid_fill = true; in PrepareLayerParams() 472 layer->solid_fill_color = solid_fill_color_; in PrepareLayerParams() 507 void HWCDisplay::CommitLayerParams(hwc_layer_1_t *hwc_layer, Layer *layer) { in CommitLayerParams() argument [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_tonemapper.cpp | 68 Lut3d &lut_3d = ctx->layer->lut_3d; in OnTask() 88 (ctx->layer->input_buffer.buffer_id); in OnTask() 103 DisplayError ToneMapSession::AllocateIntermediateBuffers(const Layer *layer) { in AllocateIntermediateBuffers() argument 107 buffer_info.buffer_config.width = layer->request.width; in AllocateIntermediateBuffers() 108 buffer_info.buffer_config.height = layer->request.height; in AllocateIntermediateBuffers() 109 buffer_info.buffer_config.format = layer->request.format; in AllocateIntermediateBuffers() 110 buffer_info.buffer_config.secure = layer->request.flags.secure; in AllocateIntermediateBuffers() 149 void ToneMapSession::SetToneMapConfig(Layer *layer) { in SetToneMapConfig() argument 151 tone_map_config_.type = layer->input_buffer.flags.hdr ? TONEMAP_FORWARD : TONEMAP_INVERSE; in SetToneMapConfig() 152 tone_map_config_.colorPrimaries = layer->input_buffer.color_metadata.colorPrimaries; in SetToneMapConfig() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_tonemapper.cpp | 68 Lut3d &lut_3d = ctx->layer->lut_3d; in OnTask() 88 (ctx->layer->input_buffer.buffer_id); in OnTask() 103 DisplayError ToneMapSession::AllocateIntermediateBuffers(const Layer *layer) { in AllocateIntermediateBuffers() argument 107 buffer_info.buffer_config.width = layer->request.width; in AllocateIntermediateBuffers() 108 buffer_info.buffer_config.height = layer->request.height; in AllocateIntermediateBuffers() 109 buffer_info.buffer_config.format = layer->request.format; in AllocateIntermediateBuffers() 110 buffer_info.buffer_config.secure = layer->request.flags.secure; in AllocateIntermediateBuffers() 149 void ToneMapSession::SetToneMapConfig(Layer *layer) { in SetToneMapConfig() argument 151 tone_map_config_.type = layer->input_buffer.flags.hdr ? TONEMAP_FORWARD : TONEMAP_INVERSE; in SetToneMapConfig() 152 tone_map_config_.colorPrimaries = layer->input_buffer.color_metadata.colorPrimaries; in SetToneMapConfig() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_tonemapper.cpp | 68 Lut3d &lut_3d = ctx->layer->lut_3d; in OnTask() 88 (ctx->layer->input_buffer.buffer_id); in OnTask() 103 DisplayError ToneMapSession::AllocateIntermediateBuffers(const Layer *layer) { in AllocateIntermediateBuffers() argument 107 buffer_info.buffer_config.width = layer->request.width; in AllocateIntermediateBuffers() 108 buffer_info.buffer_config.height = layer->request.height; in AllocateIntermediateBuffers() 109 buffer_info.buffer_config.format = layer->request.format; in AllocateIntermediateBuffers() 110 buffer_info.buffer_config.secure = layer->request.flags.secure; in AllocateIntermediateBuffers() 149 void ToneMapSession::SetToneMapConfig(Layer *layer) { in SetToneMapConfig() argument 151 tone_map_config_.type = layer->input_buffer.flags.hdr ? TONEMAP_FORWARD : TONEMAP_INVERSE; in SetToneMapConfig() 152 tone_map_config_.colorPrimaries = layer->input_buffer.color_metadata.colorPrimaries; in SetToneMapConfig() [all …]
|
D | hwcomposer.cpp | 85 hwc2_layer_t layer = nextLayer_++; in CreateLayer() local 86 layers_.insert(layer); in CreateLayer() 87 return layer; in CreateLayer() 90 bool IsValidLayer(hwc2_layer_t layer) { in IsValidLayer() argument 91 return layers_.find(layer) != layers_.end(); in IsValidLayer() 94 void DestroyLayer(hwc2_layer_t layer) { in DestroyLayer() argument 95 isClientComposed_.erase(layer); in DestroyLayer() 96 layers_.erase(layer); in DestroyLayer() 99 bool SetClientComposed(hwc2_layer_t layer, bool value) { in SetClientComposed() argument 100 if (layers_.find(layer) == layers_.end()) { in SetClientComposed() [all …]
|
/hardware/qcom/sm8150/display/sdm/libs/hwc2/ |
D | hwc_tonemapper.cpp | 68 Lut3d &lut_3d = ctx->layer->lut_3d; in OnTask() 88 (ctx->layer->input_buffer.buffer_id); in OnTask() 103 DisplayError ToneMapSession::AllocateIntermediateBuffers(const Layer *layer) { in AllocateIntermediateBuffers() argument 107 buffer_info.buffer_config.width = layer->request.width; in AllocateIntermediateBuffers() 108 buffer_info.buffer_config.height = layer->request.height; in AllocateIntermediateBuffers() 109 buffer_info.buffer_config.format = layer->request.format; in AllocateIntermediateBuffers() 110 buffer_info.buffer_config.secure = layer->request.flags.secure; in AllocateIntermediateBuffers() 150 void ToneMapSession::SetToneMapConfig(Layer *layer, PrimariesTransfer blend_cs) { in SetToneMapConfig() argument 152 tone_map_config_.type = layer->input_buffer.flags.hdr ? TONEMAP_FORWARD : TONEMAP_INVERSE; in SetToneMapConfig() 154 tone_map_config_.transfer = layer->input_buffer.color_metadata.transfer; in SetToneMapConfig() [all …]
|
/hardware/qcom/sdm845/display/sdm/libs/hwc2/ |
D | hwc_tonemapper.cpp | 68 Lut3d &lut_3d = ctx->layer->lut_3d; in OnTask() 88 (ctx->layer->input_buffer.buffer_id); in OnTask() 103 DisplayError ToneMapSession::AllocateIntermediateBuffers(const Layer *layer) { in AllocateIntermediateBuffers() argument 107 buffer_info.buffer_config.width = layer->request.width; in AllocateIntermediateBuffers() 108 buffer_info.buffer_config.height = layer->request.height; in AllocateIntermediateBuffers() 109 buffer_info.buffer_config.format = layer->request.format; in AllocateIntermediateBuffers() 110 buffer_info.buffer_config.secure = layer->request.flags.secure; in AllocateIntermediateBuffers() 150 void ToneMapSession::SetToneMapConfig(Layer *layer, PrimariesTransfer blend_cs) { in SetToneMapConfig() argument 152 tone_map_config_.type = layer->input_buffer.flags.hdr ? TONEMAP_FORWARD : TONEMAP_INVERSE; in SetToneMapConfig() 154 tone_map_config_.transfer = layer->input_buffer.color_metadata.transfer; in SetToneMapConfig() [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | hwc_display.cpp | 58 static void ApplyDeInterlaceAdjustment(Layer *layer) { in ApplyDeInterlaceAdjustment() argument 60 if (layer->input_buffer->flags.interlace) { in ApplyDeInterlaceAdjustment() 61 float height = (layer->src_rect.bottom - layer->src_rect.top) / 2.0f; in ApplyDeInterlaceAdjustment() 62 layer->src_rect.top = ROUND_UP_ALIGN_DOWN(layer->src_rect.top / 2.0f, 2); in ApplyDeInterlaceAdjustment() 63 layer->src_rect.bottom = layer->src_rect.top + floorf(height); in ApplyDeInterlaceAdjustment() 325 Layer *layer = new Layer(); in AllocateLayerStack() local 327 layer->input_buffer = layer_buffer; in AllocateLayerStack() 328 layer_stack_.layers.push_back(layer); in AllocateLayerStack() 335 for (Layer *layer : layer_stack_.layers) { in FreeLayerStack() 336 delete layer->input_buffer; in FreeLayerStack() [all …]
|
D | blit_engine_c2d.cpp | 209 Layer *layer = layer_stack->layers.at(i); in PostCommit() local 210 LayerBuffer *layer_buffer = layer->input_buffer; in PostCommit() 211 if (layer->composition == kCompositionBlit) { in PostCommit() 262 Layer *layer = layer_stack->layers.at(i); in Prepare() local 265 if (Is10BitFormat(layer->input_buffer->format)) { in Prepare() 269 if (layer->composition == kCompositionGPUTarget) { in Prepare() 295 Layer *layer = layer_stack->layers.at(k); in Prepare() local 296 LayerBuffer *layer_buffer = layer->input_buffer; in Prepare() 302 layer->plane_alpha = 0xFF; in Prepare() 303 layer->blending = kBlendingOpaque; in Prepare() [all …]
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_mdpcomp.cpp | 222 hwc_layer_1_t* layer = &(list->hwLayers[index]); in setMDPCompLayerFlags() local 225 layer->compositionType = HWC_OVERLAY; in setMDPCompLayerFlags() 226 layer->hints |= HWC_HINT_CLEAR_FB; in setMDPCompLayerFlags() 231 layer->compositionType = HWC_OVERLAY; in setMDPCompLayerFlags() 325 bool MDPComp::isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer) { in isSupportedForMDPComp() argument 326 private_handle_t *hnd = (private_handle_t *)layer->handle; in isSupportedForMDPComp() 327 if((has90Transform(layer) and (not isRotationDoable(ctx, hnd))) || in isSupportedForMDPComp() 328 (not isValidDimension(ctx,layer)) in isSupportedForMDPComp() 336 bool MDPComp::isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) { in isValidDimension() argument 337 private_handle_t *hnd = (private_handle_t *)layer->handle; in isValidDimension() [all …]
|
D | hwc_dump_layers.cpp | 221 hwc_layer_1_t *layer = &hwLayers[layerIndex]; in logLayer() local 222 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in logLayer() 223 hwc_rect_t displayFrame = layer->displayFrame; in logLayer() 224 size_t numHwcRects = layer->visibleRegionScreen.numRects; in logLayer() 225 hwc_rect_t const *hwcRects = layer->visibleRegionScreen.rects; in logLayer() 226 private_handle_t *hnd = (private_handle_t *)layer->handle; in logLayer() 255 (layer->compositionType == HWC_FRAMEBUFFER)? "Framebuffer(GPU)": in logLayer() 256 (layer->compositionType == HWC_OVERLAY)? "Overlay": in logLayer() 257 (layer->compositionType == HWC_BACKGROUND)? "Background":"???", in logLayer() 259 (layer->transform == 0)? "ROT_0": in logLayer() [all …]
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_mdpcomp.cpp | 288 hwc_layer_1_t* layer = &(list->hwLayers[index]); in setMDPCompLayerFlags() local 291 layer->compositionType = HWC_OVERLAY; in setMDPCompLayerFlags() 292 layer->hints |= HWC_HINT_CLEAR_FB; in setMDPCompLayerFlags() 297 layer->compositionType = HWC_OVERLAY; in setMDPCompLayerFlags() 375 hwc_layer_1_t const* layer = &list->hwLayers[i]; in isSameFrame() local 376 if(curFrame.isFBComposed[i] && layerUpdating(layer)){ in isSameFrame() 383 bool MDPComp::isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer) { in isSupportedForMDPComp() argument 384 private_handle_t *hnd = (private_handle_t *)layer->handle; in isSupportedForMDPComp() 385 if((has90Transform(layer) and (not isRotationDoable(ctx, hnd))) || in isSupportedForMDPComp() 386 (not isValidDimension(ctx,layer)) in isSupportedForMDPComp() [all …]
|
D | hwc_dump_layers.cpp | 225 hwc_layer_1_t *layer = &hwLayers[layerIndex]; in logLayer() local 226 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in logLayer() 227 hwc_rect_t displayFrame = layer->displayFrame; in logLayer() 228 size_t numHwcRects = layer->visibleRegionScreen.numRects; in logLayer() 229 hwc_rect_t const *hwcRects = layer->visibleRegionScreen.rects; in logLayer() 230 private_handle_t *hnd = (private_handle_t *)layer->handle; in logLayer() 259 (layer->compositionType == HWC_FRAMEBUFFER)? "Framebuffer(GPU)": in logLayer() 260 (layer->compositionType == HWC_OVERLAY)? "Overlay": in logLayer() 261 (layer->compositionType == HWC_BACKGROUND)? "Background":"???", in logLayer() 263 (layer->transform == 0)? "ROT_0": in logLayer() [all …]
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_mdpcomp.cpp | 205 hwc_layer_1_t* layer = &(list->hwLayers[index]); in setMDPCompLayerFlags() local 208 layer->compositionType = HWC_OVERLAY; in setMDPCompLayerFlags() 209 layer->hints |= HWC_HINT_CLEAR_FB; in setMDPCompLayerFlags() 214 layer->compositionType = HWC_OVERLAY; in setMDPCompLayerFlags() 292 hwc_layer_1_t const* layer = &list->hwLayers[i]; in isSameFrame() local 293 if(curFrame.isFBComposed[i] && layerUpdating(layer)){ in isSameFrame() 300 bool MDPComp::isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer) { in isSupportedForMDPComp() argument 301 private_handle_t *hnd = (private_handle_t *)layer->handle; in isSupportedForMDPComp() 302 if((not isYuvBuffer(hnd) and has90Transform(layer)) or in isSupportedForMDPComp() 303 (not isValidDimension(ctx,layer)) in isSupportedForMDPComp() [all …]
|
D | hwc_dump_layers.cpp | 221 hwc_layer_1_t *layer = &hwLayers[layerIndex]; in logLayer() local 222 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in logLayer() 223 hwc_rect_t displayFrame = layer->displayFrame; in logLayer() 224 size_t numHwcRects = layer->visibleRegionScreen.numRects; in logLayer() 225 hwc_rect_t const *hwcRects = layer->visibleRegionScreen.rects; in logLayer() 226 private_handle_t *hnd = (private_handle_t *)layer->handle; in logLayer() 255 (layer->compositionType == HWC_FRAMEBUFFER)? "Framebuffer(GPU)": in logLayer() 256 (layer->compositionType == HWC_OVERLAY)? "Overlay": in logLayer() 257 (layer->compositionType == HWC_BACKGROUND)? "Background":"???", in logLayer() 259 (layer->transform == 0)? "ROT_0": in logLayer() [all …]
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
D | VmsUtils.cpp | 56 std::unique_ptr<VehiclePropValue> createSubscribeMessage(const VmsLayer& layer) { in createSubscribeMessage() argument 58 result->value.int32Values = hidl_vec<int32_t>{toInt(VmsMessageType::SUBSCRIBE), layer.type, in createSubscribeMessage() 59 layer.subtype, layer.version}; in createSubscribeMessage() 67 toInt(VmsMessageType::SUBSCRIBE_TO_PUBLISHER), layer_publisher.layer.type, in createSubscribeToPublisherMessage() 68 layer_publisher.layer.subtype, layer_publisher.layer.version, layer_publisher.publisher_id}; in createSubscribeToPublisherMessage() 72 std::unique_ptr<VehiclePropValue> createUnsubscribeMessage(const VmsLayer& layer) { in createUnsubscribeMessage() argument 74 result->value.int32Values = hidl_vec<int32_t>{toInt(VmsMessageType::UNSUBSCRIBE), layer.type, in createUnsubscribeMessage() 75 layer.subtype, layer.version}; in createUnsubscribeMessage() 83 toInt(VmsMessageType::UNSUBSCRIBE_TO_PUBLISHER), layer_publisher.layer.type, in createUnsubscribeToPublisherMessage() 84 layer_publisher.layer.subtype, layer_publisher.layer.version, layer_publisher.publisher_id}; in createUnsubscribeToPublisherMessage() [all …]
|
/hardware/interfaces/graphics/composer/2.1/vts/functional/ |
D | VtsHalGraphicsComposerV2_1TargetTest.cpp | 222 Layer layer; in TEST_F() local 223 ASSERT_NO_FATAL_FAILURE(layer = in TEST_F() 226 mComposerClient->destroyLayer(mPrimaryDisplay, layer); in TEST_F() 251 Layer layer; in TEST_F() local 252 ASSERT_NO_FATAL_FAILURE(layer = in TEST_F() 255 error = mComposerClient->getRaw()->destroyLayer(mInvalidDisplayId, layer); in TEST_F() 259 ASSERT_NO_FATAL_FAILURE(mComposerClient->destroyLayer(mPrimaryDisplay, layer)); in TEST_F() 800 Layer layer; in TEST_F() local 801 ASSERT_NO_FATAL_FAILURE(layer = in TEST_F() 803 mWriter->selectLayer(layer); in TEST_F() [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_display.cpp | 53 static void ApplyDeInterlaceAdjustment(Layer *layer) { in ApplyDeInterlaceAdjustment() argument 55 if (layer->input_buffer->flags.interlace) { in ApplyDeInterlaceAdjustment() 56 float height = (layer->src_rect.bottom - layer->src_rect.top) / 2.0f; in ApplyDeInterlaceAdjustment() 57 layer->src_rect.top = ROUND_UP_ALIGN_DOWN(layer->src_rect.top / 2.0f, 2); in ApplyDeInterlaceAdjustment() 58 layer->src_rect.bottom = layer->src_rect.top + floorf(height); in ApplyDeInterlaceAdjustment() 283 HWCLayer *layer = *layer_set_.emplace(new HWCLayer(id_, buffer_allocator_)); in CreateLayer() local 284 layer_map_.emplace(std::make_pair(layer->GetId(), layer)); in CreateLayer() 285 *out_layer_id = layer->GetId(); in CreateLayer() 288 layer->SetPartialUpdate(partial_update_enabled_); in CreateLayer() 310 const auto layer = map_layer->second; in DestroyLayer() local [all …]
|
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/ |
D | ComposerHal.h | 77 virtual Error destroyLayer(Display display, Layer layer) = 0; 113 virtual Error setLayerCursorPosition(Display display, Layer layer, int32_t x, int32_t y) = 0; 114 virtual Error setLayerBuffer(Display display, Layer layer, buffer_handle_t buffer, 116 virtual Error setLayerSurfaceDamage(Display display, Layer layer, 118 virtual Error setLayerBlendMode(Display display, Layer layer, int32_t mode) = 0; 119 virtual Error setLayerColor(Display display, Layer layer, IComposerClient::Color color) = 0; 120 virtual Error setLayerCompositionType(Display display, Layer layer, int32_t type) = 0; 121 virtual Error setLayerDataspace(Display display, Layer layer, int32_t dataspace) = 0; 122 virtual Error setLayerDisplayFrame(Display display, Layer layer, const hwc_rect_t& frame) = 0; 123 virtual Error setLayerPlaneAlpha(Display display, Layer layer, float alpha) = 0; [all …]
|