diff options
Diffstat (limited to 'plugins/dfxvideo/gpucfg-0.1df')
| -rw-r--r-- | plugins/dfxvideo/gpucfg-0.1df/dfxvideo.glade2 | 33 | ||||
| -rw-r--r-- | plugins/dfxvideo/gpucfg-0.1df/main.c | 4 |
2 files changed, 34 insertions, 3 deletions
diff --git a/plugins/dfxvideo/gpucfg-0.1df/dfxvideo.glade2 b/plugins/dfxvideo/gpucfg-0.1df/dfxvideo.glade2 index e2ef18a5..a4f9d68c 100644 --- a/plugins/dfxvideo/gpucfg-0.1df/dfxvideo.glade2 +++ b/plugins/dfxvideo/gpucfg-0.1df/dfxvideo.glade2 @@ -356,7 +356,7 @@ <child> <widget class="GtkTable" id="table_fixes"> <property name="visible">True</property> - <property name="n_rows">10</property> + <property name="n_rows">11</property> <property name="n_columns">2</property> <property name="column_spacing">16</property> <child> @@ -665,6 +665,37 @@ <property name="y_options"></property> </packing> </child> + <child> + <widget class="GtkCheckButton" id="checkFix11"> + <property name="label" translatable="yes">Fake 'gpu busy' states</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="use_underline">True</property> + <property name="draw_indicator">True</property> + </widget> + <packing> + <property name="top_attach">10</property> + <property name="bottom_attach">11</property> + <property name="x_options">GTK_FILL</property> + <property name="y_options"></property> + </packing> + </child> + <child> + <widget class="GtkLabel" id="label1"> + <property name="visible">True</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Toggle busy flags after drawing</property> + </widget> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + <property name="top_attach">10</property> + <property name="bottom_attach">11</property> + <property name="x_options">GTK_FILL</property> + <property name="y_options"></property> + </packing> + </child> </widget> </child> </widget> diff --git a/plugins/dfxvideo/gpucfg-0.1df/main.c b/plugins/dfxvideo/gpucfg-0.1df/main.c index 67432e02..c12cceba 100644 --- a/plugins/dfxvideo/gpucfg-0.1df/main.c +++ b/plugins/dfxvideo/gpucfg-0.1df/main.c @@ -274,7 +274,7 @@ main (int argc, char *argv[]) val = atoi(p + len); } - for (i=0; i<10; i++) + for (i=0; i<11; i++) { sprintf(tempstr, "checkFix%d", i+1); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (glade_xml_get_widget (xml, tempstr)), (val>>i)&1 ); @@ -399,7 +399,7 @@ void SaveConfig(GtkWidget *widget, gpointer user_data) val = 0; - for (i=0; i<10; i++) + for (i=0; i<11; i++) { sprintf(tempstr, "checkFix%d", i+1); if( gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (glade_xml_get_widget (xml, tempstr))) ) |
