[Mesa-dev] [PATCH] dri/r300: test for FEATURE defines

Chia-I Wu olvaffe at gmail.com
Tue Jul 13 03:12:45 PDT 2010


On Tue, Jul 13, 2010 at 9:57 AM, nobled <nobled at dreamwidth.org> wrote:
> Fixes a fatal build error when compiling just OpenGL ES libraries, since
> FEATURE_EXT_framebuffer_blit is disabled then, so the BlitFramebuffer
> member doesn't exist.
Is this change enough to make dri_r300 function as a GLES only driver?

To be honest, I am a little reluctant to sprinkle "#if FEATURE" in the drivers
at the moment.  The drivers, execept for intel, have not specified GLES api
support yet.  Even when they do, I would hope there is a more systematic to
enable/disable certain features, to effectively reduce the driver size.

-- 
olv at LunarG.com


More information about the mesa-dev mailing list