GithubHelp home page GithubHelp logo

Replacing GLEW about edge HOT 12 CLOSED

3dfxdev avatar 3dfxdev commented on July 21, 2024
Replacing GLEW

from edge.

Comments (12)

usernameak avatar usernameak commented on July 21, 2024

I think that custom implementation is the best way 😃

from edge.

Corbachu avatar Corbachu commented on July 21, 2024

I was thinking about that, too: any ideas where we could start with that? I have always used external loaders..

from edge.

usernameak avatar usernameak commented on July 21, 2024

What methods of GLEW are used?

from edge.

Corbachu avatar Corbachu commented on July 21, 2024

Look in r_main.cc:

RGL_CheckExtensions() is the function that finds and appends all functions (which, really, isn't a ton...)

from edge.

Corbachu avatar Corbachu commented on July 21, 2024

I am also looking into dGLMake from Doom64-EX, so hopefully I can get on that soon!

from edge.

ryan-sg avatar ryan-sg commented on July 21, 2024

Is 3dge still using GL/glew.h really? I noticed at least in i_video.cc i can comment out the include for GL/glew.h and it seems to affect nothing...

from edge.

Corbachu avatar Corbachu commented on July 21, 2024

I will test this out tonight. The i_video code now uses sdl_opengl, but GLEW is still required for extension checking. We really need to get a replacement going..

from edge.

usernameak avatar usernameak commented on July 21, 2024

On Linux it's easier: just make a header
On Windows we need to use wglGetProcAddress

from edge.

Corbachu avatar Corbachu commented on July 21, 2024

Want to revisit this issue soon :)

from edge.

Corbachu avatar Corbachu commented on July 21, 2024

Opened up a new branch called "noglew", it uses GZDoom's version of glLoadGen. If anyone is curious. As soon as I get it working properly consider GLEW as good as gone :-D

from edge.

Corbachu avatar Corbachu commented on July 21, 2024

@usernameak Maybe you can help me test it out? Just checkout noglew to see where it stands right now. :-)

from edge.

Corbachu avatar Corbachu commented on July 21, 2024

We have successfully stripped out GLEW for our own implementation (based off of GZDoom). Closing this finally :)

from edge.

Related Issues (20)

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.