..:: PCSX2 Forums ::..
Register | Help | Log In |
Register PCSX2 Site Forums Member List Donate View Today's Posts Search

Current time: 05-25-2013, 09:49 PM Hello There, Guest! (Login — Register)

..:: PCSX2 Forums ::.. / Off Topic / Chatterbox v
« Previous 1 ... 28 29 30 31 32 ... 88 Next »
/ r5000 come here and vote who you think will be the author



User(s) browsing this thread: 1 Guest(s)

Poll: who will be the author of r5000
avihal
ramapcsx2
sudonim1@gmail.com
gigaherz
gabest11
arcum42
gregory.hainaut
shadowladyngemu
cottonvibes
refraction
[Show Results]
 
Pages (12): « Previous 1 ... 8 9 10 11 12
Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
r5000 come here and vote who you think will be the author
Author Message
gregory Offline
Linux PCSX2 coder
******

Posts: 1.501
Joined: May 2010
Location: Grenoble, France
Reputation: 29
Post: #111
RE: r5000 come here and vote who you think will be the author
There is no different between opengl and dx (speed wise). If the application is badly coded on opengl and correctly coded on DX, it would run faster on DX but that does not mean dx is faster. They are just API.
12-23-2011 10:15 AM
Find all posts by this user Quote this message in a reply
Squall Leonhart Offline
Yunsabits, #1 Fan.
****

Posts: 3.542
Joined: Jul 2010
Location: Australia
Reputation: 61
Post: #112
RE: r5000 come here and vote who you think will be the author
(12-23-2011 10:15 AM)gregory Wrote:  There is no different between opengl and dx (speed wise). If the application is badly coded on opengl and correctly coded on DX, it would run faster on DX but that does not mean dx is faster. They are just API.

directx can have multithreaded context
opengl cannot.

this does affect speed with certain application of the function.

[Image: squall4rinoa.png]
VBA-M
12-23-2011 11:08 AM
Visit this user's website Find all posts by this user Quote this message in a reply
gregory Offline
Linux PCSX2 coder
******

Posts: 1.501
Joined: May 2010
Location: Grenoble, France
Reputation: 29
Post: #113
RE: r5000 come here and vote who you think will be the author
Opengl can have multiple context and share data between them (you can even transfer data between opencl and opengl). If you create them in different thread. It would be the same. Opengl is lower level than dx. By the way, in the end you have only 1 GPU... So it only for the CPU, totally irrelevant.
12-23-2011 11:42 AM
Find all posts by this user Quote this message in a reply
haseo_winset Offline
Junior Member
*

Posts: 36
Joined: Jul 2011
Location:
Reputation: 1
Post: #114
RE: r5000 come here and vote who you think will be the author
Thanks Gregory Smile you got what i was trying to say but whenever i read these comments and post from the devs and you , what i say to my self is damn these guys are awesome . Thanks guys for all the effort you guys have put into this project . PCSX2 really is a living legend of a project. Biggrin
12-23-2011 12:16 PM
Find all posts by this user Quote this message in a reply
Squall Leonhart Offline
Yunsabits, #1 Fan.
****

Posts: 3.542
Joined: Jul 2010
Location: Australia
Reputation: 61
Post: #115
RE: r5000 come here and vote who you think will be the author
(12-23-2011 11:42 AM)gregory Wrote:  Opengl can have multiple context and share data between them (you can even transfer data between opencl and opengl). If you create them in different thread. It would be the same. Opengl is lower level than dx. By the way, in the end you have only 1 GPU... So it only for the CPU, totally irrelevant.

Quote:The basic problem with multithreading in OGL is the fact that OGL context, which contains entire state of the OGL, can be at one time bound to only one thread. Because of this you can not simultaneously modify it from two threads. You basically have three options.

You can create one context for each thread and enable sharing of display lists and textures between them. It is likely that this path is not too well supported by the drivers.
You can load and prepare the resources by the second thread and let the main thread do the creation call into OGL.
If the resource type supports it (e.g. VBO), you can map its memory by the main thread. Fill it in the second thread and unmap it by the main thread.

i was reffering to the creation of a single context and modifying it from several threads.

multiple contexts add a whole extra layer of state preservation and complexity, and lets face it, if devs can't even find the numerous reasons to use d3d11 for its multithreading, i doubt they are gunna be bothered with the extremes needed to make opengl multiple contexts work efficiently.

[Image: squall4rinoa.png]
VBA-M
(This post was last modified: 12-23-2011 01:04 PM by Squall Leonhart.)
12-23-2011 01:01 PM
Visit this user's website Find all posts by this user Quote this message in a reply
gregory Offline
Linux PCSX2 coder
******

Posts: 1.501
Joined: May 2010
Location: Grenoble, France
Reputation: 29
Post: #116
RE: r5000 come here and vote who you think will be the author
Nowadays you can map most of the opengl object and access from any thread. Opengl is lower level than Directx, so you must do manually more work that does not mean it is slower.

Maybe multithread rendering is useless. You can prepare the data to your GPU with a multithread program, that good for a cpu limited application. But no matter how many thread you create, your gpu will only execute 1 command at a time.

The only speed different is the driver, the directx part of the driver is probably more optimized than the opengl one but I bet the impact is small.
12-23-2011 01:27 PM
Find all posts by this user Quote this message in a reply
DaMan Offline
Senior Member
***

Posts: 335
Joined: Feb 2010
Location:
Reputation: 3
Post: #117
RE: r5000 come here and vote who you think will be the author
Might be bigger than you think.
12-23-2011 02:40 PM
Find all posts by this user Quote this message in a reply
FlotsamX Offline
Junior Member
*

Posts: 38
Joined: Mar 2009
Location:
Reputation: 1
Post: #118
RE: r5000 come here and vote who you think will be the author
r5000 is small time.

Who is going to get the first revision of 2012?
(This post was last modified: 01-02-2012 06:00 AM by FlotsamX.)
01-02-2012 06:00 AM
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Pages (12): « Previous 1 ... 8 9 10 11 12
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread



Current time: 05-25-2013, 09:49 PM

Contact Us | PCSX2 | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication

Powered By MyBB, © 2002-2013 MyBB Group.
Theme created by IncadudeF and modified by bositman