Commit 408d41a4 authored by Timothy Arceri's avatar Timothy Arceri

mesa: move legacy TCL dri config options

Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
parent 024abd35
......@@ -80,6 +80,16 @@ DRI_CONF_OPT_BEGIN_B(hyperz, def) \
DRI_CONF_DESC(en,"Use HyperZ to boost performance") \
DRI_CONF_OPT_END
#define DRI_CONF_TCL_MODE(def) \
DRI_CONF_OPT_BEGIN_V(tcl_mode,enum,def,"0:3") \
DRI_CONF_DESC_BEGIN(en,"TCL mode (Transformation, Clipping, Lighting)") \
DRI_CONF_ENUM(0,"Use software TCL pipeline") \
DRI_CONF_ENUM(1,"Use hardware TCL as first TCL pipeline stage") \
DRI_CONF_ENUM(2,"Bypass the TCL pipeline") \
DRI_CONF_ENUM(3,"Bypass the TCL pipeline with state-based machine code generated on-the-fly") \
DRI_CONF_DESC_END \
DRI_CONF_OPT_END
#if defined(RADEON_R100) /* R100 */
static const __DRIconfigOptionsExtension radeon_config_options = {
.base = { __DRI_CONFIG_OPTIONS, 1 },
......
......@@ -48,6 +48,11 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "util/xmlconfig.h"
#define DRI_CONF_TCL_SW 0
#define DRI_CONF_TCL_PIPELINED 1
#define DRI_CONF_TCL_VTXFMT 2
#define DRI_CONF_TCL_CODEGEN 3
typedef struct {
drm_handle_t handle; /* Handle to the DRM region */
drmSize size; /* Size of the DRM region */
......
......@@ -193,29 +193,6 @@ msgstr ""
msgid "Performance"
msgstr "Rendiment"
#: t_options.h:238
msgid "TCL mode (Transformation, Clipping, Lighting)"
msgstr "Mode TCL (Transformació, Retall, Il·luminació)"
#: t_options.h:239
msgid "Use software TCL pipeline"
msgstr "Utilitza la canonada TCL de programari"
#: t_options.h:240
msgid "Use hardware TCL as first TCL pipeline stage"
msgstr "Utilitza el TCL de maquinari com a la primera fase de la canonada TCL"
#: t_options.h:241
msgid "Bypass the TCL pipeline"
msgstr "Passa per alt la canonada TCL"
#: t_options.h:242
msgid ""
"Bypass the TCL pipeline with state-based machine code generated on-the-fly"
msgstr ""
"Passa per alt la canonada TCL amb codi de màquina basat en estats, generat "
"sobre la marxa"
#: t_options.h:251
msgid "Method to limit rendering latency"
msgstr "Mètode per a limitar la latència de renderització"
......
......@@ -167,29 +167,6 @@ msgstr ""
msgid "Performance"
msgstr "Leistung"
#: t_options.h:238
msgid "TCL mode (Transformation, Clipping, Lighting)"
msgstr "TCL-Modus (Transformation, Clipping, Licht)"
#: t_options.h:239
msgid "Use software TCL pipeline"
msgstr "Benutze die Software-TCL-Pipeline"
#: t_options.h:240
msgid "Use hardware TCL as first TCL pipeline stage"
msgstr "Benutze Hardware TCL als erste Stufe der TCL-Pipeline"
#: t_options.h:241
msgid "Bypass the TCL pipeline"
msgstr "Umgehe die TCL-Pipeline"
#: t_options.h:242
msgid ""
"Bypass the TCL pipeline with state-based machine code generated on-the-fly"
msgstr ""
"Umgehe die TCL-Pipeline mit zur Laufzeit erzeugtem, zustandsbasiertem "
"Maschinencode"
#: t_options.h:251
msgid "Method to limit rendering latency"
msgstr "Methode zur Begrenzung der Bildverzögerung"
......
......@@ -174,29 +174,6 @@ msgstr ""
msgid "Performance"
msgstr "Rendimiento"
#: t_options.h:238
msgid "TCL mode (Transformation, Clipping, Lighting)"
msgstr "Modo TCL (Transformación, Recorte, Iluminación)"
#: t_options.h:239
msgid "Use software TCL pipeline"
msgstr "Usar tubería TCL por software"
#: t_options.h:240
msgid "Use hardware TCL as first TCL pipeline stage"
msgstr "Usar TCL por hardware en la primera fase de la tubería TCL"
#: t_options.h:241
msgid "Bypass the TCL pipeline"
msgstr "Pasar por alto la tubería TCL"
#: t_options.h:242
msgid ""
"Bypass the TCL pipeline with state-based machine code generated on-the-fly"
msgstr ""
"Pasar por alto la tubería TCL con código máquina basado en estados, generado "
"al vuelo"
#: t_options.h:251
msgid "Method to limit rendering latency"
msgstr "Método para limitar la latencia de renderización"
......
......@@ -162,29 +162,6 @@ msgstr ""
msgid "Performance"
msgstr "Performance"
#: t_options.h:238
msgid "TCL mode (Transformation, Clipping, Lighting)"
msgstr "Mode de TCL (Transformation, Clipping, Eclairage)"
#: t_options.h:239
msgid "Use software TCL pipeline"
msgstr "Utiliser un pipeline TCL logiciel"
#: t_options.h:240
msgid "Use hardware TCL as first TCL pipeline stage"
msgstr "Utiliser le TCL matériel pour le premier niveau de pipeline"
#: t_options.h:241
msgid "Bypass the TCL pipeline"
msgstr "Court-circuiter le pipeline TCL"
#: t_options.h:242
msgid ""
"Bypass the TCL pipeline with state-based machine code generated on-the-fly"
msgstr ""
"Court-circuiter le pipeline TCL par une machine à états qui génère le codede "
"TCL à la volée"
#: t_options.h:251
msgid "Method to limit rendering latency"
msgstr "Méthode d'attente de la carte graphique"
......
......@@ -162,29 +162,6 @@ msgstr ""
msgid "Performance"
msgstr "Prestatie"
#: t_options.h:238
msgid "TCL mode (Transformation, Clipping, Lighting)"
msgstr "TCL-modus (Transformatie, Clipping, Licht)"
#: t_options.h:239
msgid "Use software TCL pipeline"
msgstr "Gebruik software TCL pijpleiding"
#: t_options.h:240
msgid "Use hardware TCL as first TCL pipeline stage"
msgstr "Gebruik hardware TCL as eerste TCL pijpleiding trap"
#: t_options.h:241
msgid "Bypass the TCL pipeline"
msgstr "Omzeil de TCL pijpleiding"
#: t_options.h:242
msgid ""
"Bypass the TCL pipeline with state-based machine code generated on-the-fly"
msgstr ""
"Omzeil de TCL pijpleiding met staatgebaseerde machinecode die tijdens "
"executie gegenereerd wordt"
#: t_options.h:251
msgid "Method to limit rendering latency"
msgstr "Methode om beeldopbouwvertraging te onderdrukken"
......
......@@ -162,28 +162,6 @@ msgstr ""
msgid "Performance"
msgstr "Prestanda"
#: t_options.h:238
msgid "TCL mode (Transformation, Clipping, Lighting)"
msgstr "TCL-läge (Transformation, Clipping, Lighting)"
#: t_options.h:239
msgid "Use software TCL pipeline"
msgstr "Använd programvaru-TCL-rörledning"
#: t_options.h:240
msgid "Use hardware TCL as first TCL pipeline stage"
msgstr "Använd maskinvaru-TCL som första TCL-rörledningssteg"
#: t_options.h:241
msgid "Bypass the TCL pipeline"
msgstr "Kringgå TCL-rörledningen"
#: t_options.h:242
msgid ""
"Bypass the TCL pipeline with state-based machine code generated on-the-fly"
msgstr ""
"Kringgå TCL-rörledningen med tillståndsbaserad maskinkod som direktgenereras"
#: t_options.h:251
msgid "Method to limit rendering latency"
msgstr "Metod för att begränsa renderingslatens"
......
......@@ -257,20 +257,6 @@ DRI_CONF_OPT_END
DRI_CONF_SECTION_BEGIN \
DRI_CONF_DESC(en,gettext("Performance"))
#define DRI_CONF_TCL_SW 0
#define DRI_CONF_TCL_PIPELINED 1
#define DRI_CONF_TCL_VTXFMT 2
#define DRI_CONF_TCL_CODEGEN 3
#define DRI_CONF_TCL_MODE(def) \
DRI_CONF_OPT_BEGIN_V(tcl_mode,enum,def,"0:3") \
DRI_CONF_DESC_BEGIN(en,gettext("TCL mode (Transformation, Clipping, Lighting)")) \
DRI_CONF_ENUM(0,gettext("Use software TCL pipeline")) \
DRI_CONF_ENUM(1,gettext("Use hardware TCL as first TCL pipeline stage")) \
DRI_CONF_ENUM(2,gettext("Bypass the TCL pipeline")) \
DRI_CONF_ENUM(3,gettext("Bypass the TCL pipeline with state-based machine code generated on-the-fly")) \
DRI_CONF_DESC_END \
DRI_CONF_OPT_END
#define DRI_CONF_FTHROTTLE_BUSY 0
#define DRI_CONF_FTHROTTLE_USLEEPS 1
#define DRI_CONF_FTHROTTLE_IRQS 2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment