blob: 32e5fc39280f267929441d003aaeb733d6775471 [file] [log] [blame]
Sundong Ahna54e67a2017-07-10 13:56:10 +09001#ifndef ANDROID_HARDWARE_CONFIGSTORE_V1_0_SURFACEFLINGERCONFIGS_H
2#define ANDROID_HARDWARE_CONFIGSTORE_V1_0_SURFACEFLINGERCONFIGS_H
Jaesoo Lee812e85e2017-04-28 18:29:40 +09003
Sundong Ahna54e67a2017-07-10 13:56:10 +09004#include <android/hardware/configstore/1.0/ISurfaceFlingerConfigs.h>
Jaesoo Lee812e85e2017-04-28 18:29:40 +09005#include <hidl/MQDescriptor.h>
6#include <hidl/Status.h>
7
8namespace android {
9namespace hardware {
10namespace configstore {
Sundong Ahna54e67a2017-07-10 13:56:10 +090011namespace V1_0 {
Jaesoo Lee812e85e2017-04-28 18:29:40 +090012namespace implementation {
13
Sundong Ahna54e67a2017-07-10 13:56:10 +090014using ::android::hardware::configstore::V1_0::ISurfaceFlingerConfigs;
Jaesoo Lee812e85e2017-04-28 18:29:40 +090015using ::android::hardware::Return;
16using ::android::hardware::Void;
17using ::android::sp;
18
19struct SurfaceFlingerConfigs : public ISurfaceFlingerConfigs {
20 // Methods from
21 // ::android::hardware::configstore::V1_0::ISurfaceFlingerConfigs follow.
22 Return<void> vsyncEventPhaseOffsetNs(vsyncEventPhaseOffsetNs_cb _hidl_cb) override;
23 Return<void> vsyncSfEventPhaseOffsetNs(vsyncSfEventPhaseOffsetNs_cb _hidl_cb) override;
24 Return<void> useContextPriority(useContextPriority_cb _hidl_cb) override;
25 Return<void> hasWideColorDisplay(hasWideColorDisplay_cb _hidl_cb) override;
26 Return<void> hasHDRDisplay(hasHDRDisplay_cb _hidl_cb) override;
27 Return<void> presentTimeOffsetFromVSyncNs(presentTimeOffsetFromVSyncNs_cb _hidl_cb) override;
28 Return<void> useHwcForRGBtoYUV(useHwcForRGBtoYUV_cb _hidl_cb) override;
29 Return<void> maxVirtualDisplaySize(maxVirtualDisplaySize_cb _hidl_cb) override;
30 Return<void> hasSyncFramework(hasSyncFramework_cb _hidl_cb) override;
31 Return<void> useVrFlinger(useVrFlinger_cb _hidl_cb) override;
32 Return<void> maxFrameBufferAcquiredBuffers(maxFrameBufferAcquiredBuffers_cb _hidl_cb) override;
33 Return<void> startGraphicsAllocatorService(startGraphicsAllocatorService_cb _hidl_cb) override;
34
Jaesoo Lee812e85e2017-04-28 18:29:40 +090035 // Methods from ::android::hidl::base::V1_0::IBase follow.
36};
37
38} // namespace implementation
Sundong Ahna54e67a2017-07-10 13:56:10 +090039} // namespace V1_0
Jaesoo Lee812e85e2017-04-28 18:29:40 +090040} // namespace configstore
41} // namespace hardware
42} // namespace android
43
Sundong Ahna54e67a2017-07-10 13:56:10 +090044#endif // ANDROID_HARDWARE_CONFIGSTORE_V1_0_SURFACEFLINGERCONFIGS_H