Lines Matching refs:stencil_temp
804 swrast->stencil_temp.buf1 = malloc(SWRAST_MAX_WIDTH * sizeof(GLubyte)); in _swrast_CreateContext()
805 swrast->stencil_temp.buf2 = malloc(SWRAST_MAX_WIDTH * sizeof(GLubyte)); in _swrast_CreateContext()
806 swrast->stencil_temp.buf3 = malloc(SWRAST_MAX_WIDTH * sizeof(GLubyte)); in _swrast_CreateContext()
807 swrast->stencil_temp.buf4 = malloc(SWRAST_MAX_WIDTH * sizeof(GLubyte)); in _swrast_CreateContext()
809 if (!swrast->stencil_temp.buf1 || in _swrast_CreateContext()
810 !swrast->stencil_temp.buf2 || in _swrast_CreateContext()
811 !swrast->stencil_temp.buf3 || in _swrast_CreateContext()
812 !swrast->stencil_temp.buf4) { in _swrast_CreateContext()
833 free(swrast->stencil_temp.buf1); in _swrast_DestroyContext()
834 free(swrast->stencil_temp.buf2); in _swrast_DestroyContext()
835 free(swrast->stencil_temp.buf3); in _swrast_DestroyContext()
836 free(swrast->stencil_temp.buf4); in _swrast_DestroyContext()