native_window.h 554 B

123456789101112131415161718192021
  1. // Copyright (c) 2016 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef GPU_VULKAN_TESTS_NATIVE_WINDOW_H_
  5. #define GPU_VULKAN_TESTS_NATIVE_WINDOW_H_
  6. #include "ui/gfx/native_widget_types.h"
  7. namespace gfx {
  8. class Rect;
  9. } // namespace gfx
  10. namespace gpu {
  11. gfx::AcceleratedWidget CreateNativeWindow(const gfx::Rect& bounds);
  12. void DestroyNativeWindow(gfx::AcceleratedWidget window);
  13. } // namespace gpu
  14. #endif // GPU_VULKAN_TESTS_NATIVE_WINDOW_H_