Home | History | Annotate | Download | only in merrifield_plus
      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/PlatfPrimaryDevice.h>
     18 #include <ips/common/VsyncControl.h>
     19 #include <ips/common/BlankControl.h>
     20 
     21 
     22 namespace android {
     23 namespace intel {
     24 
     25 PlatfPrimaryDevice::PlatfPrimaryDevice(uint32_t disp, Hwcomposer& hwc,
     26                                        DisplayPlaneManager& dpm)
     27     : PrimaryDevice(disp, hwc, dpm)
     28 {
     29     CTRACE();
     30 }
     31 
     32 PlatfPrimaryDevice::~PlatfPrimaryDevice()
     33 {
     34     CTRACE();
     35 }
     36 
     37 IVsyncControl* PlatfPrimaryDevice::createVsyncControl()
     38 {
     39     return new VsyncControl();
     40 }
     41 
     42 IBlankControl* PlatfPrimaryDevice::createBlankControl()
     43 {
     44     return new BlankControl();
     45 }
     46 
     47 } // namespace intel
     48 } // namespace android
     49 
     50 
     51