blob: 7d4214abe25095366cf2aa5eb8ce4bd214a2e97a [file] [log] [blame]
Naseer Ahmed7c958d42012-07-31 18:57:03 -07001/*
Jeykumar Sankaranb551ce42013-01-10 16:26:48 -08002 * Copyright (C) 2012-2013, The Linux Foundation. All rights reserved.
3 *
Naseer Ahmed7c958d42012-07-31 18:57:03 -07004 * Not a Contribution, Apache license notifications and license are retained
5 * for attribution purposes only.
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19
20#ifndef HWC_MDP_COMP
21#define HWC_MDP_COMP
22
23#include <hwc_utils.h>
24#include <idle_invalidator.h>
25#include <cutils/properties.h>
26#include <overlay.h>
27
Saurabh Shah45782902013-11-15 10:13:14 -080028#define DEFAULT_IDLE_TIME 70
Sushil Chauhan69f2bb22013-02-13 10:50:47 -080029#define MAX_PIPES_PER_MIXER 4
Naseer Ahmed7c958d42012-07-31 18:57:03 -070030
Saurabh Shahacf10202013-02-26 10:15:15 -080031namespace overlay {
Jeykumar Sankaran85977e32013-02-25 17:06:08 -080032class Rotator;
Saurabh Shahacf10202013-02-26 10:15:15 -080033};
34
Naseer Ahmed7c958d42012-07-31 18:57:03 -070035namespace qhwc {
Naseer Ahmed54821fe2012-11-28 18:44:38 -050036namespace ovutils = overlay::utils;
Naseer Ahmed7c958d42012-07-31 18:57:03 -070037
38class MDPComp {
Saurabh Shahcbf7ccc2012-12-19 16:45:51 -080039public:
Jeykumar Sankaran85977e32013-02-25 17:06:08 -080040 explicit MDPComp(int);
Jeykumar Sankaranb551ce42013-01-10 16:26:48 -080041 virtual ~MDPComp(){};
Saurabh Shahcbf7ccc2012-12-19 16:45:51 -080042 /*sets up mdp comp for the current frame */
Jeykumar Sankaran85977e32013-02-25 17:06:08 -080043 int prepare(hwc_context_t *ctx, hwc_display_contents_1_t* list);
Saurabh Shahcbf7ccc2012-12-19 16:45:51 -080044 /* draw */
45 virtual bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list) = 0;
Jeykumar Sankaran85977e32013-02-25 17:06:08 -080046 /* dumpsys */
Saurabh Shahcbf7ccc2012-12-19 16:45:51 -080047 void dump(android::String8& buf);
Ramkumar Radhakrishnan8bb48d32013-12-30 23:11:27 -080048 bool isGLESOnlyComp() { return (mCurrentFrame.mdpCount == 0); }
Saurabh Shah88e4d272013-09-03 13:31:29 -070049 static MDPComp* getObject(hwc_context_t *ctx, const int& dpy);
Saurabh Shahcbf7ccc2012-12-19 16:45:51 -080050 /* Handler to invoke frame redraw on Idle Timer expiry */
51 static void timeout_handler(void *udata);
Jeykumar Sankaran85977e32013-02-25 17:06:08 -080052 /* Initialize MDP comp*/
Saurabh Shahcbf7ccc2012-12-19 16:45:51 -080053 static bool init(hwc_context_t *ctx);
Saurabh Shah98acd092013-05-03 10:48:24 -070054 static void resetIdleFallBack() { sIdleFallBack = false; }
Saurabh Shahbe7bd322014-02-20 16:18:45 -080055 static void reset() { sHandleTimeout = false; };
Ramkumar Radhakrishnanfb822912014-03-14 17:28:14 -070056 static bool isIdleFallback() { return sIdleFallBack; }
Sushil Chauhan5e268fc2014-04-15 18:43:29 -070057 /* set/reset flags for MDPComp */
58 void setMDPCompLayerFlags(hwc_context_t *ctx,
59 hwc_display_contents_1_t* list);
Saurabh Shahcbf7ccc2012-12-19 16:45:51 -080060
61protected:
Saurabh Shahe9bc60f2013-08-29 12:58:06 -070062 enum { MAX_SEC_LAYERS = 1 }; //TODO add property support
63
Naseer Ahmed54821fe2012-11-28 18:44:38 -050064 enum ePipeType {
65 MDPCOMP_OV_RGB = ovutils::OV_MDP_PIPE_RGB,
66 MDPCOMP_OV_VG = ovutils::OV_MDP_PIPE_VG,
Jeykumar Sankaranb551ce42013-01-10 16:26:48 -080067 MDPCOMP_OV_DMA = ovutils::OV_MDP_PIPE_DMA,
Naseer Ahmed54821fe2012-11-28 18:44:38 -050068 MDPCOMP_OV_ANY,
Naseer Ahmed7c958d42012-07-31 18:57:03 -070069 };
Jeykumar Sankaran85977e32013-02-25 17:06:08 -080070
71 /* mdp pipe data */
Jeykumar Sankaranb551ce42013-01-10 16:26:48 -080072 struct MdpPipeInfo {
73 int zOrder;
74 virtual ~MdpPipeInfo(){};
75 };
Jeykumar Sankaran85977e32013-02-25 17:06:08 -080076
radhakrishnac9a67412013-09-25 17:40:42 +053077 struct MdpYUVPipeInfo : public MdpPipeInfo{
78 ovutils::eDest lIndex;
79 ovutils::eDest rIndex;
80 virtual ~MdpYUVPipeInfo(){};
81 };
82
Jeykumar Sankaran85977e32013-02-25 17:06:08 -080083 /* per layer data */
Jeykumar Sankaranb551ce42013-01-10 16:26:48 -080084 struct PipeLayerPair {
85 MdpPipeInfo *pipeInfo;
Saurabh Shahacf10202013-02-26 10:15:15 -080086 overlay::Rotator* rot;
Jeykumar Sankaran85977e32013-02-25 17:06:08 -080087 int listIndex;
Jeykumar Sankaranb551ce42013-01-10 16:26:48 -080088 };
89
Jeykumar Sankaran85977e32013-02-25 17:06:08 -080090 /* per frame data */
Jeykumar Sankaranb551ce42013-01-10 16:26:48 -080091 struct FrameInfo {
Jeykumar Sankaran85977e32013-02-25 17:06:08 -080092 /* maps layer list to mdp list */
93 int layerCount;
Ramkumar Radhakrishnane661f962013-06-05 17:21:38 -070094 int layerToMDP[MAX_NUM_APP_LAYERS];
Jeykumar Sankaran85977e32013-02-25 17:06:08 -080095
96 /* maps mdp list to layer list */
97 int mdpCount;
98 struct PipeLayerPair mdpToLayer[MAX_PIPES_PER_MIXER];
99
100 /* layer composing on FB? */
101 int fbCount;
Ramkumar Radhakrishnane661f962013-06-05 17:21:38 -0700102 bool isFBComposed[MAX_NUM_APP_LAYERS];
Jeykumar Sankaran6a9bb9e2013-08-01 14:19:26 -0700103 /* layers lying outside ROI. Will
104 * be dropped off from the composition */
105 int dropCount;
106 bool drop[MAX_NUM_APP_LAYERS];
Jeykumar Sankaran85977e32013-02-25 17:06:08 -0800107
108 bool needsRedraw;
109 int fbZ;
110
111 /* c'tor */
112 FrameInfo();
113 /* clear old frame data */
Saurabh Shahaa236822013-04-24 18:07:26 -0700114 void reset(const int& numLayers);
115 void map();
Jeykumar Sankaranb551ce42013-01-10 16:26:48 -0800116 };
117
Jeykumar Sankaran85977e32013-02-25 17:06:08 -0800118 /* cached data */
119 struct LayerCache {
120 int layerCount;
Ramkumar Radhakrishnane661f962013-06-05 17:21:38 -0700121 buffer_handle_t hnd[MAX_NUM_APP_LAYERS];
Prabhanjan Kandula2243aa62013-10-24 12:58:55 +0530122 bool isFBComposed[MAX_NUM_APP_LAYERS];
123 bool drop[MAX_NUM_APP_LAYERS];
Jeykumar Sankaran85977e32013-02-25 17:06:08 -0800124
125 /* c'tor */
126 LayerCache();
127 /* clear caching info*/
128 void reset();
Saurabh Shahaa236822013-04-24 18:07:26 -0700129 void cacheAll(hwc_display_contents_1_t* list);
130 void updateCounts(const FrameInfo&);
Jeykumar Sankaran988d3682013-11-15 11:57:16 -0800131 bool isSameFrame(const FrameInfo& curFrame,
132 hwc_display_contents_1_t* list);
Jeykumar Sankaran85977e32013-02-25 17:06:08 -0800133 };
134
Jeykumar Sankaranb551ce42013-01-10 16:26:48 -0800135 /* allocates pipe from pipe book */
136 virtual bool allocLayerPipes(hwc_context_t *ctx,
Jeykumar Sankaran85977e32013-02-25 17:06:08 -0800137 hwc_display_contents_1_t* list) = 0;
Jeykumar Sankaranb551ce42013-01-10 16:26:48 -0800138 /* configures MPD pipes */
139 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
Jeykumar Sankaran85977e32013-02-25 17:06:08 -0800140 PipeLayerPair& pipeLayerPair) = 0;
Saurabh Shah3d4b8042013-12-10 15:19:17 -0800141 /* Increments mdpCount if 4k2k yuv layer split is enabled.
142 * updates framebuffer z order if fb lies above source-split layer */
143 virtual void adjustForSourceSplit(hwc_context_t *ctx,
radhakrishnac9a67412013-09-25 17:40:42 +0530144 hwc_display_contents_1_t* list) = 0;
145 /* configures 4kx2k yuv layer*/
146 virtual int configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer,
147 PipeLayerPair& PipeLayerPair) = 0;
Saurabh Shahdf4741d2013-12-12 16:40:28 -0800148 void setRedraw(hwc_context_t *ctx,
149 hwc_display_contents_1_t* list);
Jeykumar Sankaranb551ce42013-01-10 16:26:48 -0800150 /* checks for conditions where mdpcomp is not possible */
Jeykumar Sankaran85977e32013-02-25 17:06:08 -0800151 bool isFrameDoable(hwc_context_t *ctx);
152 /* checks for conditions where RGB layers cannot be bypassed */
Saurabh Shahdf4741d2013-12-12 16:40:28 -0800153 bool tryFullFrame(hwc_context_t *ctx, hwc_display_contents_1_t* list);
Saurabh Shahaa236822013-04-24 18:07:26 -0700154 /* checks if full MDP comp can be done */
155 bool fullMDPComp(hwc_context_t *ctx, hwc_display_contents_1_t* list);
156 /* check if we can use layer cache to do at least partial MDP comp */
157 bool partialMDPComp(hwc_context_t *ctx, hwc_display_contents_1_t* list);
Saurabh Shah8028e3b2013-10-15 12:27:59 -0700158 /* Partial MDP comp that uses caching to save power as primary goal */
159 bool cacheBasedComp(hwc_context_t *ctx, hwc_display_contents_1_t* list);
Saurabh Shahbe7bd322014-02-20 16:18:45 -0800160 /* Partial MDP comp that balances the load between MDP and GPU such that
161 * MDP is loaded to the max of its capacity. The lower z order layers are
162 * fed to MDP, whereas the upper ones to GPU, because the upper ones have
163 * lower number of pixels and can reduce GPU processing time */
164 bool loadBasedComp(hwc_context_t *ctx, hwc_display_contents_1_t* list);
Saurabh Shah8028e3b2013-10-15 12:27:59 -0700165 /* Checks if its worth doing load based partial comp */
Arun Kumar K.R2aa44c62014-01-21 23:08:28 -0800166 bool isLoadBasedCompDoable(hwc_context_t *ctx);
Saurabh Shahaa236822013-04-24 18:07:26 -0700167 /* checks for conditions where only video can be bypassed */
Saurabh Shahdf4741d2013-12-12 16:40:28 -0800168 bool tryVideoOnly(hwc_context_t *ctx, hwc_display_contents_1_t* list);
169 bool videoOnlyComp(hwc_context_t *ctx, hwc_display_contents_1_t* list,
Saurabh Shah90b7b9b2013-09-12 16:36:08 -0700170 bool secureOnly);
Jeykumar Sankaran85977e32013-02-25 17:06:08 -0800171 /* checks for conditions where YUV layers cannot be bypassed */
172 bool isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer);
Prabhanjan Kandula21918db2013-11-26 15:51:58 +0530173 /* checks if MDP/MDSS can process current list w.r.to HW limitations
174 * All peculiar HW limitations should go here */
175 bool hwLimitationsCheck(hwc_context_t* ctx, hwc_display_contents_1_t* list);
Jeykumar Sankaran6a9bb9e2013-08-01 14:19:26 -0700176 /* generates ROI based on the modified area of the frame */
177 void generateROI(hwc_context_t *ctx, hwc_display_contents_1_t* list);
178 bool validateAndApplyROI(hwc_context_t *ctx, hwc_display_contents_1_t* list,
179 hwc_rect_t roi);
Jeykumar Sankaran85977e32013-02-25 17:06:08 -0800180
Saurabh Shahcbf7ccc2012-12-19 16:45:51 -0800181 /* Is debug enabled */
182 static bool isDebug() { return sDebugLogs ? true : false; };
183 /* Is feature enabled */
184 static bool isEnabled() { return sEnabled; };
Sravan Kumar D.V.Nad5d9292013-04-24 14:23:04 +0530185 /* checks for mdp comp dimension limitation */
186 bool isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer);
Jeykumar Sankaran85977e32013-02-25 17:06:08 -0800187 /* tracks non updating layers*/
188 void updateLayerCache(hwc_context_t* ctx, hwc_display_contents_1_t* list);
Jeykumar Sankaran85977e32013-02-25 17:06:08 -0800189 /* optimize layers for mdp comp*/
Prabhanjan Kandula9bd5f642013-09-25 17:00:36 +0530190 bool markLayersForCaching(hwc_context_t* ctx,
191 hwc_display_contents_1_t* list);
192 int getBatch(hwc_display_contents_1_t* list,
193 int& maxBatchStart, int& maxBatchEnd,
194 int& maxBatchCount);
195 bool canPushBatchToTop(const hwc_display_contents_1_t* list,
196 int fromIndex, int toIndex);
197 bool intersectingUpdatingLayers(const hwc_display_contents_1_t* list,
198 int fromIndex, int toIndex, int targetLayerIndex);
199
200 /* updates cache map with YUV info */
Saurabh Shah90b7b9b2013-09-12 16:36:08 -0700201 void updateYUV(hwc_context_t* ctx, hwc_display_contents_1_t* list,
202 bool secureOnly);
Saurabh Shahdf4741d2013-12-12 16:40:28 -0800203 /* Validates if the GPU/MDP layer split chosen by a strategy is supported
204 * by MDP.
205 * Sets up MDP comp data structures to reflect covnversion from layers to
206 * overlay pipes.
207 * Configures overlay.
208 * Configures if GPU should redraw.
209 */
210 bool postHeuristicsHandling(hwc_context_t *ctx,
211 hwc_display_contents_1_t* list);
212 void reset(hwc_context_t *ctx);
Saurabh Shahe9bc60f2013-08-29 12:58:06 -0700213 bool isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer);
Praveena Pachipulusud9443c72014-02-17 10:42:28 +0530214 bool resourceCheck();
215 hwc_rect_t getUpdatingFBRect(hwc_display_contents_1_t* list);
Jeykumar Sankaran7c852382014-02-26 18:26:58 -0800216 bool canDoPartialUpdate(hwc_context_t *ctx, hwc_display_contents_1_t* list);
Saurabh Shahcbf7ccc2012-12-19 16:45:51 -0800217
Jeykumar Sankaran85977e32013-02-25 17:06:08 -0800218 int mDpy;
Saurabh Shahcbf7ccc2012-12-19 16:45:51 -0800219 static bool sEnabled;
Jeykumar Sankaran24c199d2013-05-24 09:40:36 -0700220 static bool sEnableMixedMode;
Jeykumar Sankaran6a9bb9e2013-08-01 14:19:26 -0700221 /* Enables Partial frame composition */
222 static bool sEnablePartialFrameUpdate;
Saurabh Shahcbf7ccc2012-12-19 16:45:51 -0800223 static bool sDebugLogs;
224 static bool sIdleFallBack;
Ramkumar Radhakrishnan92abb4f2014-02-06 21:31:29 -0800225 /* Handles the timeout event from kernel, if the value is set to true */
226 static bool sHandleTimeout;
Jeykumar Sankaran85977e32013-02-25 17:06:08 -0800227 static int sMaxPipesPerMixer;
Manoj Kumar AVM8cbbf7c2014-03-11 01:15:31 -0700228 static bool sSrcSplitEnabled;
Saurabh Shahcbf7ccc2012-12-19 16:45:51 -0800229 static IdleInvalidator *idleInvalidator;
Jeykumar Sankaranb551ce42013-01-10 16:26:48 -0800230 struct FrameInfo mCurrentFrame;
Jeykumar Sankaran85977e32013-02-25 17:06:08 -0800231 struct LayerCache mCachedFrame;
radhakrishnac9a67412013-09-25 17:40:42 +0530232 //Enable 4kx2k yuv layer split
233 static bool sEnable4k2kYUVSplit;
Arun Kumar K.R2aa44c62014-01-21 23:08:28 -0800234 bool allocSplitVGPipesfor4k2k(hwc_context_t *ctx, int index);
Saurabh Shahcbf7ccc2012-12-19 16:45:51 -0800235};
236
Saurabh Shah88e4d272013-09-03 13:31:29 -0700237class MDPCompNonSplit : public MDPComp {
Saurabh Shahcbf7ccc2012-12-19 16:45:51 -0800238public:
Saurabh Shah88e4d272013-09-03 13:31:29 -0700239 explicit MDPCompNonSplit(int dpy):MDPComp(dpy){};
240 virtual ~MDPCompNonSplit(){};
Jeykumar Sankaran85977e32013-02-25 17:06:08 -0800241 virtual bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list);
Saurabh Shahcbf7ccc2012-12-19 16:45:51 -0800242
243private:
Saurabh Shah88e4d272013-09-03 13:31:29 -0700244 struct MdpPipeInfoNonSplit : public MdpPipeInfo {
Jeykumar Sankaranb551ce42013-01-10 16:26:48 -0800245 ovutils::eDest index;
Saurabh Shah88e4d272013-09-03 13:31:29 -0700246 virtual ~MdpPipeInfoNonSplit() {};
Naseer Ahmed7c958d42012-07-31 18:57:03 -0700247 };
248
Naseer Ahmed7c958d42012-07-31 18:57:03 -0700249 /* configure's overlay pipes for the frame */
Jeykumar Sankaranb551ce42013-01-10 16:26:48 -0800250 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
Jeykumar Sankaran85977e32013-02-25 17:06:08 -0800251 PipeLayerPair& pipeLayerPair);
Jeykumar Sankaranb551ce42013-01-10 16:26:48 -0800252
Naseer Ahmed7c958d42012-07-31 18:57:03 -0700253 /* allocates pipes to selected candidates */
Jeykumar Sankaranb551ce42013-01-10 16:26:48 -0800254 virtual bool allocLayerPipes(hwc_context_t *ctx,
Jeykumar Sankaran85977e32013-02-25 17:06:08 -0800255 hwc_display_contents_1_t* list);
Saurabh Shahcbf7ccc2012-12-19 16:45:51 -0800256
Saurabh Shah3d4b8042013-12-10 15:19:17 -0800257 /* Increments mdpCount if 4k2k yuv layer split is enabled.
258 * updates framebuffer z order if fb lies above source-split layer */
259 virtual void adjustForSourceSplit(hwc_context_t *ctx,
Arun Kumar K.R2aa44c62014-01-21 23:08:28 -0800260 hwc_display_contents_1_t* list);
radhakrishnac9a67412013-09-25 17:40:42 +0530261
262 /* configures 4kx2k yuv layer to 2 VG pipes*/
263 virtual int configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer,
264 PipeLayerPair& PipeLayerPair);
Naseer Ahmed7c958d42012-07-31 18:57:03 -0700265};
Saurabh Shahcbf7ccc2012-12-19 16:45:51 -0800266
Saurabh Shah88e4d272013-09-03 13:31:29 -0700267class MDPCompSplit : public MDPComp {
Saurabh Shahcbf7ccc2012-12-19 16:45:51 -0800268public:
Saurabh Shah88e4d272013-09-03 13:31:29 -0700269 explicit MDPCompSplit(int dpy):MDPComp(dpy){};
270 virtual ~MDPCompSplit(){};
Jeykumar Sankaranb551ce42013-01-10 16:26:48 -0800271 virtual bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list);
Saurabh Shahab47c692014-02-12 18:45:57 -0800272
273protected:
Saurabh Shah88e4d272013-09-03 13:31:29 -0700274 struct MdpPipeInfoSplit : public MdpPipeInfo {
Jeykumar Sankaranb551ce42013-01-10 16:26:48 -0800275 ovutils::eDest lIndex;
276 ovutils::eDest rIndex;
Saurabh Shah88e4d272013-09-03 13:31:29 -0700277 virtual ~MdpPipeInfoSplit() {};
Jeykumar Sankaranb551ce42013-01-10 16:26:48 -0800278 };
Saurabh Shahcbf7ccc2012-12-19 16:45:51 -0800279
Saurabh Shahab47c692014-02-12 18:45:57 -0800280 virtual bool acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer,
Saurabh Shahc62f3982014-03-05 14:28:26 -0800281 MdpPipeInfoSplit& pipe_info);
Jeykumar Sankaranb551ce42013-01-10 16:26:48 -0800282
283 /* configure's overlay pipes for the frame */
284 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
Jeykumar Sankaran85977e32013-02-25 17:06:08 -0800285 PipeLayerPair& pipeLayerPair);
Jeykumar Sankaranb551ce42013-01-10 16:26:48 -0800286
287 /* allocates pipes to selected candidates */
288 virtual bool allocLayerPipes(hwc_context_t *ctx,
Jeykumar Sankaran85977e32013-02-25 17:06:08 -0800289 hwc_display_contents_1_t* list);
Jeykumar Sankaranb551ce42013-01-10 16:26:48 -0800290
Saurabh Shahab47c692014-02-12 18:45:57 -0800291private:
Saurabh Shah3d4b8042013-12-10 15:19:17 -0800292 /* Increments mdpCount if 4k2k yuv layer split is enabled.
293 * updates framebuffer z order if fb lies above source-split layer */
294 virtual void adjustForSourceSplit(hwc_context_t *ctx,
radhakrishnac9a67412013-09-25 17:40:42 +0530295 hwc_display_contents_1_t* list);
296
297 /* configures 4kx2k yuv layer*/
298 virtual int configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer,
299 PipeLayerPair& PipeLayerPair);
Jeykumar Sankaranb551ce42013-01-10 16:26:48 -0800300};
Saurabh Shah2a4eb1b2013-07-22 16:33:23 -0700301
Saurabh Shahab47c692014-02-12 18:45:57 -0800302class MDPCompSrcSplit : public MDPCompSplit {
303public:
304 explicit MDPCompSrcSplit(int dpy) : MDPCompSplit(dpy){};
305 virtual ~MDPCompSrcSplit(){};
306private:
307 virtual bool acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer,
Saurabh Shahc62f3982014-03-05 14:28:26 -0800308 MdpPipeInfoSplit& pipe_info);
Saurabh Shahab47c692014-02-12 18:45:57 -0800309
Saurabh Shahab47c692014-02-12 18:45:57 -0800310 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
311 PipeLayerPair& pipeLayerPair);
312};
313
Naseer Ahmed7c958d42012-07-31 18:57:03 -0700314}; //namespace
315#endif