gfx/layers/d3d9/genshaders.sh

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

michael@0 1 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 4
michael@0 5 tempfile=tmpShaderHeader
michael@0 6 rm LayerManagerD3D9Shaders.h
michael@0 7 fxc LayerManagerD3D9Shaders.hlsl -ELayerQuadVS -nologo -Fh$tempfile -VnLayerQuadVS
michael@0 8 cat $tempfile >> LayerManagerD3D9Shaders.h
michael@0 9 fxc LayerManagerD3D9Shaders.hlsl -ERGBAShader -nologo -Tps_2_0 -Fh$tempfile -VnRGBAShaderPS
michael@0 10 cat $tempfile >> LayerManagerD3D9Shaders.h
michael@0 11 fxc LayerManagerD3D9Shaders.hlsl -EComponentPass1Shader -nologo -Tps_2_0 -Fh$tempfile -VnComponentPass1ShaderPS
michael@0 12 cat $tempfile >> LayerManagerD3D9Shaders.h
michael@0 13 fxc LayerManagerD3D9Shaders.hlsl -EComponentPass2Shader -nologo -Tps_2_0 -Fh$tempfile -VnComponentPass2ShaderPS
michael@0 14 cat $tempfile >> LayerManagerD3D9Shaders.h
michael@0 15 fxc LayerManagerD3D9Shaders.hlsl -ERGBShader -nologo -Tps_2_0 -Fh$tempfile -VnRGBShaderPS
michael@0 16 cat $tempfile >> LayerManagerD3D9Shaders.h
michael@0 17 fxc LayerManagerD3D9Shaders.hlsl -EYCbCrShader -nologo -Tps_2_0 -Fh$tempfile -VnYCbCrShaderPS
michael@0 18 cat $tempfile >> LayerManagerD3D9Shaders.h
michael@0 19 fxc LayerManagerD3D9Shaders.hlsl -ESolidColorShader -nologo -Tps_2_0 -Fh$tempfile -VnSolidColorShaderPS
michael@0 20 cat $tempfile >> LayerManagerD3D9Shaders.h
michael@0 21 fxc LayerManagerD3D9Shaders.hlsl -ELayerQuadVSMask -nologo -Fh$tempfile -VnLayerQuadVSMask
michael@0 22 cat $tempfile >> LayerManagerD3D9Shaders.h
michael@0 23 fxc LayerManagerD3D9Shaders.hlsl -ELayerQuadVSMask3D -nologo -Fh$tempfile -VnLayerQuadVSMask3D
michael@0 24 cat $tempfile >> LayerManagerD3D9Shaders.h
michael@0 25 fxc LayerManagerD3D9Shaders.hlsl -ERGBAShaderMask -nologo -Tps_2_0 -Fh$tempfile -VnRGBAShaderPSMask
michael@0 26 cat $tempfile >> LayerManagerD3D9Shaders.h
michael@0 27 fxc LayerManagerD3D9Shaders.hlsl -ERGBAShaderMask3D -nologo -Tps_2_0 -Fh$tempfile -VnRGBAShaderPSMask3D
michael@0 28 cat $tempfile >> LayerManagerD3D9Shaders.h
michael@0 29 fxc LayerManagerD3D9Shaders.hlsl -EComponentPass1ShaderMask -nologo -Tps_2_0 -Fh$tempfile -VnComponentPass1ShaderPSMask
michael@0 30 cat $tempfile >> LayerManagerD3D9Shaders.h
michael@0 31 fxc LayerManagerD3D9Shaders.hlsl -EComponentPass2ShaderMask -nologo -Tps_2_0 -Fh$tempfile -VnComponentPass2ShaderPSMask
michael@0 32 cat $tempfile >> LayerManagerD3D9Shaders.h
michael@0 33 fxc LayerManagerD3D9Shaders.hlsl -ERGBShaderMask -nologo -Tps_2_0 -Fh$tempfile -VnRGBShaderPSMask
michael@0 34 cat $tempfile >> LayerManagerD3D9Shaders.h
michael@0 35 fxc LayerManagerD3D9Shaders.hlsl -EYCbCrShaderMask -nologo -Tps_2_0 -Fh$tempfile -VnYCbCrShaderPSMask
michael@0 36 cat $tempfile >> LayerManagerD3D9Shaders.h
michael@0 37 fxc LayerManagerD3D9Shaders.hlsl -ESolidColorShaderMask -nologo -Tps_2_0 -Fh$tempfile -VnSolidColorShaderPSMask
michael@0 38 cat $tempfile >> LayerManagerD3D9Shaders.h
michael@0 39 rm $tempfile

mercurial