Skip to main content
GameDev.net gamedev.net
🔒 Locked

C++ What is XlatXdxInitXopServices()?

Started by Muzzy A Oct 26, 2012 at 6:57 AM 4 replies 2.9k views
Original Post
Muzzy A
Muzzy A
I didn't know where to post this because i didnt know what it applied to.

Anyways, i'm running a simple little program that's just drawing 1 single sprite that is 64x64 pixels.

My framerate is at 400 fps with just this single sprite, whereas in a particle system i made, i get 900fps while rendering and updating 10k+ particles at any given moment.

I ran VTune on the application and 'XlatXdxInitXopServices()' was at the top of the list at using waaay more CPU time than any other function call.

I did a google search and had someone else help me do the google search, but cannot find anything about it other than World of Warcraft crashes and Star Wars crashes that result from it.

anyone know what it is or where it gets called?

EDIT:
I feel like it's something related to DirectX, not totally sure though
JnZ
JnZ
Simple Google search points to atiumdag.dll which is part of AMD driver
Narf the Mouse
Narf the Mouse
Are you creating and/or deleting anything each frame? Including by implication? What language? (Sounds like C++, if you're using DirectX directly)
Muzzy A
Muzzy A
im using c++ and d3d9. I found out that it was from calling directX functions. so i guess i'm making to many d3d calls in my program.
Narf the Mouse
Narf the Mouse

im using c++ and d3d9. I found out that it was from calling directX functions. so i guess i'm making to many d3d calls in my program.

Do you send each sprite in their own buffer, or as one buffer for all the sprites?
Muzzy A
Muzzy A
each sprite is in it's own buffer, but there is only 1 sprite, nothing else.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.