Miscellaneous patches on github

Nigel Stewart nigels.com at gmail.com
Thu Jul 18 08:32:20 PDT 2013


Hello all,

Another batch of Regal-related apitrace patches for your scrutiny and opinion:

1. Conditionally compile-out os::log with -DTRACE_OS_LOG=0
https://github.com/apitrace/apitrace/pull/164
Allows Regal to handle the apitrace logging.

2. glretrace: GLX and WGL support for ES2/EGL traces.
https://github.com/apitrace/apitrace/pull/165
egltrace isn't happy with my NVIDIA driver, but glretrace works.

3. glimports: Check for iOS and skip OpenGL and CGL as appropriate.
https://github.com/apitrace/apitrace/pull/167
Needed for the iOS build of Regal

4. Opt-out of backtrace support with -DTRACE_BACKTRACE=0
https://github.com/apitrace/apitrace/pull/168
I didn't spend much time with the backtrace functionality, but my
initial feeling was that it was too platform-specific for Regal purposes.
Also, I'm concerned about jeopardizing the ease of building Regal.

I think the risk of side-effects for the vanilla apitrace builds are minimal,
these don't add any value to apitrace except to harmonize with Regal
using it as an optional (statically linked) layer.

I'd like to announce the Regal support for apitrace around Siggraph timeframe,
next week.  The Regal branch of apitrace isn't perfectly aligned with upstream,
but progress is being made here.

https://github.com/p3/regal

Thanks in advance,

- Nigel


On Fri, Jul 5, 2013 at 12:23 PM, Nigel Stewart <nigels.com at gmail.com> wrote:
> Hello all,
>
> Cross-posting here on the mailing list of additional opinions and eyeballs.
>
> 1. Resolve C4267 MS compiler warnings
> https://github.com/apitrace/apitrace/pull/156
> Use explicit c-casting to appease the MS compiler.
>
> 2. Support for Mac OS X 10.5 Leopard
> https://github.com/apitrace/apitrace/pull/157
> CGLShareGroupObj and IOSurfaceRef were added 10.6 SDK.
> Still builds for 10.5 with some modest workarounds.
>
> 3. Replace dynamic_cast with virtual functions
> https://github.com/apitrace/apitrace/pull/158
> apitrace can be built with without RTTI if dynamic_cast is avoided.
>
> These originate from our effort to integrate apitrace into Regal as a
> dispatch layer.  These patches bring the projects into closer
> alignment.
> https://github.com/p3/regal
>
> - Nigel


More information about the apitrace mailing list