const OSMesaContext osmesa = OSMESA_CONTEXT(ctx);
/* Note: we can ignoring internalFormat for "window-system" renderbuffers */
+ (void) internalFormat;
+
if (osmesa->format == OSMESA_RGBA) {
rb->GetRow = get_row_RGBA;
rb->GetValues = get_values_RGBA;
/*
* Mesa 3-D graphics library
- * Version: 6.3
+ * Version: 6.5.1
*
- * Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* and PutMonoValues functions.
*
* Define the following macros before including this file:
- * NAME(PREFIX) to generate the function name
+ * NAME(BASE) to generate the function name (i.e. add prefix or suffix)
* FORMAT must be either GL_RGBA, GL_RGBA8 or GL_COLOR_INDEX8_EXT
* SPAN_VARS to declare any local variables
* INIT_PIXEL_PTR(P, X, Y) to initialize a pointer to a pixel
FETCH_PIXEL(dest[i], pixel);
INC_PIXEL_PTR(pixel);
}
+ (void) rb;
}
static void
INIT_PIXEL_PTR(pixel, x[i], y[i]);
FETCH_PIXEL(dest[i], pixel);
}
+ (void) rb;
}
INC_PIXEL_PTR(pixel);
}
}
+ (void) rb;
}
#if (FORMAT == GL_RGBA) || (FORMAT == GL_RGBA8)
}
INC_PIXEL_PTR(pixel);
}
+ (void) rb;
}
#endif
INC_PIXEL_PTR(pixel);
}
}
+ (void) rb;
}
STORE_PIXEL(pixel, x[i], y[i], src[i]);
}
}
+ (void) rb;
}
STORE_PIXEL(pixel, x[i], y[i], src);
}
}
+ (void) rb;
}