1 /* 2 // Copyright(c)2014 IntelCorporation 3 // 4 // LicensedundertheApacheLicense,Version2.0(the"License"); 5 // youmaynotusethisfileexceptincompliancewiththeLicense. 6 // YoumayobtainacopyoftheLicenseat 7 // 8 // http://www.apache.org/licenses/LICENSE-2.0 9 // 10 // Unlessrequiredbyapplicablelaworagreedtoinwriting,software 11 // distributedundertheLicenseisdistributedonan"ASIS"BASIS, 12 // WITHOUTWARRANTIESORCONDITIONSOFANYKIND,eitherexpressorimplied. 13 // SeetheLicenseforthespecificlanguagegoverningpermissionsand 14 // limitationsundertheLicense. 15 */ 16 #include <math.h> 17 #include <HwcTrace.h> 18 #include <Drm.h> 19 #include <Hwcomposer.h> 20 #include <penwell/PnwOverlayPlane.h> 21 #include <penwell/PnwGrallocBuffer.h> 22 23 namespace android { 24 namespace intel { 25 26 PnwOverlayPlane::PnwOverlayPlane(int index, int disp) 27 : OverlayPlaneBase(index, disp) 28 { 29 CTRACE(); 30 } 31 32 PnwOverlayPlane::~PnwOverlayPlane() 33 { 34 CTRACE(); 35 } 36 37 bool PnwOverlayPlane::flip() 38 { 39 //TODO: implement flip 40 return false; 41 } 42 43 void* PnwOverlayPlane::getContext() const 44 { 45 CTRACE(); 46 //TODO: return penwell overlay context 47 return 0; 48 } 49 50 } // namespace intel 51 } // namespace android 52