summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-12-14retrace: Fix build errors from trying to use both GLES2 and GL2 headers.frameretraceEric Anholt3-3/+4
2017-12-08Dispatch: enable MapBufferRange/UnmapBufferMark Janes2-1/+34
2017-12-04MainWin: Fix incorrect height scaling of search window for HiDPIMark Janes2-3/+1
The RefreshControl lacked a height setting, causing the main window to miscalculate the pixels needed to display the control. The height was hardcoded to work around this issue, clipping the control on HiDPI displays.
2017-11-28State: Enable glSampleCoverageMark Janes4-11/+65
2017-11-28State: Enable glPolygonOffsetMark Janes4-4/+64
2017-11-28State: Enable glFrontFaceMark Janes4-1/+32
2017-11-28State: Reorganize stateMark Janes1-22/+22
State categories taken roughly from http://www.glprogramming.com/red
2017-11-28State: Enable GL_DITHERMark Janes2-0/+17
2017-11-28State: Enable glDepthMaskMark Janes4-1/+29
2017-11-28State: Enable GL_DEPTH_TESTMark Janes2-0/+12
2017-11-28State: Enable glDepthRangefMark Janes4-0/+37
2017-11-27State: Refactor state displayMark Janes6-275/+168
Initial implementation used ad-hoc hints to correctly display various types of data. With this commit, a generic implementation incorporates the "indices" into the data model, so all state can be displayed as a vector of items. The state table is not re-created on each selection, which maintains the state of the triangle widget for collapsing directories.
2017-11-27State: Drop unnecessary "group" designationMark Janes8-65/+39
Original intent of the "group" of a state item was to locate it within a tab. Paths are more flexible than static groups. Additionally, a search window provides accessibility that is not possible with a tabbed interface.
2017-11-27State: Add a search box for state itemsMark Janes3-13/+76
Typing into the search box quickly narrows the set of displayed state.
2017-11-27State: Enable glDepthFuncMark Janes4-60/+91
2017-11-27State: Sort overridesMark Janes1-20/+23
Clean-up to re-order the switch statements.
2017-11-27State: Sort enumeration valuesMark Janes1-47/+47
Clean-up to better organize the switch statements.
2017-11-27State: Enable glClearDepthfMark Janes4-0/+28
2017-11-27State: Enable glColorMaskMark Janes7-43/+179
The color mask state is odd because it sets state for colors (red/blue/green/alpha) which is not a float value. To work around this mismatch of our data model, the values are split into different state settings in the UI that resolve to a single GL call. This is the first state setting that is in a nested directory.
2017-11-27State: Enable glClearColorMark Janes2-0/+20
2017-11-27state: Enable glBlendEquationSeparateMark Janes2-31/+78
2017-11-27state: Refactor glBlendFuncMark Janes1-11/+7
The implementation of glBlendEquation was clearer and more organized than the initial implementation of glBlendFunc. This commit change glBlendFunc to use the clearer mechanism.
2017-11-27State: Handle glBlendFuncSeparate statesMark Janes2-2/+62
2017-11-27State: Handle GL_LINE_SMOOTHMark Janes2-1/+11
2017-11-27State: Handle GL_LINE_WIDTHMark Janes6-17/+84
2017-11-27State: Allow conflicting values for color channelsMark Janes1-3/+6
Multiple selection may result in differening color channels for state settings. When a value is indeterminate, "###" is displayed. The user may still override the color channel when portions of the state are indeterminate.
2017-11-27State: Use a public domain icon for the collapse arrowMark Janes4-7/+17
2017-11-27State: Allow color state to be editedMark Janes17-306/+455
2017-11-27State: Support glBlendColorMark Janes19-77/+233
2017-11-27State: Support GL_BLENDMark Janes1-4/+83
2017-11-27State: Move GL enum methods to separate fileMark Janes6-54/+204
2017-11-27State: Display a tree of collapsible state directoriesMark Janes5-31/+198
This implementation of a custom tree view is similar to Qt's native implementation: a modified ListView that hides items based on whether a parent directory is collapsed.
2017-11-27State: Identify state items by group, path, and nameMark Janes8-135/+93
State group designates which tab will hold the item. Path is reflected in the nested directories of state used to organize the tree view.
2017-11-26state: allow multiple differing valuesMark Janes1-2/+3
2017-11-26State: Allow the user to override stateMark Janes17-38/+320
Initial implementation provides editable values in the UI, which send commands to change state during rendering. The existing state values need to be recorded at the time they are overridden, so they can be restored for subsequent renders.
2017-11-26State: Resize combo boxes to fit the valuesMark Janes4-13/+86
Most strings were clipped, due to shortcomings in the Qt default ComboBox.
2017-11-26State: First visualization of state in qmlMark Janes7-25/+115
This proof-of-concept state display shows initial values in the UI.
2017-11-26State: Initial implementation of state modelMark Janes7-3/+264
Stores the state data for display in the UI.
2017-11-26State: Initial implementation for retracing GL stateMark Janes15-10/+308
Allows cull state to be retraced, as a first step.
2017-10-30State: track glGetProgramResourceNameMark Janes4-0/+43
Used by gfxbench5 aztec benchmark to identify uniform locations.
2017-10-05Retrace: Fix Intel-specific gpu checkMark Janes1-0/+3
The check for pinned gpu clock rates only works for Intel platforms. A defensive check is necessary to enable AMD. suggested-by: Marek Olšák <marek.olsak@amd.com>
2017-10-05Metrics: Fix windows compilation issuesMark Janes1-0/+1
2017-09-26Retrace: Enhance comments for retrace interfacesMark Janes1-2/+14
To facilitate implementation of metrics collection for other vendors.
2017-09-25Metrics: Create virtual base class for metrics implementationsMark Janes6-515/+631
Allows for vendor-specific implementations of the metrics collection interface.
2017-09-25Metrics: Re-enable debugging features in the absence of metricsMark Janes2-2/+3
Mesa developers have expressed interest in the debug features of FrameRetrace on platforms that do not yet support performance counters. Also, developers intend to add metrics support for new hardware. This work will be helped by allowing the application to run while support is added.
2017-09-25CMake: allow compilation with CMake 3.9.0Mark Janes1-1/+1
2017-09-22CMake: hack retrace_common link libs to link against X11 on ubuntuMark Janes1-0/+1
https://www.pivotaltracker.com/story/show/149278283
2017-09-22Shaders: Limit shader retrace to succesfully compiled shadersMark Janes2-7/+22
Any shader compilation, even failures, caused the shader source window to be reset to index zero. Maintain the last selected index, and attempt to restore it when successful compiles generate new shader retrace events.
2017-09-22Shaders: Associate shader compiler error with the shader modelMark Janes5-12/+26
2017-09-18Retrace: Order retrace operations based on the visible tabMark Janes4-14/+77
Reduces UI latency for long duration frames.