Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
waffle
waffle
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 18
    • Issues 18
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 11
    • Merge Requests 11
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mesa
  • wafflewaffle
  • Issues
  • #23

Closed
Open
Opened Nov 12, 2014 by chadversary@chadversaryMaintainer

WGL_EXT_create_context_es_profile is sufficient for creating an ES2 context

WGL_EXT_create_context_es_profile is sufficient for creating an ES2 context. WGL_EXT_create_context_es2_profile is not required, as WGL_EXT_create_context_es_profile supercedes it.

Reported by Jose. Archived at (http://www.mail-archive.com/waffle@lists.freedesktop.org/msg00695.html).

From: Jose Fonseca jfonseca@vmware.com To: Emil Velikov emil.l.velikov@gmail.com, "waffle@lists.freedesktop.org" waffle@lists.freedesktop.org Date: Wed, 12 Nov 2014 16:28:42 +0000 Message-ID: 5fa2bed46ff84ee5a314c86944f81f02@EX13-MBX-017.vmware.com In-Reply-To: 1415573938-28484-1-git-send-email-emil.l.velikov@gmail.com Subject: Re: [waffle] [PULL] WGL support

Hi Emil,

I went through the new patches and they look good AFAICT. Thanks for doing this.

While going through "wgl: fully support ARB_create_context and EXT_create_context_es_profile." again I noticed a couple of issues with the usage of WGL_EXT_create_context_es2_profile that I hadn't noticed before because I wasn't familiar with the extension:

  • WGL_EXT_create_context_es_profile ignored the opengl version, but WGL_EXT_create_context_es2_profile will create any version requested in.

  • I believe one must set WGL_CONTEXT_MAJOR_VERSION_ARB/WGL_CONTEXT_MINOR_VERSION_ARB when requesting ES contexts or one will always get a ES 1.0 > context.

  • It's OK to assume that WGL_EXT_create_context_es2_profile then WGL_EXT_create_context_es_profile is supported, but not the other way around.

    This is because WGL_EXT_create_context_es_profile ignored the version

See "Revision History" at the bottom of https://www.opengl.org/registry/specs/EXT/wgl_create_context_es2_profile.txt for details.

Anyway, this is nor urgent -- it can be fixed in a follow on patch.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: mesa/waffle#23