Aliased names for glCreateShader and glCreateShaderObjectARB

Carl Worth cworth at cworth.org
Fri Feb 15 18:49:43 PST 2013


José Fonseca <jose.r.fonseca at gmail.com> writes:
> I haven't forgotten about this patch. I'd prefer a more robust
> solution however.

I can appreciate that. In the meantime, would you consider merging this
patch as is for now?

I don't think it complicates the existing code much, and it's hugely
practical for anyone dealing with Valve games and apitrace. (It's
effectively the unbreak-apitrace-for-Valve patch.)

> So the only way to address this is to stop pretending that handle
> swizzling is simple, stop generating code to maintain these busted
> swizzling maps.

I'll be happy to go implement something along those lines the next time
I encounter a problem related to bad handle mapping.

It's just a little hard to get motivated to work on that more general
solution right now without any motivating problem in hand.

I've pushed the above patch, rebased onto master to a branch called
mixed-program-program-object upstream for your consideration to merge.

-Carl

-- 
carl.d.worth at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/apitrace/attachments/20130215/56856dbe/attachment.pgp>


More information about the apitrace mailing list