From 8a191c08ddda2e66fa26f148d6c21959bb08f923 Mon Sep 17 00:00:00 2001 From: marha Date: Sun, 20 Feb 2011 12:29:25 +0000 Subject: xserver xkeyboard-config libX11 pixman mesa git update 2011 --- mesalib/docs/envvars.html | 233 ++++++++++++------- mesalib/docs/shading.html | 536 +++++++++++++++++++++---------------------- mesalib/docs/sourcetree.html | 331 +++++++++++++------------- 3 files changed, 589 insertions(+), 511 deletions(-) (limited to 'mesalib/docs') diff --git a/mesalib/docs/envvars.html b/mesalib/docs/envvars.html index fd1700a02..5240c803f 100644 --- a/mesalib/docs/envvars.html +++ b/mesalib/docs/envvars.html @@ -1,78 +1,155 @@ - - -Environment Variables - - - - - -

Environment Variables

- -

-Mesa supports the following environment variables: -

- - -

-The following are only applicable to the Xlib software driver. -See the Xlib software driver page for details. -

- - - -

-These environment variables are for the Intel i945/i965 drivers: -

- - - -

-These environment variables are for the Radeon R300 driver: -

- - -

-Mesa EGL supports different sets of environment variables. See the -Mesa EGL page for the details. -

- - - + + +Environment Variables + + + + + +

Environment Variables

+ +

+Normally, no environment variables need to be set. Most of the environment +variables used by Mesa/Gallium are for debugging purposes, but they can +sometimes be useful for debugging end-user issues. +

+ + +

LibGL environment variables

+ + + + + +

Core Mesa environment variables

+ + + + +

Mesa Xlib driver environment variables

+ +

+The following are only applicable to the Mesa Xlib software driver. +See the Xlib software driver page for details. +

+ + + +

i945/i965 driver environment variables (non-Gallium)

+ + + + +

Radeon R300 driver environment variables (non-Gallium)

+ + + + +

EGL environment variables

+ +

+Mesa EGL supports different sets of environment variables. See the +Mesa EGL page for the details. +

+ + +

Gallium environment variables

+ + + +

Softpipe driver environment variables

+ + + +

LLVMpipe driver environment variables

+ + + +

+Other Gallium drivers have their own environment variables. These may change +frequently so the source code should be consulted for details. +

+ + +
+
+ + + + diff --git a/mesalib/docs/shading.html b/mesalib/docs/shading.html index c41d4a9be..cc1f9f1ec 100644 --- a/mesalib/docs/shading.html +++ b/mesalib/docs/shading.html @@ -1,268 +1,268 @@ - - -Shading Language Support - - - - - -

Shading Language Support

- -

-This page describes the features and status of Mesa's support for the - -OpenGL Shading Language. -

- -

-Contents -

- - - - - -

Environment Variables

- -

-The MESA_GLSL environment variable can be set to a comma-separated -list of keywords to control some aspects of the GLSL compiler and shader -execution. These are generally used for debugging. -

- -

-Example: export MESA_GLSL=dump,nopt -

- - -
-

GLSL Version

- -

-The GLSL compiler currently supports version 1.20 of the shading language. -

- -

-Several GLSL extensions are also supported: -

- - - -
-

Unsupported Features

- -

XXX update this section

- -

-The following features of the shading language are not yet fully supported -in Mesa: -

- - - -

-All other major features of the shading language should function. -

- - -
-

Implementation Notes

- - - -

-These issues will be addressed/resolved in the future. -

- - -
-

Programming Hints

- - - - -
-

Stand-alone GLSL Compiler

- -

-The stand-alone GLSL compiler program can be used to compile GLSL shaders -into low-level GPU code. -

- -

-This tool is useful for: -

-

- -

-After building Mesa, the compiler can be found at src/glsl/glsl_compiler -

- -

-Here's an example of using the compiler to compile a vertex shader and -emit GL_ARB_vertex_program-style instructions: -

-
-    src/glsl/glslcompiler --dump-ast myshader.vert
-
- -Options include - - - - - -
-

Compiler Implementation

- -

-The source code for Mesa's shading language compiler is in the -src/glsl/ directory. -

- -

-XXX provide some info about the compiler.... -

