Home
last modified time | relevance | path

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

/hardware/qcom/display/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()
112 static void reset_layer_prop(hwc_context_t* ctx, int dpy, int numAppLayers) { in reset_layer_prop()
120 static int display_commit(hwc_context_t *ctx, int dpy) { in display_commit()
139 hwc_context_t* ctx = (hwc_context_t*)(dev); in hwc_prepare_primary()
168 hwc_context_t* ctx = (hwc_context_t*)(dev); in hwc_prepare_external()
212 hwc_context_t* ctx = (hwc_context_t*)(dev); in hwc_prepare()
247 hwc_context_t* ctx = (hwc_context_t*)(dev); in hwc_eventControl()
274 hwc_context_t* ctx = (hwc_context_t*)(dev); in hwc_blank()
332 hwc_context_t* ctx = (hwc_context_t*)(dev); in hwc_query()
[all …]
Dhwc_utils.h45 struct hwc_context_t;
149 void setListStats(hwc_context_t *ctx, const hwc_display_contents_1_t *list,
151 void initContext(hwc_context_t *ctx);
152 void closeContext(hwc_context_t *ctx);
158 bool isSecuring(hwc_context_t* ctx, hwc_layer_1_t const* layer);
160 bool isExternalActive(hwc_context_t* ctx);
163 bool setupBasePipe(hwc_context_t *ctx);
164 int hwc_vsync_control(hwc_context_t* ctx, int dpy, int enable);
171 void getActionSafePosition(hwc_context_t *ctx, int dpy, uint32_t& x,
178 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,
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;
Dhwc_mdpcomp.cpp79 bool MDPComp::init(hwc_context_t *ctx) { in init()
125 struct hwc_context_t* ctx = (struct hwc_context_t*)(udata); in timeout_handler()
141 void MDPComp::setMDPCompLayerFlags(hwc_context_t *ctx, in setMDPCompLayerFlags()
163 bool MDPComp::setupBasePipe(hwc_context_t *ctx) { in setupBasePipe()
261 bool MDPComp::isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) { in isValidDimension()
309 ovutils::eDest MDPComp::getMdpPipe(hwc_context_t *ctx, ePipeType type) { in getMdpPipe()
340 bool MDPComp::isFrameDoable(hwc_context_t *ctx) { in isFrameDoable()
357 bool MDPComp::isFullFrameDoable(hwc_context_t *ctx, in isFullFrameDoable()
426 bool MDPComp::fullMDPComp(hwc_context_t *ctx, hwc_display_contents_1_t* list) { in fullMDPComp()
451 bool MDPComp::partialMDPComp(hwc_context_t *ctx, hwc_display_contents_1_t* list) in partialMDPComp()
[all …]
Dhwc_vsync.cpp36 int hwc_vsync_control(hwc_context_t* ctx, int dpy, int enable) in hwc_vsync_control()
55 hwc_context_t * ctx = reinterpret_cast<hwc_context_t *>(param); in vsync_loop()
134 void init_vsync_thread(hwc_context_t* ctx) in init_vsync_thread()
Dhwc_uevents.cpp54 static void handle_uevent(hwc_context_t* ctx, const char* udata, int len) in handle_uevent()
183 hwc_context_t * ctx = reinterpret_cast<hwc_context_t *>(param); in uevent_loop()
197 void init_uevent_thread(hwc_context_t* ctx) in init_uevent_thread()
Dhwc_fbupdate.cpp48 bool FBUpdateLowRes::prepare(hwc_context_t *ctx, hwc_display_contents_1 *list, in prepare()
60 bool FBUpdateLowRes::configure(hwc_context_t *ctx, hwc_display_contents_1 *list, in configure()
127 bool FBUpdateLowRes::draw(hwc_context_t *ctx, private_handle_t *hnd) in draw()
151 bool FBUpdateHighRes::prepare(hwc_context_t *ctx, hwc_display_contents_1 *list, in prepare()
164 bool FBUpdateHighRes::configure(hwc_context_t *ctx, in configure()
264 bool FBUpdateHighRes::draw(hwc_context_t *ctx, private_handle_t *hnd) in draw()
Dhwc_copybit.cpp72 bool CopyBit::canUseCopybitForYUV(hwc_context_t *ctx) { in canUseCopybitForYUV()
80 bool CopyBit::canUseCopybitForRGB(hwc_context_t *ctx, in canUseCopybitForRGB()
135 bool CopyBit::prepare(hwc_context_t *ctx, hwc_display_contents_1_t *list, in prepare()
223 bool CopyBit::draw(hwc_context_t *ctx, hwc_display_contents_1_t *list, in draw()
286 int CopyBit::drawLayerUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer, in drawLayerUsingCopybit()
289 hwc_context_t* ctx = (hwc_context_t*)(dev); in drawLayerUsingCopybit()
494 bool CopyBit::validateParams(hwc_context_t *ctx, in validateParams()
Dhwc_utils.cpp47 static int openFramebufferDevice(hwc_context_t *ctx) in openFramebufferDevice()
109 void initContext(hwc_context_t *ctx) in initContext()
172 void closeContext(hwc_context_t *ctx) in closeContext()
227 void getActionSafePosition(hwc_context_t *ctx, int dpy, uint32_t& x, in getActionSafePosition()
333 void setListStats(hwc_context_t *ctx, in setListStats()
393 bool isSecuring(hwc_context_t* ctx, hwc_layer_1_t const* layer) { in isSecuring()
534 bool isExternalActive(hwc_context_t* ctx) { in isExternalActive()
551 int hwc_sync(hwc_context_t *ctx, hwc_display_contents_1_t* list, int dpy, in hwc_sync()
681 void trimLayer(hwc_context_t *ctx, const int& dpy, const int& transform, in trimLayer()
756 bool setupBasePipe(hwc_context_t *ctx) { in setupBasePipe()
[all …]
Dhwc_qclient.cpp42 QClient::QClient(hwc_context_t *ctx) : mHwcContext(ctx), in QClient()
/hardware/libhardware/modules/hwcomposer/
Dhwcomposer.cpp31 struct hwc_context_t { struct
98 struct hwc_context_t* ctx = (struct hwc_context_t*)dev; in hwc_device_close()
112 struct hwc_context_t *dev; in hwc_device_open()
113 dev = (hwc_context_t*)malloc(sizeof(*dev)); in hwc_device_open()
/hardware/qcom/display/libexternal/
Dexternal.h27 struct hwc_context_t;
42 ExternalDisplay(hwc_context_t* ctx);
91 hwc_context_t *mHwcContext;
Dexternal.cpp169 ExternalDisplay::ExternalDisplay(hwc_context_t* ctx):mFd(-1), in ExternalDisplay()
642 hwc_context_t* ctx = mHwcContext; in setExternalDisplay()
/hardware/qcom/display/libqservice/
DQService.h40 struct hwc_context_t;