Commit Graph

14 Commits

Author SHA1 Message Date
baldurk 20625eeeba Add a LibraryHooks callback when capture options are changed 2016-04-30 17:18:45 +02:00
baldurk a3325fbcff Fix scarily broken iteration of GL context creation attribs list. 2016-04-02 16:26:08 +02:00
baldurk 27696d9c7f Handle GL attribList being NULL - use a default attrib list of { 0 } 2016-04-02 15:49:22 +02:00
baldurk 7a513ff965 Don't do any processing internally if GL context creation failed 2016-04-02 15:49:20 +02:00
Chia-I Wu faf1f086df Check for glXIsDirect in MakeContext
Create a direct renerding context when the shared context is too.
Otherwise, I got this error

  X Error of failed request:  BadMatch (invalid parameter attributes)

on nVidia.
2016-03-08 11:51:05 +08:00
baldurk 2e0ffa7813 Batch update copyright years everywhere 2016-02-07 18:50:45 +01:00
baldurk 55914f99ae GL hooks no longer need to be disabled - just don't hook nv VK driver 2016-02-07 18:44:52 +01:00
baldurk 84415a3f76 Disable hooking libGL for now on linux 2016-02-07 18:41:16 +01:00
baldurk d1c24b0138 Handle glXCreateContextAttribsARB not being an exported module symbol
* This is true for e.g. mesa drivers
2015-08-23 22:32:43 +02:00
baldurk ce00be0075 Make global GetRealFunctions more unique (don't want to collide) 2015-08-23 22:23:53 +02:00
baldurk 62f7362e92 Move dlopen to be hooked centrally on linux, to be multi-API friendly 2015-08-23 22:23:53 +02:00
baldurk 4ae911c9f9 Add 'easy' to support new GL extensions, note future ones. Refs #146 2015-08-23 15:36:33 +02:00
baldurk 16f8ad5c94 Compile fix 2015-08-05 20:19:41 +02:00
baldurk bde6fabf7d Rearrange project structure, so that drivers can be easily disabled
* This is kind of arbitrary at the moment, but in future when D3D12 and
  Vulkan drivers appear, not everyone who builds RenderDoc will want to
  build all drivers, so making them separate projects makes it more easy
  to disable/remove them.
2015-06-29 20:04:47 +02:00