gl_angle_util_win.h 571 B

1234567891011121314151617181920212223
  1. // Copyright 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 UI_GL_GL_ANGLE_UTIL_WIN_H_
  5. #define UI_GL_GL_ANGLE_UTIL_WIN_H_
  6. #include <d3d11.h>
  7. #include <d3d9.h>
  8. #include <wrl/client.h>
  9. #include "ui/gl/gl_export.h"
  10. namespace gl {
  11. GL_EXPORT Microsoft::WRL::ComPtr<ID3D11Device>
  12. QueryD3D11DeviceObjectFromANGLE();
  13. GL_EXPORT Microsoft::WRL::ComPtr<IDirect3DDevice9>
  14. QueryD3D9DeviceObjectFromANGLE();
  15. } // namespace gl
  16. #endif // UI_GL_GL_ANGLE_UTIL_WIN_H_