1 /*
2 // Copyright (c) 2014 Intel Corporation
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
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
PlatfExternalDevice(uint32_t disp,Hwcomposer & hwc,DisplayPlaneManager & dpm)26 PlatfExternalDevice::PlatfExternalDevice(uint32_t disp, Hwcomposer& hwc,
27 DisplayPlaneManager& dpm)
28 : ExternalDevice(disp, hwc, dpm)
29 {
30 CTRACE();
31 }
32
~PlatfExternalDevice()33 PlatfExternalDevice::~PlatfExternalDevice()
34 {
35 CTRACE();
36 }
37
createVsyncControl()38 IVsyncControl* PlatfExternalDevice::createVsyncControl()
39 {
40 return new VsyncControl();
41 }
42
createBlankControl()43 IBlankControl* PlatfExternalDevice::createBlankControl()
44 {
45 return new BlankControl();
46 }
47
createHdcpControl()48 IHdcpControl* PlatfExternalDevice::createHdcpControl()
49 {
50 return new HdcpControl();
51 }
52
53 } // namespace intel
54 } // namespace android
55
56
57