Home
last modified time | relevance | path

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

1234

/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);
141 virtual bool allocLayerPipes(hwc_context_t *ctx,
144 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
148 virtual void adjustForSourceSplit(hwc_context_t *ctx,
151 virtual int configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer,
154 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/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 static MDPComp* getObject(hwc_context_t *ctx, const int& dpy);
53 static bool init(hwc_context_t *ctx);
133 virtual bool allocLayerPipes(hwc_context_t *ctx,
136 ovutils::eDest getMdpPipe(hwc_context_t *ctx, ePipeType type, int mixer);
138 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
142 virtual void adjustForSourceSplit(hwc_context_t *ctx,
145 virtual int configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer,
148 void setMDPCompLayerFlags(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_utils.h44 struct hwc_context_t;
216 hwc_rect_t calculateDisplayViewFrame(hwc_context_t *ctx, int dpy);
218 void setListStats(hwc_context_t *ctx, hwc_display_contents_1_t *list,
220 void initContext(hwc_context_t *ctx);
221 void closeContext(hwc_context_t *ctx);
227 bool isSecuring(hwc_context_t* ctx, hwc_layer_1_t const* layer);
229 bool isExternalActive(hwc_context_t* ctx);
233 bool needsScalingWithSplit(hwc_context_t* ctx, hwc_layer_1_t const* layer,
238 int hwc_vsync_control(hwc_context_t* ctx, int dpy, int enable);
240 bool isGLESOnlyComp(hwc_context_t *ctx, const int& dpy);
[all …]
Dhwc_virtual.h38 virtual int set(hwc_context_t *ctx, hwc_display_contents_1_t *list) = 0;
39 virtual void init(hwc_context_t *ctx) = 0;
40 virtual void destroy(hwc_context_t *ctx, size_t numDisplays,
54 virtual int set(hwc_context_t *ctx, hwc_display_contents_1_t *list);
57 virtual void init(hwc_context_t *ctx);
60 virtual void destroy(hwc_context_t *ctx, size_t numDisplays,
74 virtual int set(hwc_context_t *ctx, hwc_display_contents_1_t *list);
78 virtual void init(hwc_context_t *) {}; in init() argument
81 virtual void destroy(hwc_context_t *, size_t , in destroy() argument
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;
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/msm8974/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;
56 static bool init(hwc_context_t *ctx);
123 virtual bool allocLayerPipes(hwc_context_t *ctx,
126 ovutils::eDest getMdpPipe(hwc_context_t *ctx, ePipeType type, int mixer);
128 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
131 virtual bool arePipesAvailable(hwc_context_t *ctx,
135 void setMDPCompLayerFlags(hwc_context_t *ctx,
138 bool isFrameDoable(hwc_context_t *ctx);
140 bool isFullFrameDoable(hwc_context_t *ctx, hwc_display_contents_1_t* list);
[all …]
Dhwc_utils.h44 struct hwc_context_t;
115 static void setBwc(hwc_context_t *ctx, const hwc_rect_t& crop,
178 void setListStats(hwc_context_t *ctx, const hwc_display_contents_1_t *list,
180 void initContext(hwc_context_t *ctx);
181 void closeContext(hwc_context_t *ctx);
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);
191 int hwc_vsync_control(hwc_context_t* ctx, int dpy, int enable);
193 bool isGLESOnlyComp(hwc_context_t *ctx, const int& dpy);
199 void getActionSafePosition(hwc_context_t *ctx, int dpy, uint32_t& x,
[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;
57 bool prepare(hwc_context_t *ctx, hwc_display_contents_1 *list,
59 bool draw(hwc_context_t *ctx, private_handle_t *hnd);
62 bool configure(hwc_context_t *ctx, hwc_display_contents_1 *list,
72 bool prepare(hwc_context_t *ctx, hwc_display_contents_1 *list,
74 bool draw(hwc_context_t *ctx, private_handle_t *hnd);
77 bool configure(hwc_context_t *ctx, hwc_display_contents_1 *list,
Dhwc_ad.h36 struct hwc_context_t;
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);
54 int getDstFd(hwc_context_t *ctx) const;
55 uint32_t getDstOffset(hwc_context_t *ctx) const;
Dhwc.cpp76 hwc_context_t* ctx = (hwc_context_t*)(dev); in hwc_registerProcs()
90 static void reset(hwc_context_t *ctx, int numDisplays, in reset()
119 static void reset_layer_prop(hwc_context_t* ctx, int dpy, int numAppLayers) { in reset_layer_prop()
127 static void handleGeomChange(hwc_context_t *ctx, int dpy, in handleGeomChange()
134 static int display_commit(hwc_context_t *ctx, int dpy) { in display_commit()
154 hwc_context_t* ctx = (hwc_context_t*)(dev); in hwc_prepare_primary()
177 hwc_context_t* ctx = (hwc_context_t*)(dev); in hwc_prepare_external()
213 hwc_context_t* ctx = (hwc_context_t*)(dev); in hwc_prepare_virtual()
247 hwc_context_t* ctx = (hwc_context_t*)(dev); in hwc_prepare()
295 hwc_context_t* ctx = (hwc_context_t*)(dev); in hwc_eventControl()
[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_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;
/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_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_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,

1234