Giter VIP home page Giter VIP logo

Comments (9)

machinamentum avatar machinamentum commented on June 9, 2024

Please remember that OES is considered a set of subsets of desktop GL. Supporting desktop GL functionality inherently means supporting GL ES functionality. Therefore, switching to a purely OES specification would be considered a downgrade. That being said, the plan is to implement as much of GL 1.1 as possible then support for newer specifications will be added, as well as adding OES headers and functions.

from caelina.

Lectem avatar Lectem commented on June 9, 2024

Ok, guess I will wait before contributing then, since most of the stuff I worked on is only available after 1.3 or 1.4. Thanks for the clarification

from caelina.

machinamentum avatar machinamentum commented on June 9, 2024

You are welcome to contribute anything not specified in GL 1.1 as long as it adheres to OpenGL's specification and the conventions currently in use in the implementation. Note that any functions added must check if g_state is null, check if it isn't allowed in glBegin/glEnd blocks, and if it can be cached into a display list, it must add itself to the currently compiling list and be called by executeList. Most importantly, it mustn't break other functions.

from caelina.

Lectem avatar Lectem commented on June 9, 2024

What about the missing defines? What value should those take and where should those be added?

from caelina.

machinamentum avatar machinamentum commented on June 9, 2024

Some defines are missing because Mesa3D's gl.h depends on Khronos' glext.h. Download the official glext.h and check if the defines are in there first. Currently, the glext.h being used just defines glScissorMode, which should be moved out into a different header since it isn't an official extension.

from caelina.

machinamentum avatar machinamentum commented on June 9, 2024

I've decided to include Khronos' glext.h, and any "unregistered extensions" such as the PICA200's inverted scissor mode will be added to GL/ctr.h

from caelina.

Lectem avatar Lectem commented on June 9, 2024

I'm starting to think we should implement our own glext.h, according to https://www.opengl.org/registry : /#headers <GL/glext.h> - OpenGL 1.2 and above compatibility profile and extension interfaces.

Most of what I saw in the Khronos header would be vendor specific anyway.

from caelina.

machinamentum avatar machinamentum commented on June 9, 2024

Please see the implementor's guide. Khronos specifies using their glext.h and any of the implementor's extensions that aren't registered must be placed into the implementor's own headers.

from caelina.

Lectem avatar Lectem commented on June 9, 2024

Oh, right. Guess this answers all my questions then ! Thanks.

from caelina.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.