19 |
private static Vob initZero; |
private static Vob initZero; |
20 |
private static Vob exit; |
private static Vob exit; |
21 |
|
|
22 |
|
static { |
23 |
|
init(); |
24 |
|
} |
25 |
|
|
26 |
private static void init() { |
private static void init() { |
27 |
if(initStencil != null) return; |
if(initStencil != null) return; |
28 |
|
|
56 |
|
|
57 |
initContents_depth = GZZGL.createCallList( |
initContents_depth = GZZGL.createCallList( |
58 |
" StencilFunc EQUAL 1 255\n" |
" StencilFunc EQUAL 1 255\n" |
59 |
|
" StencilMask 0\n" |
60 |
); |
); |
61 |
initContents_nodepth = GZZGL.createCallList( |
initContents_nodepth = GZZGL.createCallList( |
62 |
" StencilFunc EQUAL 1 255\n"+ |
" StencilFunc EQUAL 1 255\n"+ |
63 |
" DepthMask 0\n"+ |
" DepthMask 0\n"+ |
64 |
|
" StencilMask 0\n" |
65 |
" Disable DEPTH_TEST\n" |
" Disable DEPTH_TEST\n" |
66 |
); |
); |
67 |
|
|
68 |
initZero = GZZGL.createCallList( |
initZero = GZZGL.createCallList( |
69 |
" StencilFunc EQUAL 1 255\n"+ |
" StencilFunc ALWAYS 1 255\n"+ |
70 |
" StencilOp ZERO ZERO ZERO\n"+ // XXX |
" StencilOp ZERO ZERO ZERO\n"+ // XXX |
71 |
" StencilMask 1\n"+ |
" StencilMask 1\n"+ |
72 |
" ColorMask 0 0 0 0\n" |
" ColorMask 0 0 0 0\n" |