/third_party/openGLES/extensions/SGIX/ |
D | SGIX_fog_patchy.txt | 23 Patchy fog is a fog in which intermittent areas of dense fog may 24 be encoutered. This extension explains how the patchy fog 25 extension is supported. Patchy fog is needed because both 26 uniform fog density and fog layers can only specify a constant 28 extension gives a mean to specify a patchy fog texture that will 29 modulate the fog density at a given elevation. The goal of this 30 document is to describe the modulation fuction and the fog 31 equation when patchy fog is enabled. No tokens, states, or 43 - Should we introduce a glEnable for patchy fog? 45 - We should move the description of the patchy fog equation [all …]
|
D | SGIX_fog_offset.txt | 26 to fog computation. A reference point in eye space (rx ry rz) and an offset 27 amount toward the viewpoint (f_o) are specified. When fog offset is 31 If fog computation is done in screen-space coordinates under 33 fog offset to be correct for fragments whose depth is close to that 36 projection, or if fog computation is done in eye-space coordinates, 76 z. If f_z < 0, then it is clamped to zero prior to fog 79 "If fog offset is performed in screen space under perspective 99 "The state required for fog consists of a three valued integer 100 to select the fog equation, three floating-point values d, e, 101 and s, four floating-point values (rx ry rz f_o), an RGBA fog [all …]
|
D | SGIX_fog_factor_to_alpha.txt | 25 alpha component by the fog blending factor after the input 26 fragment has been blent with the fog color. This feature is 27 particularly useful for multipass fog when we want to use the 28 the framebuffer blend function in conjunction with the fog blend 45 with the fog color? 63 ... (The rasterized fragment's A value is not changed by fog blending.)... 66 The rasterized fragment alpha value is not changed by fog blending, 68 parameter in which case the A value is replaced by the fog 70 performed. If fog is disabled but fog-factor-to-alpha is enabled, the 71 fragment alpha coming out of the fog-factor-to-alpha in undefined. [all …]
|
D | SGIX_fog_scale.txt | 25 This extension allows fragments to receive more or less fog than the 26 amount specified by the fog environment and the distance to the 28 prior to fog computation. 31 even through thick fog. Fog scale value is specified by setting the 34 appears brighter. If scale > 1, the object receives more fog. A 84 z. If f_z < 0, then it is clamped to zero prior to fog 99 "The state required for fog consists of a three valued integer 100 to select the fog equation, four floating-point values d, e, s, 101 and f_s, an RGBA fog color and a fog color index, a single bit 102 to indicate whether or not fog is enabled, and a single bit to [all …]
|
D | SGIX_fog_layers.txt | 24 This extension adds support for layered fog. The layers are 25 specified using a density profile of the fog with respect to the 79 In addition to uniform fog density, fog layers can be specified. 81 density between successive fog layers is implementation dependent. 82 The density profile of the fog with respect to elevation is 87 negative), and the second value specifies the fog density at that 88 elevation. The fog density values are clamped to the range [0.0, 94 state of the fog layer specification is defined by the single 95 point (0.0, 0.0). The fog density above the maximum user-specified 97 Layered fog computations are defined only for positive elevations; [all …]
|
D | SGIX_fog_blend.txt | 24 This extension affect the way the fog coefficient (f) is used to 27 the alpha component of the fog color is used to change the 29 The color components may stay unchanged by the fog computation 54 ... (The rasterized fragment's A value is not changed by fog blending.)... 57 The rasterized fragment alpha value is not changed by the fog blending, 81 fog color and alpha blend is pushed. When an attribute set 82 that includes enable information is popped, the state of the fog 97 FOG_BLEND_ALPHA_SGIX IsEnabled B FALSE fog 98 FOG_BLEND_COLOR_SGIX IsEnabled B TRUE fog
|
D | SGIX_fog_texture.txt | 28 place of fog fragment attributes such as fog color, fog density 29 fog patchy factor. The application of texture to fog color assumes 44 * The fog patchy factor is expected to be a constant of 1. 47 it be set as a fog parameter (in glFog). 77 color substitutes one of fragment fog parameters during the fog 78 computation of the fragment. The fragment fog parameters 87 TextureFogSGIX(enum pname) determines which fog fragment parameters
|
/third_party/skia/third_party/externals/opengl-registry/extensions/SGIX/ |
D | SGIX_fog_patchy.txt | 23 Patchy fog is a fog in which intermittent areas of dense fog may 24 be encoutered. This extension explains how the patchy fog 25 extension is supported. Patchy fog is needed because both 26 uniform fog density and fog layers can only specify a constant 28 extension gives a mean to specify a patchy fog texture that will 29 modulate the fog density at a given elevation. The goal of this 30 document is to describe the modulation fuction and the fog 31 equation when patchy fog is enabled. No tokens, states, or 43 - Should we introduce an glEnable for patchy fog? 45 - We should move the description of the patchy fog equation [all …]
|
D | SGIX_fog_offset.txt | 26 to fog computation. A reference point in eye space (rx ry rz) and an offset 27 amount toward the viewpoint (f_o) are specified. When fog offset is 31 If fog computation is done in screen-space coordinates under 33 fog offset to be correct for fragments whose depth is close to that 36 projection, or if fog computation is done in eye-space coordinates, 76 z. If f_z < 0, then it is clamped to zero prior to fog 79 "If fog offset is performed in screen space under perspective 99 "The state required for fog consists of a three valued integer 100 to select the fog equation, three floating-point values d, e, 101 and s, four floating-point values (rx ry rz f_o), an RGBA fog [all …]
|
D | SGIX_fog_factor_to_alpha.txt | 25 alpha component by the fog blending factor after the input 26 fragment has been blent with the fog color. This feature is 27 particularly useful for multipass fog when we want to use the 28 the framebuffer blend function in conjunction with the fog blend 45 with the fog color? 63 ... (The rasterized fragment's A value is not changed by fog blending.)... 66 The rasterized fragment alpha value is not changed by fog blending, 68 parameter in which case the A value is replaced by the fog 70 performed. If fog is disabled but fog-factor-to-alpha is enabled, the 71 fragment alpha coming out of the fog-factor-to-alpha in undefined. [all …]
|
D | SGIX_fog_scale.txt | 25 This extension allows fragments to receive more or less fog than the 26 amount specified by the fog environment and the distance to the 28 prior to fog computation. 31 even through thick fog. Fog scale value is specified by setting the 34 appears brighter. If scale > 1, the object receives more fog. A 84 z. If f_z < 0, then it is clamped to zero prior to fog 99 "The state required for fog consists of a three valued integer 100 to select the fog equation, four floating-point values d, e, s, 101 and f_s, an RGBA fog color and a fog color index, a single bit 102 to indicate whether or not fog is enabled, and a single bit to [all …]
|
D | SGIX_fog_layers.txt | 24 This extension adds support for layered fog. The layers are 25 specified using a density profile of the fog with respect to the 79 In addition to uniform fog density, fog layers can be specified. 81 density between successive fog layers is implementation dependent. 82 The density profile of the fog with respect to elevation is 87 negative), and the second value specifies the fog density at that 88 elevation. The fog density values are clamped to the range [0.0, 94 state of the fog layer specification is defined by the single 95 point (0.0, 0.0). The fog density above the maximum user-specified 97 Layered fog computations are defined only for positive elevations; [all …]
|
D | SGIX_fog_blend.txt | 24 This extension affect the way the fog coefficient (f) is used to 27 the alpha component of the fog color is used to change the 29 The color components may stay unchanged by the fog computation 54 ... (The rasterized fragment's A value is not changed by fog blending.)... 57 The rasterized fragment alpha value is not changed by the fog blending, 81 fog color and alpha blend is pushed. When an attribute set 82 that includes enable information is popped, the state of the fog 97 FOG_BLEND_ALPHA_SGIX IsEnabled B FALSE fog 98 FOG_BLEND_COLOR_SGIX IsEnabled B TRUE fog
|
D | SGIX_fog_texture.txt | 28 place of fog fragment attributes such as fog color, fog density 29 fog patchy factor. The application of texture to fog color assumes 44 * The fog patchy factor is expected to be a constant of 1. 47 it be set as a fog parameter (in glFog). 77 color substitutes one of fragment fog parameters during the fog 78 computation of the fragment. The fragment fog parameters 87 TextureFogSGIX(enum pname) determines which fog fragment parameters
|
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/ |
D | NV_fog_distance.txt | 40 Ideally, the fog distance (used to compute the fog factor as 45 [the fog factor] f need not be computed at each fragment, but may 49 OpenGL computes the distance used in computing the fog factor. 51 The extension supports three fog distance modes: "eye plane absolute", 52 where the fog distance is the absolute planar distance from the eye 54 "eye plane", where the fog distance is the signed planar distance 55 from the eye plane; and "eye radial", where the fog distance is 57 fog distance mode, the distance may be computed per-vertex and then 61 control over the tradeoff between performance and fog quality. 65 mode can provide for more accurate fog at the edges of the field of [all …]
|
/third_party/openGLES/extensions/NV/ |
D | NV_fog_distance.txt | 40 Ideally, the fog distance (used to compute the fog factor as 45 [the fog factor] f need not be computed at each fragment, but may 49 OpenGL computes the distance used in computing the fog factor. 51 The extension supports three fog distance modes: "eye plane absolute", 52 where the fog distance is the absolute planar distance from the eye 54 "eye plane", where the fog distance is the signed planar distance 55 from the eye plane; and "eye radial", where the fog distance is 57 fog distance mode, the distance may be computed per-vertex and then 61 control over the tradeoff between performance and fog quality. 65 mode can provide for more accurate fog at the edges of the field of [all …]
|
/third_party/skia/third_party/externals/opengl-registry/docs/ |
D | fog_coord.txt | 32 This extension allows specifying an explicit per-vertex fog 33 coordinate to be used in fog computations, rather than using a 34 fragment depth-based fog equation. 38 * Should the specified value be used directly as the fog weighting 39 factor, or in place of the z input to the fog equations? 60 * Interpolation of the fog coordinate may be perspective-correct or 68 * Should the current fog coordinate be queryable? 72 * Control the fog coordinate source via an Enable instead of a fog 77 * Should the fog coordinate be restricted to non-negative values? 89 fog. [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/ |
D | EXT_fog_coord.txt | 32 This extension allows specifying an explicit per-vertex fog 33 coordinate to be used in fog computations, rather than using a 34 fragment depth-based fog equation. 38 * Should the specified value be used directly as the fog weighting 39 factor, or in place of the z input to the fog equations? 60 * Interpolation of the fog coordinate may be perspective-correct or 68 * Should the current fog coordinate be queryable? 72 * Control the fog coordinate source via an Enable instead of a fog 77 * Should the fog coordinate be restricted to non-negative values? 89 fog. [all …]
|
/third_party/openGLES/docs/ |
D | fog_coord.txt | 32 This extension allows specifying an explicit per-vertex fog 33 coordinate to be used in fog computations, rather than using a 34 fragment depth-based fog equation. 38 * Should the specified value be used directly as the fog weighting 39 factor, or in place of the z input to the fog equations? 60 * Interpolation of the fog coordinate may be perspective-correct or 68 * Should the current fog coordinate be queryable? 72 * Control the fog coordinate source via an Enable instead of a fog 77 * Should the fog coordinate be restricted to non-negative values? 89 fog. [all …]
|
/third_party/openGLES/extensions/EXT/ |
D | EXT_fog_coord.txt | 32 This extension allows specifying an explicit per-vertex fog 33 coordinate to be used in fog computations, rather than using a 34 fragment depth-based fog equation. 38 * Should the specified value be used directly as the fog weighting 39 factor, or in place of the z input to the fog equations? 60 * Interpolation of the fog coordinate may be perspective-correct or 68 * Should the current fog coordinate be queryable? 72 * Control the fog coordinate source via an Enable instead of a fog 77 * Should the fog coordinate be restricted to non-negative values? 89 fog. [all …]
|
/third_party/openGLES/extensions/SGIS/ |
D | SGIS_fog_function.txt | 24 This extension allows to define application-specific fog blend-factor 27 eye-space distance value and corresponding value of the fog blending 44 fog blending factor ouside the [0.0, 1.0] range it should not 52 of the current fog factor function are queried by calling 55 "All the points of the current fog factor function are queried by 64 value of the fog blend factor. The fog blend factor values are 68 specifies the corresponding value of the fog blend factor (should be in 69 [0.0, 1.0] range)." Also "INVALID_VALUE is generated if fog factor 107 specifies the corresponding value of the fog blend factor. The fog 112 predecessor; 2. fog factor value of each point is not bigger then [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/SGIS/ |
D | SGIS_fog_function.txt | 24 This extension allows to define application-specific fog blend-factor 27 eye-space distance value and corresponding value of the fog blending 44 fog blending factor ouside the [0.0, 1.0] range it should not 52 of the current fog factor function are queried by calling 55 "All the points of the current fog factor function are queried by 64 value of the fog blend factor. The fog blend factor values are 68 specifies the corresponding value of the fog blend factor (should be in 69 [0.0, 1.0] range)." Also "INVALID_VALUE is generated if fog factor 107 specifies the corresponding value of the fog blend factor. The fog 112 predecessor; 2. fog factor value of each point is not bigger then [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/WIN/ |
D | WIN_specular_fog.txt | 39 assumes that the fog blend factor f is computed per-vertex and 41 extension enables the use of such existing fog circuitry to obtain 45 Enable with the appropriate enumerant and sets the fog color to the 64 state when the FOG_BIT is set, along with the rest of the fog related 93 "In addition to these, an implementation may choose to associate a fog 97 texturing by the fog sub-system." 101 coordinates, fog blend-factor and color". 109 "If the WIN_specular_fog extension is enabled the fog value, which 116 computing the color of the vertex are used to compute the fog value 118 the vertex. This value is used by the fog sub-system to add a specular [all …]
|
/third_party/openGLES/extensions/WIN/ |
D | WIN_specular_fog.txt | 39 assumes that the fog blend factor f is computed per-vertex and 41 extension enables the use of such existing fog circuitry to obtain 45 Enable with the appropriate enumerant and sets the fog color to the 64 state when the FOG_BIT is set, along with the rest of the fog related 93 "In addition to these, an implementation may choose to associate a fog 97 texturing by the fog sub-system." 101 coordinates, fog blend-factor and color". 109 "If the WIN_specular_fog extension is enabled the fog value, which 116 computing the color of the vertex are used to compute the fog value 118 the vertex. This value is used by the fog sub-system to add a specular [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
D | PixelProcessor.cpp | 901 fog.color4[0][0] = fogR; in setFogColor() 902 fog.color4[0][1] = fogR; in setFogColor() 903 fog.color4[0][2] = fogR; in setFogColor() 904 fog.color4[0][3] = fogR; in setFogColor() 906 fog.color4[1][0] = fogG; in setFogColor() 907 fog.color4[1][1] = fogG; in setFogColor() 908 fog.color4[1][2] = fogG; in setFogColor() 909 fog.color4[1][3] = fogG; in setFogColor() 911 fog.color4[2][0] = fogB; in setFogColor() 912 fog.color4[2][1] = fogB; in setFogColor() [all …]
|