Home
last modified time | relevance | path

Searched refs:layer (Results 1 – 25 of 505) sorted by relevance

12345678910>>...21

/hardware/google/graphics/zuma/libacryl_plugins/
Dlibacryl_hdr_plugin.cpp74 #define HDR_LAYER_BASE(layer) (HDR_HDR_CON + HDR_SFR_LEN * (layer)) argument
76 #define HDR_HDR_MOD_CON(layer) (HDR_LAYER_BASE(layer)) argument
77 #define HDR_EOTF_SCALER(layer) (HDR_LAYER_BASE(layer) + HDR_EOTF_SCALER_OFFSET) argument
78 #define HDR_EOTF_LUT_TS(layer) (HDR_LAYER_BASE(layer) + HDR_EOTF_LUT_TS_OFFSET) argument
79 #define HDR_EOTF_LUT_VS(layer) (HDR_LAYER_BASE(layer) + HDR_EOTF_LUT_VS_OFFSET) argument
80 #define HDR_GM_COEF(layer) (HDR_LAYER_BASE(layer) + HDR_GM_COEF_OFFSET) argument
81 #define HDR_GM_OFF(layer) (HDR_LAYER_BASE(layer) + HDR_GM_OFF_OFFSET) argument
82 #define HDR_TM_COEF(layer) (HDR_LAYER_BASE(layer) + HDR_TM_COEF_OFFSET) argument
83 #define HDR_TM_YMIX_TF(layer) (HDR_LAYER_BASE(layer) + HDR_TM_YMIX_TF_OFFSET) argument
84 #define HDR_TM_YMIX_VF(layer) (HDR_LAYER_BASE(layer) + HDR_TM_YMIX_VF_OFFSET) argument
[all …]
/hardware/google/graphics/gs201/libacryl_plugins/
Dlibacryl_hdr_plugin.cpp61 #define HDR_LAYER_BASE(layer) (HDR_BASE + HDR_SFR_LEN * (layer)) argument
63 #define HDR_MOD_CTRL(layer) (HDR_LAYER_BASE(layer) + HDR_MOD_CTRL_OFFSET ) argument
64 #define HDR_OETF_POSX(layer) (HDR_LAYER_BASE(layer) + HDR_OETF_POSX_OFFSET) argument
65 #define HDR_OETF_POSY(layer) (HDR_LAYER_BASE(layer) + HDR_OETF_POSY_OFFSET) argument
66 #define HDR_EOTF_POSX(layer) (HDR_LAYER_BASE(layer) + HDR_EOTF_POSX_OFFSET) argument
67 #define HDR_EOTF_POSY(layer) (HDR_LAYER_BASE(layer) + HDR_EOTF_POSY_OFFSET) argument
68 #define HDR_GM_COEF(layer) (HDR_LAYER_BASE(layer) + HDR_GM_COEF_OFFSET ) argument
69 #define HDR_GM_OFF(layer) (HDR_LAYER_BASE(layer) + HDR_GM_OFF_OFFSET ) argument
70 #define HDR_TM_COEF(layer) (HDR_LAYER_BASE(layer) + HDR_TM_COEF_OFFSET ) argument
71 #define HDR_TM_RNGX(layer) (HDR_LAYER_BASE(layer) + HDR_TM_RNGX_OFFSET ) argument
[all …]
/hardware/google/graphics/gs101/libacryl_plugins/
Dlibacryl_hdr_plugin.cpp61 #define HDR_LAYER_BASE(layer) (HDR_BASE + HDR_SFR_LEN * (layer)) argument
63 #define HDR_MOD_CTRL(layer) (HDR_LAYER_BASE(layer) + HDR_MOD_CTRL_OFFSET ) argument
64 #define HDR_OETF_POSX(layer) (HDR_LAYER_BASE(layer) + HDR_OETF_POSX_OFFSET) argument
65 #define HDR_OETF_POSY(layer) (HDR_LAYER_BASE(layer) + HDR_OETF_POSY_OFFSET) argument
66 #define HDR_EOTF_POSX(layer) (HDR_LAYER_BASE(layer) + HDR_EOTF_POSX_OFFSET) argument
67 #define HDR_EOTF_POSY(layer) (HDR_LAYER_BASE(layer) + HDR_EOTF_POSY_OFFSET) argument
68 #define HDR_GM_COEF(layer) (HDR_LAYER_BASE(layer) + HDR_GM_COEF_OFFSET ) argument
69 #define HDR_GM_OFF(layer) (HDR_LAYER_BASE(layer) + HDR_GM_OFF_OFFSET ) argument
70 #define HDR_TM_COEF(layer) (HDR_LAYER_BASE(layer) + HDR_TM_COEF_OFFSET ) argument
71 #define HDR_TM_RNGX(layer) (HDR_LAYER_BASE(layer) + HDR_TM_RNGX_OFFSET ) argument
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVmsUtils.h46 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/google/graphics/common/libacryl/
Dacrylic.cpp38 for (auto layer: mLayers) { in ~Acrylic() local
39 layer->disconnectLayer(); in ~Acrylic()
40 removeTransitData(layer); in ~Acrylic()
54 auto *layer = new AcrylicLayer(this); in createLayer() local
55 if (!layer) { in createLayer()
60 mLayers.push_back(layer); in createLayer()
64 return layer; in createLayer()
67 void Acrylic::removeLayer(AcrylicLayer *layer) in removeLayer() argument
69 auto it = find(std::begin(mLayers), std::end(mLayers), layer); in removeLayer()
124 for (auto layer: mLayers) { in validateAllLayers() local
[all …]
Dacrylic_g2d.cpp395 static void show_g2d_layer(const char *title, int idx, const g2d_layer &layer) in show_g2d_layer() argument
398 layer.flags, layer.fence, layer.buffer_type, layer.num_buffers); in show_g2d_layer()
399 for (unsigned int i = 0; i < layer.num_buffers; i++) { in show_g2d_layer()
401 i, layer.buffer[i].userptr, in show_g2d_layer()
402 layer.buffer[i].dmabuf.fd, layer.buffer[i].dmabuf.offset, in show_g2d_layer()
403 layer.buffer[i].length); in show_g2d_layer()
640 bool AcrylicCompositorG2D::prepareImage(AcrylicCanvas &layer, struct g2d_layer &image, uint32_t cmd… in prepareImage() argument
644 if (layer.getFence() >= 0) { in prepareImage()
646 image.fence = layer.getFence(); in prepareImage()
649 if (layer.isProtected()) in prepareImage()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_tonemapper.cpp101 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 …]
Dblit_engine_c2d.cpp209 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 …]
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_tonemapper.cpp101 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 …]
Dblit_engine_c2d.cpp209 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 …]
/hardware/interfaces/graphics/composer/aidl/include/android/hardware/graphics/composer3/
DComposerClientWriter.h103 void setLayerLifecycleBatchCommandType(int64_t display, int64_t layer, in setLayerLifecycleBatchCommandType() argument
105 getLayerCommand(display, layer).layerLifecycleBatchCommandType = cmd; in setLayerLifecycleBatchCommandType()
108 void setNewBufferSlotCount(int64_t display, int64_t layer, int32_t newBufferSlotToCount) { in setNewBufferSlotCount() argument
109 getLayerCommand(display, layer).newBufferSlotCount = newBufferSlotToCount; in setNewBufferSlotCount()
136 void setLayerCursorPosition(int64_t display, int64_t layer, int32_t x, int32_t y) { in setLayerCursorPosition() argument
140 getLayerCommand(display, layer).cursorPosition.emplace(std::move(cursorPosition)); in setLayerCursorPosition()
143 void setLayerBuffer(int64_t display, int64_t layer, uint32_t slot, in setLayerBuffer() argument
145 getLayerCommand(display, layer).buffer = getBufferCommand(slot, buffer, acquireFence); in setLayerBuffer()
148 void setLayerBufferWithNewCommand(int64_t display, int64_t layer, uint32_t slot, in setLayerBufferWithNewCommand() argument
151 getLayerCommand(display, layer).buffer = getBufferCommand(slot, buffer, acquireFence); in setLayerBufferWithNewCommand()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_tonemapper.cpp68 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/
Dhwc_tonemapper.cpp68 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/
Dhwc_tonemapper.cpp68 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 …]
Dhwcomposer.cpp85 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/sm7250/display/composer/
Dhwc_tonemapper.cpp69 Lut3d &lut_3d = ctx->layer->lut_3d; in OnTask()
89 (ctx->layer->input_buffer.buffer_id); in OnTask()
106 DisplayError ToneMapSession::AllocateIntermediateBuffers(const Layer *layer) { in AllocateIntermediateBuffers() argument
110 buffer_info.buffer_config.width = layer->request.width; in AllocateIntermediateBuffers()
111 buffer_info.buffer_config.height = layer->request.height; in AllocateIntermediateBuffers()
112 buffer_info.buffer_config.format = layer->request.format; in AllocateIntermediateBuffers()
113 buffer_info.buffer_config.secure = layer->request.flags.secure; in AllocateIntermediateBuffers()
147 void ToneMapSession::SetToneMapConfig(Layer *layer, PrimariesTransfer blend_cs) { in SetToneMapConfig() argument
149 tone_map_config_.type = layer->input_buffer.flags.hdr ? TONEMAP_FORWARD : TONEMAP_INVERSE; in SetToneMapConfig()
151 tone_map_config_.transfer = layer->input_buffer.color_metadata.transfer; in SetToneMapConfig()
[all …]
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_tonemapper.cpp68 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/google/graphics/common/hwc3/
DComposerCommandEngine.h39 void dispatchLayerCommand(int64_t display, int64_t layer, const std::string& funcName,
63 void executeSetLayerCursorPosition(int64_t display, int64_t layer,
65 void executeSetLayerBuffer(int64_t display, int64_t layer, const Buffer& buffer);
66 void executeSetLayerSurfaceDamage(int64_t display, int64_t layer,
68 void executeSetLayerBlendMode(int64_t display, int64_t layer,
70 void executeSetLayerColor(int64_t display, int64_t layer, const Color& color);
71 void executeSetLayerComposition(int64_t display, int64_t layer,
73 void executeSetLayerDataspace(int64_t display, int64_t layer,
75 void executeSetLayerDisplayFrame(int64_t display, int64_t layer, const common::Rect& rect);
76 void executeSetLayerPlaneAlpha(int64_t display, int64_t layer, const PlaneAlpha& planeAlpha);
[all …]
/hardware/google/graphics/common/libhwc2.1/
DDisplaySceneInfo.cpp29 int32_t DisplaySceneInfo::setLayerDataMappingInfo(ExynosMPPSource* layer, uint32_t index) { in setLayerDataMappingInfo() argument
30 if (layerDataMappingInfo.count(layer) != 0) { in setLayerDataMappingInfo()
31 ALOGE("layer mapping is already inserted (layer: %p, index:%d)", layer, index); in setLayerDataMappingInfo()
35 uint32_t oldPlaneId = prev_layerDataMappingInfo.count(layer) != 0 && in setLayerDataMappingInfo()
36 prev_layerDataMappingInfo[layer].dppIdx == index in setLayerDataMappingInfo()
37 ? prev_layerDataMappingInfo[layer].planeId in setLayerDataMappingInfo()
39 layerDataMappingInfo.insert(std::make_pair(layer, LayerMappingInfo{index, oldPlaneId})); in setLayerDataMappingInfo()
166 int32_t DisplaySceneInfo::setLayerColorData(LayerColorData& layerData, ExynosLayer* layer, in setLayerColorData() argument
168 layerData.is_solid_color_layer = layer->isDimLayer(); in setLayerColorData()
169 layerData.solid_color.r = layer->mColor.r; in setLayerColorData()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display.cpp58 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 …]
Dblit_engine_c2d.cpp209 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/
Dhwc_mdpcomp.cpp222 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 …]
/hardware/google/gfxstream/host/gl/
DDisplayGl.cpp48 for (const PostLayer& layer : post.layers) { in post() local
49 if (layer.layerOptions) { in post()
54 layer.colorBuffer->glOpPostLayer(*layer.layerOptions, post.frameWidth, in post()
56 } else if (layer.overlayOptions) { in post()
60 layer.colorBuffer->glOpPostViewportScaledWithOverlay( in post()
61 layer.overlayOptions->rotation, layer.overlayOptions->dx, layer.overlayOptions->dy); in post()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_mdpcomp.cpp288 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 …]
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_mdpcomp.cpp205 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 …]

12345678910>>...21