Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-01-06 | scripts: add profile_trace scriptsintel_stats | Eugeni Dodonov | 3 | -0/+8 | |
Those are tiny scripts to help with gnuplot charts building | |||||
2012-01-06 | retrace: add support for intel gpu/cpu monitoring | Eugeni Dodonov | 5 | -1/+336 | |
This patch adds support for CPU/GPU monitoring during the execution of a trace for Intel GPUs. This only works on Linux OS'es, and requires libpciaccess development library to be built. The monitoring is controlled by the following options: -o output - output tab-separated values into a file -p frames - sample cpu/gpu usage for each N frames -ps frame - frame to start profiling on -pe frame - frame to end profiling on For example: eglretrace -p 1500 -ps 300000 -pe 1800000 -o profile.dat ~/intel/traces/glbenchmark.egypt.egl will profile 'glbenchmark.egypt.egl' trace, starting on frame 300000 and ending on frame 1800000, sampling CPU and GPU usage for each 1500 frames. The output will be saved into 'profile.dat'. To plot the GPU usage from said log file, the following command can be used: echo "pl 'profile.dat' u 2:6 w l title 'GPU usage'" | gnuplot -p Signed-off-by: Eugeni Dodonov <eugeni@dodonov.net> | |||||
2011-12-07 | cmake: Wrap glproc.hpp in a target to prevent concurrent generation. | José Fonseca | 1 | -5/+16 | |
Hopefully this does the trick. | |||||
2011-12-07 | cmake: Be more concise with the glproc.hpp dependency. | José Fonseca | 1 | -8/+4 | |
Hopefully will fix some of random MSVC build failures. | |||||
2011-12-07 | jsondiff: Try to be more accurate w/ commas/newlines. | José Fonseca | 1 | -18/+20 | |
Not quite right though. | |||||
2011-12-07 | egl: Add EGLAttribList for attribute lists | Chia-I Wu | 1 | -11/+13 | |
All attribute lists in EGL share the same type: Array(Const(EGLattrib), "__AttribList_size(attrib_list, EGL_NONE)") Define EGLAttribList to save some typing. | |||||
2011-12-07 | egl: Remove unneeded _EGLBoolean | Chia-I Wu | 1 | -2/+1 | |
Use Enum instead of FakeEnum to eliminate the temporary type. | |||||
2011-12-07 | egl: Add missing enum values | Chia-I Wu | 1 | -0/+51 | |
Most of them are attribute values (e.g., EGL_SLOW_CONFIG), not attributes (e.g., EGL_CONFIG_CAVEAT). Attribute values were skipped before because the type was named EGLConfigAttrib before. Now that the type has a more general name, it can have attribute values. | |||||
2011-12-07 | egl: Merge various enum types | Chia-I Wu | 1 | -157/+104 | |
Move most enums to EGLenum and add EGLattrib as an alias of EGLenum. The idea is that the same enum value may be used (or abused) in several places, and we were forced to list the same enum in multiple types. The difference between EGLenum and EGLattrib is that EGLattrib maps to EGLint instead of EGLenum in C. | |||||
2011-12-07 | Escape JSON strings correctly in jsondiff.py | José Fonseca | 1 | -1/+1 | |
2011-12-07 | egl: trace EGL_NV_system_time | Chia-I Wu | 1 | -0/+7 | |
2011-12-07 | egl: trace EGL_NV_coverage_sample_resolve | Chia-I Wu | 1 | -0/+3 | |
2011-12-07 | egl: trace EGL_ANGLE_query_surface_pointer and family | Chia-I Wu | 1 | -0/+9 | |
2011-12-07 | egl: trace EGL_NV_post_sub_buffer | Chia-I Wu | 1 | -0/+6 | |
2011-12-07 | egl: trace EGL_MESA_drm_image | Chia-I Wu | 1 | -0/+18 | |
2011-12-07 | egl: trace EGL_HI_clientpixmap and EGL_HI_colorformats | Chia-I Wu | 1 | -0/+17 | |
2011-12-07 | egl: trace EGL_NV_sync | Chia-I Wu | 1 | -0/+12 | |
2011-12-07 | egl: trace EGL_NV_depth_nonlinear | Chia-I Wu | 1 | -0/+3 | |
2011-12-07 | egl: trace EGL_NV_coverage_sample | Chia-I Wu | 1 | -0/+4 | |
2011-12-07 | egl: trace EGL_IMG_context_priority | Chia-I Wu | 1 | -0/+4 | |
2011-12-07 | egl: trace EGL_KHR_reusable_sync and EGL_KHR_fence_sync | Chia-I Wu | 1 | -0/+33 | |
2011-12-07 | egl: trace EGL_KHR_image_base and family | Chia-I Wu | 1 | -0/+36 | |
2011-12-07 | egl: trace EGL_KHR_lock_surface and EGL_KHR_lock_surface2 | Chia-I Wu | 1 | -0/+25 | |
2011-12-05 | Remove duplicate pthread linkage. | José Fonseca | 1 | -1/+1 | |
2011-12-05 | Workaround weird issue with gdb and dlopen'ed libpthread.so | José Fonseca | 1 | -10/+15 | |
2011-12-05 | Add option to request an Opengl 3.2 core profile context. | José Fonseca | 8 | -17/+47 | |
2011-12-04 | Add option for jsondiff to ignore new state. | José Fonseca | 1 | -12/+30 | |
Useful for the test suite. | |||||
2011-12-04 | Fix snapdiff ae method. | José Fonseca | 1 | -1/+1 | |
2011-12-03 | Merge pull request #61 from prahal/gui-edit | zackr | 2 | -87/+151 | |
gui: let the edit mode work. | |||||
2011-12-03 | Include unistd.h for symlink. | José Fonseca | 2 | -4/+1 | |
Fixes build on Mac OS X 10.6. | |||||
2011-12-03 | Merge branch 'glproc-cleanup' | José Fonseca | 13 | -214/+385 | |
2011-12-03 | Cast native types to EGL types when calling EGL functions. | Alexandros Frantzis | 1 | -2/+2 | |
This is needed to resolve build failures on some platforms that support various EGL backends and, therefore, native types. Note that we can't use reinterpret_cast<>() as the types involved are not necessarily pointers or integers e.g. they can be typedef-ed types. | |||||
2011-12-03 | Use libGLESv2.so.2 as the OpenGL ES 2.0 library SONAME. | Alexandros Frantzis | 1 | -1/+1 | |
Although the spec doesn't propose a SONAME, this seems to be the most widely adopted name in the Linux world. | |||||
2011-12-02 | Fix typo in previous commit. | José Fonseca | 1 | -7/+7 | |
2011-12-02 | Fix build on certain mingw versions. | José Fonseca | 1 | -0/+31 | |
2011-12-02 | Introduce call flags. | José Fonseca | 13 | -17/+428 | |
A central place for metainfo such as whether a call terminates a frame or not, etc. No trace format changes yet. Will introduce them later after more careful thought. | |||||
2011-12-02 | Make the GLenum_int hack for MacOS robust against include order. | José Fonseca | 1 | -3/+9 | |
2011-12-02 | Try to do the right thing with EGL symbols. | José Fonseca | 2 | -27/+48 | |
2011-12-02 | gui: let the edit mode work. | Alban Browaeys | 2 | -87/+151 | |
It was not allowing edition at least locally (Qt 4.7). It turns out that the editor use the value to get the type . If positive the unsigned type is choosen :/ One cannot enter negative values anymore. | |||||
2011-12-01 | Fix glretrace on MacOSX. | José Fonseca | 1 | -0/+2 | |
2011-12-01 | Make the GLenum_int hack for MacOS robust against include order. | José Fonseca | 1 | -3/+9 | |
2011-12-01 | Cleanup glproc. | José Fonseca | 11 | -202/+355 | |
Based on some of Alexandros Frantzis code/ideas. | |||||
2011-12-01 | Don't call GLX functions when compiling the EGL retracer. | Alexandros Frantzis | 1 | -0/+4 | |
This is a temporary fix, until we implement a dedicated EGL-based, GL/GLES1/GLES2 state dumping mechanism. | |||||
2011-12-01 | Produce dispatchers for all functions, even in retrace mode. | Alexandros Frantzis | 1 | -10/+1 | |
2011-12-01 | Don't free fbconfig. | José Fonseca | 1 | -1/+0 | |
It doesn't belong to us. Fixes segfault on exiting glretrace. | |||||
2011-12-01 | Replace dynamic casts with static on glws. | José Fonseca | 4 | -19/+19 | |
We know as a fact that the type matches. | |||||
2011-12-01 | Make gltxt.py obbey prefix option for types too. | José Fonseca | 1 | -1/+1 | |
2011-12-01 | Minor cleanups and better documentation for the spec generation scripts. | José Fonseca | 5 | -29/+118 | |
2011-11-29 | Update docs. | José Fonseca | 3 | -20/+21 | |
2011-11-29 | Support 'apitrace diff-images' on Windows. | José Fonseca | 2 | -22/+17 | |