115 |
/** Draw something stenciled |
/** Draw something stenciled |
116 |
* Assumes that stencil buffer is all zeroes when called; leaves |
* Assumes that stencil buffer is all zeroes when called; leaves |
117 |
* it zeroed if contract of drawOverStencil is met. |
* it zeroed if contract of drawOverStencil is met. |
|
* <b>Warning: due to a bug in NVidia driver, depth test is disabled. |
|
118 |
* </b> |
* </b> |
119 |
* @param vs The VobScene to draw into |
* @param vs The VobScene to draw into |
120 |
* @param drawStencil The routine which causes exactly those |
* @param drawStencil The routine which causes exactly those |
133 |
* will be rendered only in the area OUTSIDE the |
* will be rendered only in the area OUTSIDE the |
134 |
* stencil |
* stencil |
135 |
* @param drawContents (may be null): the contents of the stencil. |
* @param drawContents (may be null): the contents of the stencil. |
136 |
* @param needDepth Not used currently, must be false. |
* @param needDepth Whether depth tests will be used inside the stencil. |
137 |
*/ |
*/ |
138 |
static public void drawStenciled(VobScene vs, |
static public void drawStenciled(VobScene vs, |
139 |
Runnable drawStencil, |
Runnable drawStencil, |