1 // 2 // Copyright 2019 The ANGLE Project Authors. All rights reserved. 3 // Use of this source code is governed by a BSD-style license that can be 4 // found in the LICENSE file. 5 // 6 // DisplayVkGGP.h: 7 // Google Game Platform implementation of DisplayVk. 8 // 9 10 #ifndef LIBANGLE_RENDERER_VULKAN_GGP_DISPLAYVKGGP_H_ 11 #define LIBANGLE_RENDERER_VULKAN_GGP_DISPLAYVKGGP_H_ 12 13 #include "libANGLE/renderer/vulkan/DisplayVk.h" 14 15 namespace rx 16 { 17 class DisplayVkGGP : public DisplayVk 18 { 19 public: 20 DisplayVkGGP(const egl::DisplayState &state); 21 22 bool isValidNativeWindow(EGLNativeWindowType window) const override; 23 24 SurfaceImpl *createWindowSurfaceVk(const egl::SurfaceState &state, 25 EGLNativeWindowType window) override; 26 27 egl::ConfigSet generateConfigs() override; 28 void checkConfigSupport(egl::Config *config) override; 29 30 const char *getWSIExtension() const override; 31 }; 32 } // namespace rx 33 34 #endif // LIBANGLE_RENDERER_VULKAN_GGP_DISPLAYVKGGP_H_ 35