• 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 ... 49 50 51 52 53 ... 117 Next »

OpenGL performance on Graphic_Update branch
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
OpenGL performance on Graphic_Update branch
12-06-2012, 11:47 PM (This post was last modified: 12-07-2012, 12:21 AM by degasus.)
#3
degasus Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,828
Threads: 10
Joined: May 2012
(12-06-2012, 11:23 PM)neobrain Wrote: What you're probably seeing is that a vertex buffer was still in use when we tried writing new data into it. The GPU driver likely delayed the actual RAM->VRAM upload to the next DrawPrimitive() call, which is why you see so much CPU time spent there.
But the draw command should also be delayed? In fact, adding much sleeps between uploading and drawing doesn't change this timings.

(12-06-2012, 11:23 PM)neobrain Wrote: .. Or it's just the typical case that the CPU says "Yo GPU, here's some data to draw" and the GPU answers "Yo dawg, I'm still busy so wait a minute with that data".
A secound identical draw command will return directly, so I guess, this is not the reason.

btw, after switching the shader, the draw command use double the time. So it is perhaps changing the state of the pipeline?

Edit: enabling USE_DUAL_SOURCE_BLEND, the secound draw command isn't used anymore and (more importend) the shader won't be changed for this. So the shader sometimes don't need to be changed befor the regular call. So the total time spend on draw commands (1856usec) is now lower than the time spend on the frist draw command without alphapass.
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
OpenGL performance on Graphic_Update branch - degasus - 12-06-2012, 10:14 PM
RE: OpenGL performance on Graphic_Update branch - neobrain - 12-06-2012, 11:23 PM
RE: OpenGL performance on Graphic_Update branch - degasus - 12-06-2012, 11:47 PM

  • 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