blob: f492fea4ea960e566f1d69e09591dcc08659fdc4 [file] [log] [blame]
// Copyright 2018 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// DisplayVkAndroid.h:
// Defines the class interface for DisplayVkAndroid, implementing DisplayVk for Android.
#include "libANGLE/renderer/vulkan/DisplayVk.h"
namespace rx
class DisplayVkAndroid : public DisplayVk
DisplayVkAndroid(const egl::DisplayState &state);
egl::Error initialize(egl::Display *display) override;
bool isValidNativeWindow(EGLNativeWindowType window) const override;
SurfaceImpl *createWindowSurfaceVk(const egl::SurfaceState &state,
EGLNativeWindowType window) override;
egl::ConfigSet generateConfigs() override;
bool checkConfigSupport(egl::Config *config) override;
egl::Error validateImageClientBuffer(const gl::Context *context,
EGLenum target,
EGLClientBuffer clientBuffer,
const egl::AttributeMap &attribs) const override;
ExternalImageSiblingImpl *createExternalImageSibling(const gl::Context *context,
EGLenum target,
EGLClientBuffer buffer,
const egl::AttributeMap &attribs) override;
const char *getWSIExtension() const override;
} // namespace rx