gl_bindings_api_autogen_wgl.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. //
  5. // This file is auto-generated from
  6. // ui/gl/generate_bindings.py
  7. // It's formatted by clang-format using chromium coding style:
  8. // clang-format -i -style=chromium filename
  9. // DO NOT EDIT!
  10. // Silence presubmit and Tricium warnings about include guards
  11. // no-include-guard-because-multiply-included
  12. // NOLINT(build/header_guard)
  13. BOOL wglChoosePixelFormatARBFn(HDC dc,
  14. const int* int_attrib_list,
  15. const float* float_attrib_list,
  16. UINT max_formats,
  17. int* formats,
  18. UINT* num_formats) override;
  19. BOOL wglCopyContextFn(HGLRC hglrcSrc, HGLRC hglrcDst, UINT mask) override;
  20. HGLRC wglCreateContextFn(HDC hdc) override;
  21. HGLRC wglCreateContextAttribsARBFn(HDC hDC,
  22. HGLRC hShareContext,
  23. const int* attribList) override;
  24. HGLRC wglCreateLayerContextFn(HDC hdc, int iLayerPlane) override;
  25. HPBUFFERARB wglCreatePbufferARBFn(HDC hDC,
  26. int iPixelFormat,
  27. int iWidth,
  28. int iHeight,
  29. const int* piAttribList) override;
  30. BOOL wglDeleteContextFn(HGLRC hglrc) override;
  31. BOOL wglDestroyPbufferARBFn(HPBUFFERARB hPbuffer) override;
  32. HGLRC wglGetCurrentContextFn() override;
  33. HDC wglGetCurrentDCFn() override;
  34. const char* wglGetExtensionsStringARBFn(HDC hDC) override;
  35. const char* wglGetExtensionsStringEXTFn() override;
  36. HDC wglGetPbufferDCARBFn(HPBUFFERARB hPbuffer) override;
  37. BOOL wglMakeCurrentFn(HDC hdc, HGLRC hglrc) override;
  38. BOOL wglQueryPbufferARBFn(HPBUFFERARB hPbuffer,
  39. int iAttribute,
  40. int* piValue) override;
  41. int wglReleasePbufferDCARBFn(HPBUFFERARB hPbuffer, HDC hDC) override;
  42. BOOL wglShareListsFn(HGLRC hglrc1, HGLRC hglrc2) override;
  43. BOOL wglSwapIntervalEXTFn(int interval) override;
  44. BOOL wglSwapLayerBuffersFn(HDC hdc, UINT fuPlanes) override;