[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apitrace: Changes to 'refs/tags/upstream/4.0+git20131017+3f9c2ec'



Tag 'upstream/4.0+git20131017+3f9c2ec' created by Christopher James Halse Rogers <raof@ubuntu.com> at 2013-10-17 05:50 +0000

Upstream version 4.0+git20131017+3f9c2ec
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iQIcBAABCAAGBQJSX3q6AAoJEBiz9Q/lkjwYI54P/3AvepDGiFC89HM7SurhszPC
AxHzoWN49nIPMVVCej9sIoATrVGj2xULggDuo0+dSfvJdfrdClYcrxDQGorMDhF0
84AlRaQ1QCzCZCEPbIn4gRHwqjk5UuD6+Iu2LSJ7+BcaZEZf4ERwy8lqUlNqO2Ov
9YiNU5XisXLS/dZfb6KLYUGf5KDMbwXMOgtRvi43Iwy+cb3n9TLjFtpKIjqJT8EH
ppSCfFW1+OO29A7guPq/rE5DsfFz3UbsGDeTm6QUeBu7zp0h2pCqgbFkrLWSjKJH
VOq+XR8itQ3VhAsCxFWQ0dZdtePErJHoig+e6/2DMPsA6zSF8q05b35/x2zgh906
G9rjeuQKV6d9q4YG3pNiFPP2dcWtkm7MNaSG7po3H/nZX3qfqTkv6ymb+voZCS9h
tnhH4U9JoEwfpIXQBESY/+TS/0yiMlziWp7Wq1Y2xqGlA7teg2z5eywavM+V+ROJ
6phGXR49Hv+gqgQyeDCj3e2iFj1myOhStNvC6dHld4vb1zvd8+S1nPsprI9QLowM
wvcYNrFcw6ULMASQsfxrDQbkK+t2mO/w0D53vfzjer5UcfRGNabmKqnBOnjwh2GX
eF0plrq3QaV6ppEQ2ea0WCFt1lT+mncq87B7bVBty3a7K1pzF3ZeGWJikY8mjzWR
XwpzwX3VG9BoAi3erQz1
=Pc1m
-----END PGP SIGNATURE-----

Changes since upstream/3.0+git20121018.d1c301f7:
Alexander Monakov (22):
      Improve Android tracing instructions
      Implement interposing of dlopen on Android
      Fix Android build.
      gui: Make "Details View" the default pane.
      common: Cleanup backtrace.
      Cleanup backtrace setup code
      Import libbacktrace, sans autotools build files
      Add replacement headers for libbacktrace
      Add libbacktrace CMake build script
      Add libbacktrace to third-party libs for ELF
      Implement libbacktrace provider
      Switch to libbacktrace provider
      Remove GlibcBacktraceProvider
      Use libstdc++ demangler
      egltrace/android: Fix tracing Zygote processes
      thirdparty/libbacktrace: update from upstream
      common: rename trace_backtrace.* -> os_backtrace.*
      common/backtrace: move namespace trace -> os
      common: carve out RawStackFrame::dump
      common: dump backtrace on signals
      glretrace: reapply fix for #178 to original GLX code
      cli: use $LIB to handle multilib automagically on glibc

Alexandr Akulich (4):
      gui: Small style/usability fixes.
      gui: Fix crash on trigger actions without loaded trace-file.
      gui/mainwindow: Add functions that toggle actions enables and use it.
      gui/tracedialog: Don't show warning when user cancel to browse.

Andreas Hartmetz (19):
      Introduce AttribArray, a code generator for pseudo-type attrib_list.
      Proper AttribArray / attrib_list support for applicable EGL functions.
      Proper AttribArray / attrib_list support for applicable GLX functions.
      Allow a custom terminator and support valueless keys better.
      Proper AttribArray / attrib_list support for applicable CGL functions.
      Improvements in AttribArray / attrib/list code generation.
      Use the right attrib_list terminator and support the remaining functions.
      attrib_list support for glXChooseVisual, the last GLX function.
      attrib_list support for WGL function wglCreateContextAttribsARB.
      More WGL support. It's ugly and the resulting code probably doesn't compile.
      Warn on unknown attrib_list keys.
      Update GLX attrib_list support from GLX 1.3 to 1.4.
      GLX: More consistent naming of an AttribArray.
      Remove the now unused _AttribList_size.
      Allow float-based attrib_lists as found in WGL.
      WGL: Support float-based attrib_list parameters.
      Remove the last helper for the old incomplete attrib_list support.
      Use the correct terminator EGL_NONE for eglChooseConfig attrib_list.
      Trivial formatting / consistency fixes.

Ben Kelly (2):
      Fix Android target build on Apple hosts.
      Use ndk-android-r7 for FirefoxOS builds.

Carl Worth (49):
      Move static boolOption function to trace::boolOption
      glretrace: Use getopt rather than manual parsing of command-line options
      Move trace::findWrapper to trace_resource.cpp
      dump-images: Execute glretrace from source dir when running uninstalled
      cli: Add a simple "apitrace replay" sub-command.
      trim: Add framework for performing dependency analysis while trimming
      trim: Complain if given extraneous arguments.
      trim: Prune uninteresting calls while trimming (unless --no-prune is passed)
      trim: Add a more condensed usage message for error cases.
      trim: Avoid doing any analysis past the end of the user-specified range.
      trim: Trim most drawing operations outside of the user-specified range
      trim: Close some memory leaks.
      trim: Drop unused textures while trimming.
      trim: Add support for trimming out unused shaders.
      trim: Fix bug linking incorrect programs to shaders through samplers.
      trim: Abstract common stringstream idioms into shared functions.
      trim: Add a --frames option for selecting frames to trim.
      trim: Add a new --print-callset option.
      trim: Perform correct state tracking for glActiveTexture
      trim: Conservatively make shader programs depend on textures
      trim: Add support for display lists.
      trim: Never trim any textures bound within a display list.
      trim: Never trim any glBindTexture calls.
      trim: Move TraceAnalyzer out of cli_trim.cpp into its own file.
      trim: Print a warning message when doing dependency analysis.
      trim: Move explanatory message from stdout to stderr.
      trim: Avoid trimming textures when referenced by a framebuffer object
      glretrace, dump-images: Accept --call-nos=no to get snapshots with call numbers
      glretrace: Use GL_TIMESTAMP (if available) for CPU profiling.
      trim: Fix short command-line option -a for "apitrace trim"
      trim: Add a new --trim-spec option for fine-grained trimming
      trim: Trim swapbuffers calls when --trim-spec=drawing
      replay: Support applications mixing glCreateProgramObjectARB and glUseProgram
      cli: Rename "apitrace retrace" to "apitrace replay".
      cli: Add an alias mechanism and alias "retrace" to "replay"
      qapitrace: Support executing glretrace on a remote target host.
      glretrace: Flush outstanding requests when waiting for user input.
      replay: Add a --loop option to repeatedly loop over the final frame
      trim --prune: Look at FLAG_NO_SIDE_EFFECTS rather than FLAG_VERBOSE
      trim: Don't consider a SwapBuffers call has having no side effects
      trim: Greatly expand the list of calls considered to have no side effects
      trim: Fix early-bailout bug when accepting both --calls and --frames
      Fix sorting of callFlagTable
      trim: Add --no-deps, --no-prune, and --exact options.
      trim: Enable dependency analysis (--auto) by default.
      trim: Use custom skiplist for required list (instead of std::set<unsigned>)
      Extend trim::CallSet with a new range-based add method.
      Rename trim::CallSet to trace::FastCallSet
      Use skiplist-based FastCallSet within trace::CallSet

Cass Everitt (1):
      glretrace: swizzle locations into uniform arrays.

Chad Versace (2):
      egltrace/android: Fix tracing Zygote processes (v2)
      specs: Recognize GL_PROGRAM_BINARY_LENGTH

Chirayu Desai (1):
      Update android.toolchain.cmake to upstream commit fd1f7055f8b7338644d58d9a2015a784dfa3a5ca

Christopher James Halse Rogers (1):
      Imported Upstream version 4.0+git20131017+3f9c2ec

Eugene Velesevich (1):
      Backtrace via call detail

Gregory Hainaut (2):
      eglretrace: Fix some EGL typos.
      gltrace: Prevent crash in _glGetDebugMessageLog_length (issue #140).

Imre Deak (4):
      don't call glGetError if there is no active context
      mt retrace: add workqueue support
      mt retrace: add support for multi-threaded playback
      gles: track gl buffer contents in a shadow buffer

Jeff Muizelaar (2):
      Add some missing DXGI and D3D11.1 api
      d3dretrace: Add state dumping support for ID3D11DeviceContext1

Jerome Glisse (1):
      retrace: Add single thread option.

José Fonseca (507):
      Draft D2D trace support.
      Get d2d to build on MinGW.
      Fix Mingw64 build.
      Tweak d2d1 specs.
      Fix MSVC build.
      Trace dwrite.dll too.
      More D2D spec tweaks.
      Merge branch 'master' into d2d
      More MinGW<->DXSDK compatability fixes.
      Merge branch 'master' into d2d
      Fix *CreateFactory's tracing.
      Fix assertion failure.
      Try to cope with unwrapped objects.
      Merge branch 'master' into d2d
      Merge branch 'master' into d2d
      Support apps that use DXVA.
      Recognize IDirect3DSwapChain9::Present as end of frame
      Define all D2D/DWRITE GUIDs
      Merge remote-tracking branch 'github/master' into d2d
      Make glretrace trace-friendly.
      Handle nested glErrors.
      Handle GL_ARB_vertex_array_bgra better.
      Fix array swizzling.
      Determine core32 from the traces.
      Fix CGLChoosePixelFormat attribute parsing.
      Kill currentDrawable.
      glretrace: Put currentContext on TLS.
      Be nice to Eclipse error message parser.
      Link to homepage.
      Don't show pbuffers in windows.
      Add and use os::mutex.
      Condition variable abstraction.
      Remove links from README.
      Attempt to track pages via http://githalytics.com/
      Implement and use os::thread.
      Implement missing threading primitive for Windows.
      Fix creation of shared WGL contexts.
      Simplify TLS.
      Handle visual creation errors.
      Ignore OpenGL core 3.2 requirement on Windows.
      Don't dump ignored functions when retracing.
      Call XInitThreads.
      Don't parse concurrently with retracing.
      Prefer clang on MacOSX.
      Remove unnecessary header.
      Ensure each thread has its own NSAutoreleasePool.
      Keep the view pointer in the drawable.
      Force Cocoa to enter multithreaded mode.
      Remove supurious struct keyword.
      Fix compilation with clang.
      Use compiler TLS support.
      Silence glXGetFBConfigAttrib calls.
      Fix current context tracking.
      Use compiler TLS for thread_id tracking.
      Use compiler TLS for GL tracing.
      Ignore CGLUpdateContext
      Make code more robust against multiply bound CGL contexts.
      Disassemble D3D10.1 shaders too.
      Be nice to Eclipse error message parser.
      Don't show pbuffers in windows.
      Fix creation of shared WGL contexts.
      Handle visual creation errors.
      Ignore OpenGL core 3.2 requirement on Windows.
      Don't dump ignored functions when retracing.
      Keep the view pointer in the drawable.
      Remove supurious struct keyword.
      Silence glXGetFBConfigAttrib calls.
      Ignore CGLUpdateContext
      Disassemble D3D10.1 shaders too.
      Merge remote-tracking branch 'github/master' into mt-trace
      Don't let android cmake toolchain screw up the binary output path.
      Dump GL_TEXTURE_STENCIL_SIZE state.
      Dump GL_TEXTURE_STENCIL_SIZE state.
      More efficient synchronous multi-threading.
      Allow NaN, Infinity in JSON.
      Update bundled QJson
      Always use bundled QJson.
      Don't destroy current EGL context.
      Merge branch 'master' into mt-trace
      Cleanup and comment the code.
      Dump thread ids on retrace.
      Don't mess with QJSON_EXPORT
      Dump symbolic aliases for internalFormats 1..4.
      Dump depth textures as a single image (issue #97).
      Print a clear message when X11 is not found (to help debug issue #99)
      Mention EGL cases on readme.
      Update documentation for D3DPERF_XXX
      Fix QJSON linkage on Windows builds.
      Support grayscale PNM in retracediff.py
      Cleanup shadow buffers.
      Remove os::thread_specific_ptr
      Avoid Win32 conditional variables.
      Don't rely on D3D private data mechanism.
      Avoid uint8_t.
      Rename d3dsize.hpp to d3d9size.hpp
      Trace d3d10.x maps.
      d3d10: Take mip level in consideration.
      d3d10: Trace blobs for initial data.
      d3d10trace: Fix 1D textures size calculations.
      d3d10: Trace UpdateSubResource blobs.
      Fix dxgi specs.
      Merge branch 'master' into dxva
      dxva: Eliminate the globals hack.
      Merge branch 'master' into d2d
      d3d10/d3d11: Correct out pointers.
      dxva: Fix build for older dxsdk
      d3d10: Fallback to D3D10DisassembleShader.
      d3d11: Catch up with d3d10.
      d3d1x: Rename d3d10shader -> d3dcommonshader.
      d3d11: Trace initial data blobs.
      d3dretrace: Add d3d9 prefix to d3d9 specific files.
      d3dretrace: Basic d3d10 support.
      Don't defer arguments when functions fail.
      d3d10/d3d11: Add sideeffects/internal attributes to specs.
      d3d10,d3d11: Rudimentary retrace support.
      retrace: More useful warnings for object mismatches.
      d3d11: Trace UpdateSubresource blobs.
      d3dretrace: Fix MSVC build.
      gui: Make FrameDataProvider destructor virtual.
      snappy: Always build with NDEBUG define.
      gltrace: Don't use struct for Context.
      Merge branch 'd2d'
      specs: Use StdMethod accurately.
      d3d1x: Cleanup specs.
      specs: Allow an API to spread across multiple modules.
      d2d: Eliminate custom tracers.
      ddraw: Remove custom tracer.
      d3dretrace: Eliminate differences between d3d9/d3d10.
      gl: Handle ClearBufferData blobs.
      os: DLL abstraction.
      d3dretrace: Allow multiple dispatches in the same file.
      d3dretrace: Eliminate dependencies from d3d9state.
      d3dretrace: Single retrace for d3d10 and higher
      d3dretrace: Drop retraceModule helper
      d2d1,dwrite: Trace both APIs together.
      d3dretrace: Merge d3d9 and d3d10 retracing.
      trace: Fix thinko on error checking.
      d2d: Make it actually work.
      d3dretrace: Handle Software devices.
      retrace: More diagnostic information.
      d2d: Silence MinGW linker warnings.
      d3d11: Export DXGI entrypoints.
      wrappers: Cleanup .def files formating.
      Update use/mention of options.
      Merge branch 'modules'
      d3d11: Fix map swizlling.
      retrace: Allow multiple dumpers to co-exist.
      parse: recognize more rendering calls.
      d3dretrace: Basic D3D11 snap-shooting.
      parse: More flags.
      d3dretrace: More robust against DXGI missing calls.
      retrace: Fix MSVC build.
      os: Fix thread copy constructor.
      gui: Silence unused var warning.
      retrace: Use different methods for writing int/floats.
      d3d11: Several spec fixes.
      specs: Mark CheckMultisampleQualityLevels as no side effects / verbose.
      d3d11: Ensure IDXGIFactory1 interface is not forgotten.
      doc: Update examples to use call 0.
      tracediff: Merge tracediff2.py and tracediff.py
      gltrace: Respect length argument in glShaderSource(ARB)
      gltrace: Rely on polymorphism for indices instead of special case.
      pickle: Try to silence clang warnings.
      d3d8: Update specs to match d3d9.
      d3d8: Add missing d3d8size.hpp file.
      d3d: And d3dcommonsize.hpp too.
      cli: Rename replay -> retrace.
      cli: Rename replay -> retrace.
      d3d10/d3d11: Use consistent members for buffer views.
      specs: Initial attempt to support unions.
      d3d10/d3d10_1: Expose DXGI entrypoints.
      d3dretrace: Dump d3d10 snapshots too.
      dxgi: Support tracng DWM process.
      d3d10: Add missing flags.
      d3d10/d3d11: Complete union support.
      dump: Pretty print anonymous structure members.
      Merge branch 'union-type'
      d3d10,d3d11: Take the UpdateSubresource box in full consideration.
      cli: Guess the retrace excutable adequate for the trace.
      cli: Auto-detect retrace for dump-images too.
      cli_retrace: Forward all options to retrace program.
      docs: Eliminate most references to glretrace.
      s/UNINTERESTING/VERBOSE/
      trim: Retain exact as default behaviour.
      d3d11: Set out flag for output object arrays.
      retrace: Just warn in face of an unexpected non-null object.
      retrace: Dump call number on exceptions.
      dxgitrace: Merge tracing of all DXGI related APIs.
      trace: Catch attempts to call unimplemented methods.
      d3dretrace: Try to match the window size in the dxgi traces.
      d3dtrace: Smarter tracking of interface wrappers.
      trace: Silence object wrap debug messages.
      dxgitrace: Fix build when recent d3d10 versions are not available.
      d3dretrace: Use consistent filenames.
      d3d8trace: Further tweaks to the spec.
      d3dretrace: Basic d3d8 support.
      cmake: Fix MSVC build.
      d3dretrace: Prevent ScopedAllocator::alloc<D3DPRESENT_PARAMETERS> clash.
      d3dtrace: Prevent clashes in method signature IDs.
      ddraw: Fix DDPIXELFORMAT.MultiSampleCaps spec.
      d3dstate: Fix thinko on stage resource MiscFlags.
      d3dretrace: Allow to force a driver type.
      retracediff: Allow passing driver and arbitrary options to retrace.
      specs: Drop d3d10effect and d3d10shader.
      d3dtrace,d3dretrace: Move shader disassembly helpers to common location.
      d3dtrace,d3dretrace: Remove D3DX9 headers.
      d3dretrace: Backout temporary debugging code.
      d3d10: Ignore D3D10CreateBlob.
      d3dretrace: Release d3d9 shader objects.
      glstate: Use stringstream for holding the temporary PNG images.
      image: Make PNG writing an Image method.
      state: Drop several unused json image members.
      retrace: Move JSON write implementation to a .cpp file.
      retrace: Factor out image json dumping into json.cpp.
      gui: Take all state in consideration when determining it is empty.
      d3d10state: Dump rendertargets.
      d3d10state: Dump shaders.
      d3dretrace: Dump d3d10 geometry shaders.
      specs: Minor tweaks to d3d7-9 specs.
      d3dstate: Fix MSVC build.
      specs: A few more tweaks to D3D specs.
      Merge branch 'master' into trim-auto
      d3dretrace: Dump D3D11 images/shaders too.
      inject: Use DLL injection for D3D10+ tracing.
      os: Use CLOCK_MONOTONIC
      d3dretrace: Remove left ofer redundant code.
      d3d9state: Dump rendertarget images to JSON.
      gui: Drop console on Windows.
      d3dretrace: Use debugging when available.
      d3dretrace: Fix driver overriding when pAdapter is non-NULL.
      tracediff: Fix python differ to not highlight when stdout is not a tty
      specs: A few more tweaks to D3D specs.
      tracediff: Fix python differ to not highlight when stdout is not a tty
      cli: Merge trace_resource.cpp and trace_tools_trace.cpp in.
      image: Move image code into its own module.
      cli: Move pickle.hpp in.
      cli: Remove dead files.
      Drop API_D3D10/11.
      image: Add forgotten CMakeLists.txt
      common: Recognize Create* as DirectX call.
      thirdparty/directxtex: Import DirectXTex library.
      directxtex: Build with cmake.
      directxtex: Don't redefine NOMINMAX.
      directxtex: Fix include filename case.
      directxtex: Get it building on MinGW.
      d3d11state: Use DirectXTex for format conversion.
      qapitrace: Fix histogram tooltip for profiles with small number of calls.
      qapitrace: Adjust PATH only once and for all.
      qapitrace: Determine binary dir in run-time.
      cmake: Move the binary/installs definitions to CLI.
      glretrace: Remove the gpu/cpu time syncing code.
      Merge remote-tracking branch 'github/timestamp'
      Merge branch 'trim-auto'
      Install all thirdparty licenses.
      scripts: Install all of them.
      scripts: Don't install bogus sample.py
      d3d9state: Upack D3DFMT_R5G6B5 too.
      d3dretrace: Follow --driver option for d3d8/d3d9 too
      scripts: New script to convert to PIX.
      scripts: Add some missing code.
      d3dretrace: Dump D3D8 images too.
      d3dretrace: presents may flip so set CALL_FLAG_SWAP_RENDERTARGET flag.
      cli: Fix MSVC build.
      Update downloads link.
      retrace: Split ScopedAllocator into its own header.
      gltrace/retrace: Full support for variable length parameters.
      gltrace: Support GL_(NUM_)PROGRAM_BINARY_FORMATS (issue #104).
      gltrace: Recognize more ES parameters.
      gltrace: Prevent use of uninitialised variable.
      cli: Update description of windows trace apis.
      cli: Inject DLL on windows by default.
      os: Cast pthread_create's arg parameter.
      glretrace: Ignore a few more CGL calls.
      glretrace: Fix snapshots on GL 3.2 core contexts (issue #106).
      d3dretrace: Recognize IDirect3DDevice9Ex::PresentEx as frame terminator.
      glstate: Cleanup the read buffer selection code slightly.
      Update Android instructions.
      d3dtrace: Recognize YV12 format.
      d3dtrace: Fix DXVA2_DecodeExecuteParams::pCompressedBuffers spec.
      specs/dxva: Try to define DXVA2_PVP_SETKEY.
      Get DWM traces working.
      trace_parser: More comprehensive debug output.
      d3dretrace: Replay IUnknown::AddRef/Release methods faithfully.
      d3dretrace: Cope with _MAP_FLAG_DO_NOT_WAIT flags.
      inject: Add define to use environment var instead of shared memory.
      inject: Always output warning messages to debug output.
      trace: Remove unused Trace::unwrapRet method.
      trace: Unwrap all args before serializing them.
      Serialize swapchain dimensions.
      d3dretrace: Force DWM traces to run on a window.
      dxgitrace: Generalize the swapchain size for the entry functions too.
      Update news for new nomenclature.
      Merge branch 'directxtex'
      d3dretrace: Use DirectXTex for d3d10 state too.
      directxtex: Fix MinGW64 build.
      glretrace: Fix dumping of cube map FBO attachements.
      glretrace: Fix several problems with the earlier commit.
      cmake: Fix D2D include path w/ Visual Studio 2012.
      dispatch: Compensate for broken GL headers in Visual Studio 2012
      glretrace: Fix cpu timings when not measuring gpu times.
      common: Set flags for D3D11.1 calls too.
      common: Add more comments.
      Add a high-level overview of apitrace source tree.
      Add per-directory synopsis.
      gltrace: Handle negative lengths in glShaderSource* (issue #116).
      cli: Fix script search for out of source build.
      gui: Handle calls stranded between frames gracefully (issue #117).
      Rename Android.markdown to Dalvik.markdown.
      cmake: Update android.toolchain.cmake from upstream (issue #115).
      gui: Fix includes.
      Cleanup README formatting.
      gltrace,glretrace: Properly handle PBOs with GL_EXT_direct_state_access.
      gltrace,glretrace: A few more tweaks to (no) side-effects flags.
      gltrace: Handle negative lengths in glDebugMessageInsert* (issue 119).
      gltrace: Respect all string length parameters.
      gltrace: Better handling of GetPerfMonitorCounterInfoAMD
      gltrace,glretrace: Better support for indirect draws from user memory.
      glstate: Dump a few more parameters.
      Gix MSVC build.
      d3dretrace: Dump UINT formats too.
      d3dretrace: Remove debug Sleep.
      tracediff: Improve diff argument help message.
      retracediff: Avoid WindowsError 5 Access is denied, when exiting.
      snapdiff: Zoom in small images.
      Set tabstops to 8
      Move default argument to declaration.
      Revert "Remove os::thread_specific_ptr"
      os: Simplify os::thread_specific_ptr.
      os: Fallback to OS TLS when compiler does not support it (issue #120).
      glretrace: Use OS_THREAD_SPECIFIC_PTR on glws_cocoa.mm
      os: Bring back the compiler TLS check.
      os: Be more concise with the semantics of os::abort.
      d3dretrace: Give more helpful messages for d3d debug layer failures.
      gltrace: Recognize GL_*_INTEGER in _gl_format_channels (issue #123).
      gltrace: Handle even more formats in _gl_format_channels().
      scripts/convert: Allow converting from PIX.
      d3d9trace: Fix wrapping of IDirect3DSwapChain9Ex pointers.
      convert: Add a few notes.
      glstate: Fallback to GLX when there is no current EGL context (issue #124).
      Tag a new release 4.0.
      d3d9trace: Fix D3DPT_TRIANGLEFAN vertex count computation.
      Define _GNU_SOURCE for the whole tree.
      Remove FunctionSig::backtrace member.
      Cleanup the backtrace representation.
      Fix windows build.
      Use ids for frames.
      Try to be robust against fork.
      glxtrace: Cleanup the GLX enums.
      glxtrace: Basic EXT_texture_from_pixmap support.
      glxtrace: Prevent overflow in glXBindTexImageEXT fo.
      glxtrace: Always use GL_RGBA for glXBindTexImageEXT.
      glretrace: Silence the warnings about unsupported GLX_EXT_texture_from_pixmap calls.
      trace: Check process id also when the destructor is invoked.
      os: Prevent app from redirecting log messages.
      Merge branch 'fork-safe' (issue #110)
      glxtrace: Fix glXBindTexImageEXT on NVIDIA.
      retrace: Join with runner threads before destroy runner objects.
      glstate: Don't dump garbage when glReadPixels fail.
      glstate: Fix typo in glBindRenderbuffer argument.
      glstate: Bind the bound draw fbo for read before dumping.
      glstate: Create downsampled framebuffers for textures too.
      Re-add backtrace_is_needed() call.
      Merge branch 'backtrace'
      glstate: Dump some of GL_ARB_vertex_attrib_binding params.
      d3dstate: Ensure COM is initialized before calling DirectXTex.
      d3dstate: Dump depth-stencil images.
      glretrace: Never under-estimate the drawable dimensions (issue #127).
      snapdiff: Avoid problems when there is a size mismatch.
      glretrace: Fix currentDrawable size book-keeping on WGL.
      retrace: Output message when swizzled objects are deleted.
      d3dretrace: Output human legible strings from HRESULT.
      dispatch: Silence warning about unused function.
      retrace: Create snapshot directory if it does not exist.
      tracecheck: Stop relying on retrace '-c' option.
      scripts: Simple script to extract PNG files from the JSON state dumps.
      common: Fix C pre-processor logic.
      common: Add copyright headers to trace_backtrace.hpp
      Merge branch 'libbacktrace'
      libbacktrace: Fix out of source builds.
      egltrace: Consolidate enum definitions.
      egltrace: Refresh EGLenum from upstream.
      scripts: Make gltxt.py parse EGL specs correctly (issue #134).
      specs: Reorder glapi.py functions.
      specs: Ensure query ids are swizzled when replaying.
      glretrace: Make glTransformFeedbackAttribsNV replayable.
      specs: Add a few recent extensions.
      specs: GL_VERTEX_ATTRIB_ARRAY_INTEGER param is a boolean
      libbacktrace: Tweak the CMakeLists.txt
      libbacktrace: Ignore generated headers.
      dxgiretrace: Swizzle IDXGISurface maps.
      Mention both ffmpeg & libav.
      glstate: Handle GL_COMPUTE_SHADER.
      gltrace: Add specs for a few more extensions.
      glretrace: Swizzle more object names.
      glretrace: Try to swizzle GL_ARB_copy_image name parameters.
      egltrace: Support GL_EXT_multisampled_render_to_texture (issue #134).
      dxgi(re)trace: Organize mapping info into a structure.
      dxgitrace: Handle simultanous D3D11 maps.
      cli: Prevent NULL pointer deref when trace verbose output is enabled.
      cli: Allow to use `apitrace trace` from MSVC build directories.
      glstate: Flush previous GL errors before trying to get parameters.
      glstate: Pick a face when dumping cube map level parameters.
      glstate: Dump parameters for array and multisample texture targets.
      glstate: Recognize GL_ARB_program_interface_query params.
      retrace: Don't try to recreate existing directories.
      doc: Mention optional linux dependencies.
      cgltrace: Add prototypes for all undocumented functions.
      cgltrace: DYLD_INSERT_LIBRARIES -> DYLD_INTERPOSE
      retrace: Remove the -c/--compare=PREFIX .
      glstate: Avoid inlining so much code.
      glstate: Use helper function for flushing GL errors.
      convert: Fix issues convertin trace -> pix.
      retrace: Don't output color when stdout is not a tty (issue #143).
      cli: Fix typo in earlier commit.
      glstate: Skip GL_COMPRESSED_TEXTURE_FORMATS when GL_NUM_COMPRESSED_TEXTURE_FORMATS is zero.
      gltrace: Expose marker functions when tracing is disabled.
      Mention CMAKE_BUILD_TYPE on build instructions.
      Document what to expect in terms of trace size and CPU overhead.
      gltrace: Also use dlopen.hpp for glxtrace.
      gltrace: Emit fake glViewport/glScissor calls the first time a context is bound.
      cli: Don't replace, but instead prepend the environment variable.
      d3dretrace: Handle deferred d3d11 contexts better.
      Cleanup known issues.
      Update homepage link.
      Prevent infinite recursion with Steam's overlay.
      Fix trim doc.
      Tweak the dev docs.
      Use rand() on windows.
      os: Improve String with more comments and checks.
      os: Ensure len is properly computed on all getProcessName code paths.
      Document the need to keep tracing robust.
      Several documentation fixes.
      d3d9trace: Improve D3D9 shader size computation.
      Only unbind dumpers when objects are truly released.
      Retry creating D3D10/11 devices without debug flags.
      d3dretrace: Dump d3d10 PS resource shader views.
      d3dretrace: Dump D3D11 textures too.
      Use consistent cpp logic for including backtrace.h
      gui: Allow to edit strings.
      glxtrace: Trace GLX_NV_present_video/GLX_NV_video_output/GLX_NV_video_capture calls minimally.
      wgltrace: Update wglapi.py from specs.
      d3dstate: Remove spurious statements.
      directxtex: Fix assertion failures on MinGW.
      d3dstate: Dump compressed D3D10/11 textures.
      cli/trim: Fix error message.
      cli/sed: Very basic stream editing of traces.
      Aggregate all info on debugging into a single place.
      glstate: Better support for integer textures dumps.
      glstate: Try to match the number of channels in internal format.
      wgltrace: Prevent duplicate variable declaration.
      Merge branch 'attrib_list'
      wgltrace: Simplify pixel format attrib description.
      glretrace: Silence warning on wgl.
      cgltrace: Fix CGLChoosePixelFormat prototype.
      gltrace: Simplify AttribArray further.
      Re-enable rtti again.
      Use EGLAttribArray all the time.
      cli: Fix sed message.
      Check for ARB_sampler_objects before dumping its state.
      retracediff: Only diff state if specified by command line option.
      d3dretrace: Dump textures of all shader stages.
      d3dretrace: Fix MSVC build.
      image: Fix reading of PNG images with different number of channels.
      image: Move helpers to respective modules.
      image: Allow to read PNG from a C++ stream.
      image: Add floating point support.
      gui: load image data via the Image class.
      d3dretrace: Fix MinGW build.
      d3dretrace: Fix MinGW build.
      image: Fix allocation of floating point images.
      image: Support reading PFM images.
      ui: Handle float images in dumps.
      glretrace: Dump depth buffers as floating point images.
      d3dretrace: Dump DXGI_FORMAT_R32G32B32A32_FLOAT images in floating point.
      image: Fix PNM dumping for 2/4 channels.
      image: Write the scale factor / endianness line for PFM too.
      image: Yet another fix for the PFM dumping.
      retracediff: Support floating point images.
      image: Non-standard PNM format variant for 4-float images.
      d3dretrace: Make --driver work correctly on DXGI1.1
      retracediff: Dump mismtached float images to stdout.
      d3dretrace: Make --driver work correctly on DXGI1.1
      Rescale the image pixels using the full precision.
      Merge branch 'hdr-dump'
      d3dretrace: Eliminate buffer overflow converting D3DFMT_R5G6B5.
      os: Fix missing os::dump_backtrace symbol in Android builds.
      cmake: Link ${LIBBACKTRACE_LIBRARIES} once.
      backtrace: Allow to build without libbacktrace.
      d3dretrace: Dump D3D9 depth stencil.
      d3dretrace: Dump D3DFMT_D32F_LOCKABLE too.
      glretrace: Always pass a format appropriate for the internalFormat when reading pixels.
      glretrace: Remove spurious line in previous commit.
      glstate: Dump a few object labels.
      eglretrace: Fix window size hints problem.
      Update documentation for object label support.
      glstate: Dump more object labels.
      cli: Don't use the DLL injection method for OpenGL on Windows 8.
      glretrace: Fix object label dumping.
      d3dretrace: Dump D3D10 depth stencil surfaces as float.
      gltrace: Better tracing of GLX context attribs.
      cli: Fix invalid option message.
      gui: Fix debug build.
      readme: Provide a GLEW_KHR_debug example instead of GLEW_GREMEDY_string_marker.
      gui: Prevent assertion failure on debug builds.
      readme: Mention KHR_debug for GLES too.
      gui: Group on glPush/PopGroupMarkerEXT too.
      Update to zlib version 1.2.8.

Laurent Carlier (1):
      cmake: Check for libproc library name

Lawrence L Love (1):
      apitrace README.markdown correct some typos

Mark Kilgard (2):
      support program queries used by Cg Toolkit
      support NV_path_rendering and indexed EXT_direct_state_access

Mike Stroyan (2):
      Fix defineShadowBufferHelper for buffer objects
      Fix renderbuffer parameter type

Min-Yu Huang (1):
      Take GL_SAMPLER_BINDING in consideration.

Nigel Stewart (11):
      Ubuntu 12.04 reports ffmpeg as deprecated, use avconv instead.
      Fix documentation typo.
      Resolve some MS compiler warnings (in picky mode)
      common: Add platform #ifdefs for non-cmake build convenience.
      Resolve C4267 MS compiler warnings
      Support for Mac OS X 10.5 Leopard
      Replace dynamic_cast with virtual functions.
      glretrace: GLX and WGL support for ES2/EGL traces.
      glimports: Check for iOS and skip OpenGL and CGL as appropriate.
      Build: Disable RTTI support at build-time to discourage the use of dynamic_cast, etc
      Build fixes for VS2013

Peter Lohrmann (6):
      Add note about Qt and Windows 64 bits builds.
      Delete the file object if the trace file could not be loaded due to being an unsupported (newer) version.
      qapitrace: Add option to replay in singlethreaded mode
      trace: Additional support for GL_KHR_debug, GL_ARB_debug_output, and GL_AMD_debug_output.
      trace: Better fallback of glGetDebugMessageLog*
      trace: Protect against uninitialized pointers if debug extensions are not exposed by the underlying driver and the user is attempting to query for a message log or object label.

Rob Clark (2):
      image: make getDrawBufferImage() work for ES or !ARB_draw_buffers
      gui: Link against pthread.

Shuang He (2):
      Extend profiling tool to support Vsize and Rss memory usage profile per call
      Add option '--snapshot-format=' to allow write raw RGB directly to stdout

Vasil Dimov (4):
      Add Android.mk to aid integration with FirefoxOS
      In Android.mk: skip if cmake is not present
      In Android.mk: explicitly specify the toolchain
      Skip apitrace from FirefoxOS if NDK is not present

Vinjn Zhang (1):
      Fix pre-processor logic.

Vladimír Vondruš (1):
      libbacktrace: Fix compilation failure (issue #137).

Zack Rusin (5):
      gui: Implement a new surface viewer
      gui: show the original pixel values in the surface viewer
      gui: make sure that the alpha channel is initialized
      Implement grouping of calls.
      gui: fix pixel info on flipped images

---
 .lvimrc                                                   |    1 
 Android.mk                                                |   93 
 BUGS.markdown                                             |   45 
 CMakeLists.txt                                            |  219 
 DEVELOPMENT.markdown                                      |  100 
 Dalvik.markdown                                           |   71 
 INSTALL.markdown                                          |   27 
 NEWS.markdown                                             |   20 
 README.markdown                                           |  326 
 cli/CMakeLists.txt                                        |   35 
 cli/README.markdown                                       |    1 
 cli/cli.hpp                                               |    2 
 cli/cli_diff.cpp                                          |    4 
 cli/cli_diff_images.cpp                                   |    4 
 cli/cli_diff_state.cpp                                    |    6 
 cli/cli_dump.cpp                                          |   31 
 cli/cli_dump_images.cpp                                   |   69 
 cli/cli_main.cpp                                          |   22 
 cli/cli_pickle.cpp                                        |    3 
 cli/cli_repack.cpp                                        |    2 
 cli/cli_resources.cpp                                     |  199 
 cli/cli_resources.hpp                                     |   46 
 cli/cli_retrace.cpp                                       |  151 
 cli/cli_retrace.hpp                                       |   46 
 cli/cli_sed.cpp                                           |  308 
 cli/cli_trace.cpp                                         |  225 
 cli/cli_trim.cpp                                          |  416 
 cli/pickle.hpp                                            |  331 
 cli/trace_analyzer.cpp                                    |  767 
 cli/trace_analyzer.hpp                                    |  114 
 cmake/FindDirectX.cmake                                   |   16 
 cmake/FindQJSON.cmake                                     |   44 
 cmake/toolchain/android.toolchain.cmake                   | 1325 -
 common/formatter.hpp                                      |    4 
 common/image.cpp                                          |   84 
 common/image.hpp                                          |  117 
 common/image_bmp.cpp                                      |  139 
 common/image_png.cpp                                      |  315 
 common/image_pnm.cpp                                      |  163 
 common/os.hpp                                             |   21 
 common/os_backtrace.cpp                                   |  486 
 common/os_backtrace.hpp                                   |   47 
 common/os_dl.hpp                                          |   89 
 common/os_memory.hpp                                      |   67 
 common/os_posix.cpp                                       |   53 
 common/os_process.hpp                                     |   26 
 common/os_string.hpp                                      |   79 
 common/os_thread.hpp                                      |  304 
 common/os_time.hpp                                        |    2 
 common/os_win32.cpp                                       |   24 
 common/pickle.hpp                                         |  325 
 common/trace_api.hpp                                      |    4 
 common/trace_callset.cpp                                  |    5 
 common/trace_callset.hpp                                  |   54 
 common/trace_dump.cpp                                     |   43 
 common/trace_fast_callset.cpp                             |  209 
 common/trace_fast_callset.hpp                             |   95 
 common/trace_file.hpp                                     |    9 
 common/trace_file_read.cpp                                |   20 
 common/trace_file_snappy.cpp                              |   20 
 common/trace_file_zlib.cpp                                |   22 
 common/trace_format.hpp                                   |   27 
 common/trace_loader.cpp                                   |    2 
 common/trace_model.cpp                                    |   16 
 common/trace_model.hpp                                    |   81 
 common/trace_option.cpp                                   |   53 
 common/trace_option.hpp                                   |   37 
 common/trace_parser.cpp                                   |  147 
 common/trace_parser.hpp                                   |    8 
 common/trace_parser_flags.cpp                             |  365 
 common/trace_profiler.cpp                                 |   80 
 common/trace_profiler.hpp                                 |   26 
 common/trace_resource.cpp                                 |   85 
 common/trace_resource.hpp                                 |   45 
 common/trace_tools.hpp                                    |   48 
 common/trace_tools_trace.cpp                              |  218 
 common/trace_writer.cpp                                   |   38 
 common/trace_writer.hpp                                   |    6 
 common/trace_writer_local.cpp                             |   65 
 common/trace_writer_local.hpp                             |   42 
 common/trace_writer_model.cpp                             |    7 
 dispatch/README.markdown                                  |    9 
 dispatch/d2dimports.hpp                                   |   98 
 dispatch/d3d10_1imports.hpp                               |    7 
 dispatch/d3d10imports.hpp                                 |    5 
 dispatch/d3d11imports.hpp                                 |    2 
 dispatch/d3d8imports.hpp                                  |   39 
 dispatch/d3d9imports.hpp                                  |    5 
 dispatch/dispatch.py                                      |   22 
 dispatch/dlopen.hpp                                       |   66 
 dispatch/dxgiint.h                                        |   62 
 dispatch/dxvaint.h                                        |  179 
 dispatch/eglimports.hpp                                   |   17 
 dispatch/glimports.hpp                                    |   27 
 dispatch/glproc.py                                        |   38 
 dispatch/glproc_egl.cpp                                   |   11 
 dispatch/glproc_gl.cpp                                    |   74 
 gui/CMakeLists.txt                                        |   27 
 gui/README.markdown                                       |    1 
 gui/apisurface.cpp                                        |  149 
 gui/apisurface.h                                          |   18 
 gui/apitrace.cpp                                          |   19 
 gui/apitrace.h                                            |    1 
 gui/apitracecall.cpp                                      |  166 
 gui/apitracecall.h                                        |   34 
 gui/apitracefilter.cpp                                    |    1 
 gui/apitracemodel.cpp                                     |   69 
 gui/argumentseditor.cpp                                   |    4 
 gui/argumentseditor.h                                     |   11 
 gui/graphing/frameaxiswidget.h                            |    2 
 gui/graphing/histogramview.cpp                            |    4 
 gui/imageviewer.cpp                                       |  172 
 gui/imageviewer.h                                         |   21 
 gui/main.cpp                                              |   31 
 gui/mainwindow.cpp                                        |  102 
 gui/mainwindow.h                                          |    3 
 gui/pixelwidget.cpp                                       |  407 
 gui/pixelwidget.h                                         |  116 
 gui/retracer.cpp                                          |   82 
 gui/retracer.h                                            |   10 
 gui/tracedialog.cpp                                       |    2 
 gui/traceloader.cpp                                       |  108 
 gui/traceloader.h                                         |    1 
 gui/traceprocess.cpp                                      |   10 
 gui/trimprocess.cpp                                       |   10 
 gui/ui/imageviewer.ui                                     |  149 
 gui/ui/mainwindow.ui                                      |   46 
 gui/ui/retracerdialog.ui                                  |   45 
 gui/ui/tracedialog.ui                                     |    2 
 helpers/CMakeLists.txt                                    |   13 
 helpers/README.markdown                                   |    5 
 helpers/d3d10size.hpp                                     |  251 
 helpers/d3d11size.hpp                                     |  197 
 helpers/d3d8size.hpp                                      |  235 
 helpers/d3d9size.hpp                                      |  236 
 helpers/d3dcommonsize.hpp                                 |  189 
 helpers/d3dshader.cpp                                     |  184 
 helpers/d3dshader.hpp                                     |   51 
 helpers/d3dsize.hpp                                       |  379 
 helpers/dxgisize.hpp                                      |  267 
 helpers/eglsize.cpp                                       |    3 
 helpers/eglsize.hpp                                       |    2 
 helpers/glsize.hpp                                        |  734 
 image/CMakeLists.txt                                      |   14 
 image/README.markdown                                     |    2 
 image/image.hpp                                           |  150 
 image/image_bmp.cpp                                       |  142 
 image/image_png.cpp                                       |  232 
 image/image_pnm.cpp                                       |  309 
 image/image_raw.cpp                                       |   66 
 inject/CMakeLists.txt                                     |   19 
 inject/README.markdown                                    |    5 
 inject/inject.h                                           |  188 
 inject/injectee.cpp                                       |  584 
 inject/injector.cpp                                       |  289 
 retrace/.gitignore                                        |    2 
 retrace/CMakeLists.txt                                    |  129 
 retrace/README.markdown                                   |    9 
 retrace/d3d10state.cpp                                    |   92 
 retrace/d3d10state.hpp                                    |   84 
 retrace/d3d10state_images.cpp                             |  498 
 retrace/d3d11state.cpp                                    |   88 
 retrace/d3d11state_images.cpp                             |  442 
 retrace/d3d8state.cpp                                     |  134 
 retrace/d3d8state_images.cpp                              |  164 
 retrace/d3d9retrace.py                                    |  187 
 retrace/d3d9state.cpp                                     |  121 
 retrace/d3d9state_images.cpp                              |  240 
 retrace/d3dretrace.hpp                                    |   53 
 retrace/d3dretrace.py                                     |  113 
 retrace/d3dretrace_dxgi.hpp                               |  249 
 retrace/d3dretrace_main.cpp                               |   38 
 retrace/d3dstate.cpp                                      |  165 
 retrace/d3dstate.hpp                                      |   48 
 retrace/d3dstate_images.cpp                               |  100 
 retrace/dllretrace.py                                     |   24 
 retrace/dxgiretrace.py                                    |  380 
 retrace/dxgistate.cpp                                     |  281 
 retrace/dxgistate.hpp                                     |   69 
 retrace/glretrace.hpp                                     |   22 
 retrace/glretrace.py                                      |   30 
 retrace/glretrace_cgl.cpp                                 |  161 
 retrace/glretrace_egl.cpp                                 |   22 
 retrace/glretrace_glx.cpp                                 |   45 
 retrace/glretrace_main.cpp                                |  291 
 retrace/glretrace_wgl.cpp                                 |   19 
 retrace/glretrace_ws.cpp                                  |   99 
 retrace/glstate.cpp                                       |  125 
 retrace/glstate_images.cpp                                |  597 
 retrace/glstate_internal.hpp                              |   18 
 retrace/glstate_params.py                                 |  195 
 retrace/glstate_shaders.cpp                               |   29 
 retrace/glws.hpp                                          |    9 
 retrace/glws_cocoa.mm                                     |   82 
 retrace/glws_egl_xlib.cpp                                 |   15 
 retrace/glws_glx.cpp                                      |   20 
 retrace/glws_wgl.cpp                                      |   76 
 retrace/json.cpp                                          |  337 
 retrace/json.hpp                                          |  329 
 retrace/retrace.cpp                                       |   22 
 retrace/retrace.hpp                                       |  114 
 retrace/retrace.py                                        |  107 
 retrace/retrace_main.cpp                                  |  711 
 retrace/retrace_swizzle.cpp                               |   30 
 retrace/retrace_swizzle.hpp                               |   26 
 retrace/scoped_allocator.hpp                              |  101 
 scripts/apitrace.PIXExp                                   |    2 
 scripts/convert.py                                        |  176 
 scripts/jsonextractimages.py                              |   62 
 scripts/retracediff.py                                    |  202 
 scripts/snapdiff.py                                       |   18 
 scripts/tracecheck.py                                     |   72 
 scripts/tracediff.py                                      |  506 
 scripts/tracediff2.py                                     |  341 
 specs/README.markdown                                     |    7 
 specs/cglapi.py                                           |   85 
 specs/d2d1.py                                             |  635 
 specs/d2dbasetypes.py                                     |   80 
 specs/d2derr.py                                           |   62 
 specs/d3d.py                                              |  438 
 specs/d3d10.py                                            |  339 
 specs/d3d10_1.py                                          |   35 
 specs/d3d10effect.py                                      |  384 
 specs/d3d10misc.py                                        |    5 
 specs/d3d10sdklayers.py                                   |   88 
 specs/d3d10shader.py                                      |  175 
 specs/d3d11.py                                            |  237 
 specs/d3d11_1.py                                          |   71 
 specs/d3d11sdklayers.py                                   |   76 
 specs/d3d11shader.py                                      |   34 
 specs/d3d8.py                                             |  356 
 specs/d3d8caps.py                                         |   10 
 specs/d3d8types.py                                        |  560 
 specs/d3d9.py                                             |  448 
 specs/d3d9dxva2.py                                        |  382 
 specs/d3d9types.py                                        |   54 
 specs/d3dtypes.py                                         |  119 
 specs/dcommon.py                                          |   34 
 specs/ddraw.py                                            |  614 
 specs/dwrite.py                                           |  778 
 specs/dxgi.py                                             |   42 
 specs/dxgi1_2.py                                          |   52 
 specs/eglapi.py                                           |  343 
 specs/eglenum.py                                          |  271 
 specs/glapi.py                                            |  405 
 specs/glesapi.py                                          |    6 
 specs/glparams.py                                         |  220 
 specs/gltypes.py                                          |   66 
 specs/glxapi.py                                           |  182 
 specs/scripts/.gitignore                                  |    1 
 specs/scripts/Makefile                                    |   17 
 specs/scripts/cdecl.py                                    |    2 
 specs/scripts/eglenum.sh                                  |    3 
 specs/scripts/gltxt.py                                    |    6 
 specs/stdapi.py                                           |  235 
 specs/wglapi.py                                           |  220 
 specs/winapi.py                                           |    9 
 thirdparty/directxtex/CMakeLists.txt                      |   61 
 thirdparty/directxtex/DirectXTex/BC.cpp                   | 1131 +
 thirdparty/directxtex/DirectXTex/BC.h                     |  897 
 thirdparty/directxtex/DirectXTex/BC4BC5.cpp               |  534 
 thirdparty/directxtex/DirectXTex/BC6HBC7.cpp              | 2822 ++
 thirdparty/directxtex/DirectXTex/DDS.h                    |  214 
 thirdparty/directxtex/DirectXTex/DirectXTex.h             |  466 


Reply to: