X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=blobdiff_plain;f=src%2Fgallium%2FREADME.portability;h=9fbec4c5f5cd7c87f8f970db55b7904007e47e8b;hp=d5d5987a7ff8fef68fb7657eb667d8077b49a8e3;hb=8a2a42d6a6e2d1e6f5942cb6293b74da6f42e6e4;hpb=019fc3aa04f11d61e6d0f4791c171d1790577ab5;ds=sidebyside diff --git a/src/gallium/README.portability b/src/gallium/README.portability index d5d5987a7ff..9fbec4c5f5c 100644 --- a/src/gallium/README.portability +++ b/src/gallium/README.portability @@ -3,7 +3,7 @@ = General Considerations = -The state tracker and winsys driver support a rather limited number of +The frontend and winsys driver support a rather limited number of platforms. However, the pipe drivers are meant to run in a wide number of platforms. Hence the pipe drivers, the auxiliary modules, and all public headers in general, should strictly follow these guidelines to ensure @@ -13,8 +13,6 @@ headers in general, should strictly follow these guidelines to ensure * Include the p_compiler.h. -* Don't use the 'inline' keyword, use the INLINE macro in p_compiler.h instead. - * Cast explicitly when converting to integer types of smaller sizes. * Cast explicitly when converting between float, double and integral types. @@ -35,8 +33,8 @@ not available in Windows Kernel Mode. Use the appropriate p_*.h include. * Use MALLOC, CALLOC, FREE instead of the malloc, calloc, free functions. -* Use align_pointer() function defined in p_util.h for aligning pointers in a -portable way. +* Use align_pointer() function defined in u_memory.h for aligning pointers + in a portable way. == Debugging ==