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 <common/utils/HwcTrace.h> 17 #include <platforms/merrifield_plus/PlatfExternalDevice.h> 18 #include <ips/common/VsyncControl.h> 19 #include <ips/common/BlankControl.h> 20 #include <ips/common/HdcpControl.h> 21 22 23 namespace android { 24 namespace intel { 25 26 PlatfExternalDevice::PlatfExternalDevice(Hwcomposer& hwc, 27 DisplayPlaneManager& dpm) 28 : ExternalDevice(hwc, dpm) 29 { 30 CTRACE(); 31 } 32 33 PlatfExternalDevice::~PlatfExternalDevice() 34 { 35 CTRACE(); 36 } 37 38 IVsyncControl* PlatfExternalDevice::createVsyncControl() 39 { 40 return new VsyncControl(); 41 } 42 43 IBlankControl* PlatfExternalDevice::createBlankControl() 44 { 45 return new BlankControl(); 46 } 47 48 IHdcpControl* PlatfExternalDevice::createHdcpControl() 49 { 50 return new HdcpControl(); 51 } 52 53 } // namespace intel 54 } // namespace android 55 56 57