angle_windowsstore.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // Copyright (c) 2014 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. // angle_windowsstore.h:
  7. #ifndef ANGLE_WINDOWSSTORE_H_
  8. #define ANGLE_WINDOWSSTORE_H_
  9. // The following properties can be set on the CoreApplication to support additional
  10. // ANGLE configuration options.
  11. //
  12. // The Visual Studio sample templates provided with this version of ANGLE have examples
  13. // of how to set these property values.
  14. //
  15. // Property: EGLNativeWindowTypeProperty
  16. // Type: IInspectable
  17. // Description: Set this property to specify the window type to use for creating a surface.
  18. // If this property is missing, surface creation will fail.
  19. //
  20. const wchar_t EGLNativeWindowTypeProperty[] = L"EGLNativeWindowTypeProperty";
  21. //
  22. // Property: EGLRenderSurfaceSizeProperty
  23. // Type: Size
  24. // Description: Set this property to specify a preferred size in pixels of the render surface.
  25. // The render surface size width and height must be greater than 0.
  26. // If this property is set, then the render surface size is fixed.
  27. // If this property is missing, a default behavior will be provided.
  28. // The default behavior uses the window size if a CoreWindow is specified or
  29. // the size of the SwapChainPanel control if one is specified.
  30. //
  31. const wchar_t EGLRenderSurfaceSizeProperty[] = L"EGLRenderSurfaceSizeProperty";
  32. #endif // ANGLE_WINDOWSSTORE_H_