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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Site › Dolphin Patches (Archive) v
« Previous 1 ... 3 4 5 6 7 Next »

[PATCH-INTEGRATED] Cleanup, optimize, etc
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
[PATCH-INTEGRATED] Cleanup, optimize, etc
07-18-2010, 01:13 PM (This post was last modified: 07-19-2010, 07:19 AM by avindra.)
#1
avindra Offline
Junior Member
**
Posts: 47
Threads: 10
Joined: Jun 2010
Nothing too fancy or overly exciting here. I worked on killing warnings from the compiler, there's still a lot but this takes care of many of them.

Changes:
-mod 2 > & 1
-remove redundant code, header
-converted block of code into switch statement
-use else to avoid unnecessary evaluation
-lots of little code "compression"

DX11:
-Remove calls which were being made twice (through Renderer::Shutdown())
-Call the more destructive functions to ensure no leakage.
-Reorder shutdown procedure to resemble DX9's.


Attached Files
.patch   dolphinWarningFixes.patch (Size: 21.21 KB / Downloads: 185)
[Image: stats.png]
Find
07-18-2010, 07:25 PM (This post was last modified: 07-18-2010, 07:30 PM by Lectrode.)
#2
Lectrode Offline
1 Kid, 1 Laptop... yeah we're screwed =P
****
Posts: 559
Threads: 3
Joined: May 2010
Code:
===================================================================
--- Source/Plugins/Plugin_VideoDX11/Plugin_VideoDX11.vcproj    (revision 5897)
+++ Source/Plugins/Plugin_VideoDX11/Plugin_VideoDX11.vcproj    (working copy)
@@ -836,6 +836,18 @@
                >
            </File>
        </Filter>
+        <Filter
+            Name="IntelliSense"
+            >
+            <File
+                RelativePath="..\..\..\..\..\..\..\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include\D3D11.h"
+                >
+            </File>
+            <File
+                RelativePath="..\..\..\..\..\..\..\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include\D3DX11.h"
+                >
+            </File>
+        </Filter>
        <File
            RelativePath=".\Src\Globals.h"
            >

Is that supposed to be like that? Not everyone has "Program Files (x86)"

Nice patch btw
[Image: sig.png]

[Image: 1339673.png]
Website Find
07-19-2010, 12:21 AM
#3
avindra Offline
Junior Member
**
Posts: 47
Threads: 10
Joined: Jun 2010
"Not everyone has "Program Files (x86)""

Yeah I was thinking about that, but then I couldn't figure out how to do the pathing that works for both.

Like, if you use %PROGRAMFILES%, it gives C:\Program Files, and not the x86 version. :/
[Image: stats.png]
Find
07-19-2010, 03:15 AM
#4
neobrain Offline
"Wow, I made my code 1000x faster! That means I can make it 2048x slower now!"
**********
Developers (Some Administrators and Super Moderators)
Posts: 3,209
Threads: 50
Joined: Jun 2009
uhm, what is that vcproj change supposed to do anyway?
My blog
Me on Twitter
My wishlist on Amazon.de
Find
07-19-2010, 04:22 AM
#5
avindra Offline
Junior Member
**
Posts: 47
Threads: 10
Joined: Jun 2010
It should show all the IntelliSense information for DirectX. Am I the only one who's not getting the IntelliSense working?
[Image: stats.png]
Find
07-19-2010, 04:35 AM
#6
neobrain Offline
"Wow, I made my code 1000x faster! That means I can make it 2048x slower now!"
**********
Developers (Some Administrators and Super Moderators)
Posts: 3,209
Threads: 50
Joined: Jun 2009
Yes you are... ^^
At least it's working fine for me.
My blog
Me on Twitter
My wishlist on Amazon.de
Find
07-19-2010, 04:45 AM
#7
blackJade Offline
Member
***
Posts: 168
Threads: 2
Joined: May 2010
How about using %DXSDK_DIR%\Include\D3DX11.h?
[Image: 1289890.png]
Find
« Next Oldest | Next Newest »


  • 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