summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-04-07HACK: For performance evaluation only. Don't upstream.HEADmasterFrancisco Jerez4-4/+4
Uses global thread-unsafe memory pool. Might race in multithreaded environment.
2017-04-07retrace: Split retracing and parsing into separate threads for improved CPU ↵Francisco Jerez3-15/+34
utilization.
2017-04-07retrace: Implement lockless message queue for cross-thread communication.Francisco Jerez1-0/+89
2017-04-07trace: Switch trace representation to memory pool.Francisco Jerez12-90/+97
2017-04-07trace: Implement simple per-thread memory pool.Francisco Jerez1-0/+185
2017-04-07autotrim: Rework autotrim dependency analyzer to limit memory consumption ↵Francisco Jerez2-372/+1411
and improve accuracy.
2017-03-27retrace: add wglMakeContextCurrentARB() supportBrian Paul4-4/+41
2017-03-27glws: add 'read' buffer parameter to makeCurrent()Brian Paul7-13/+59
So that we can support the wglMakeContextCurrentARB() and glXMakeContextCurrent() functions.
2017-03-27gui: allow larger vertex buffer offsets in UI (1024 bytes)Brian Paul1-1/+5
2017-03-22travis: Add CentOS6 build via Docker.Jose Fonseca1-8/+21
2017-03-22cmake: Fix D3D11 include dir on dxerr.Jose Fonseca1-1/+1
2017-03-22thirdparty/dxsdk_aug2007: Bundle D3D8 headers from Aug 2007 DirectX SDK.Jose Fonseca5-6/+3334
A bit of a grey area but common practice according to Microsoft: https://web.archive.org/web/20170322105210/https://blogs.msdn.microsoft.com/chuckw/2015/03/23/the-zombie-directx-sdk/ These headers are only used with MSVC. And they greatly simplify building apitrace for Windows, since modern Windows SDK include all necessary headers except D3D8's.
2017-03-22cmake: Don't check for unusued D3D headers/libraries.Jose Fonseca3-86/+9
2017-03-22compat: Don't redefine D3DERR_* macros.Jose Fonseca2-21/+1
2017-03-22cmake: Don't bother searching for D3DX headers/libraries.Jose Fonseca1-24/+0
We never used them and never will.
2017-03-21cli: Write full path of where the Python scripts are expected to be.Jose Fonseca1-1/+3
Should help diagnose issues like https://github.com/apitrace/apitrace/issues/511
2017-03-21cli: Use APITRACE_PYTHON_EXECUTABLE.Jose Fonseca1-1/+1
2017-03-21glretrace: Initialize MetricWriter only when needed.Alexander Trukhin5-12/+23
This object is only needed for profiling. Global initialization is unnecessary and it creates temporary file (with mmap_allocator.hpp), which can be avoided.
2017-03-21retrace: Unlink the .pbtmp immediately to not leave leftovers around.Eric Anholt1-3/+1
If apitrace was to crash or get killed, the destructor wouldn't get called and the temp would get left on disk. Nothing else re-opens the file, so just unlink it immediately.
2017-03-21CMakeList: do not overwrite module pathYann E. MORIN1-1/+1
Currently, the CMakeList.txt completely overwrites the CMAKE_MODULE_PATH variable. This is problematic when an upper-layer buildsystem wants to set its own module path to use custom modules. For example, Buldroot [0] provides a custom platform description [1] to fix cross-compilation issue. Overwriting the module path means that this custom platform description is not found: System is unknown to cmake, create: Platform/Buildroot to use this system, please send your config file to cmake@www.cmake.org so it can be added to cmake Providing such a custom platform description is what the upstream cmake devs suggest [2], quoting: If a toolchain file specifies CMAKE_SYSTEM_NAME such that a custom `Platform/MySystem.cmake` file is loaded then the latter can set them [*] as needed for the target platform. [*] offending settings causing RPATH issues during cross-compilation. So we need to append to the module path, rather than replace it blindly. [0] https://buildroot.org/ [1] https://git.buildroot.org/buildroot/tree/support/misc/Buildroot.cmake [2] http://public.kitware.com/pipermail/cmake/2017-February/065063.html Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2017-03-21retrace: fixed DDLOCK_DONOTWAIT flag clear maskSimon Owen1-1/+1
This was unintentionally clearing all other lock flags, as well as potentially having both wait and do-not-wait set simultaneously.
2017-03-20Remove Windows XP support.Jose Fonseca7-158/+47
I'm not aware of people using it, so I believe it's not worth the hassle as I'm trying to cut maintenance burden down.
2017-03-20compat: Avoid redefining macros.Jose Fonseca1-0/+2010
Since newer version of MinGW headers define more and more of these.
2017-03-13retrace: support for dumping multiple snapshots (v3)windows-xpRob Clark7-28/+128
Usually if an app is using MRT, we want to dump (and diff) *all* the render targets to track down where things are going wrong. Also dumps depth and stencil buffers. When the --mrt (or -m) argument is specified, all render targets plus depth and/or stencil are dumped, with the suffix -mrtN/-z/-s. Otherwise the behavior is as before, only mrt0 is dumped with no suffix. Only implemented for GLDumper, since I don't know anything about D3D.
2017-03-09glws: Only process events from the main thread.Jose Fonseca1-0/+4
Fixes https://github.com/apitrace/apitrace/issues/510
2017-01-29cmake: Let CMAKE_OSX_DEPLOYMENT_TARGET take its default value.Jose Fonseca1-1/+0
Should fix #505.
2017-01-25glstate: Avoid calling glGetProgramiv(GL_PROGRAM_BINARY_LENGTH).Jose Fonseca1-2/+23
This should avoid unwanted side effects as described by emeakyl in https://github.com/apitrace/apitrace/issues/365#issuecomment-275029429
2017-01-24glretrace: Allow to specify OpenGL vendor via environment variable.Jose Fonseca1-5/+65
This enables on macOS one to do: VENDOR=Intel ./glretrace ... VENDOR=AMD ./glretrace ... VENDOR=NVIDIA ./glretrace ... VENDOR=Software ./glretrace ...
2017-01-24editorconfig: Specify indentation for Objective-C files.Jose Fonseca1-1/+1
2017-01-24cmake: Require Xcode 8.x; remove long build warning.Jose Fonseca1-9/+7
Fixes https://github.com/apitrace/apitrace/issues/346 Fixes https://github.com/apitrace/apitrace/issues/503
2017-01-24cmake: Target macos 10.11 and up; stop building 32bits executables.Jose Fonseca2-10/+5
2017-01-23glretrace: Try to enable automatic GPU switching on macOS.Jose Fonseca4-0/+36
Minimal testing.
2017-01-12cmake: Use bundled libpng on macOS.Jose Fonseca1-1/+1
cmake often picks up libpng from /usr/local which does not not include i386 architecture.
2017-01-12travis: Build with XCode 8.2Jose Fonseca1-1/+5
2017-01-12glretrace: Avoid deprecated Cocoa enum warnings.Jose Fonseca1-4/+4
2017-01-12gui: Avoid deprecated QStyleOptionViewItemV4 warnings.Jose Fonseca1-2/+2
2016-12-09cmake: Use more than 2GB for 32 bits Windows processes where available.Jose Fonseca1-1/+11
2016-12-09specs: Recognize EXT_window_rectangles params.Jose Fonseca1-0/+6
2016-12-02snapdiff: Handle missing images more gracefully.Jose Fonseca1-5/+8
2016-12-02glretrace: Fix glViewportArrayv typo.Jose Fonseca1-1/+1
2016-11-14gltrace: Describe GL_MAX_VERTEX_ATTRIB_STRIDE.Jose Fonseca1-1/+1
2016-10-13docs: Add a status section.Jose Fonseca1-0/+9
I've been very busy professionally/personally, which has left very little time to maintain Apitrace. So set the right expectations.
2016-10-05docs: Document the Snappy format too.Jose Fonseca1-3/+25
2016-10-05docs: Fix discrepancy and ambiguity in format spec.Jose Fonseca1-7/+8
As pointed out by [bk]door.maus in issue #492. Also fix some spelling errors.
2016-09-21d3dstate: Port some of the recent D3D9 code to D3D8.Jose Fonseca1-4/+169
2016-09-21d3dretrace: Viewport Min/MaxZ are floats.Jose Fonseca1-2/+2
2016-09-21d3dretrace: Don't duplicate ATI1/ATI2 FourCC defines.Jose Fonseca2-10/+2
"ATI1N"/"ATI2N" is how these texture formats are described in AMD's "Advanced DX9 Capabilities for ATI Radeon Cards" document. g test.sh
2016-09-21d3dretrace: Don't dump dummy rendertargetsPatrick Rudolph1-0/+10
Do not try to dump rendertargets that uses format D3DFMT_NULL. Found trying to dump Crysis renderstates. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
2016-09-21d3dretrace: Dump d3d9 texture statesPatrick Rudolph1-0/+52
Dump all texturestagestates. Use seperate a seperate field for each stage. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
2016-09-21d3dretrace: Dump viewport state for d3d9Tiziano Bacocco1-0/+21
Dump D3D9 viewport state. Rebased against current HEAD. Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com> Signed-off-by: Patrick Rudolph <siro@das-labor.org>