Path: blob/main_old/util/android/AndroidWindow.h
1693 views
//1// Copyright 2016 The ANGLE Project Authors. All rights reserved.2// Use of this source code is governed by a BSD-style license that can be3// found in the LICENSE file.4//56// AndroidWindow.h: Definition of the implementation of OSWindow for Android78#ifndef UTIL_ANDROID_WINDOW_H_9#define UTIL_ANDROID_WINDOW_H_1011#include "util/OSWindow.h"1213class AndroidWindow : public OSWindow14{15public:16AndroidWindow();17~AndroidWindow() override;1819void disableErrorMessageDialog() override;20void destroy() override;2122void resetNativeWindow() override;23EGLNativeWindowType getNativeWindow() const override;24EGLNativeDisplayType getNativeDisplay() const override;2526void messageLoop() override;2728void setMousePosition(int x, int y) override;29bool setOrientation(int width, int height) override;30bool setPosition(int x, int y) override;31bool resize(int width, int height) override;32void setVisible(bool isVisible) override;3334void signalTestEvent() override;3536ANGLE_UTIL_EXPORT static std::string GetExternalStorageDirectory();3738private:39bool initializeImpl(const std::string &name, int width, int height) override;40};4142#endif /* UTIL_ANDROID_WINDOW_H_ */434445