- -

-The final vertex and fragment programs may be interpreted in software -(see prog_execute.c) or translated into a specific hardware architecture -(see drivers/dri/i915/i915_fragprog.c for example). -

- -

Code Generation Options

- -

-Internally, there are several options that control the compiler's code -generation and instruction selection. -These options are seen in the gl_shader_state struct and may be set -by the device driver to indicate its preferences: - -

-struct gl_shader_state
-{
-   ...
-   /** Driver-selectable options: */
-   GLboolean EmitHighLevelInstructions;
-   GLboolean EmitCondCodes;
-   GLboolean EmitComments;
-};
-
- - - - -
-

Compiler Validation

- -

-Developers working on the GLSL compiler should test frequently to avoid -regressions. -

- -

-The Piglit project -has many GLSL tests and the -Glean glsl1 test -tests GLSL features. -

- -

-The Mesa demos repository also has some good GLSL tests. -

- - - + + +Shading Language Support + + + + + +

Shading Language Support

+ +

+This page describes the features and status of Mesa's support for the + +OpenGL Shading Language. +

+ +

+Contents +

+ + + + + +

Environment Variables

+ +

+The MESA_GLSL environment variable can be set to a comma-separated +list of keywords to control some aspects of the GLSL compiler and shader +execution. These are generally used for debugging. +

+ +

+Example: export MESA_GLSL=dump,nopt +

+ + +
+

GLSL Version

+ +

+The GLSL compiler currently supports version 1.20 of the shading language. +

+ +

+Several GLSL extensions are also supported: +

+ + + +
+

Unsupported Features

+ +

XXX update this section

+ +

+The following features of the shading language are not yet fully supported +in Mesa: +

+ + + +

+All other major features of the shading language should function. +

+ + +
+

Implementation Notes

+ + + +

+These issues will be addressed/resolved in the future. +

+ + +
+

Programming Hints

+ + + + +
+

Stand-alone GLSL Compiler

+ +

+The stand-alone GLSL compiler program can be used to compile GLSL shaders +into low-level GPU code. +

+ +

+This tool is useful for: +

+

+ +

+After building Mesa, the compiler can be found at src/glsl/glsl_compiler +

+ +

+Here's an example of using the compiler to compile a vertex shader and +emit GL_ARB_vertex_program-style instructions: +

+
+    src/glsl/glsl_compiler --dump-ast myshader.vert
+
+ +Options include + + + + + +
+

Compiler Implementation

+ +

+The source code for Mesa's shading language compiler is in the +src/glsl/ directory. +

+ +

+XXX provide some info about the compiler.... +

+ +

+The final vertex and fragment programs may be interpreted in software +(see prog_execute.c) or translated into a specific hardware architecture +(see drivers/dri/i915/i915_fragprog.c for example). +

+ +

Code Generation Options

+ +

+Internally, there are several options that control the compiler's code +generation and instruction selection. +These options are seen in the gl_shader_state struct and may be set +by the device driver to indicate its preferences: + +

+struct gl_shader_state
+{
+   ...
+   /** Driver-selectable options: */
+   GLboolean EmitHighLevelInstructions;
+   GLboolean EmitCondCodes;
+   GLboolean EmitComments;
+};
+
+ + + + +
+

Compiler Validation

+ +

+Developers working on the GLSL compiler should test frequently to avoid +regressions. +

+ +

+The Piglit project +has many GLSL tests and the +Glean glsl1 test +tests GLSL features. +

+ +

+The Mesa demos repository also has some good GLSL tests. +

+ + + diff --git a/mesalib/docs/sourcetree.html b/mesalib/docs/sourcetree.html index 00dc4e7c9..67e0494b1 100644 --- a/mesalib/docs/sourcetree.html +++ b/mesalib/docs/sourcetree.html @@ -1,165 +1,166 @@ - - -Mesa Source Tree - - - - - -

Mesa source code tree overview

- -

-This is a brief summary of Mesa's directory tree and what's contained in -each directory. -

- - - - - - - + + +Mesa Source Tree + + + + + +

Mesa source code tree overview

+ +

+This is a brief summary of Mesa's directory tree and what's contained in +each directory. +

+ + + + + + + -- cgit v1.2.3