B2G/gecko/browser/devtools/tilt/TiltGL.jsm
/**
   * Sets if depth testing should be enabled or not.
   * Disabling could be useful when handling transparency (for example).
   *
   * @param {Boolean} aEnabledFlag
   *                  true if depth testing should be enabled
   */
Sets if depth testing should be enabled or not.
Disabling could be useful when handling transparency (for example).

@param {Boolean} aEnabledFlag
true if depth testing should be enabled
Sets if depth testing should be enabled or not . Disabling could be useful when handling transparency ( for example ) . @param { Boolean } aEnabledFlag true if depth testing should be enabled
function TGLR_depthTest(aEnabledFlag)
  {
    let gl = this.context;
    if (aEnabledFlag) {
      gl.enable(gl.DEPTH_TEST);
    } else {
      gl.disable(gl.DEPTH_TEST);
    }
  }
function TGLR_depthTest ( aEnabledFlag ) { let gl = this . context ; if ( aEnabledFlag ) { gl . enable ( gl . DEPTH_TEST ) ; } else { gl . disable ( gl . DEPTH_TEST ) ; } }
Sets if depth testing should be enabled or not.
Sets if depth testing should be enabled or not .