Lines Matching defs:gl_context
6 var gl_context;
9 gl_context = null;
11 gl_context = canvas.getContext("webgl") ||
14 if (!gl_context) {
25 if (gl_context) {
26 gl_context.clearColor(0.0, 0.0, 0.0, 1.0);
27 gl_context.enable(gl_context.DEPTH_TEST);
28 gl_context.depthFunc(gl_context.LEQUAL);
29 gl_context.clearDepth(1);
30 gl_context.clear(gl_context.COLOR_BUFFER_BIT |
31 gl_context.DEPTH_BUFFER_BIT);