[Mesa-dev] [PATCH] i965: Don't print a fatal-looking message if intelCreateContext fails.

Eric Anholt eric at anholt.net
Fri Mar 15 09:45:49 PDT 2013

Kenneth Graunke <kenneth at whitecape.org> writes:

> With the old context creation mechanism, an application asked the GL to
> give it a context.  Failing to produce a context was a fatal error.
> Now, with GLX_ARB_create_context, the application can request a specific
> version.  If it's higher than the maximum version we support, context
> creation will fail.  But this is a normal error that applications
> recover from.
> In particular, the new glxinfo tries to create OpenGL 4.3, 4.2, 4.1,
> 4.0, 3.3, and 3.2 contexts before finally succeeding at creating a 3.1
> context.  This led to it printing the following message 6 times:
> "brwCreateContext: failed to init intel context"
> There's no need to alarm users (and developers) with such a message.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130315/a3664596/attachment.pgp>

More information about the mesa-dev mailing list