Searched refs:d3dBlend (Results 1 – 2 of 2) sorted by relevance
49 D3DBLEND d3dBlend = D3DBLEND_ZERO; in ConvertBlendFunc() local53 case GL_ZERO: d3dBlend = D3DBLEND_ZERO; break; in ConvertBlendFunc()54 case GL_ONE: d3dBlend = D3DBLEND_ONE; break; in ConvertBlendFunc()55 case GL_SRC_COLOR: d3dBlend = D3DBLEND_SRCCOLOR; break; in ConvertBlendFunc()56 case GL_ONE_MINUS_SRC_COLOR: d3dBlend = D3DBLEND_INVSRCCOLOR; break; in ConvertBlendFunc()57 case GL_DST_COLOR: d3dBlend = D3DBLEND_DESTCOLOR; break; in ConvertBlendFunc()58 case GL_ONE_MINUS_DST_COLOR: d3dBlend = D3DBLEND_INVDESTCOLOR; break; in ConvertBlendFunc()59 case GL_SRC_ALPHA: d3dBlend = D3DBLEND_SRCALPHA; break; in ConvertBlendFunc()60 case GL_ONE_MINUS_SRC_ALPHA: d3dBlend = D3DBLEND_INVSRCALPHA; break; in ConvertBlendFunc()61 case GL_DST_ALPHA: d3dBlend = D3DBLEND_DESTALPHA; break; in ConvertBlendFunc()[all …]
20 D3D11_BLEND d3dBlend = D3D11_BLEND_ZERO; in ConvertBlendFunc() local24 case GL_ZERO: d3dBlend = D3D11_BLEND_ZERO; break; in ConvertBlendFunc()25 case GL_ONE: d3dBlend = D3D11_BLEND_ONE; break; in ConvertBlendFunc()26 …case GL_SRC_COLOR: d3dBlend = (isAlpha ? D3D11_BLEND_SRC_ALPHA : D3D11_BLEND_SRC_CO… in ConvertBlendFunc()27 …case GL_ONE_MINUS_SRC_COLOR: d3dBlend = (isAlpha ? D3D11_BLEND_INV_SRC_ALPHA : D3D11_BLEND_IN… in ConvertBlendFunc()28 …case GL_DST_COLOR: d3dBlend = (isAlpha ? D3D11_BLEND_DEST_ALPHA : D3D11_BLEND_DEST_… in ConvertBlendFunc()29 …case GL_ONE_MINUS_DST_COLOR: d3dBlend = (isAlpha ? D3D11_BLEND_INV_DEST_ALPHA : D3D11_BLEND_I… in ConvertBlendFunc()30 case GL_SRC_ALPHA: d3dBlend = D3D11_BLEND_SRC_ALPHA; break; in ConvertBlendFunc()31 case GL_ONE_MINUS_SRC_ALPHA: d3dBlend = D3D11_BLEND_INV_SRC_ALPHA; break; in ConvertBlendFunc()32 case GL_DST_ALPHA: d3dBlend = D3D11_BLEND_DEST_ALPHA; break; in ConvertBlendFunc()[all …]