summaryrefslogtreecommitdiff
path: root/wrappers
AgeCommit message (Collapse)AuthorFilesLines
2017-03-20Remove Windows XP support.Jose Fonseca2-2/+2
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.
2016-08-31wgltrace: Emit fake string marker with GDI font for all wglUseFont* entrypoints.Jose Fonseca1-13/+19
2016-08-27glxtrace: Intercept and flush on _exit.Jose Fonseca2-0/+22
As suggested in https://github.com/apitrace/apitrace/issues/479#issuecomment-239666769
2016-08-27cmake: Use LINK_DEPENDS for version scripts.Jose Fonseca1-8/+3
LINK_DEPENDS might ignored in non-Makefile generators, but add_dependencies seems to have no effect anywhere...
2016-08-09cmake: Prevent missing symbols linking wgltrace.Jose Fonseca1-0/+1
2016-07-12gltrace: Include libgen.h for basename.Jose Fonseca1-0/+1
Fixes https://github.com/apitrace/apitrace/issues/470
2016-06-30gltrace: std::free -> free.Jose Fonseca1-1/+3
2016-06-30egltrace: Don't intercept dlopen calls done by EGL/GL/GLES implementation.Jose Fonseca4-117/+150
Certain EGL implementations do this.
2016-06-30dxgitrace: Never attempt to delete a wrapper.Jose Fonseca1-13/+7
It's not safe, as we're not sure exactly which wrapper class we have. This fixes the "unexpected virtual method" errors introduced with earlier changes.
2016-06-30trace: Add more COM debugging.Jose Fonseca1-18/+25
To try to diagnose regression introduced by ealier commits, whereby map_buffer randomly fail, but only on special circunstances.
2016-06-28trace: Don't presume that COM interface pointers are freed when refcount ↵Jose Fonseca1-3/+7
reaches zero. They often aren't. And worst of all, some apps rely on them sticking around. With this change, the destruction of wrapper objects is effectively deferred until a different interface is created on the same pointer address, or more likely leaked. But this is unavoidable, given there's no generic mechanism to know for sure when the wrapped object is freed. Fixes https://github.com/apitrace/apitrace/issues/462
2016-05-19dxgitrace: Handle ID3D11VideoContext::Get/ReleaseDecoderBuffer properly.Jose Fonseca1-0/+20
Essentially do the same thing done for DXVA's IDirectXVideoDecoder::Get/ReleaseBuffer methods. Untested, but it should fare no worse than it does now.
2016-05-14glretrace: Cleanup fake function call emission.Jose Fonseca4-63/+54
Fixes https://github.com/apitrace/apitrace/issues/191
2016-05-13gltrace: Fix lockedArrayCount initialization.Jose Fonseca1-1/+1
2016-05-13d3d9trace: Capture IDirectXVideoDecoder buffer mappings.Jose Fonseca1-0/+19
By emitting fake memcpys.
2016-05-13gltrace: Simplify EXT_compiled_vertex_arrays support.Jose Fonseca2-13/+13
2016-05-11memtrace: Align blocks to 64 bytes.Jose Fonseca1-12/+17
WARP doesn't align memory mapping to pages, causing tests to fail, as blocks get different offsets.
2016-05-10gltrace: Drop support for user memory arrays with NV_vertex_program.Jose Fonseca2-103/+45
NV_vertex_program is vendor specific and deprecated. Drop support for it in order to reduce complexity and make way for better support for modern OpenGL. glVertexAttribPointerNV calls will still be traced, but the corresponding fake memcpy calls will not. Old traces still work fine. So if necessary an older build of apitrace can be used instead.
2016-05-10gltrace: Never call glGetBufferSubData on ES.Jose Fonseca1-0/+6
2016-05-10gltrace: Only check primitive restart index if supported.Jose Fonseca3-17/+23
2016-05-10gltrace: Pass draw parameters as struct.Jose Fonseca3-87/+123
2016-05-10gltrace: Avoid getting current context multiple times.Jose Fonseca1-13/+12
2016-05-10gltrace: Move vertex array count helpers to a different module.Jose Fonseca4-0/+263
2016-05-10gltrace: Don't track GLES buffer contents.Jose Fonseca2-107/+0
Basically revert d493737765bed0fcbba908024d2314778c26b5c9.
2016-05-10cmake: Put all common gltrace modules into a convenience library.Jose Fonseca1-20/+17
2016-05-06memtrace: Fix build without SSE2.Jose Fonseca1-5/+8
2016-05-05dxgitrace: Try to detect non-overlapping buffer writes.Jose Fonseca2-9/+154
2016-05-05wrappers: Add a module to track memory changes toJose Fonseca3-0/+303
This will be the cornerstone to detect partial changes to buffer mappings in D3D10+ and OpenGL.
2016-05-05Create a top level lib directory, and move guids into it.Jose Fonseca1-1/+1
2016-05-01gltrace: Don't parse extensions twice.Jose Fonseca2-1/+6
Track first bound drawable separately from first bound context.
2016-05-01gltrace: Use static initializers in gltrace::Context.Jose Fonseca1-11/+6
2016-04-27d3d9trace: Ignore D3DLOCK_READONLY for buffers.Jose Fonseca1-1/+6
https://github.com/apitrace/apitrace/issues/435
2016-04-27d3d9trace: Track volume/cube lock mappings per level too.Jose Fonseca1-3/+7
That is, generalise commit e540b63da038aacc51664451491791d627aef1de to other resource types.
2016-04-16cmake: Add option to build with Address Sanitizer.Jose Fonseca1-8/+15
Also remove SSP: it was only being used in Debug builds, and it never found a bug.
2016-04-10gltrace: Return sensible value for GL_MAX_DEBUG_MESSAGE_LENGTH when faking ↵Jose Fonseca1-0/+5
KHR_debug. `apitrace trace glretrace ...` relies on it.
2016-04-10gltrace: Fix MAP_PERSISTENT_BIT warnings.Jose Fonseca1-8/+18
No need to warn about mappings without MAP_WRITE_BIT. Also shorten the URLs.
2016-04-09dxgitrace: Hide IWarpPrivateAPI.Jose Fonseca1-0/+19
2016-04-05gltrace,glretrace: Handle GL_ARB_query_buffer_object correctly.Jose Fonseca1-0/+14
More specifically, treat pointers as offsets when GL_QUERY_BUFFER is bound to a buffer. Code changes follow closely the similar logic used for PBOs. https://github.com/apitrace/apitrace/issues/442
2016-04-04glretrace: Rename ctx to _ctx.Jose Fonseca1-30/+30
To avoid clash with function args.
2016-04-04gltrace: Use glfeature to decide when PBOs are supported.Jose Fonseca1-1/+1
2016-04-04helpers: Move GL extension cache object to glfeatures.Jose Fonseca2-0/+5
So it can be used in the wrappers too.
2016-04-04helpers: rename glprofile to glfeatures.Jose Fonseca5-10/+10
This module will have more than just description of OpenGL profiles, but actual features.
2016-03-06dlltrace: Free system library when done.Jose Fonseca2-20/+73
Fixes https://github.com/apitrace/apitrace/issues/432
2016-03-06cmake: Add missing dependencies.Jose Fonseca1-0/+2
2016-03-05specs: Handle overloaded methods/functions.Jose Fonseca1-4/+12
2016-03-05dxgitrace: Complete DirectComposition specs.Jose Fonseca3-1/+8
This addresses https://github.com/apitrace/apitrace/issues/377 , but even with complete DirectComposition specs, one will stumble into attempts to use undocumented IID_ID3D11PartnerDevice interface.
2016-03-05trace: Improve handling of structures with no members.Jose Fonseca1-9/+18
2016-01-28wgltrace: Don't emit wglUseFontBitmapsA call.Jose Fonseca2-89/+136
Just emit a fake string marker for reference.
2016-01-28wgltrace: Don't rely on GetGlyphOutline.Jose Fonseca1-28/+83
2016-01-28wgltrace: Emit fake glBitmap on wglUseFontBitmapsA.Jose Fonseca2-0/+59
Basic implementation.