• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 43 44 45 46 47 ... 117 Next »

[Linux, OpenGL 4] How are you devs setting/using OpenGL?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
[Linux, OpenGL 4] How are you devs setting/using OpenGL?
03-24-2014, 05:04 AM
#1
Katastic Voyage
Unregistered
 
I've downloaded a branch and I've been wanting to experiment with the Dolphin rendering pipeline. However, I need access to OpenGL 4.0 functions.

1) I'm not entirely sure what's going on in the /GLExtensions/ directory. I tried following what was done for say, the gl 3.2 header but I still get undefined reference linker errors.

2) How/where in CMake are you linking OpenGL? Because it seems like it's using MESA even though I need it to link against the property nVidia drivers to get OpenGL 4.x. MESA doesn't support OpenGL 4.x enough at this time.

3) I read in the patch notes you guys removed GLEW. Why is that? How is your current system better? Was it solely for Android support? What was the rational? I couldn't find much details in the git notes--unless I missed them or don't know where to look.

4) Perhaps this is a silly question but is OpenGL ES solely used for mobile ports, or are you somehow using it for the desktop ports as well instead of plain OpenGL? I noticed version ES in the shaders.

Thank you for your time.

[edit] I've made progress. The functions seem to be working. However, I'm having trouble figuring out how the shaders and vertices are set up.

The main function that's doing drawing is VertexManager:Big Grinraw, correct? And each time it's called, it's expecting to draw a strip of triangles. Is this function called per object? Per frame? Entirely dependent on the game code?

How are the shaders set up? It seems like you've got ones for texture conversion, rendering, and more. What are the ones that are primarily active during a game?

Additionally, could you give me some general info about what's going on in ProgramShaderCache::SetShader?
Reply
« Next Oldest | Next Newest »


Messages In This Thread
[Linux, OpenGL 4] How are you devs setting/using OpenGL? - Katastic Voyage - 03-24-2014, 05:04 AM
RE: [Linux, OpenGL 4] How are you devs setting/using OpenGL? - delroth - 03-24-2014, 05:30 PM
RE: [Linux, OpenGL 4] How are you devs setting/using OpenGL? - Sonicadvance1 - 03-24-2014, 08:36 PM
RE: [Linux, OpenGL 4] How are you devs setting/using OpenGL? - pauldacheez - 03-25-2014, 05:57 AM
RE: [Linux, OpenGL 4] How are you devs setting/using OpenGL? - Katastic Voyage - 03-25-2014, 09:42 AM
RE: [Linux, OpenGL 4] How are you devs setting/using OpenGL? - Sonicadvance1 - 03-25-2014, 04:12 PM
RE: [Linux, OpenGL 4] How are you devs setting/using OpenGL? - Katastic Voyage - 03-30-2014, 07:29 AM
RE: [Linux, OpenGL 4] How are you devs setting/using OpenGL? - degasus - 03-30-2014, 10:56 AM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode