Skip to content

Unit Tests \ DeviceContext

Luca Piccioni edited this page Aug 31, 2017 · 1 revision

DeviceContext unit tests status

  • INativePBuffer CreatePBuffer(DevicePixelFormat pixelFormat, uint width, uint height)
  • DeviceContext Create()
  • DeviceContext Create(IntPtr display, IntPtr windowHandle)
  • DeviceContext Create(INativePBuffer nativeBuffer)
  • uint RefCount
  • void IncRef()
  • void DecRef()
  • string DefaultAPI
  • KhronosVersion Version
  • IEnumerable<string> GetAvailableAPIs()
  • IEnumerable<string> AvailableAPIs
  • IntPtr CreateContext(IntPtr sharedContext)
  • IntPtr CreateContextAttrib(IntPtr sharedContext, int[] attribsList)
  • IntPtr CreateContextAttrib(IntPtr sharedContext, int[] attribsList, KhronosVersion api)
  • bool MakeCurrent(IntPtr ctx)
  • bool DeleteContext(IntPtr ctx)
  • void SwapBuffers()
  • bool SwapInterval(int interval)
  • DevicePixelFormatCollection PixelsFormats
  • void ChoosePixelFormat(DevicePixelFormat pixelFormat)
  • void SetPixelFormat(DevicePixelFormat pixelFormat)
  • bool IsPixelFormatSet
  • IntPtr GetCurrentContext()
  • bool IsDisposed
  • void Dispose()