summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-01-06scripts: add profile_trace scriptsintel_statsEugeni Dodonov3-0/+8
Those are tiny scripts to help with gnuplot charts building
2012-01-06retrace: add support for intel gpu/cpu monitoringEugeni Dodonov5-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-07cmake: Wrap glproc.hpp in a target to prevent concurrent generation.José Fonseca1-5/+16
Hopefully this does the trick.
2011-12-07cmake: Be more concise with the glproc.hpp dependency.José Fonseca1-8/+4
Hopefully will fix some of random MSVC build failures.
2011-12-07jsondiff: Try to be more accurate w/ commas/newlines.José Fonseca1-18/+20
Not quite right though.
2011-12-07egl: Add EGLAttribList for attribute listsChia-I Wu1-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-07egl: Remove unneeded _EGLBooleanChia-I Wu1-2/+1
Use Enum instead of FakeEnum to eliminate the temporary type.
2011-12-07egl: Add missing enum valuesChia-I Wu1-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-07egl: Merge various enum typesChia-I Wu1-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-07Escape JSON strings correctly in jsondiff.pyJosé Fonseca1-1/+1
2011-12-07egl: trace EGL_NV_system_timeChia-I Wu1-0/+7
2011-12-07egl: trace EGL_NV_coverage_sample_resolveChia-I Wu1-0/+3
2011-12-07egl: trace EGL_ANGLE_query_surface_pointer and familyChia-I Wu1-0/+9
2011-12-07egl: trace EGL_NV_post_sub_bufferChia-I Wu1-0/+6
2011-12-07egl: trace EGL_MESA_drm_imageChia-I Wu1-0/+18
2011-12-07egl: trace EGL_HI_clientpixmap and EGL_HI_colorformatsChia-I Wu1-0/+17
2011-12-07egl: trace EGL_NV_syncChia-I Wu1-0/+12
2011-12-07egl: trace EGL_NV_depth_nonlinearChia-I Wu1-0/+3
2011-12-07egl: trace EGL_NV_coverage_sampleChia-I Wu1-0/+4
2011-12-07egl: trace EGL_IMG_context_priorityChia-I Wu1-0/+4
2011-12-07egl: trace EGL_KHR_reusable_sync and EGL_KHR_fence_syncChia-I Wu1-0/+33
2011-12-07egl: trace EGL_KHR_image_base and familyChia-I Wu1-0/+36
2011-12-07egl: trace EGL_KHR_lock_surface and EGL_KHR_lock_surface2Chia-I Wu1-0/+25
2011-12-05Remove duplicate pthread linkage.José Fonseca1-1/+1
2011-12-05Workaround weird issue with gdb and dlopen'ed libpthread.soJosé Fonseca1-10/+15
2011-12-05Add option to request an Opengl 3.2 core profile context.José Fonseca8-17/+47
2011-12-04Add option for jsondiff to ignore new state.José Fonseca1-12/+30
Useful for the test suite.
2011-12-04Fix snapdiff ae method.José Fonseca1-1/+1
2011-12-03Merge pull request #61 from prahal/gui-editzackr2-87/+151
gui: let the edit mode work.
2011-12-03Include unistd.h for symlink.José Fonseca2-4/+1
Fixes build on Mac OS X 10.6.
2011-12-03Merge branch 'glproc-cleanup'José Fonseca13-214/+385
2011-12-03Cast native types to EGL types when calling EGL functions.Alexandros Frantzis1-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-03Use libGLESv2.so.2 as the OpenGL ES 2.0 library SONAME.Alexandros Frantzis1-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-02Fix typo in previous commit.José Fonseca1-7/+7
2011-12-02Fix build on certain mingw versions.José Fonseca1-0/+31
2011-12-02Introduce call flags.José Fonseca13-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-02Make the GLenum_int hack for MacOS robust against include order.José Fonseca1-3/+9
2011-12-02Try to do the right thing with EGL symbols.José Fonseca2-27/+48
2011-12-02gui: let the edit mode work.Alban Browaeys2-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-01Fix glretrace on MacOSX.José Fonseca1-0/+2
2011-12-01Make the GLenum_int hack for MacOS robust against include order.José Fonseca1-3/+9
2011-12-01Cleanup glproc.José Fonseca11-202/+355
Based on some of Alexandros Frantzis code/ideas.
2011-12-01Don't call GLX functions when compiling the EGL retracer.Alexandros Frantzis1-0/+4
This is a temporary fix, until we implement a dedicated EGL-based, GL/GLES1/GLES2 state dumping mechanism.
2011-12-01Produce dispatchers for all functions, even in retrace mode.Alexandros Frantzis1-10/+1
2011-12-01Don't free fbconfig.José Fonseca1-1/+0
It doesn't belong to us. Fixes segfault on exiting glretrace.
2011-12-01Replace dynamic casts with static on glws.José Fonseca4-19/+19
We know as a fact that the type matches.
2011-12-01Make gltxt.py obbey prefix option for types too.José Fonseca1-1/+1
2011-12-01Minor cleanups and better documentation for the spec generation scripts.José Fonseca5-29/+118
2011-11-29Update docs.José Fonseca3-20/+21
2011-11-29Support 'apitrace diff-images' on Windows.José Fonseca2-22/+17