Home
last modified time | relevance | path

Searched refs:errorContext (Results 1 – 1 of 1) sorted by relevance

/third_party/skia/src/gpu/
DGrDirectContext.cpp1020 auto errorContext = new GetErrorContext; in make_get_error_with_random_oom() local
1023 __lsan_ignore_object(errorContext); in make_get_error_with_random_oom()
1026 errorContext->fGetError = original; in make_get_error_with_random_oom()
1028 return GrGLFunction<GrGLGetErrorFn>([errorContext]() { in make_get_error_with_random_oom()
1029 GrGLenum error = errorContext->fGetError(); in make_get_error_with_random_oom()
1030 if (error == GR_GL_NO_ERROR && (errorContext->fRandom.nextU() % 300) == 0) { in make_get_error_with_random_oom()