Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-01-28 | glretrace: Implement wglUseFontBitmaps. | Jose Fonseca | 4 | -0/+4981 | |
Use static font bitmaps. We can't match exactly the bitmap used when recording because external information (such as the font name, size, etc.) was not recorded. And by using a static font bitmaps we can guarantee similar rendering everywhere. | |||||
2016-01-27 | glstate: Use DSA GL_TEXTURE_TARGET when available. | Jose Fonseca | 1 | -35/+42 | |
2016-01-23 | common: Introduce DUMP_FLAG_NO_MULTILINE. | Jose Fonseca | 1 | -10/+5 | |
To avoid the need of stripping newlines. | |||||
2016-01-23 | glretrace: Include call params in the marker. | Jose Fonseca | 3 | -7/+25 | |
2016-01-23 | glretrace: Use a ostringstream instead of asprintf. | Jose Fonseca | 1 | -13/+14 | |
As the latter is not portable. | |||||
2016-01-22 | glretrace: Use an unique ID for apitrace call no markers. | Jose Fonseca | 1 | -2/+6 | |
So that apitrace (and maybe the drivers) can distinguish these messages from others. | |||||
2016-01-22 | glretrace: Add an option to insert markers. | Jose Fonseca | 4 | -2/+17 | |
2016-01-22 | glretrace: Invoke glDebugMessageInsertKHR for ES contexts. | Jose Fonseca | 1 | -5/+11 | |
2016-01-22 | glretrace: Don't insert markers inside glBegin/End. | Jose Fonseca | 1 | -0/+1 | |
KHR_debug spec is not clear, but at leat Mesa doesn't seem to like it. | |||||
2016-01-22 | glretrace: Move call no markers away from dumper interface. | Jose Fonseca | 5 | -23/+29 | |
Dumper is only for dumping state to JSON. | |||||
2016-01-22 | glretrace: use KHR_debug to emit call no's. | Rob Clark | 4 | -0/+26 | |
If the extension is present, use it to log call numbers for draw commands, using GL_DEBUG_TYPE_MARKER. If supported by the driver, this embeds the draw call no's in the commandstream. Signed-off-by: Rob Clark <robdclark@gmail.com> | |||||
2016-01-18 | retrace: Metrics abstraction: add missing copyrights. | Alexander Trukhin | 6 | -0/+150 | |
[ci skip] | |||||
2016-01-12 | Revert "glretrace: avoid glXSwapBuffers failures because of "bad" windows". | Jose Fonseca | 1 | -13/+2 | |
This reverts commit 485846b2a40d8ac7d6c1c5f8af6d15b0c10af19d. It seems that with commit c51694c012985318763d3faf46b1077b985a637b this is no longer necessary. | |||||
2016-01-12 | glretrace: Use glXCreateWindow drawable. | Jose Fonseca | 1 | -10/+22 | |
This avoids the issues described in https://bugs.freedesktop.org/show_bug.cgi?id=54080 Thanks to Sinclair Yeh for diagnosing the issue and verifying this fix. | |||||
2016-01-11 | Merge branch 'metric_abstraction' | Jose Fonseca | 17 | -16/+2985 | |
2016-01-11 | retrace: Fix Android build. | Jose Fonseca | 1 | -1/+9 | |
2015-12-23 | glws: Fix Cocoa resizing. | Jose Fonseca | 1 | -3/+2 | |
Previous commit broke the initial window resizing somehow. | |||||
2015-12-23 | glws: Make OS X windows more responsive. | Jose Fonseca | 1 | -1/+7 | |
2015-12-22 | d3dretrace: Create a single window per HWND. | Jose Fonseca | 3 | -1/+31 | |
2015-12-22 | gltrace: Fix glBitmap / glDrawPixels(GL_BITMAP) blob size calculation. | Jose Fonseca | 1 | -3/+1 | |
A superficial reading of the OpenGL specification gives the idea that GL_UNPACK_ALIGMENT should be ignored in some cases, but if one takes in consideration all the different constraints, it actually follows that the row stride must be aligned to unpack alignment, one way or the other. This is particularly true for GL_BITMAPs, whose size was being underestimated if GL_UNPACK_ALIGMENT != 1. This also matches what Mesa does. | |||||
2015-12-22 | glretrace: Fix glCopyImageSubData for textures. | Jose Fonseca | 1 | -0/+5 | |
A temporary workaround for https://github.com/apitrace/apitrace/issues/404 suggested by Ilia Mirkin. Tested with trace from https://bugs.freedesktop.org/show_bug.cgi?id=92850#c51 | |||||
2015-12-20 | glretrace: Handle make current with null drawable. | Jose Fonseca | 2 | -7/+13 | |
Fixes https://github.com/apitrace/apitrace/issues/402 | |||||
2015-12-03 | glws: Add a link about NSThread. | Jose Fonseca | 1 | -0/+3 | |
2015-12-03 | glws: initialize Drawable::mipmapLevel, cubeFace members | Brian Paul | 1 | -1/+3 | |
Fixes some valgrind warnings about uninitialized values when the trace uses wglBindTexImageARB() but the mipmap level or cube face were not explicitly set. | |||||
2015-11-16 | glretrace: Remove duplicate glUnmapNamedBuffer case. | Jose Fonseca | 1 | -2/+0 | |
2015-11-10 | glws: Close Cocoa windows. | Jose Fonseca | 1 | -1/+2 | |
Don't just release them. | |||||
2015-11-07 | glws: Fix GLX PBuffer destruction. | Jose Fonseca | 1 | -1/+5 | |
2015-11-04 | glstate: Dump images (glBindImage) to displayed surfaces. | Martin Schulze | 3 | -0/+53 | |
2015-11-02 | retrace: Remove dead code in encodeBase64String. | Jose Fonseca | 1 | -7/+3 | |
size % 3 can never be larger than 2. Thanks to Coverity and Gcov for independently spotting it. | |||||
2015-10-31 | glretrace: Fix wglCreatePbufferARB without current context. | Brian Paul | 3 | -1/+11 | |
2015-10-30 | d3dretrace: Handle DDCREATE_* flags, | Jose Fonseca | 1 | -0/+13 | |
2015-10-29 | Metrics abstraction: correct allocator template arguments. | Alexander Trukhin | 2 | -2/+2 | |
Previous version does not work with libc++. A bit strange that it worked well with libstdc++. | |||||
2015-10-29 | glstate: Fix snapshots with PBuffers. | Jose Fonseca | 1 | -7/+6 | |
2015-10-29 | glws: Fix wglCreatePbufferARB when there's no current context. | Jose Fonseca | 1 | -49/+55 | |
2015-10-29 | Merge branch 'WGL_ARB_render_texture' | Jose Fonseca | 11 | -77/+777 | |
2015-10-29 | glstate: Fix deletion of array. | Jose Fonseca | 1 | -1/+1 | |
2015-10-29 | glretrace: Limit the maximum number of glGetError warnings. | Jose Fonseca | 1 | -43/+54 | |
Just like we do for KHR_debug messages. | |||||
2015-10-28 | glws: revert "add Context::GetCurrent() and Drawable::GetCurrent()". | Jose Fonseca | 3 | -28/+5 | |
No need to burden the glws interface with current context/drawable getters. The glws internals don't need the abstraction, and the users of glws should keep track of the current context themselves (as they already do.) | |||||
2015-10-28 | glws: Update Android support for interface changes. | Jose Fonseca | 1 | -4/+26 | |
2015-10-28 | glws: Update Waffle support for interface changes. | Jose Fonseca | 1 | -4/+27 | |
2015-10-28 | glws: Update Cocoa support for interface changes. | Jose Fonseca | 1 | -4/+26 | |
2015-10-28 | glretrace: add API dispatch for WGL_ARB_render_texture | Brian Paul | 3 | -2/+120 | |
With this, we now support WGL_ARB_render_texture. | |||||
2015-10-28 | glretrace: parse WGL_ARB_render_texture pbuffer attributes | Brian Paul | 1 | -0/+69 | |
Parse the attributes and pass them to the glws::createPBuffer() function. | |||||
2015-10-28 | glws: add no-op EGL functions for WGL_ARB_render_texture functions | Brian Paul | 1 | -0/+21 | |
2015-10-28 | glws: implement WGL_ARB_render_texture functions on GLX | Brian Paul | 1 | -0/+128 | |
There's no GLX equivalent to WGL_ARB_render_texture so we do an emulation using glCopyTex[Sub]Image(). | |||||
2015-10-28 | glws: add new functions for WGL_ARB_render_texture | Brian Paul | 2 | -1/+66 | |
And for WGL ws, call the native driver functions | |||||
2015-10-28 | glws: update WGL pbuffer code for WGL_ARB_render_texture | Brian Paul | 1 | -1/+35 | |
When creating a pbuffer, include the WGL_BIND_TO_TEXTURE_RGBA_ARB, WGL_TEXTURE_FORMAT_ARB, WGL_TEXTURE_TARGET_ARB and WGL_MIPMAP_TEXTURE_ARB attributes. | |||||
2015-10-28 | glws: begin plumbing extra pbuffer info needed for WGL_ARB_render_texture | Brian Paul | 8 | -22/+49 | |
When we create a pbuffer we'll need to handle some additional informatation for WGL_ARB_render_texture, such as texture format, texture target, etc. | |||||
2015-10-28 | glws: add WGL PBuffer support | Brian Paul | 1 | -43/+153 | |
2015-10-28 | glws: add GLX PBuffer support | Brian Paul | 1 | -4/+63 | |