HomeSort by: relevance | last modified time | path
    Searched refs:draw (Results 1 - 25 of 837) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
draw_pipe.c 33 #include "draw/draw_private.h"
34 #include "draw/draw_pipe.h"
40 boolean draw_pipeline_init( struct draw_context *draw )
43 draw->pipeline.wide_line = draw_wide_line_stage( draw );
44 draw->pipeline.wide_point = draw_wide_point_stage( draw );
45 draw->pipeline.stipple = draw_stipple_stage( draw );
46 draw->pipeline.unfilled = draw_unfilled_stage( draw )
    [all...]
draw_context.c 78 * Create new draw module context with gallivm state for LLVM JIT.
84 struct draw_context *draw = CALLOC_STRUCT( draw_context ); local
85 if (!draw)
93 draw->llvm = draw_llvm_create(draw, (LLVMContextRef)context);
97 draw->pipe = pipe;
98 draw->constant_buffer_stride = (sizeof(float) * 4);
100 if (!draw_init(draw))
103 draw->ia = draw_prim_assembler_create(draw);
    [all...]
draw_pt_decompose.h 4 draw->quads_always_flatshade_last; \
6 !draw->rasterizer->flatshade_first;
draw_pipe_validate.c 50 draw_need_pipeline(const struct draw_context *draw,
58 if (draw->render &&
59 draw->render->need_pipeline)
61 return draw->render->need_pipeline( draw->render,
72 if (rasterizer->line_stipple_enable && draw->pipeline.line_stipple)
76 if (roundf(rasterizer->line_width) > draw->pipeline.wide_line_threshold)
80 if ((!rasterizer->multisample && rasterizer->line_smooth) && draw->pipeline.aaline)
83 if (draw_current_shader_num_written_culldistances(draw))
88 if (rasterizer->point_size > draw->pipeline.wide_point_threshold
150 struct draw_context *draw = stage->draw; local
    [all...]
draw_context.h 79 void draw_destroy( struct draw_context *draw );
81 void draw_flush(struct draw_context *draw);
83 void draw_set_viewport_states( struct draw_context *draw,
92 * Sets the rasterization state used by the draw module.
95 * draw module sets the state back on the driver itself using the
100 * the actual state - that's because the draw module can try to
103 * draw_set_rasterizer_state(driver->draw, state->pipe_state, state);
106 void draw_set_rasterizer_state( struct draw_context *draw,
110 void draw_set_rasterize_stage( struct draw_context *draw,
113 void draw_wide_point_threshold(struct draw_context *draw, float threshold)
    [all...]
draw_pt.c 33 #include "draw/draw_context.h"
34 #include "draw/draw_gs.h"
35 #include "draw/draw_tess.h"
36 #include "draw/draw_private.h"
37 #include "draw/draw_pt.h"
38 #include "draw/draw_vbuf.h"
39 #include "draw/draw_vs.h"
57 draw_pt_arrays(struct draw_context *draw,
69 if (draw->gs.geometry_shader)
70 out_prim = draw->gs.geometry_shader->output_primitive
    [all...]
draw_pt_fetch_shade_emit.c 36 #include "draw/draw_context.h"
37 #include "draw/draw_private.h"
38 #include "draw/draw_vbuf.h"
39 #include "draw/draw_vertex.h"
40 #include "draw/draw_pt.h"
41 #include "draw/draw_vs.h"
51 struct draw_context *draw; member in struct:fetch_shade_emit
75 struct draw_context *draw = fse->draw; local
76 unsigned num_vs_inputs = draw->vs.vertex_shader->info.num_inputs
195 struct draw_context *draw = fse->draw; local
259 struct draw_context *draw = fse->draw; local
317 struct draw_context *draw = fse->draw; local
    [all...]
draw_vs.c 57 draw_create_vertex_shader(struct draw_context *draw,
63 if (draw->dump_vs) {
68 if (draw->pt.middle.llvm) {
69 struct pipe_screen *screen = draw->pipe->screen;
79 vs = draw_create_vs_llvm(draw, &state);
84 vs = draw_create_vs_exec( draw, &state );
121 draw_bind_vertex_shader(struct draw_context *draw,
124 draw_do_flush( draw, DRAW_FLUSH_STATE_CHANGE );
128 draw->vs.vertex_shader = dvs;
129 draw->vs.num_vs_outputs = dvs->info.num_outputs
    [all...]
draw_fs.c 43 draw_create_fragment_shader(struct draw_context *draw,
62 draw_bind_fragment_shader(struct draw_context *draw,
65 draw_do_flush(draw, DRAW_FLUSH_STATE_CHANGE);
67 draw->fs.fragment_shader = dfs;
72 draw_delete_fragment_shader(struct draw_context *draw,
draw_pt_fetch.c 31 #include "draw/draw_context.h"
32 #include "draw/draw_private.h"
33 #include "draw/draw_pt.h"
39 struct draw_context *draw; member in struct:pt_fetch
60 struct draw_context *draw = fetch->draw; local
78 assert(draw->pt.nr_vertex_elements + num_extra_inputs >= vs_input_count);
80 nr_inputs = MIN2(vs_input_count, draw->pt.nr_vertex_elements + num_extra_inputs);
90 } else if (util_format_is_pure_sint(draw->pt.vertex_element[i].src_format)) {
92 key.element[nr].input_format = draw->pt.vertex_element[ei].src_format
148 struct draw_context *draw = fetch->draw; local
176 struct draw_context *draw = fetch->draw; local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
draw_pipe.c 33 #include "draw/draw_private.h"
34 #include "draw/draw_pipe.h"
40 boolean draw_pipeline_init( struct draw_context *draw )
43 draw->pipeline.wide_line = draw_wide_line_stage( draw );
44 draw->pipeline.wide_point = draw_wide_point_stage( draw );
45 draw->pipeline.stipple = draw_stipple_stage( draw );
46 draw->pipeline.unfilled = draw_unfilled_stage( draw )
    [all...]
draw_pt_decompose.h 4 draw->quads_always_flatshade_last; \
6 !(draw->rasterizer->flatshade && \
7 draw->rasterizer->flatshade_first);
8 /* FIXME: the draw->rasterizer->flatshade part is really wrong */
draw_context.c 68 * Create new draw module context with gallivm state for LLVM JIT.
74 struct draw_context *draw = CALLOC_STRUCT( draw_context ); local
75 if (!draw)
83 draw->llvm = draw_llvm_create(draw, (LLVMContextRef)context);
87 draw->pipe = pipe;
89 if (!draw_init(draw))
92 draw->ia = draw_prim_assembler_create(draw);
93 if (!draw->ia
    [all...]
draw_pipe_validate.c 50 draw_need_pipeline(const struct draw_context *draw,
58 if (draw->render &&
59 draw->render->need_pipeline)
61 return draw->render->need_pipeline( draw->render,
72 if (rasterizer->line_stipple_enable && draw->pipeline.line_stipple)
76 if (roundf(rasterizer->line_width) > draw->pipeline.wide_line_threshold)
80 if (rasterizer->line_smooth && draw->pipeline.aaline)
83 if (draw_current_shader_num_written_culldistances(draw))
88 if (rasterizer->point_size > draw->pipeline.wide_point_threshold
147 struct draw_context *draw = stage->draw; local
    [all...]
draw_fs.c 42 draw_create_fragment_shader(struct draw_context *draw,
58 draw_bind_fragment_shader(struct draw_context *draw,
61 draw_do_flush(draw, DRAW_FLUSH_STATE_CHANGE);
63 draw->fs.fragment_shader = dfs;
68 draw_delete_fragment_shader(struct draw_context *draw,
draw_pt.c 33 #include "draw/draw_context.h"
34 #include "draw/draw_gs.h"
35 #include "draw/draw_private.h"
36 #include "draw/draw_pt.h"
37 #include "draw/draw_vbuf.h"
38 #include "draw/draw_vs.h"
56 draw_pt_arrays(struct draw_context *draw,
75 if (!draw->force_passthrough) {
76 unsigned gs_out_prim = (draw->gs.geometry_shader ?
77 draw->gs.geometry_shader->output_primitive
    [all...]
draw_pt_fetch_emit.c 34 #include "draw/draw_context.h"
35 #include "draw/draw_private.h"
36 #include "draw/draw_vbuf.h"
37 #include "draw/draw_vertex.h"
38 #include "draw/draw_pt.h"
39 #include "draw/draw_gs.h"
47 * - draw vertex element/buffer state
55 * - a set of draw indices we received as an input
59 * - calling the backend draw functions.
77 struct draw_context *draw; member in struct:fetch_emit_middle_end
96 struct draw_context *draw = feme->draw; local
198 struct draw_context *draw = feme->draw; local
257 struct draw_context *draw = feme->draw; local
317 struct draw_context *draw = feme->draw; local
    [all...]
draw_pt_fetch_shade_emit.c 36 #include "draw/draw_context.h"
37 #include "draw/draw_private.h"
38 #include "draw/draw_vbuf.h"
39 #include "draw/draw_vertex.h"
40 #include "draw/draw_pt.h"
41 #include "draw/draw_vs.h"
51 struct draw_context *draw; member in struct:fetch_shade_emit
75 struct draw_context *draw = fse->draw; local
76 unsigned num_vs_inputs = draw->vs.vertex_shader->info.num_inputs
195 struct draw_context *draw = fse->draw; local
259 struct draw_context *draw = fse->draw; local
317 struct draw_context *draw = fse->draw; local
    [all...]
draw_context.h 75 void draw_destroy( struct draw_context *draw );
77 void draw_flush(struct draw_context *draw);
79 void draw_set_viewport_states( struct draw_context *draw,
88 * Sets the rasterization state used by the draw module.
91 * draw module sets the state back on the driver itself using the
96 * the actual state - that's because the draw module can try to
99 * draw_set_rasterizer_state(driver->draw, state->pipe_state, state);
102 void draw_set_rasterizer_state( struct draw_context *draw,
106 void draw_set_rasterize_stage( struct draw_context *draw,
109 void draw_wide_point_threshold(struct draw_context *draw, float threshold)
    [all...]
draw_vs.c 53 draw_create_vertex_shader(struct draw_context *draw,
58 if (draw->dump_vs) {
63 if (draw->pt.middle.llvm) {
64 vs = draw_create_vs_llvm(draw, shader);
69 vs = draw_create_vs_exec( draw, shader );
106 draw_bind_vertex_shader(struct draw_context *draw,
109 draw_do_flush( draw, DRAW_FLUSH_STATE_CHANGE );
113 draw->vs.vertex_shader = dvs;
114 draw->vs.num_vs_outputs = dvs->info.num_outputs;
115 draw->vs.position_output = dvs->position_output
    [all...]
draw_pt_fetch.c 31 #include "draw/draw_context.h"
32 #include "draw/draw_private.h"
33 #include "draw/draw_pt.h"
39 struct draw_context *draw; member in struct:pt_fetch
65 struct draw_context *draw = fetch->draw; local
83 assert(draw->pt.nr_vertex_elements + num_extra_inputs >= vs_input_count);
85 nr_inputs = MIN2(vs_input_count, draw->pt.nr_vertex_elements + num_extra_inputs);
95 } else if (util_format_is_pure_sint(draw->pt.vertex_element[i].src_format)) {
97 key.element[nr].input_format = draw->pt.vertex_element[ei].src_format
153 struct draw_context *draw = fetch->draw; local
181 struct draw_context *draw = fetch->draw; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/loader/
loader_dri3_helper.c 64 dri3_flush_present_events(struct loader_dri3_drawable *draw);
67 dri3_find_back_alloc(struct loader_dri3_drawable *draw);
84 get_xcb_visualtype_for_depth(struct loader_dri3_drawable *draw, int depth)
87 xcb_screen_t *screen = draw->screen;
134 dri3_get_red_mask_for_depth(struct loader_dri3_drawable *draw, int depth)
136 xcb_visualtype_t *visual = get_xcb_visualtype_for_depth(draw, depth);
147 * \param draw[in] The drawable intended to blit from / to.
150 static bool loader_dri3_have_image_blit(const struct loader_dri3_drawable *draw)
152 return draw->ext->image->base.version >= 9 &&
153 draw->ext->image->blitImage != NULL
2117 struct loader_dri3_drawable *draw = loaderPrivate; local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/loader/
loader_dri3_helper.c 62 dri3_flush_present_events(struct loader_dri3_drawable *draw);
65 dri3_find_back_alloc(struct loader_dri3_drawable *draw);
82 get_xcb_visualtype_for_depth(struct loader_dri3_drawable *draw, int depth)
85 xcb_screen_t *screen = draw->screen;
132 dri3_get_red_mask_for_depth(struct loader_dri3_drawable *draw, int depth)
134 xcb_visualtype_t *visual = get_xcb_visualtype_for_depth(draw, depth);
145 * \param draw[in] The drawable intended to blit from / to.
148 static bool loader_dri3_have_image_blit(const struct loader_dri3_drawable *draw)
150 return draw->ext->image->base.version >= 9 &&
151 draw->ext->image->blitImage != NULL
1961 struct loader_dri3_drawable *draw = loaderPrivate; local
    [all...]
  /xsrc/external/mit/libXft/dist/src/
xftdraw.c 84 XftDrawDepth (XftDraw *draw)
86 if (!draw->depth)
91 if (XGetGeometry (draw->dpy, draw->drawable,
94 draw->depth = depth;
96 return draw->depth;
100 XftDrawBitsPerPixel (XftDraw *draw)
102 if (!draw->bits_per_pixel)
108 if ((depth = XftDrawDepth (draw)) &&
109 (formats = XListPixmapFormats (draw->dpy, &nformats))
133 XftDraw *draw; local
159 XftDraw *draw; local
185 XftDraw *draw; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a6xx/
fd6_vsc.h 29 const struct pipe_draw_start_count_bias *draw);

Completed in 14 milliseconds

1 2 3 4 5 6 7 8 91011>>