Home | History | Annotate | Download | only in libhwcomposer

Lines Matching defs:hwc_context_t

53 struct hwc_context_t;
178 static void setBwc(const hwc_context_t *ctx, const int& dpy,
268 void setListStats(hwc_context_t *ctx, hwc_display_contents_1_t *list,
270 void initContext(hwc_context_t *ctx);
271 void closeContext(hwc_context_t *ctx);
277 bool isSecuring(hwc_context_t* ctx, hwc_layer_1_t const* layer);
282 bool isRotationDoable(hwc_context_t *ctx, private_handle_t *hnd);
283 bool isExternalActive(hwc_context_t* ctx);
287 bool needsScalingWithSplit(hwc_context_t* ctx, hwc_layer_1_t const* layer,
292 int hwc_vsync_control(hwc_context_t* ctx, int dpy, int enable);
294 bool isGLESOnlyComp(hwc_context_t *ctx, const int& dpy);
295 void reset_layer_prop(hwc_context_t* ctx, int dpy, int numAppLayers);
296 bool isAbcInUse(hwc_context_t *ctx);
299 void updateDisplayInfo(hwc_context_t* ctx, int dpy);
300 void resetDisplayInfo(hwc_context_t* ctx, int dpy);
301 void initCompositionResources(hwc_context_t* ctx, int dpy);
302 void destroyCompositionResources(hwc_context_t* ctx, int dpy);
303 void clearPipeResources(hwc_context_t* ctx, int dpy);
308 int getExtOrientation(hwc_context_t* ctx);
321 bool isActionSafePresent(hwc_context_t *ctx, int dpy);
324 void getActionSafePosition(hwc_context_t *ctx, int dpy, hwc_rect_t& dst);
326 void getAspectRatioPosition(hwc_context_t* ctx, int dpy, int extOrientation,
331 void setRefreshRate(hwc_context_t *ctx, int dpy, uint32_t refreshRate);
333 bool isPrimaryPortrait(hwc_context_t *ctx);
335 bool isOrientationPortrait(hwc_context_t *ctx);
337 void calcExtDisplayPosition(hwc_context_t *ctx,
347 int getMirrorModeOrientation(hwc_context_t *ctx);
353 void resetROI(hwc_context_t *ctx, const int dpy);
359 void handle_pause(hwc_context_t *ctx, int dpy);
360 void handle_resume(hwc_context_t *ctx, int dpy);
363 void handle_online(hwc_context_t* ctx, int dpy);
364 void handle_offline(hwc_context_t* ctx, int dpy);
370 int hwc_sync(hwc_context_t *ctx, hwc_display_contents_1_t* list, int dpy,
374 void setMdpFlags(hwc_context_t *ctx, hwc_layer_1_t *layer,
387 int configColorLayer(hwc_context_t *ctx, hwc_layer_1_t *layer, const int& dpy,
395 void updateCropAIVVideoMode(hwc_context_t *ctx, hwc_rect_t& crop, int dpy);
396 void updateDestAIVVideoMode(hwc_context_t *ctx, hwc_rect_t& dst, int dpy);
397 void updateCoordinates(hwc_context_t *ctx, hwc_rect_t& crop,
401 int configureNonSplit(hwc_context_t *ctx, hwc_layer_1_t *layer, const int& dpy,
407 int configureSplit(hwc_context_t *ctx, hwc_layer_1_t *layer, const int& dpy,
413 int configureSourceSplit(hwc_context_t *ctx, hwc_layer_1_t *layer,
425 bool canUseRotator(hwc_context_t *ctx, int dpy);
427 int getLeftSplit(hwc_context_t *ctx, const int& dpy);
429 bool isDisplaySplit(hwc_context_t* ctx, int dpy);
431 int getRotDownscale(hwc_context_t *ctx, const hwc_layer_1_t *layer);
437 void setGPUHint(hwc_context_t* ctx, hwc_display_contents_1_t* list);
507 void init_uevent_thread(hwc_context_t* ctx);
509 void init_vsync_thread(hwc_context_t* ctx);
564 struct hwc_context_t {
647 static inline bool isSkipPresent (hwc_context_t *ctx, int dpy) {
651 static inline bool isYuvPresent (hwc_context_t *ctx, int dpy) {
660 inline bool isSecurePresent(hwc_context_t *ctx, int dpy) {
664 static inline bool isSecondaryConfiguring(hwc_context_t* ctx) {
669 static inline bool isSecondaryConnected(hwc_context_t* ctx) {
675 static inline bool isVDConnected(hwc_context_t* ctx) {