Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/
DGrDirectContext.cpp1085 auto errorContext = new GetErrorContext; in make_get_error_with_random_oom() local
1088 __lsan_ignore_object(errorContext); in make_get_error_with_random_oom()
1091 errorContext->fGetError = original; in make_get_error_with_random_oom()
1093 return GrGLFunction<GrGLGetErrorFn>([errorContext]() { in make_get_error_with_random_oom()
1094 GrGLenum error = errorContext->fGetError(); in make_get_error_with_random_oom()
1095 if (error == GR_GL_NO_ERROR && (errorContext->fRandom.nextU() % 300) == 0) { in make_get_error_with_random_oom()