/hardware/samsung_slsi/exynos5/libhwc/ |
H A D | hwc.cpp | 234 static bool is_transformed(const hwc_layer_1_t &layer) argument 236 return layer.transform != 0; 239 static bool is_rotated(const hwc_layer_1_t &layer) argument 241 return (layer.transform & HAL_TRANSFORM_ROT_90) || 242 (layer.transform & HAL_TRANSFORM_ROT_180); 245 static bool is_scaled(const hwc_layer_1_t &layer) argument 247 return WIDTH(layer.displayFrame) != WIDTH(layer.sourceCrop) || 248 HEIGHT(layer.displayFrame) != HEIGHT(layer 349 is_x_aligned(const hwc_layer_1_t &layer, int format) argument 371 exynos5_supports_gscaler(hwc_layer_1_t &layer, int format, bool local_path) argument 416 exynos5_requires_gscaler(hwc_layer_1_t &layer, int format) argument 650 hdmi_output(struct exynos5_hwc_composer_device_1_t *dev, hdmi_layer_t &hl, hwc_layer_1_t &layer, private_handle_t *h, int acquireFenceFd, int *releaseFenceFd) argument 764 exynos5_is_offscreen(hwc_layer_1_t &layer, struct exynos5_hwc_composer_device_1_t *pdev) argument 773 exynos5_visible_width(hwc_layer_1_t &layer, int format, struct exynos5_hwc_composer_device_1_t *pdev) argument 787 exynos5_supports_overlay(hwc_layer_1_t &layer, size_t i, struct exynos5_hwc_composer_device_1_t *pdev) argument 863 hwc_layer_1_t &layer = contents->hwLayers[i]; local 930 hwc_layer_1_t &layer = contents->hwLayers[i]; local 1001 hwc_layer_1_t &layer = contents->hwLayers[i]; local 1048 hwc_layer_1_t &layer = contents->hwLayers[i]; local 1114 exynos5_config_gsc_m2m(hwc_layer_1_t &layer, alloc_device_t* alloc_device, exynos5_gsc_data_t *gsc_data, int gsc_idx, int dst_format, hwc_rect_t *sourceCrop) argument 1368 exynos5_config_overlay(hwc_layer_1_t *layer, s3c_fb_win_config &cfg, exynos5_hwc_composer_device_1_t *pdev) argument 1401 hwc_layer_1_t &layer = contents->hwLayers[layer_idx]; local 1462 hwc_layer_1_t &layer = contents->hwLayers[layer_idx]; local 1521 hwc_layer_1_t &layer = local 1546 hwc_layer_1_t &layer = contents->hwLayers[i]; local 1556 hwc_layer_1_t &layer = contents->hwLayers[i]; local [all...] |
/hardware/qcom/display/msm8x26/libhwcomposer/ |
H A D | hwc_mdpcomp.cpp | 146 hwc_layer_1_t* layer = &(list->hwLayers[index]); local 149 layer->compositionType = HWC_OVERLAY; 150 layer->hints |= HWC_HINT_CLEAR_FB; 154 layer->compositionType = HWC_OVERLAY; 225 // populate layer and MDP maps 261 bool MDPComp::isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) { argument 263 private_handle_t *hnd = (private_handle_t *)layer->handle; 266 ALOGE("%s: layer handle is NULL", __FUNCTION__); 273 hwc_rect_t crop = layer->sourceCrop; 274 hwc_rect_t dst = layer 397 hwc_layer_1_t* layer = &list->hwLayers[i]; local 510 isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer) argument 636 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; local 669 hwc_layer_1_t* layer = &list->hwLayers[index]; local 697 hwc_layer_1_t* layer = &list->hwLayers[index]; local 789 configure(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 799 __FUNCTION__, layer, zOrder, dest); local 821 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; local 841 hwc_layer_1_t* layer = &list->hwLayers[index]; local 894 hwc_layer_1_t *layer = &list->hwLayers[i]; local 916 using pipe: %d", __FUNCTION__, layer, local 948 hwc_layer_1_t* layer = &list->hwLayers[i]; local 962 acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer, MdpPipeInfoHighRes& pipe_info, ePipeType type) argument 998 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; local 1014 hwc_layer_1_t* layer = &list->hwLayers[index]; local 1043 configure(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 1054 "dest_pipeR: %d",__FUNCTION__, layer, zOrder, lDest, rDest); local 1084 hwc_layer_1_t *layer = &list->hwLayers[i]; local 1117 using pipe: %d", __FUNCTION__, layer, hnd, indexL ); local 1128 using pipe: %d", __FUNCTION__, layer, hnd, indexR ); local [all...] |
H A D | hwc_copybit.h | 37 //Draws layer if the layer is set for copybit in prepare 51 int drawLayerUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer, 66 void getLayerResolution(const hwc_layer_1_t* layer,
|
H A D | hwc_utils.cpp | 322 bool needsScaling(hwc_layer_1_t const* layer) { argument 325 hwc_rect_t displayFrame = layer->displayFrame; 326 hwc_rect_t sourceCrop = layer->sourceCrop; 340 bool isAlphaScaled(hwc_layer_1_t const* layer) { argument 341 if(needsScaling(layer) && isAlphaPresent(layer)) { 347 bool isAlphaPresent(hwc_layer_1_t const* layer) { argument 348 private_handle_t *hnd = (private_handle_t *)layer->handle; 396 hwc_layer_1_t const* layer = &list->hwLayers[i]; local 397 private_handle_t *hnd = (private_handle_t *)layer 444 isSecuring(hwc_context_t* ctx, hwc_layer_1_t const* layer) argument 743 setMdpFlags(hwc_layer_1_t *layer, ovutils::eMdpFlags &mdpFlags, int rotDownscale) argument 886 configureLowRes(hwc_context_t *ctx, hwc_layer_1_t *layer, const int& dpy, eMdpFlags& mdpFlags, const eZorder& z, const eIsFg& isFg, const eDest& dest, Rotator **rot) argument 951 configureHighRes(hwc_context_t *ctx, hwc_layer_1_t *layer, const int& dpy, eMdpFlags& mdpFlagsL, const eZorder& z, const eIsFg& isFg, const eDest& lDest, const eDest& rDest, Rotator **rot) argument 1065 add(hwc_layer_1_t* layer, Rotator *rot) argument [all...] |
H A D | hwc_fbupdate.cpp | 63 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 66 private_handle_t *hnd = (private_handle_t *)layer->handle; 84 //XXX: FB layer plane alpha is currently sent as zero from 92 (ovutils::eBlending) getBlending(layer->blending)); 103 int transform = layer->transform; 167 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 170 private_handle_t *hnd = (private_handle_t *)layer->handle; 196 //XXX: FB layer plane alpha is currently sent as zero from 204 (ovutils::eBlending) getBlending(layer->blending)); 215 (ovutils::eBlending) getBlending(layer [all...] |
H A D | hwc_utils.h | 38 #define MAX_NUM_LAYERS 32 //includes fb layer 89 int numAppLayers; //Total - 1, excluding FB layer. 101 uint32_t mFlags; //qcom specific layer flags 128 void add(hwc_layer_1_t* layer, overlay::Rotator *rot); 166 bool isSecuring(hwc_context_t* ctx, hwc_layer_1_t const* layer); 169 bool needsScaling(hwc_layer_1_t const* layer); 170 bool isAlphaPresent(hwc_layer_1_t const* layer); 189 //Trims a layer's source crop which is outside of screen boundary. 193 //Sets appropriate mdp flags for a layer. 194 void setMdpFlags(hwc_layer_1_t *layer, 272 getLayerResolution(const hwc_layer_1_t* layer, int& width, int& height) argument [all...] |
H A D | hwc_mdpcomp.h | 70 /* per layer data */ 79 /* maps layer list to mdp list */ 83 /* maps mdp list to layer list */ 87 /* layer composing on FB? */ 126 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer, 141 /* check if we can use layer cache to do at least partial MDP comp */ 146 bool isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer); 155 bool isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer); 191 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer, 213 bool acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer, [all...] |
H A D | hwc_copybit.cpp | 147 //GPU/CPU composition, don't change layer composition type 184 // numAppLayers-1, as we iterate till 0th layer index 195 // be drawn on the framebuffer or that are on the layer cache. 197 //There is no need to reset layer properties here as we return in 230 if(mCopyBitDraw == false) // there is no layer marked for copybit 236 ALOGE("%s: Render buffer layer handle is NULL", __FUNCTION__); 252 // numAppLayers-1, as we iterate from 0th layer index with HWC_COPYBIT flag 254 hwc_layer_1_t *layer = &list->hwLayers[i]; local 286 int CopyBit::drawLayerUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer, argument 296 private_handle_t *hnd = (private_handle_t *)layer 485 getLayerResolution(const hwc_layer_1_t* layer, unsigned int& width, unsigned int& height) argument [all...] |
/hardware/qcom/display/msm8974/libhwcomposer/ |
H A D | hwc_mdpcomp.cpp | 169 hwc_layer_1_t* layer = &(list->hwLayers[index]); local 172 layer->compositionType = HWC_OVERLAY; 173 layer->hints |= HWC_HINT_CLEAR_FB; 176 layer->compositionType = HWC_OVERLAY; 207 // populate layer and MDP maps 243 bool MDPComp::isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer) { argument 244 private_handle_t *hnd = (private_handle_t *)layer->handle; 245 if((not isYuvBuffer(hnd) and has90Transform(layer)) or 246 (not isValidDimension(ctx,layer)) 254 bool MDPComp::isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) { argument 392 hwc_layer_1_t* layer = &list->hwLayers[i]; local 448 hwc_layer_1_t* layer = &list->hwLayers[i]; local 502 hwc_layer_1_t* layer = &list->hwLayers[i]; local 566 hwc_layer_1_t* layer = &list->hwLayers[j]; local 586 hwc_layer_1_t* layer = &list->hwLayers[i]; local 645 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; local 662 isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer) argument 722 hwc_layer_1_t* layer = &list->hwLayers[i]; local 751 hwc_layer_1_t* layer = &list->hwLayers[i]; local 773 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; local 805 hwc_layer_1_t* layer = &list->hwLayers[index]; local 833 hwc_layer_1_t* layer = &list->hwLayers[index]; local 950 configure(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 960 __FUNCTION__, layer, zOrder, dest); local 991 hwc_layer_1_t* layer = &list->hwLayers[index]; local 1047 hwc_layer_1_t *layer = &list->hwLayers[i]; local 1069 using pipe: %d", __FUNCTION__, layer, local 1112 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1146 acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer, MdpPipeInfoHighRes& pipe_info, ePipeType type) argument 1177 hwc_layer_1_t* layer = &list->hwLayers[index]; local 1206 configure(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 1217 "dest_pipeR: %d",__FUNCTION__, layer, zOrder, lDest, rDest); local 1252 hwc_layer_1_t *layer = &list->hwLayers[i]; local 1292 using pipe: %d", __FUNCTION__, layer, hnd, indexL ); local 1303 using pipe: %d", __FUNCTION__, layer, hnd, indexR ); local [all...] |
H A D | hwc_utils.cpp | 303 bool needsScaling(hwc_context_t* ctx, hwc_layer_1_t const* layer, argument 307 hwc_rect_t displayFrame = layer->displayFrame; 308 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); 309 trimLayer(ctx, dpy, layer->transform, sourceCrop, displayFrame); 322 bool isAlphaScaled(hwc_context_t* ctx, hwc_layer_1_t const* layer, argument 324 if(needsScaling(ctx, layer, dpy) && isAlphaPresent(layer)) { 330 bool isAlphaPresent(hwc_layer_1_t const* layer) { argument 331 private_handle_t *hnd = (private_handle_t *)layer->handle; 345 // Let CABL know we have a YUV layer 377 hwc_layer_1_t const* layer = &list->hwLayers[i]; local 445 isSecuring(hwc_context_t* ctx, hwc_layer_1_t const* layer) argument 749 setMdpFlags(hwc_layer_1_t *layer, ovutils::eMdpFlags &mdpFlags, int rotDownscale) argument 878 configureLowRes(hwc_context_t *ctx, hwc_layer_1_t *layer, const int& dpy, eMdpFlags& mdpFlags, const eZorder& z, const eIsFg& isFg, const eDest& dest, Rotator **rot) argument 969 configureHighRes(hwc_context_t *ctx, hwc_layer_1_t *layer, const int& dpy, eMdpFlags& mdpFlagsL, const eZorder& z, const eIsFg& isFg, const eDest& lDest, const eDest& rDest, Rotator **rot) argument 1206 add(hwc_layer_1_t* layer, Rotator *rot) argument [all...] |
H A D | hwc_copybit.cpp | 116 // Skipping last layer since FrameBuffer layer should not affect 142 //GPU/CPU composition, don't change layer composition type 175 hwc_layer_1_t *layer = (hwc_layer_1_t *) &list->hwLayers[i]; local 176 if ((layer->transform & (HAL_TRANSFORM_FLIP_H | 178 ((layer->displayFrame.bottom - layer->displayFrame.top) % 16 || 179 (layer->displayFrame.right - layer->displayFrame.left) % 16)) 181 if (layer 276 hwc_layer_1_t *layer = &list->hwLayers[i]; local 309 drawLayerUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer, private_handle_t *renderBuffer, int dpy, bool isFG) argument 538 getLayerResolution(const hwc_layer_1_t* layer, unsigned int& width, unsigned int& height) argument [all...] |
H A D | hwc_copybit.h | 37 //Draws layer if the layer is set for copybit in prepare 51 int drawLayerUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer, 66 void getLayerResolution(const hwc_layer_1_t* layer,
|
H A D | hwc_fbupdate.cpp | 69 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 72 hwc_rect_t displayFrame = layer->displayFrame; 105 //XXX: FB layer plane alpha is currently sent as zero from 113 (ovutils::eBlending) getBlending(layer->blending)); 124 int transform = layer->transform; 193 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 196 hwc_rect_t displayFrame = layer->displayFrame; 234 //XXX: FB layer plane alpha is currently sent as zero from 242 (ovutils::eBlending) getBlending(layer->blending)); 253 (ovutils::eBlending) getBlending(layer [all...] |
H A D | hwc_mdpcomp.h | 75 /* per layer data */ 84 /* maps layer list to mdp list */ 88 /* maps mdp list to layer list */ 92 /* layer composing on FB? */ 128 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer, 143 /* check if we can use layer cache to do at least partial MDP comp */ 155 bool isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer); 162 bool isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer); 172 bool isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer); 198 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer, [all...] |
H A D | hwc_utils.h | 92 int numAppLayers; //Total - 1, excluding FB layer. 105 uint32_t mFlags; //qcom specific layer flags 130 void add(hwc_layer_1_t* layer, overlay::Rotator *rot); 187 bool isSecuring(hwc_context_t* ctx, hwc_layer_1_t const* layer); 189 bool needsScaling(hwc_context_t* ctx, hwc_layer_1_t const* layer, const int& dpy); 190 bool isAlphaPresent(hwc_layer_1_t const* layer); 209 //Trims a layer's source crop which is outside of screen boundary. 213 //Sets appropriate mdp flags for a layer. 214 void setMdpFlags(hwc_layer_1_t *layer, 231 int configureLowRes(hwc_context_t *ctx, hwc_layer_1_t *layer, cons 325 getLayerResolution(const hwc_layer_1_t* layer, int& width, int& height) argument 399 has90Transform(hwc_layer_1_t *layer) argument [all...] |
H A D | hwc_ad.cpp | 148 const hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; local 149 private_handle_t *hnd = (private_handle_t *)layer->handle;
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
H A D | hwc_copybit.h | 37 //Draws layer if the layer is set for copybit in prepare 51 int drawLayerUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer, 66 void getLayerResolution(const hwc_layer_1_t* layer,
|
H A D | hwc_mdpcomp.cpp | 151 hwc_layer_1_t* layer = &(list->hwLayers[index]); local 154 layer->compositionType = HWC_OVERLAY; 155 layer->hints |= HWC_HINT_CLEAR_FB; 159 layer->compositionType = HWC_OVERLAY; 230 // populate layer and MDP maps 266 bool MDPComp::isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) { argument 268 private_handle_t *hnd = (private_handle_t *)layer->handle; 271 ALOGE("%s: layer handle is NULL", __FUNCTION__); 278 hwc_rect_t crop = layer->sourceCrop; 279 hwc_rect_t dst = layer 402 hwc_layer_1_t* layer = &list->hwLayers[i]; local 514 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; local 527 isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer) argument 647 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; local 680 hwc_layer_1_t* layer = &list->hwLayers[index]; local 708 hwc_layer_1_t* layer = &list->hwLayers[index]; local 800 configure(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 810 __FUNCTION__, layer, zOrder, dest); local 832 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; local 852 hwc_layer_1_t* layer = &list->hwLayers[index]; local 905 hwc_layer_1_t *layer = &list->hwLayers[i]; local 927 using pipe: %d", __FUNCTION__, layer, local 959 hwc_layer_1_t* layer = &list->hwLayers[i]; local 973 acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer, MdpPipeInfoHighRes& pipe_info, ePipeType type) argument 1009 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; local 1025 hwc_layer_1_t* layer = &list->hwLayers[index]; local 1054 configure(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 1065 "dest_pipeR: %d",__FUNCTION__, layer, zOrder, lDest, rDest); local 1095 hwc_layer_1_t *layer = &list->hwLayers[i]; local 1128 using pipe: %d", __FUNCTION__, layer, hnd, indexL ); local 1139 using pipe: %d", __FUNCTION__, layer, hnd, indexR ); local [all...] |
H A D | hwc_utils.cpp | 361 bool needsScaling(hwc_layer_1_t const* layer) { argument 364 hwc_rect_t displayFrame = layer->displayFrame; 365 hwc_rect_t sourceCrop = layer->sourceCrop; 379 bool isAlphaScaled(hwc_layer_1_t const* layer) { argument 380 if(needsScaling(layer) && isAlphaPresent(layer)) { 386 bool isAlphaPresent(hwc_layer_1_t const* layer) { argument 387 private_handle_t *hnd = (private_handle_t *)layer->handle; 435 hwc_layer_1_t const* layer = &list->hwLayers[i]; local 436 private_handle_t *hnd = (private_handle_t *)layer 484 isSecuring(hwc_context_t* ctx, hwc_layer_1_t const* layer) argument 782 setMdpFlags(hwc_layer_1_t *layer, ovutils::eMdpFlags &mdpFlags, int rotDownscale) argument 926 configureLowRes(hwc_context_t *ctx, hwc_layer_1_t *layer, const int& dpy, eMdpFlags& mdpFlags, const eZorder& z, const eIsFg& isFg, const eDest& dest, Rotator **rot) argument 1005 configureHighRes(hwc_context_t *ctx, hwc_layer_1_t *layer, const int& dpy, eMdpFlags& mdpFlagsL, const eZorder& z, const eIsFg& isFg, const eDest& lDest, const eDest& rDest, Rotator **rot) argument 1121 add(hwc_layer_1_t* layer, Rotator *rot) argument [all...] |
H A D | hwc_fbupdate.cpp | 63 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 66 private_handle_t *hnd = (private_handle_t *)layer->handle; 84 //XXX: FB layer plane alpha is currently sent as zero from 92 (ovutils::eBlending) getBlending(layer->blending)); 103 int transform = layer->transform; 167 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 170 private_handle_t *hnd = (private_handle_t *)layer->handle; 196 //XXX: FB layer plane alpha is currently sent as zero from 204 (ovutils::eBlending) getBlending(layer->blending)); 215 (ovutils::eBlending) getBlending(layer [all...] |
H A D | hwc_utils.h | 38 #define MAX_NUM_LAYERS 32 //includes fb layer 89 int numAppLayers; //Total - 1, excluding FB layer. 101 uint32_t mFlags; //qcom specific layer flags 128 void add(hwc_layer_1_t* layer, overlay::Rotator *rot); 166 bool isSecuring(hwc_context_t* ctx, hwc_layer_1_t const* layer); 169 bool needsScaling(hwc_layer_1_t const* layer); 170 bool isAlphaPresent(hwc_layer_1_t const* layer); 189 //Trims a layer's source crop which is outside of screen boundary. 193 //Sets appropriate mdp flags for a layer. 194 void setMdpFlags(hwc_layer_1_t *layer, 272 getLayerResolution(const hwc_layer_1_t* layer, int& width, int& height) argument [all...] |
H A D | hwc_mdpcomp.h | 70 /* per layer data */ 79 /* maps layer list to mdp list */ 83 /* maps mdp list to layer list */ 87 /* layer composing on FB? */ 126 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer, 141 /* check if we can use layer cache to do at least partial MDP comp */ 146 bool isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer); 155 bool isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer); 191 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer, 213 bool acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer, [all...] |
H A D | hwc_copybit.cpp | 147 //GPU/CPU composition, don't change layer composition type 184 // numAppLayers-1, as we iterate till 0th layer index 195 // be drawn on the framebuffer or that are on the layer cache. 197 //There is no need to reset layer properties here as we return in 230 if(mCopyBitDraw == false) // there is no layer marked for copybit 236 ALOGE("%s: Render buffer layer handle is NULL", __FUNCTION__); 252 // numAppLayers-1, as we iterate from 0th layer index with HWC_COPYBIT flag 254 hwc_layer_1_t *layer = &list->hwLayers[i]; local 286 int CopyBit::drawLayerUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer, argument 296 private_handle_t *hnd = (private_handle_t *)layer 485 getLayerResolution(const hwc_layer_1_t* layer, unsigned int& width, unsigned int& height) argument [all...] |
/hardware/ti/omap4xxx/hwc/ |
H A D | hwc.c | 256 hwc_layer_1_t *layer = &list->hwLayers[i]; local 257 IMG_native_handle_t *handle = (IMG_native_handle_t *)layer->handle; 258 dump_printf(&log, "%p:%s,", handle, layer->compositionType == HWC_OVERLAY ? "DSS" : "SGX"); 259 if ((layer->flags & HWC_SKIP_LAYER) || !handle) { 263 if (layer->flags & HWC_HINT_CLEAR_FB) 266 if (layer->transform) 267 dump_printf(&log, "~%d", layer->transform); 313 static int scaled(hwc_layer_1_t *layer) argument 315 int w = WIDTH(layer->sourceCrop); 316 int h = HEIGHT(layer 324 is_protected(hwc_layer_1_t *layer) argument 374 dockable(hwc_layer_1_t *layer) argument 453 omap4_hwc_setup_layer(omap4_hwc_device_t *hwc_dev, struct dss2_ovl_info *ovl, hwc_layer_1_t *layer, int index, int format, int width, int height) argument 760 omap4_hwc_can_scale_layer(omap4_hwc_device_t *hwc_dev, hwc_layer_1_t *layer, IMG_native_handle_t *handle) argument 777 omap4_hwc_is_valid_layer(omap4_hwc_device_t *hwc_dev, hwc_layer_1_t *layer, IMG_native_handle_t *handle) argument 972 hwc_layer_1_t *layer = &list->hwLayers[i]; local 1079 can_dss_render_layer(omap4_hwc_device_t *hwc_dev, hwc_layer_1_t *layer) argument 1203 hwc_layer_1_t* layer = &list->hwLayers[j]; local 1264 hwc_layer_1_t *layer = &list->hwLayers[i]; local [all...] |
/hardware/libhardware/tests/hwc/ |
H A D | cnativewindow.c | 80 hwc_layer_1_t layer[4]; member in struct:CNativeWindow
|