Age | Commit message (Collapse) | Author | Files | Lines |
|
Uses global thread-unsafe memory pool. Might race in multithreaded
environment.
|
|
utilization.
|
|
|
|
|
|
|
|
and improve accuracy.
|
|
|
|
So that we can support the wglMakeContextCurrentARB() and
glXMakeContextCurrent() functions.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
We never used them and never will.
|
|
Should help diagnose issues like
https://github.com/apitrace/apitrace/issues/511
|
|
|
|
This object is only needed for profiling. Global initialization is
unnecessary and it creates temporary file (with mmap_allocator.hpp),
which can be avoided.
|
|
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.
|
|
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>
|
|
This was unintentionally clearing all other lock flags, as well as
potentially having both wait and do-not-wait set simultaneously.
|
|
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.
|
|
Since newer version of MinGW headers define more and more of these.
|
|
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.
|
|
Fixes https://github.com/apitrace/apitrace/issues/510
|
|
Should fix #505.
|
|
This should avoid unwanted side effects as described by emeakyl in
https://github.com/apitrace/apitrace/issues/365#issuecomment-275029429
|
|
This enables on macOS one to do:
VENDOR=Intel ./glretrace ...
VENDOR=AMD ./glretrace ...
VENDOR=NVIDIA ./glretrace ...
VENDOR=Software ./glretrace ...
|
|
|
|
Fixes https://github.com/apitrace/apitrace/issues/346
Fixes https://github.com/apitrace/apitrace/issues/503
|
|
|
|
Minimal testing.
|
|
cmake often picks up libpng from /usr/local which does not not include
i386 architecture.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I've been very busy professionally/personally, which has left very little
time to maintain Apitrace. So set the right expectations.
|
|
|
|
As pointed out by [bk]door.maus in issue #492.
Also fix some spelling errors.
|
|
|
|
|
|
"ATI1N"/"ATI2N" is how these texture formats are described in AMD's
"Advanced DX9 Capabilities for ATI Radeon Cards" document.
g test.sh
|
|
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>
|
|
Dump all texturestagestates.
Use seperate a seperate field for each stage.
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
|
|
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>
|