Home | History | Annotate | Download | only in glx

Lines Matching refs:renderType

229  * \param config GLX FBConfig which will support the returned renderType.
230 * \param renderType The context render type to be verified.
231 * \return True if the value of context renderType was approved, or 0 if no
236 int renderType)
238 switch (renderType) {
240 return (config->renderType & GLX_RGBA_BIT) != 0;
242 return (config->renderType & GLX_COLOR_INDEX_BIT) != 0;
244 return (config->renderType & GLX_RGBA_FLOAT_BIT_ARB) != 0;
246 return (config->renderType & GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT) != 0;
274 * \param renderType For FBConfigs, what is the rendering type?
280 unsigned code, int renderType, int screen)
297 gc = applegl_create_context(psc, config, shareList, renderType);
300 gc = psc->vtable->create_context(psc, config, shareList, renderType);
302 gc = indirect_create_context(psc, config, shareList, renderType);
334 req->renderType = renderType;
355 req->renderType = renderType;
382 int renderType = GLX_RGBA_TYPE;
405 * this old API does not provide renderType parameter.
407 if (config->renderType & GLX_RGBA_FLOAT_BIT_ARB) {
408 renderType = GLX_RGBA_FLOAT_TYPE_ARB;
409 } else if (config->renderType & GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT) {
410 renderType = GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT;
411 } else if (config->renderType & GLX_RGBA_BIT) {
412 renderType = GLX_RGBA_TYPE;
413 } else if (config->renderType & GLX_COLOR_INDEX_BIT) {
414 renderType = GLX_COLOR_INDEX_TYPE;
416 /* If we're here, then renderType is not set correctly. Let's use a
419 * renderType correctly as the value was just ignored.
421 renderType = GLX_RGBA_TYPE;
424 * modes. Again, this allows drivers with invalid renderType to work
427 renderType = GLX_COLOR_INDEX_TYPE;
432 X_GLXCreateContext, renderType, vis->screen);
927 config->renderType = GLX_RGBA_BIT;
1016 MATCH_MASK(renderType);
1411 int i, renderType;
1484 renderType = GLX_RGBA_TYPE; /* By default, assume RGBA context */
1503 renderType = pProp[1];
1523 ctx = indirect_create_context(psc, mode, NULL, renderType);
1555 *value = ctx->renderType;
1626 int renderType, GLXContext shareList, Bool allowDirect)
1653 allowDirect, X_GLXCreateNewContext, renderType,
2011 GLXFBConfigSGIX fbconfig, int renderType,
2028 X_GLXvop_CreateContextWithConfigSGIX, renderType,