Lines Matching refs:ctx

40     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,
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,
157 virtual void generateROI(hwc_context_t *ctx,
163 virtual bool validateAndApplyROI(hwc_context_t *ctx,
166 virtual void trimAgainstROI(hwc_context_t *ctx, hwc_rect_t& crop,
169 void setMDPCompLayerFlags(hwc_context_t *ctx,
171 void setRedraw(hwc_context_t *ctx,
174 bool isFrameDoable(hwc_context_t *ctx);
176 bool tryFullFrame(hwc_context_t *ctx, hwc_display_contents_1_t* list);
178 bool fullMDPComp(hwc_context_t *ctx, hwc_display_contents_1_t* list);
180 bool fullMDPCompWithPTOR(hwc_context_t *ctx,hwc_display_contents_1_t* list);
182 bool partialMDPComp(hwc_context_t *ctx, hwc_display_contents_1_t* list);
184 bool cacheBasedComp(hwc_context_t *ctx, hwc_display_contents_1_t* list);
189 bool loadBasedComp(hwc_context_t *ctx, hwc_display_contents_1_t* list);
191 bool isLoadBasedCompDoable(hwc_context_t *ctx);
193 bool tryVideoOnly(hwc_context_t *ctx, hwc_display_contents_1_t* list);
194 bool videoOnlyComp(hwc_context_t *ctx, hwc_display_contents_1_t* list,
197 bool tryMDPOnlyLayers(hwc_context_t *ctx, hwc_display_contents_1_t* list);
198 bool mdpOnlyLayersComp(hwc_context_t *ctx, hwc_display_contents_1_t* list,
201 bool isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer);
203 bool isSecureRGBDoable(hwc_context_t* ctx, hwc_layer_1_t* layer);
206 bool hwLimitationsCheck(hwc_context_t* ctx, hwc_display_contents_1_t* list);
212 bool isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer);
214 void updateLayerCache(hwc_context_t* ctx, hwc_display_contents_1_t* list,
217 bool markLayersForCaching(hwc_context_t* ctx,
228 void dropNonAIVLayers(hwc_context_t* ctx, hwc_display_contents_1_t* list);
231 void updateYUV(hwc_context_t* ctx, hwc_display_contents_1_t* list,
234 void updateSecureRGB(hwc_context_t* ctx,
243 bool postHeuristicsHandling(hwc_context_t *ctx,
245 void reset(hwc_context_t *ctx);
246 bool isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer);
247 bool resourceCheck(hwc_context_t* ctx, hwc_display_contents_1_t* list);
248 hwc_rect_t getUpdatingFBRect(hwc_context_t *ctx,
251 bool canPartialUpdate(hwc_context_t *ctx, hwc_display_contents_1_t* list);
253 bool onlyVideosUpdating(hwc_context_t *ctx, hwc_display_contents_1_t* list);
255 void setPerfHint(hwc_context_t *ctx, hwc_display_contents_1_t* list);
276 bool allocSplitVGPipesfor4k2k(hwc_context_t *ctx, int index);
291 virtual bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list);
300 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
304 virtual bool allocLayerPipes(hwc_context_t *ctx,
309 virtual void adjustForSourceSplit(hwc_context_t *ctx,
313 virtual int configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer,
316 virtual void generateROI(hwc_context_t *ctx,
319 virtual bool validateAndApplyROI(hwc_context_t *ctx,
322 virtual void trimAgainstROI(hwc_context_t *ctx, hwc_rect_t& crop,
330 virtual bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list);
339 virtual bool acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer,
343 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
347 virtual bool allocLayerPipes(hwc_context_t *ctx,
350 virtual void trimAgainstROI(hwc_context_t *ctx, hwc_rect_t& crop,
355 virtual void adjustForSourceSplit(hwc_context_t *ctx,
359 virtual int configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer,
362 virtual void generateROI(hwc_context_t *ctx,
365 virtual bool validateAndApplyROI(hwc_context_t *ctx,
374 virtual bool acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer,
377 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
380 virtual void generateROI(hwc_context_t *ctx,
383 virtual bool validateAndApplyROI(hwc_context_t *ctx,