]> git.cworth.org Git - apitrace/log
apitrace
10 years agoUbuntu 12.04 reports ffmpeg as deprecated, use avconv instead.
Nigel Stewart [Wed, 29 May 2013 16:46:25 +0000 (11:46 -0500)]
Ubuntu 12.04 reports ffmpeg as deprecated, use avconv instead.

10 years agodxgiretrace: Swizzle IDXGISurface maps.
José Fonseca [Wed, 29 May 2013 18:28:03 +0000 (19:28 +0100)]
dxgiretrace: Swizzle IDXGISurface maps.

10 years agolibbacktrace: Ignore generated headers.
José Fonseca [Wed, 29 May 2013 13:52:41 +0000 (14:52 +0100)]
libbacktrace: Ignore generated headers.

10 years agolibbacktrace: Tweak the CMakeLists.txt
José Fonseca [Wed, 29 May 2013 13:52:01 +0000 (14:52 +0100)]
libbacktrace: Tweak the CMakeLists.txt

10 years agospecs: GL_VERTEX_ATTRIB_ARRAY_INTEGER param is a boolean
José Fonseca [Wed, 29 May 2013 13:40:36 +0000 (14:40 +0100)]
specs: GL_VERTEX_ATTRIB_ARRAY_INTEGER param is a boolean

10 years agospecs: Add a few recent extensions.
José Fonseca [Wed, 29 May 2013 09:09:56 +0000 (10:09 +0100)]
specs: Add a few recent extensions.

10 years agoglretrace: Make glTransformFeedbackAttribsNV replayable.
José Fonseca [Wed, 29 May 2013 09:08:51 +0000 (10:08 +0100)]
glretrace: Make glTransformFeedbackAttribsNV replayable.

10 years agospecs: Ensure query ids are swizzled when replaying.
José Fonseca [Wed, 29 May 2013 08:57:59 +0000 (09:57 +0100)]
specs: Ensure query ids are swizzled when replaying.

10 years agospecs: Reorder glapi.py functions.
José Fonseca [Wed, 29 May 2013 08:25:16 +0000 (09:25 +0100)]
specs: Reorder glapi.py functions.

So they match what specs/scripts/glspec.py produces.

10 years agosupport NV_path_rendering and indexed EXT_direct_state_access
Mark Kilgard [Wed, 29 May 2013 05:36:48 +0000 (00:36 -0500)]
support NV_path_rendering and indexed EXT_direct_state_access

10 years agosupport program queries used by Cg Toolkit
Mark Kilgard [Wed, 29 May 2013 05:35:51 +0000 (00:35 -0500)]
support program queries used by Cg Toolkit

