aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-03-04 11:21:23 -0700
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-03-04 13:00:11 -0700
commit43b3307fb1107fd8cda2ffabc88017904c0b01f9 (patch)
tree439f72527946675fe5ee6fdf0ac80cb2293f8f42
parent458c0668b4c24022584a033ada903f87e2646087 (diff)
downloadusermoji-43b3307fb1107fd8cda2ffabc88017904c0b01f9.tar.xz
object-tracker: Do not track GPU object
The GPU object is not something that is created by the app and thus object tracker layer does not have to track it.
-rwxr-xr-xxgl-layer-generate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xgl-layer-generate.py b/xgl-layer-generate.py
index 3f4ed1a5..ccd52e15 100755
--- a/xgl-layer-generate.py
+++ b/xgl-layer-generate.py
@@ -615,7 +615,7 @@ class Subcommand(object):
using_line += ' g_debugAction &= ~XGL_DBG_LAYER_ACTION_CALLBACK;\n'
using_line += ' }\n'
# Special cases for API funcs that don't use an object as first arg
- elif True in [no_use_proto in proto.name for no_use_proto in ['GlobalOption', 'CreateInstance', 'QueueSubmit', 'QueueSetGlobalMemReferences', 'QueueWaitIdle', 'CreateDevice', 'SignalQueueSemaphore', 'WaitQueueSemaphore', 'WsiX11QueuePresent']]:
+ elif True in [no_use_proto in proto.name for no_use_proto in ['GlobalOption', 'CreateInstance', 'QueueSubmit', 'QueueSetGlobalMemReferences', 'QueueWaitIdle', 'CreateDevice', 'GetGpuInfo', 'SignalQueueSemaphore', 'WaitQueueSemaphore', 'WsiX11QueuePresent']]:
using_line = ''
else:
using_line = ' loader_platform_thread_lock_mutex(&objLock);\n'