[Mesa-dev] [PATCH] mesa: Prevent classic swrast crash on a surfaceless context.

2019-05-15 Thread Mathias . Froehlich
From: Mathias Fröhlich Hi all, One small fix below. Please review! best Mathias Running swrast with the new device egl extensions piglit test brings up this failure. Fix that by adding some NULL pointer checks. Signed-off-by: Mathias Fröhlich --- src/mesa/main/fbobject.c | 11 ++--

[Mesa-dev] [PATCH] mesa: Prevent classic swrast crash on a surfaceless context v2.

2019-05-27 Thread Mathias . Froehlich
From: Mathias Fröhlich Hi Emil, thanks for that hint to look at _mesa_get_incomplete_framebuffer. That one seems definitely more appropriate! Though, I miss a bit the idea how I can create either a sensible helper function for that task or how I can create something above in the call stack to t

[Mesa-dev] [PATCH 1/2] swrast: Avoid creating front buffers with __DRI_SWRAST_LOADER < 3.

2019-06-06 Thread Mathias . Froehlich
From: Mathias Fröhlich Align classic swrast with galliums software renderer with respect to front buffer creation. In case of front buffers swrast uses the __DRI_SWRAST_LOADER extensions getImage/putImage callbacks to keep the front buffer in sync between the X server and the mesa software render

[Mesa-dev] [PATCH 2/2] egl: Don't add hardware device if there is no render node.

2019-06-06 Thread Mathias . Froehlich
From: Mathias Fröhlich Do not offer a hardware drm backed egl device if no render node is available. The current implementation will fail on this egl device. On top it issues a warning that is actually missleading. There are finally more error paths that can fail on the way to a hardware backed e

[Mesa-dev] [PATCH 0/2] Followups on the just landed EGL_platform_device.

2019-06-06 Thread Mathias . Froehlich
From: Mathias Fröhlich Hi Emil, I have two followups for EGL_platform_device: I have now found the proof for gallium swrast not calling getImage/putImage and provide an update to classic swrast to just do the same. Also, there is a change to catch one simple case that gives a false warning on s

[Mesa-dev] [PATCH] egl: Don't add hardware device if there is no render node v2.

2019-06-17 Thread Mathias . Froehlich
From: Mathias Fröhlich Emil, that one probably matches your original intent then. please review Thanks Mathias Do not offer a hardware drm backed egl device if no render node is available. The current implementation will fail on this egl device. On top it issues a warning that is actually m

[Mesa-dev] [PATCH 2/3] mesa: Introduce enabled bitfield helper functions.

2011-12-29 Thread Mathias Froehlich
Depending on the installed shader type, different arrays are used from gl_array_object. Provide helper functions that compute the bitmask of these arrays that are finally enabled for a given shader type. The will be used in a followup change. Signed-off-by: Mathias Fröhlich --- src/mesa/main/arr

[Mesa-dev] [PATCH 2/3] mesa: Introduce enabled bitfield helper functions.

2012-01-11 Thread Mathias Froehlich
Depending on the installed shader type, different arrays are used from gl_array_object. Provide helper functions that compute the bitmask of these arrays that are finally enabled for a given shader type. The will be used in a followup change. Signed-off-by: Mathias Fröhlich --- src/mesa/main/arr

<    1   2   3   4   5