Home
last modified time | relevance | path

Searched refs:hwc_context_t (Results 1 – 25 of 84) sorted by relevance

1234

/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_mdpcomp.h40 int prepare(hwc_context_t *ctx, hwc_display_contents_1_t* list);
42 virtual bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list) = 0;
46 void dump(android::String8& buf, hwc_context_t *ctx);
48 int drawOverlap(hwc_context_t *ctx, hwc_display_contents_1_t* list);
49 static MDPComp* getObject(hwc_context_t *ctx, const int& dpy);
53 static bool init(hwc_context_t *ctx);
59 static int setPartialUpdatePref(hwc_context_t *ctx, bool enable);
60 static bool getPartialUpdatePref(hwc_context_t *ctx);
61 void setDynRefreshRate(hwc_context_t *ctx, hwc_display_contents_1_t* list);
144 virtual bool allocLayerPipes(hwc_context_t *ctx,
[all …]
Dhwc_fbupdate.h38 explicit IFBUpdate(hwc_context_t *ctx, const int& dpy);
41 virtual bool prepare(hwc_context_t *ctx, hwc_display_contents_1 *list,
43 virtual bool prepareAndValidate(hwc_context_t *ctx,
46 virtual bool draw(hwc_context_t *ctx, private_handle_t *hnd) = 0;
50 static IFBUpdate *getObject(hwc_context_t *ctx, const int& dpy);
64 explicit FBUpdateNonSplit(hwc_context_t *ctx, const int& dpy);
66 bool prepare(hwc_context_t *ctx, hwc_display_contents_1 *list,
68 bool draw(hwc_context_t *ctx, private_handle_t *hnd);
71 bool configure(hwc_context_t *ctx, hwc_display_contents_1 *list,
73 bool preRotateExtDisplay(hwc_context_t *ctx,
[all …]
Dhwc_copybit.h35 CopyBit(hwc_context_t *ctx, const int& dpy);
40 bool prepare(hwc_context_t *ctx, hwc_display_contents_1_t *list,
43 bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list,
54 bool prepareOverlap(hwc_context_t *ctx, hwc_display_contents_1_t *list);
56 int drawOverlap(hwc_context_t *ctx, hwc_display_contents_1_t *list);
67 void updateCounts(hwc_context_t *ctx, hwc_display_contents_1_t *list,
82 bool drawUsingAppBufferComposition(hwc_context_t *ctx,
86 int drawLayerUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer,
89 int drawRectUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer,
94 bool canUseCopybitForYUV (hwc_context_t *ctx);
[all …]
Dhwc_utils.h54 struct hwc_context_t;
179 static void setBwc(const hwc_context_t *ctx, const int& dpy,
301 void setListStats(hwc_context_t *ctx, hwc_display_contents_1_t *list,
303 void initContext(hwc_context_t *ctx);
304 void closeContext(hwc_context_t *ctx);
310 bool isSecuring(hwc_context_t* ctx, hwc_layer_1_t const* layer);
315 bool isRotationDoable(hwc_context_t *ctx, private_handle_t *hnd);
316 bool isExternalActive(hwc_context_t* ctx);
320 bool needsScalingWithSplit(hwc_context_t* ctx, hwc_layer_1_t const* layer,
325 int hwc_vsync_control(hwc_context_t* ctx, int dpy, int enable);
[all …]
Dhwc_qclient.h40 struct hwc_context_t;
48 QClient(hwc_context_t *ctx);
58 MPDeathNotifier(hwc_context_t* ctx) : mHwcContext(ctx){} in MPDeathNotifier()
60 hwc_context_t *mHwcContext;
63 hwc_context_t *mHwcContext;
Dhwc_ad.h36 struct hwc_context_t;
42 AssertiveDisplay(hwc_context_t *ctx);
43 void markDoable(hwc_context_t *ctx, const hwc_display_contents_1_t* list);
44 bool prepare(hwc_context_t *ctx, const hwc_rect_t& crop,
47 bool draw(hwc_context_t *ctx, int fd, uint32_t offset);
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_mdpcomp.h43 int prepare(hwc_context_t *ctx, hwc_display_contents_1_t* list);
45 virtual bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list) = 0;
49 void dump(android::String8& buf, hwc_context_t *ctx);
51 int drawOverlap(hwc_context_t *ctx, hwc_display_contents_1_t* list);
52 static MDPComp* getObject(hwc_context_t *ctx, const int& dpy);
56 static bool init(hwc_context_t *ctx);
144 virtual bool allocLayerPipes(hwc_context_t *ctx,
147 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
151 virtual void adjustForSourceSplit(hwc_context_t *ctx,
154 virtual int configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer,
[all …]
Dhwc_virtual.h39 virtual int set(hwc_context_t *ctx, hwc_display_contents_1_t *list) = 0;
40 virtual void init(hwc_context_t *ctx) = 0;
41 virtual void destroy(hwc_context_t *ctx, size_t numDisplays,
43 virtual void pause(hwc_context_t* ctx, int dpy) = 0;
44 virtual void resume(hwc_context_t* ctx, int dpy) = 0;
57 virtual int set(hwc_context_t *ctx, hwc_display_contents_1_t *list);
60 virtual void init(hwc_context_t *ctx);
63 virtual void destroy(hwc_context_t *ctx, size_t numDisplays,
65 virtual void pause(hwc_context_t* ctx, int dpy);
66 virtual void resume(hwc_context_t* ctx, int dpy);
[all …]
Dhwc_fbupdate.h38 explicit IFBUpdate(hwc_context_t *ctx, const int& dpy);
41 virtual bool prepare(hwc_context_t *ctx, hwc_display_contents_1 *list,
43 virtual bool prepareAndValidate(hwc_context_t *ctx,
46 virtual bool draw(hwc_context_t *ctx, private_handle_t *hnd) = 0;
50 static IFBUpdate *getObject(hwc_context_t *ctx, const int& dpy);
64 explicit FBUpdateNonSplit(hwc_context_t *ctx, const int& dpy);
66 bool prepare(hwc_context_t *ctx, hwc_display_contents_1 *list,
68 bool draw(hwc_context_t *ctx, private_handle_t *hnd);
71 bool configure(hwc_context_t *ctx, hwc_display_contents_1 *list,
73 bool preRotateExtDisplay(hwc_context_t *ctx,
[all …]
Dhwc_copybit.h35 CopyBit(hwc_context_t *ctx, const int& dpy);
40 bool prepare(hwc_context_t *ctx, hwc_display_contents_1_t *list,
43 bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list,
54 bool prepareOverlap(hwc_context_t *ctx, hwc_display_contents_1_t *list);
56 int drawOverlap(hwc_context_t *ctx, hwc_display_contents_1_t *list);
67 void updateCounts(hwc_context_t *ctx, hwc_display_contents_1_t *list,
82 bool drawUsingAppBufferComposition(hwc_context_t *ctx,
86 int drawLayerUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer,
89 int drawRectUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer,
94 bool canUseCopybitForYUV (hwc_context_t *ctx);
[all …]
Dhwc_utils.h48 struct hwc_context_t;
251 void setListStats(hwc_context_t *ctx, hwc_display_contents_1_t *list,
253 void initContext(hwc_context_t *ctx);
254 void closeContext(hwc_context_t *ctx);
260 bool isSecuring(hwc_context_t* ctx, hwc_layer_1_t const* layer);
265 bool isRotationDoable(hwc_context_t *ctx, private_handle_t *hnd);
266 bool isExternalActive(hwc_context_t* ctx);
270 bool needsScalingWithSplit(hwc_context_t* ctx, hwc_layer_1_t const* layer,
275 int hwc_vsync_control(hwc_context_t* ctx, int dpy, int enable);
277 bool isGLESOnlyComp(hwc_context_t *ctx, const int& dpy);
[all …]
Dhwc_qclient.h40 struct hwc_context_t;
48 QClient(hwc_context_t *ctx);
58 MPDeathNotifier(hwc_context_t* ctx) : mHwcContext(ctx){} in MPDeathNotifier()
60 hwc_context_t *mHwcContext;
63 hwc_context_t *mHwcContext;
Dhwc_ad.h36 struct hwc_context_t;
42 AssertiveDisplay(hwc_context_t *ctx);
43 void markDoable(hwc_context_t *ctx, const hwc_display_contents_1_t* list);
44 bool prepare(hwc_context_t *ctx, const hwc_rect_t& crop,
47 bool draw(hwc_context_t *ctx, int fd, uint32_t offset);
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_mdpcomp.h43 int prepare(hwc_context_t *ctx, hwc_display_contents_1_t* list);
45 virtual bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list) = 0;
47 void dump(android::String8& buf, hwc_context_t *ctx);
49 static MDPComp* getObject(hwc_context_t *ctx, const int& dpy);
53 static bool init(hwc_context_t *ctx);
139 virtual bool allocLayerPipes(hwc_context_t *ctx,
142 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
146 virtual void adjustForSourceSplit(hwc_context_t *ctx,
149 virtual int configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer,
152 virtual void generateROI(hwc_context_t *ctx,
[all …]
Dhwc_virtual.h39 virtual int set(hwc_context_t *ctx, hwc_display_contents_1_t *list) = 0;
40 virtual void init(hwc_context_t *ctx) = 0;
41 virtual void destroy(hwc_context_t *ctx, size_t numDisplays,
43 virtual void pause(hwc_context_t* ctx, int dpy) = 0;
44 virtual void resume(hwc_context_t* ctx, int dpy) = 0;
57 virtual int set(hwc_context_t *ctx, hwc_display_contents_1_t *list);
60 virtual void init(hwc_context_t *ctx);
63 virtual void destroy(hwc_context_t *ctx, size_t numDisplays,
65 virtual void pause(hwc_context_t* ctx, int dpy);
66 virtual void resume(hwc_context_t* ctx, int dpy);
[all …]
Dhwc_fbupdate.h38 explicit IFBUpdate(hwc_context_t *ctx, const int& dpy);
41 virtual bool prepare(hwc_context_t *ctx, hwc_display_contents_1 *list,
43 virtual bool prepareAndValidate(hwc_context_t *ctx,
46 virtual bool draw(hwc_context_t *ctx, private_handle_t *hnd) = 0;
50 static IFBUpdate *getObject(hwc_context_t *ctx, const int& dpy);
64 explicit FBUpdateNonSplit(hwc_context_t *ctx, const int& dpy);
66 bool prepare(hwc_context_t *ctx, hwc_display_contents_1 *list,
68 bool draw(hwc_context_t *ctx, private_handle_t *hnd);
71 bool configure(hwc_context_t *ctx, hwc_display_contents_1 *list,
73 bool preRotateExtDisplay(hwc_context_t *ctx,
[all …]
Dhwc_utils.h47 struct hwc_context_t;
229 hwc_rect_t calculateDisplayViewFrame(hwc_context_t *ctx, int dpy);
231 void setListStats(hwc_context_t *ctx, hwc_display_contents_1_t *list,
233 void initContext(hwc_context_t *ctx);
234 void closeContext(hwc_context_t *ctx);
240 bool isSecuring(hwc_context_t* ctx, hwc_layer_1_t const* layer);
242 bool isExternalActive(hwc_context_t* ctx);
246 bool needsScalingWithSplit(hwc_context_t* ctx, hwc_layer_1_t const* layer,
251 int hwc_vsync_control(hwc_context_t* ctx, int dpy, int enable);
253 bool isGLESOnlyComp(hwc_context_t *ctx, const int& dpy);
[all …]
Dhwc_copybit.h35 CopyBit(hwc_context_t *ctx, const int& dpy);
40 bool prepare(hwc_context_t *ctx, hwc_display_contents_1_t *list,
43 bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list,
56 int drawLayerUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer,
60 bool canUseCopybitForYUV (hwc_context_t *ctx);
61 bool canUseCopybitForRGB (hwc_context_t *ctx,
63 bool validateParams (hwc_context_t *ctx,
Dhwc_qclient.h40 struct hwc_context_t;
48 QClient(hwc_context_t *ctx);
58 MPDeathNotifier(hwc_context_t* ctx) : mHwcContext(ctx){} in MPDeathNotifier()
60 hwc_context_t *mHwcContext;
63 hwc_context_t *mHwcContext;
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_mdpcomp.h43 int prepare(hwc_context_t *ctx, hwc_display_contents_1_t* list);
45 virtual bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list) = 0;
53 static bool init(hwc_context_t *ctx);
120 virtual int pipesNeeded(hwc_context_t *ctx,
123 virtual bool allocLayerPipes(hwc_context_t *ctx,
126 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
130 void setMDPCompLayerFlags(hwc_context_t *ctx,
133 ovutils::eDest getMdpPipe(hwc_context_t *ctx, ePipeType type);
136 bool isFrameDoable(hwc_context_t *ctx);
138 bool isFullFrameDoable(hwc_context_t *ctx, hwc_display_contents_1_t* list);
[all …]
Dhwc_fbupdate.h37 virtual bool prepare(hwc_context_t *ctx, hwc_display_contents_1 *list,
40 virtual bool draw(hwc_context_t *ctx, private_handle_t *hnd) = 0;
56 bool prepare(hwc_context_t *ctx, hwc_display_contents_1 *list,
58 bool draw(hwc_context_t *ctx, private_handle_t *hnd);
61 bool configure(hwc_context_t *ctx, hwc_display_contents_1 *list,
71 bool prepare(hwc_context_t *ctx, hwc_display_contents_1 *list,
73 bool draw(hwc_context_t *ctx, private_handle_t *hnd);
76 bool configure(hwc_context_t *ctx, hwc_display_contents_1 *list,
Dhwc.cpp72 hwc_context_t* ctx = (hwc_context_t*)(dev); in hwc_registerProcs()
86 static void reset(hwc_context_t *ctx, int numDisplays, in reset()
111 static void reset_layer_prop(hwc_context_t* ctx, int dpy, int numAppLayers) { in reset_layer_prop()
119 static int display_commit(hwc_context_t *ctx, int dpy) { in display_commit()
138 hwc_context_t* ctx = (hwc_context_t*)(dev); in hwc_prepare_primary()
167 hwc_context_t* ctx = (hwc_context_t*)(dev); in hwc_prepare_external()
211 hwc_context_t* ctx = (hwc_context_t*)(dev); in hwc_prepare()
246 hwc_context_t* ctx = (hwc_context_t*)(dev); in hwc_eventControl()
272 hwc_context_t* ctx = (hwc_context_t*)(dev); in hwc_blank()
330 hwc_context_t* ctx = (hwc_context_t*)(dev); in hwc_query()
[all …]
Dhwc_copybit.h35 bool prepare(hwc_context_t *ctx, hwc_display_contents_1_t *list,
38 bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list,
51 int drawLayerUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer,
53 bool canUseCopybitForYUV (hwc_context_t *ctx);
54 bool canUseCopybitForRGB (hwc_context_t *ctx,
56 bool validateParams (hwc_context_t *ctx,
Dhwc_utils.h45 struct hwc_context_t;
157 void setListStats(hwc_context_t *ctx, const hwc_display_contents_1_t *list,
159 void initContext(hwc_context_t *ctx);
160 void closeContext(hwc_context_t *ctx);
166 bool isSecuring(hwc_context_t* ctx, hwc_layer_1_t const* layer);
168 bool isExternalActive(hwc_context_t* ctx);
171 bool setupBasePipe(hwc_context_t *ctx);
172 int hwc_vsync_control(hwc_context_t* ctx, int dpy, int enable);
179 void getActionSafePosition(hwc_context_t *ctx, int dpy, uint32_t& x,
186 int hwc_sync(hwc_context_t *ctx, hwc_display_contents_1_t* list, int dpy,
[all …]
Dhwc_qclient.h40 struct hwc_context_t;
47 QClient(hwc_context_t *ctx);
55 MPDeathNotifier(hwc_context_t* ctx) : mHwcContext(ctx){} in MPDeathNotifier()
57 hwc_context_t *mHwcContext;
64 hwc_context_t *mHwcContext;

1234