10 years agoscripts: Make gltxt.py parse EGL specs correctly (issue #134).
José Fonseca [Wed, 29 May 2013 07:53:03 +0000 (08:53 +0100)]
scripts: Make gltxt.py parse EGL specs correctly (issue #134).

10 years agoegltrace: Refresh EGLenum from upstream.
José Fonseca [Wed, 29 May 2013 07:52:01 +0000 (08:52 +0100)]
egltrace: Refresh EGLenum from upstream.

10 years agoegltrace: Consolidate enum definitions.
José Fonseca [Wed, 29 May 2013 07:13:18 +0000 (08:13 +0100)]
egltrace: Consolidate enum definitions.

10 years agoFix renderbuffer parameter type
Mike Stroyan [Fri, 1 Feb 2013 20:19:49 +0000 (13:19 -0700)]
Fix renderbuffer parameter type

Several parameters of renderbuffer type were treated as unmapped uint.

10 years agoFix defineShadowBufferHelper for buffer objects
Mike Stroyan [Mon, 6 May 2013 19:14:22 +0000 (13:14 -0600)]
Fix defineShadowBufferHelper for buffer objects

Use GL_ELEMENT_ARRAY_BUFFER_BINDING instead of GL_ELEMENT_ARRAY_BUFFER
to inquire the current buffer object in _shadow_glGetBufferSubData.

10 years agolibbacktrace: Fix out of source builds.
José Fonseca [Tue, 28 May 2013 11:12:31 +0000 (12:12 +0100)]
libbacktrace: Fix out of source builds.

Must include path for generated headers.

10 years agoMerge branch 'libbacktrace'
José Fonseca [Tue, 28 May 2013 10:48:00 +0000 (11:48 +0100)]
Merge branch 'libbacktrace'

10 years agocommon: Add copyright headers to trace_backtrace.hpp
José Fonseca [Tue, 28 May 2013 10:32:40 +0000 (11:32 +0100)]
common: Add copyright headers to trace_backtrace.hpp

10 years agocommon: Fix C pre-processor logic.
José Fonseca [Tue, 28 May 2013 10:32:19 +0000 (11:32 +0100)]
common: Fix C pre-processor logic.

10 years agoscripts: Simple script to extract PNG files from the JSON state dumps.
José Fonseca [Sat, 25 May 2013 12:29:25 +0000 (13:29 +0100)]
scripts: Simple script to extract PNG files from the JSON state dumps.

10 years agotracecheck: Stop relying on retrace '-c' option.
José Fonseca [Sat, 25 May 2013 11:14:29 +0000 (12:14 +0100)]
tracecheck: Stop relying on retrace '-c' option.

This option will soon be removed.

Also share code with tracecheck.

10 years agoretrace: Create snapshot directory if it does not exist.
José Fonseca [Sat, 25 May 2013 09:39:23 +0000 (10:39 +0100)]
retrace: Create snapshot directory if it does not exist.

One usually wants to put the snapshots in some directory.

10 years agodispatch: Silence warning about unused function.
José Fonseca [Sat, 25 May 2013 09:34:03 +0000 (10:34 +0100)]
dispatch: Silence warning about unused function.

10 years agoIn Android.mk: explicitly specify the toolchain
Vasil Dimov [Fri, 24 May 2013 11:50:51 +0000 (14:50 +0300)]
In Android.mk: explicitly specify the toolchain

If NDK is cloned from git://codeaurora.org/platform/prebuilt instead of
from git://android.git.linaro.org/platform/prebuilt then
prebuilt/linux-x86/toolchain/ contains some extra entries that confuse
the toolchain pickup logic in cmake/toolchain/android.toolchain.cmake,
thus we explicitly specify the toolchain via ANDROID_TOOLCHAIN_NAME.

10 years agoIn Android.mk: skip if cmake is not present
Vasil Dimov [Fri, 24 May 2013 11:47:48 +0000 (14:47 +0300)]
In Android.mk: skip if cmake is not present

Skip the whole configuration/compilation of apitrace from Android.mk
if cmake is not present in the system.

10 years agod3dretrace: Output human legible strings from HRESULT.
José Fonseca [Thu, 23 May 2013 17:38:53 +0000 (18:38 +0100)]
d3dretrace: Output human legible strings from HRESULT.

10 years agoretrace: Output message when swizzled objects are deleted.
José Fonseca [Thu, 23 May 2013 12:01:43 +0000 (13:01 +0100)]
retrace: Output message when swizzled objects are deleted.

10 years agoUse libstdc++ demangler
Alexander Monakov [Thu, 23 May 2013 09:42:16 +0000 (13:42 +0400)]
Use libstdc++ demangler

10 years agoRemove GlibcBacktraceProvider
Alexander Monakov [Sun, 19 May 2013 11:06:53 +0000 (15:06 +0400)]
Remove GlibcBacktraceProvider

10 years agoSwitch to libbacktrace provider
Alexander Monakov [Sun, 19 May 2013 11:00:13 +0000 (15:00 +0400)]
Switch to libbacktrace provider

10 years agoImplement libbacktrace provider
Alexander Monakov [Sun, 19 May 2013 10:53:52 +0000 (14:53 +0400)]
Implement libbacktrace provider

10 years agoAdd libbacktrace to third-party libs for ELF
Alexander Monakov [Sat, 18 May 2013 20:23:58 +0000 (00:23 +0400)]
Add libbacktrace to third-party libs for ELF

10 years agoAdd libbacktrace CMake build script
Alexander Monakov [Sat, 18 May 2013 15:08:43 +0000 (19:08 +0400)]
Add libbacktrace CMake build script

10 years agoAdd replacement headers for libbacktrace
Alexander Monakov [Sat, 18 May 2013 14:50:01 +0000 (18:50 +0400)]
Add replacement headers for libbacktrace

libbacktrace #include's two header files from GCC.  Provide minimal
replacements for those files.  For filenames.h, declare missing macros
assuming POSIX-style paths.  For dwarf2.h, #include system dwarf.h and
declare missing enum tags and define missing enum values as macros.

10 years agoImport libbacktrace, sans autotools build files
Alexander Monakov [Sat, 18 May 2013 09:50:15 +0000 (13:50 +0400)]
Import libbacktrace, sans autotools build files

10 years agoCleanup backtrace setup code
Alexander Monakov [Sun, 19 May 2013 08:10:40 +0000 (12:10 +0400)]
Cleanup backtrace setup code

Obtain the list of functions to backtrace from the environment on Android as
well.

11 years agoglretrace: Fix currentDrawable size book-keeping on WGL.
José Fonseca [Wed, 22 May 2013 15:24:04 +0000 (16:24 +0100)]
glretrace: Fix currentDrawable size book-keeping on WGL.

Width/height was being tampered by the window size adjustments.

11 years agosnapdiff: Avoid problems when there is a size mismatch.
José Fonseca [Wed, 22 May 2013 12:21:45 +0000 (13:21 +0100)]
snapdiff: Avoid problems when there is a size mismatch.

11 years agoglretrace: Never under-estimate the drawable dimensions (issue #127).
José Fonseca [Mon, 20 May 2013 16:53:36 +0000 (17:53 +0100)]
glretrace: Never under-estimate the drawable dimensions (issue #127).

Prevents flickering drawable sizes when they viewports alternate between
two partially overlaping rectangles.

11 years agod3dstate: Dump depth-stencil images.
José Fonseca [Mon, 20 May 2013 12:41:55 +0000 (13:41 +0100)]
d3dstate: Dump depth-stencil images.

Only the depth values are written so far.

11 years agod3dstate: Ensure COM is initialized before calling DirectXTex.
José Fonseca [Mon, 20 May 2013 12:35:23 +0000 (13:35 +0100)]
d3dstate: Ensure COM is initialized before calling DirectXTex.

As it often relies on WIC for conversion.

11 years agoglstate: Dump some of GL_ARB_vertex_attrib_binding params.
José Fonseca [Fri, 17 May 2013 08:35:53 +0000 (09:35 +0100)]
glstate: Dump some of GL_ARB_vertex_attrib_binding params.

11 years agoMerge branch 'backtrace'
José Fonseca [Mon, 13 May 2013 15:44:35 +0000 (16:44 +0100)]
Merge branch 'backtrace'

Conflicts:
common/trace_writer_local.cpp

11 years agocommon: Cleanup backtrace.
Alexander Monakov [Mon, 13 May 2013 14:35:44 +0000 (15:35 +0100)]
common: Cleanup backtrace.

There was a bool field that was caching results of 'is_backtrace_needed'
lookups.   Now that field is gone, and 'is_backtrace_needed' is called
repeatedly.  I guess it's not that bad (it boils down to a lookup in an
std::set), but that function was also printing notices for functions
with enabled stack trace recording, and now those messages are printed
repeatedly as well.  The following patch removes the notices completely
and slightly cleans up the surrounding code.

11 years agogui: Make "Details View" the default pane.
Alexander Monakov [Mon, 13 May 2013 14:33:54 +0000 (15:33 +0100)]
gui: Make "Details View" the default pane.

Instead of the "Backtrace".

11 years agoRe-add backtrace_is_needed() call.
José Fonseca [Mon, 13 May 2013 09:46:43 +0000 (10:46 +0100)]
Re-add backtrace_is_needed() call.

Removed by mistake during refactoring of commit
69909e3853c23d0ce062b6c9f232191970da9aee

11 years agoFix Android build.
Alexander Monakov [Mon, 13 May 2013 09:44:30 +0000 (10:44 +0100)]
Fix Android build.

11 years agoglstate: Create downsampled framebuffers for textures too.
José Fonseca [Fri, 10 May 2013 20:45:49 +0000 (21:45 +0100)]
glstate: Create downsampled framebuffers for textures too.

Not really tested yet, as ended up not being the problem I was trying to
fix.

11 years agoglstate: Bind the bound draw fbo for read before dumping.
José Fonseca [Fri, 10 May 2013 20:43:11 +0000 (21:43 +0100)]
glstate: Bind the bound draw fbo for read before dumping.

Otherwise we'll dump the currently bound read fbo.

11 years agoglstate: Fix typo in glBindRenderbuffer argument.
José Fonseca [Fri, 10 May 2013 20:53:52 +0000 (21:53 +0100)]
glstate: Fix typo in glBindRenderbuffer argument.

11 years agoglstate: Don't dump garbage when glReadPixels fail.
José Fonseca [Fri, 10 May 2013 20:44:07 +0000 (21:44 +0100)]
glstate: Don't dump garbage when glReadPixels fail.

11 years agoretrace: Join with runner threads before destroy runner objects.
José Fonseca [Fri, 10 May 2013 16:17:38 +0000 (17:17 +0100)]
retrace: Join with runner threads before destroy runner objects.

This fixes segfaults when exiting on windows.

11 years agoglxtrace: Fix glXBindTexImageEXT on NVIDIA.
José Fonseca [Fri, 10 May 2013 12:47:04 +0000 (13:47 +0100)]
glxtrace: Fix glXBindTexImageEXT on NVIDIA.

11 years agoMerge branch 'fork-safe' (issue #110)
José Fonseca [Fri, 10 May 2013 12:20:50 +0000 (13:20 +0100)]
Merge branch 'fork-safe' (issue #110)

11 years agoos: Prevent app from redirecting log messages.
José Fonseca [Fri, 10 May 2013 12:16:18 +0000 (13:16 +0100)]
os: Prevent app from redirecting log messages.

This happens e.g., with SurgeonSimulator2013

11 years agotrace: Check process id also when the destructor is invoked.
José Fonseca [Fri, 10 May 2013 11:27:26 +0000 (12:27 +0100)]
trace: Check process id also when the destructor is invoked.

11 years agoglretrace: Silence the warnings about unsupported GLX_EXT_texture_from_pixmap calls.
José Fonseca [Fri, 10 May 2013 09:25:42 +0000 (10:25 +0100)]
glretrace: Silence the warnings about unsupported GLX_EXT_texture_from_pixmap calls.

They should work reasonably from now on.

We should probably still warn for older traces, but it's quite obvious
anyway.

11 years agoglxtrace: Always use GL_RGBA for glXBindTexImageEXT.
José Fonseca [Fri, 10 May 2013 08:43:43 +0000 (09:43 +0100)]
glxtrace: Always use GL_RGBA for glXBindTexImageEXT.

11 years agoglxtrace: Prevent overflow in glXBindTexImageEXT fo.
José Fonseca [Fri, 10 May 2013 08:35:35 +0000 (09:35 +0100)]
glxtrace: Prevent overflow in glXBindTexImageEXT fo.

Stride needs to be 4bytes aligned.  We should probably use
GL_RGBA all the time, and avoid trouble here.

11 years agoglxtrace: Basic EXT_texture_from_pixmap support.
José Fonseca [Fri, 10 May 2013 07:28:15 +0000 (08:28 +0100)]
glxtrace: Basic EXT_texture_from_pixmap support.

Make EXT_texture_from_pixmap traces replayable, by emitting a fake
glTexImage2D calls on glXBindTexImageEXT calls.

11 years agoglxtrace: Cleanup the GLX enums.
José Fonseca [Fri, 10 May 2013 07:26:51 +0000 (08:26 +0100)]
glxtrace: Cleanup the GLX enums.

We don't need two sets of enums.

11 years agoTry to be robust against fork.
José Fonseca [Thu, 9 May 2013 17:32:37 +0000 (18:32 +0100)]
Try to be robust against fork.

11 years agoUse ndk-android-r7 for FirefoxOS builds.
Ben Kelly [Mon, 6 May 2013 17:25:15 +0000 (13:25 -0400)]
Use ndk-android-r7 for FirefoxOS builds.

Commit 7445733 added support for FirefoxOS, but appears to have been using
a newer version of the NDK than we typically build with.  The codeaurora.org
prebuilts repo we are tracking has not pulled in r8 yet and only provides r7.

For the time being it would be helpful to drop back to r7.  Admittedly, we
should probably have a better mechanism for selecting the latest version
available.

11 years agoUse ids for frames.
José Fonseca [Mon, 6 May 2013 06:25:40 +0000 (07:25 +0100)]
Use ids for frames.

So that we don't need to send the same frames over and over again.

11 years agoFix windows build.
José Fonseca [Sun, 5 May 2013 07:36:39 +0000 (08:36 +0100)]
Fix windows build.

11 years agoCleanup the backtrace representation.
José Fonseca [Sun, 5 May 2013 07:11:23 +0000 (08:11 +0100)]
Cleanup the backtrace representation.

Use strings and unsigned, instead of string values and unsigned values.

11 years agoRemove FunctionSig::backtrace member.
José Fonseca [Sat, 4 May 2013 10:10:33 +0000 (11:10 +0100)]
Remove FunctionSig::backtrace member.

Backtraces are really disjoint from signature.

This puts back const keyword in most FunctionSig usages.

11 years agoBacktrace via call detail
Eugene Velesevich [Tue, 23 Apr 2013 13:56:14 +0000 (17:56 +0400)]
Backtrace via call detail

Hello,

Changes from v3: Instead of writing the backtrace as Array, the backtrace is
now recorded as a list of stack frame nodes with optional stack frame details
(the scheme is below).

This patch implements backtrace recording during tracing, and adds support in
'apitrace dump' and QApitrace. Backtrace is obtained via platform-specific
functions (and, internally, in platform-specific format). Then it is parsed to
produce an std::vector of stack frame structs: { char *module, *function,
*filename, *linenumber, *offset } (some fields may be NULL) and is written
into the trace file in the Enter call section as a call detail:

BACKTRACE
    FRAME
        MODULE "module"
        FUNCTION "Foo"
        FILENAME "foo.cpp"
        LINENUMBER "1234"
        OFFSET "0xSDF"
    FRAME
        FUNCTION "Boo"
        // no filename line info available for this frame
END_BACKTRACE

A platform-dependent mechanism is provided to specify a set of traced
calls for which backtraces will be recorded. It is possible to specify
either function names, or prefixes of names by appending a '*' (e.g.
"glUniform*").

On Android the backtrace is retrieved from Dalvik via libdvm functions
imported at runtime.
Function set is specified in /data/apitrace.fnames, one per line.

On Linux the backtrace is retrieved via glibc backtrace(), and will not always
yield filename:linenumber information.
Function set is specified via APITRACE_BT_FUNCTIONS environment variable.

On other platforms, obtaining a backtrace is not implemented by this patch.

11 years agoImplement interposing of dlopen on Android
Alexander Monakov [Fri, 3 May 2013 17:03:27 +0000 (21:03 +0400)]
Implement interposing of dlopen on Android

Consolidate all implementations of unredirected dlopen in one place.

Use unredirected dlopen is glproc_egl.cpp as done in glproc_gl.cpp.

Check that tracing is enabled before redirecting dlopen.

Signed-off-by: José Fonseca <jose.r.fonseca@gmail.com>
11 years agoDefine _GNU_SOURCE for the whole tree.
José Fonseca [Sat, 4 May 2013 08:33:41 +0000 (09:33 +0100)]
Define _GNU_SOURCE for the whole tree.

As not all dlfnc.h includes define it consistently.

11 years agoFix Android target build on Apple hosts.
Ben Kelly [Sat, 4 May 2013 04:35:37 +0000 (21:35 -0700)]
Fix Android target build on Apple hosts.

Currently CMakeLists.txt forces CMAKE_C_COMPILER to clang whenever
compiling on an APPLE host.  Unfortunately, this prevents the
android.toolchain.cmake script from selecting the correct cross
compiler. See [line 1136][].

To avoid this problem, only force clang if ANDROID_NDK is not set.  This
is one of the variables used by Android.mk.

[line 1136]: https://github.com/apitrace/apitrace/blob/master/cmake/toolchain/android.toolchain.cmake#L1136

11 years agod3d9trace: Fix D3DPT_TRIANGLEFAN vertex count computation.
José Fonseca [Fri, 3 May 2013 09:47:39 +0000 (10:47 +0100)]
d3d9trace: Fix D3DPT_TRIANGLEFAN vertex count computation.

11 years agoTag a new release 4.0.
José Fonseca [Thu, 2 May 2013 07:05:06 +0000 (08:05 +0100)]
Tag a new release 4.0.

Mostly for the benefit of those who prefer a tagged release instead of
master.

Anyway, it has been too long since the last one.  The output of
`git shortlog..HEAD` was impressive.  Thanks to all of them who
contributed.

11 years agoglstate: Fallback to GLX when there is no current EGL context (issue #124).
José Fonseca [Sun, 28 Apr 2013 21:32:27 +0000 (22:32 +0100)]
glstate: Fallback to GLX when there is no current EGL context (issue #124).

11 years agoconvert: Add a few notes.
José Fonseca [Fri, 26 Apr 2013 11:05:05 +0000 (12:05 +0100)]
convert: Add a few notes.

11 years agod3d9trace: Fix wrapping of IDirect3DSwapChain9Ex pointers.
José Fonseca [Thu, 25 Apr 2013 15:01:48 +0000 (16:01 +0100)]
d3d9trace: Fix wrapping of IDirect3DSwapChain9Ex pointers.

PIX will complain without this.

11 years agoscripts/convert: Allow converting from PIX.
José Fonseca [Thu, 25 Apr 2013 14:22:53 +0000 (15:22 +0100)]
scripts/convert: Allow converting from PIX.

11 years agogltrace: Handle even more formats in _gl_format_channels().
José Fonseca [Fri, 26 Apr 2013 08:59:36 +0000 (09:59 +0100)]
gltrace: Handle even more formats in _gl_format_channels().

The valid formats can be found by grepping 'Accepted by the <format> ' in
OpenGL extension specs.

These were all I could find.

11 years agogltrace: Recognize GL_*_INTEGER in _gl_format_channels (issue #123).
José Fonseca [Fri, 26 Apr 2013 07:36:13 +0000 (08:36 +0100)]
gltrace: Recognize GL_*_INTEGER in _gl_format_channels (issue #123).

11 years agoAdd option '--snapshot-format=' to allow write raw RGB directly to stdout
Shuang He [Wed, 24 Apr 2013 02:01:15 +0000 (10:01 +0800)]
Add option '--snapshot-format=' to allow write raw RGB directly to stdout

This allows to create h264 video with gstreamer-vaapi very fast, and save much more disk space.
Using PNM format couldn't reach same performance, since PNM decoding seems inefficient in gstreamer.
Following are some experiment data with smokinguns demo 1920x1080 resolution on Ivybridge:
1. With png saving, it runs at around 4.5 FPS, which has compression rate 5.15x against raw RGB data
   Reference command:
        glretrace -s snapshot/ smokinguns.trace

2. Using PNM with gstreamer-vaapi, which could run at around 9 FPS, which has compression rate
   485x (QP dependent) against raw RGB data.
   Reference command:
        glretrace -s - smokinguns.trace | gst-launch-0.10 fdsrc blocksize=409600 ! queue \
        ! pnmdec ! videoparse format=rgb width=1920 height=1080 ! ffmpegcolorspace ! queue \
! vaapiupload direct-rendering=0 ! queue ! vaapiencodeh264 ! filesink location=xxx.264

3. With following command that directly write raw RGB stream and encoded into H264 video, it
   runs at around 18.5 FPS, which has compression rate 485x (QP dependent) against raw RGB data,
   Reference command:
        glretrace --snapshot-format=RGB -s - smokinguns.trace | gst-launch-0.10 fdsrc blocksize=409600 ! queue \
! videoparse format=rgb width=1920 height=1080 ! queue ! ffmpegcolorspace ! queue \
! vaapiupload direct-rendering=0 ! queue ! vaapiencodeh264 ! filesink location=xxx.264

v2: Use --snapshot-format= option to specify which format is used to write to stdout output
v3: Use enum for snapshotFormat and add example in README.markdown

11 years agod3dretrace: Give more helpful messages for d3d debug layer failures.
José Fonseca [Tue, 23 Apr 2013 17:00:40 +0000 (18:00 +0100)]
d3dretrace: Give more helpful messages for d3d debug layer failures.

11 years agoos: Be more concise with the semantics of os::abort.
José Fonseca [Tue, 23 Apr 2013 16:56:08 +0000 (17:56 +0100)]
os: Be more concise with the semantics of os::abort.

11 years agoos: Bring back the compiler TLS check.
José Fonseca [Tue, 23 Apr 2013 09:12:12 +0000 (10:12 +0100)]
os: Bring back the compiler TLS check.

Seems better than fiddling with pre-defined macros.

11 years agoglretrace: Use OS_THREAD_SPECIFIC_PTR on glws_cocoa.mm
José Fonseca [Tue, 23 Apr 2013 08:55:23 +0000 (09:55 +0100)]
glretrace: Use OS_THREAD_SPECIFIC_PTR on glws_cocoa.mm

11 years agoos: Fallback to OS TLS when compiler does not support it (issue #120).
José Fonseca [Tue, 23 Apr 2013 08:46:26 +0000 (09:46 +0100)]
os: Fallback to OS TLS when compiler does not support it (issue #120).

11 years agoos: Simplify os::thread_specific_ptr.
José Fonseca [Tue, 23 Apr 2013 08:45:02 +0000 (09:45 +0100)]
os: Simplify os::thread_specific_ptr.

Instead of mimicking boost::thread_specific_ptr, do something that allows
to mimick more closely compiler TLS support.

11 years agoRevert "Remove os::thread_specific_ptr"
José Fonseca [Tue, 23 Apr 2013 08:42:48 +0000 (09:42 +0100)]
Revert "Remove os::thread_specific_ptr"

This reverts commit 67ec200baea241d55bea33c43fd5194d90d9e401.

11 years agoMove default argument to declaration.
José Fonseca [Tue, 23 Apr 2013 13:02:42 +0000 (14:02 +0100)]
Move default argument to declaration.

Fixes clang warning "addition of default argument on redeclaration makes
this constructor a default constructor".

11 years agoSet tabstops to 8
José Fonseca [Tue, 23 Apr 2013 07:26:42 +0000 (08:26 +0100)]
Set tabstops to 8

11 years agoAdd Android.mk to aid integration with FirefoxOS
Vasil Dimov [Mon, 22 Apr 2013 14:46:54 +0000 (17:46 +0300)]
Add Android.mk to aid integration with FirefoxOS

This Android.mk is part of "Bug 831147 - Integrate apitrace into build"
https://bugzilla.mozilla.org/831147 With this addition, when apitrace
sources are cloned into B2GROOT/external/apitrace, then the FirefoxOS
build system picks up automatically apitrace, compiles and installs it
to the right place.

Signed-off-by: José Fonseca <jose.r.fonseca@gmail.com>
11 years agosnapdiff: Zoom in small images.
José Fonseca [Thu, 18 Apr 2013 19:30:49 +0000 (20:30 +0100)]
snapdiff: Zoom in small images.

Often used in tests.

11 years agoretracediff: Avoid WindowsError 5 Access is denied, when exiting.
José Fonseca [Thu, 18 Apr 2013 12:38:37 +0000 (13:38 +0100)]
retracediff: Avoid WindowsError 5 Access is denied, when exiting.

11 years agotracediff: Improve diff argument help message.
José Fonseca [Thu, 18 Apr 2013 12:38:09 +0000 (13:38 +0100)]
tracediff: Improve diff argument help message.

11 years agod3dretrace: Remove debug Sleep.
José Fonseca [Wed, 17 Apr 2013 12:47:08 +0000 (13:47 +0100)]
d3dretrace: Remove debug Sleep.

11 years agod3dretrace: Dump UINT formats too.
José Fonseca [Tue, 16 Apr 2013 18:38:00 +0000 (19:38 +0100)]
d3dretrace: Dump UINT formats too.

11 years agoGix MSVC build.
José Fonseca [Mon, 15 Apr 2013 09:19:09 +0000 (10:19 +0100)]
Gix MSVC build.

11 years agoglstate: Dump a few more parameters.
José Fonseca [Mon, 15 Apr 2013 08:23:49 +0000 (09:23 +0100)]
glstate: Dump a few more parameters.

11 years agogltrace,glretrace: Better support for indirect draws from user memory.
José Fonseca [Sun, 14 Apr 2013 14:40:01 +0000 (15:40 +0100)]
gltrace,glretrace: Better support for indirect draws from user memory.

Not really tested, though should be no worse than current situation.

11 years agogltrace: Better handling of GetPerfMonitorCounterInfoAMD
José Fonseca [Sun, 14 Apr 2013 13:45:04 +0000 (14:45 +0100)]
gltrace: Better handling of GetPerfMonitorCounterInfoAMD