Home | History | Annotate | Download | only in test

Lines Matching defs:depth

198    GGLSurface              depth;
206 depth.version = sizeof(GGLSurface);
207 depth.data = 0;
208 depth.format = depthFormat;
213 free(depth.data);
424 // allocate a corresponding depth-buffer
427 if (depth.format) {
428 depth.width = width;
429 depth.height = height;
430 depth.stride = depth.width; // use the width here
431 depth.data = (GGLubyte*)malloc(depth.stride*depth.height*2);
432 if (depth.data == 0) {
577 // reallocate the depth-buffer if needed
583 if (depth.data) {
584 free(depth.data);
585 depth.width = width;
586 depth.height = height;
587 depth.stride = buffer->stride;
588 depth.data = (GGLubyte*)malloc(depth.stride*depth.height*2);
589 if (depth.data == 0) {
641 //if (depth.data != gl->rasterizer.state.buffers.depth.data)
642 // gl->rasterizer.procs.depthBuffer(gl, &depth);
687 return !depth.format || depth.data!=0;
708 depth.width = pixmap->width;
709 depth.height = pixmap->height;
710 depth.stride = depth.width; // use the width here
711 depth.data = (GGLubyte*)malloc(depth.stride*depth.height*2);
712 if (depth.data == 0) {
729 //if (depth.data != gl->rasterizer.state.buffers.depth.data)
730 // gl->rasterizer.procs.depthBuffer(gl, &depth);
790 depth.width = pbuffer.width;
791 depth.height = pbuffer.height;
792 depth.stride = depth.width; // use the width here
793 depth.data = (GGLubyte*)malloc(depth.stride*depth.height*2);
794 if (depth.data == 0) {
808 //if (depth.data != gl->rasterizer.state.buffers.depth.data)
809 // gl->rasterizer.procs.depthBuffer(gl, &depth);