X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2FREADME.portability;h=cf6cc36afbb6a431b67ff6719a75b3859f06c736;hb=d18d1ba5877c234a2cf4e3e834df27f03c7b6a11;hp=18a97f449b498aa9e9dc4bd2018aacc058f4f6a8;hpb=33d9e213ee47aab32f662caf3e7c07c2697befbe;p=mesa.git diff --git a/src/gallium/README.portability b/src/gallium/README.portability index 18a97f449b4..cf6cc36afbb 100644 --- a/src/gallium/README.portability +++ b/src/gallium/README.portability @@ -6,15 +6,13 @@ The state tracker 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 stricly follow these guidelines to ensure +headers in general, should strictly follow these guidelines to ensure = Compiler Support = * 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 ==