#include "fbobject.h"
-#if FEATURE_drawpix
-
-
/*
* Execute glDrawPixels
*/
SET_CopyPixels(disp, _mesa_CopyPixels);
SET_DrawPixels(disp, _mesa_DrawPixels);
}
-
-
-#endif /* FEATURE_drawpix */
struct _glapi_table;
-#if FEATURE_drawpix
-
extern void
_mesa_init_drawpix_dispatch(struct _glapi_table *disp);
-#else /* FEATURE_drawpix */
-
-static inline void
-_mesa_init_drawpix_dispatch(struct _glapi_table *disp)
-{
-}
-
-#endif /* FEATURE_drawpix */
-
#endif /* DRAWPIX_H */
#define FEATURE_remap_table 0
#endif
-#define FEATURE_drawpix FEATURE_GL
#define FEATURE_evaluators FEATURE_GL
#define FEATURE_feedback FEATURE_GL
#define FEATURE_pixel_transfer FEATURE_GL
#include "cso_cache/cso_context.h"
-#if FEATURE_drawpix
-
/**
* glBitmaps are drawn as textured quads. The user's bitmap pattern
* is stored in a texture image. An alpha8 texture format is used.
st->bitmap.cache = NULL;
}
}
-
-#endif /* FEATURE_drawpix */
struct gl_fragment_program;
struct st_fragment_program;
-#if FEATURE_drawpix
-
extern void
st_init_bitmap_functions(struct dd_function_table *functions);
extern void
st_flush_bitmap_cache(struct st_context *st);
-#else
-
-static INLINE void
-st_init_bitmap_functions(struct dd_function_table *functions)
-{
-}
-
-static INLINE void
-st_init_bitmap(struct st_context *st)
-{
-}
-
-static INLINE void
-st_destroy_bitmap(struct st_context *st)
-{
-}
-
-static INLINE void
-st_flush_bitmap_cache(struct st_context *st)
-{
-}
-
-static INLINE void
-st_flush_bitmap(struct st_context *st)
-{
-}
-
-#endif /* FEATURE_drawpix */
#endif /* ST_CB_BITMAP_H */
#include "cso_cache/cso_context.h"
-#if FEATURE_drawpix
-
/**
* Check if the given program is:
* 0: MOVE result.color, fragment.color;
if (st->drawpix.vert_shaders[1])
cso_delete_vertex_shader(st->cso_context, st->drawpix.vert_shaders[1]);
}
-
-#endif /* FEATURE_drawpix */
struct dd_function_table;
struct st_context;
-#if FEATURE_drawpix
-
extern void st_init_drawpixels_functions(struct dd_function_table *functions);
extern void
GLboolean write_depth,
GLboolean write_stencil);
-#else
-
-static INLINE void
-st_init_drawpixels_functions(struct dd_function_table *functions)
-{
-}
-
-static INLINE void
-st_destroy_drawpix(struct st_context *st)
-{
-}
-
-#endif /* FEATURE_drawpix */
#endif /* ST_CB_DRAWPIXELS_H */
assert(!(key->bitmap && key->drawpixels));
-#if FEATURE_drawpix
if (key->bitmap) {
/* glBitmap drawing */
struct gl_fragment_program *fp; /* we free this temp program below */
}
stfp = st_fragment_program(fp);
}
-#endif
if (!stfp->glsl_to_tgsi)
_mesa_remove_output_reads(&stfp->Base.Base, PROGRAM_OUTPUT);