HomeSort by relevance Sort by last modified time
    Searched refs:i915 (Results 1 - 25 of 54) sorted by null

1 2 3

  /external/mesa3d/src/gallium/drivers/i915/
i915_context.c 54 struct i915_context *i915 = i915_context(pipe); local
55 struct draw_context *draw = i915->draw;
62 i915->dirty &= ~I915_NEW_VS_CONSTANTS;
64 if (i915->dirty)
65 i915_update_derived(i915);
71 mapped_indices = i915->index_buffer.user_buffer;
73 mapped_indices = i915_buffer(i915->index_buffer.buffer)->data;
75 (ubyte *) mapped_indices + i915->index_buffer.offset,
76 i915->index_buffer.index_size);
79 if (i915->constants[PIPE_SHADER_VERTEX]
116 struct i915_context *i915 = i915_context(pipe); local
144 struct i915_context *i915; local
    [all...]
i915_flush.c 44 struct i915_context *i915 = i915_context(pipe); local
49 if (!fence && i915->batch && (i915->batch->map == i915->batch->ptr)) {
60 void i915_init_flush_functions( struct i915_context *i915 )
62 i915->base.flush = i915_flush_pipe;
69 void i915_flush(struct i915_context *i915, struct pipe_fence_handle **fence)
71 struct i915_winsys_batchbuffer *batch = i915->batch;
74 i915->vbo_flushed = 1;
75 i915->hardware_dirty = ~0
    [all...]
i915_state_immediate.c 42 static INLINE void set_immediate(struct i915_context *i915,
46 if (i915->current.immediate[offset] == state)
49 i915->current.immediate[offset] = state;
50 i915->immediate_dirty |= 1 << offset;
51 i915->hardware_dirty |= I915_HW_IMMEDIATE;
59 static void upload_S0S1(struct i915_context *i915)
65 LIS0 = i915->vbo_offset;
68 if (i915->dirty & I915_NEW_VBO) {
69 i915->immediate_dirty |= 1 << I915_IMMEDIATE_S0;
70 i915->hardware_dirty |= I915_HW_IMMEDIATE
    [all...]
i915_state_dynamic.c 39 * i915 indirect state mechanism.
49 static INLINE void set_dynamic(struct i915_context *i915,
53 if (i915->current.dynamic[offset] == state)
56 i915->current.dynamic[offset] = state;
57 i915->dynamic_dirty |= 1 << offset;
58 i915->hardware_dirty |= I915_HW_DYNAMIC;
63 static INLINE void set_dynamic_array(struct i915_context *i915,
70 if (!memcmp(src, &i915->current.dynamic[offset], dwords * 4))
74 i915->current.dynamic[offset + i] = src[i];
75 i915->dynamic_dirty |= 1 << (offset + i)
    [all...]
i915_state_emit.c 53 validate_flush(struct i915_context *i915, unsigned *batch_space)
55 *batch_space = i915->flush_dirty ? 1 : 0;
59 emit_flush(struct i915_context *i915)
67 if (i915->flush_dirty & I915_FLUSH_CACHE)
69 else if (i915->flush_dirty & I915_PIPELINE_FLUSH)
110 emit_invariant(struct i915_context *i915)
112 i915_winsys_batchbuffer_write(i915->batch, invariant_state,
117 validate_immediate(struct i915_context *i915, unsigned *batch_space)
123 i915->immediate_dirty;
125 if (i915->immediate_dirty & (1 << I915_IMMEDIATE_S0) && i915->vbo
    [all...]
i915_query.h 34 void i915_init_query_functions( struct i915_context *i915 );
i915_state_fpc.c 35 static void update_hw_constants(struct i915_context *i915)
37 i915->hardware_dirty |= I915_HW_CONSTANTS;
50 static void update_fs(struct i915_context *i915)
52 i915->hardware_dirty |= I915_HW_PROGRAM;
i915_surface.h 34 void i915_init_surface_functions( struct i915_context *i915 );
i915_batch.h 36 (i915_winsys_batchbuffer_check(i915->batch, dwords))
39 i915_winsys_batchbuffer_dword(i915->batch, dword)
42 i915_winsys_batchbuffer_float(i915->batch, f)
45 i915_winsys_batchbuffer_reloc(i915->batch, buf, usage, offset, false)
48 i915_winsys_batchbuffer_reloc(i915->batch, buf, usage, offset, true)
51 i915_flush(i915, fence)
56 void i915_flush(struct i915_context *i915, struct pipe_fence_handle **fence);
i915_state.c 45 /* The i915 (and related graphics cores) do not support GL_CLAMP. The
179 struct i915_context *i915 = i915_context(pipe); local
181 if (i915->blend == blend)
184 i915->blend = (struct i915_blend_state*)blend;
186 i915->dirty |= I915_NEW_BLEND;
198 struct i915_context *i915 = i915_context(pipe); local
203 i915->blend_color = *blend_color;
205 i915->dirty |= I915_NEW_BLEND;
211 struct i915_context *i915 = i915_context(pipe); local
213 i915->stencil_ref = *stencil_ref
297 struct i915_context *i915 = i915_context(pipe); local
310 struct i915_context *i915 = i915_context(pipe); local
338 struct i915_context *i915 = i915_context(pipe); local
530 struct i915_context *i915 = i915_context(pipe); local
550 struct i915_context *i915 = i915_context(pipe); local
568 struct i915_context *i915 = i915_context(pipe); local
587 struct i915_context *i915 = i915_context(pipe); local
600 struct i915_context *i915 = i915_context(pipe); local
639 struct i915_context *i915 = i915_context(pipe); local
647 struct i915_context *i915 = i915_context(pipe); local
662 struct i915_context *i915 = i915_context(pipe); local
672 struct i915_context *i915 = i915_context(pipe); local
729 struct i915_context *i915 = i915_context(pipe); local
749 struct i915_context *i915 = i915_context(pipe); local
777 struct i915_context *i915 = i915_context(pipe); local
834 struct i915_context *i915 = i915_context(pipe); local
854 struct i915_context *i915 = i915_context(pipe); local
871 struct i915_context *i915 = i915_context(pipe); local
953 struct i915_context *i915 = i915_context(pipe); local
978 struct i915_context *i915 = i915_context(pipe); local
1024 struct i915_context *i915 = i915_context(pipe); local
1048 struct i915_context *i915 = i915_context(pipe); local
    [all...]
i915_resource.c 32 i915_init_resource_functions(struct i915_context *i915 )
34 i915->base.get_transfer = u_get_transfer_vtbl;
35 i915->base.transfer_map = u_transfer_map_vtbl;
36 i915->base.transfer_flush_region = u_transfer_flush_region_vtbl;
37 i915->base.transfer_unmap = u_transfer_unmap_vtbl;
38 i915->base.transfer_destroy = u_transfer_destroy_vtbl;
39 i915->base.transfer_inline_write = u_transfer_inline_write_vtbl;
i915_state_static.c 95 static void update_framebuffer(struct i915_context *i915)
97 struct pipe_surface *cbuf_surface = i915->framebuffer.cbufs[0];
98 struct pipe_surface *depth_surface = i915->framebuffer.zsbuf;
107 i915->current.cbuf_bo = tex->buffer;
108 i915->current.cbuf_flags = BUF_3D_ID_COLOR_BACK |
117 i915->current.cbuf_bo = NULL;
120 i915->static_dirty |= I915_DST_BUF_COLOR;
132 i915->current.depth_bo = tex->buffer;
133 i915->current.depth_flags = BUF_3D_ID_DEPTH |
137 i915->current.depth_bo = NULL
    [all...]
i915_query.c 78 i915_init_query_functions(struct i915_context *i915)
80 i915->base.create_query = i915_create_query;
81 i915->base.destroy_query = i915_destroy_query;
82 i915->base.begin_query = i915_begin_query;
83 i915->base.end_query = i915_end_query;
84 i915->base.get_query_result = i915_get_query_result;
Makefile 4 LIBNAME = i915
i915_state.h 54 void i915_update_derived(struct i915_context *i915);
55 void i915_emit_hardware_state(struct i915_context *i915);
i915_state_sampler.c 61 static void update_map(struct i915_context *i915,
75 * Compute i915 texture sampling state.
82 static void update_sampler(struct i915_context *i915,
123 if (i915->conformance_mode > 0) {
144 static void update_samplers(struct i915_context *i915)
148 i915->current.sampler_enable_nr = 0;
149 i915->current.sampler_enable_flags = 0x0;
151 for (unit = 0; unit < i915->num_fragment_sampler_views && unit < i915->num_samplers;
155 if (i915->fragment_sampler_views[unit])
    [all...]
i915_surface.c 53 struct i915_context *i915 = i915_context(pipe); local
62 if (!util_blitter_is_copy_supported(i915->blitter, dst, src,
69 util_blitter_save_blend(i915->blitter, (void *)i915->blend);
70 util_blitter_save_depth_stencil_alpha(i915->blitter, (void *)i915->depth_stencil);
71 util_blitter_save_stencil_ref(i915->blitter, &i915->stencil_ref);
72 util_blitter_save_rasterizer(i915->blitter, (void *)i915->rasterizer)
100 struct i915_context *i915 = i915_context(pipe); local
132 struct i915_context *i915 = i915_context(pipe); local
    [all...]
i915_prim_emit.c 48 struct i915_context *i915; member in struct:setup_stage
63 * Extract the needed fields from vertex_header and emit i915 dwords.
69 emit_hw_vertex( struct i915_context *i915,
72 const struct vertex_info *vinfo = &i915->current.vertex_info;
76 assert(!i915->dirty);
133 struct i915_context *i915 = setup_stage(stage)->i915; local
137 if (i915->dirty)
138 i915_update_derived( i915 );
140 if (i915->hardware_dirty
    [all...]
i915_state_derived.c 57 static void calculate_vertex_layout(struct i915_context *i915)
59 const struct i915_fragment_shader *fs = i915->fs;
60 const enum interp_mode colorInterp = i915->rasterizer->color_interp;
108 src = draw_find_shader_output(i915->draw, TGSI_SEMANTIC_POSITION, 0);
125 src = draw_find_shader_output(i915->draw, TGSI_SEMANTIC_COLOR, 0);
132 src = draw_find_shader_output(i915->draw, TGSI_SEMANTIC_COLOR, 1);
139 src = draw_find_shader_output(i915->draw, TGSI_SEMANTIC_FOG, 0);
149 src = draw_find_shader_output(i915->draw, TGSI_SEMANTIC_GENERIC, fs->generic_mapping[i]);
166 src = draw_find_shader_output(i915->draw, TGSI_SEMANTIC_FACE, 0);
174 if (memcmp(&i915->current.vertex_info, &vinfo, sizeof(vinfo)))
    [all...]
i915_prim_vbuf.c 58 * Primitive renderer for i915.
63 struct i915_context *i915; member in struct:i915_vbuf_render
109 * hw_offset to i915->vbo_offset and vbo to i915->vbo.
118 struct i915_context *i915 = i915_render->i915; local
120 if (i915->vbo != i915_render->vbo ||
121 i915->vbo_offset != i915_render->vbo_hw_offset) {
122 i915->vbo = i915_render->vbo;
123 i915->vbo_offset = i915_render->vbo_hw_offset
139 struct i915_context *i915 = i915_render->i915; local
158 struct i915_context *i915 = i915_render->i915; local
180 struct i915_context *i915 = i915_render->i915; local
266 struct i915_context *i915 = i915_render->i915; local
284 struct i915_context *i915 = i915_render->i915; local
388 struct i915_context *i915 = i915_render->i915; local
453 struct i915_context *i915 = i915_render->i915; local
500 struct i915_context *i915 = i915_render->i915; local
552 struct i915_context *i915 = i915_render->i915; local
619 struct i915_context *i915 = i915_render->i915; local
683 struct i915_context *i915 = i915_render->i915; local
    [all...]
i915_debug.h 73 void i915_debug_init(struct i915_screen *i915);
75 void i915_dump_batchbuffer(struct i915_winsys_batchbuffer *i915);
77 void i915_dump_dirty(struct i915_context *i915, const char *func);
79 void i915_dump_hardware_dirty(struct i915_context *i915, const char *func);
i915_blit.h 33 extern void i915_copy_blit(struct i915_context *i915,
45 extern void i915_fill_blit(struct i915_context *i915,
i915_clear.c 49 struct i915_context *i915 = i915_context(pipe); local
62 struct pipe_surface *cbuf = i915->framebuffer.cbufs[0];
77 if (i915->current.target_fixup_format)
87 struct pipe_surface *zbuf = i915->framebuffer.zsbuf;
108 struct pipe_surface *zbuf = i915->framebuffer.zsbuf;
122 if (i915->hardware_dirty)
123 i915_emit_hardware_state(i915);
128 i915_emit_hardware_state(i915);
129 i915->vbo_flushed = 1;
173 if (i915->hardware_dirty
233 struct i915_context *i915 = i915_context(pipe); local
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i915/
i915_state.c 54 struct i915_context *i915 = I915_CONTEXT(ctx); local
97 GLuint dw = i915->state.Ctx[reg]; \
100 dirty |= dw != i915->state.Ctx[reg]; \
101 i915->state.Ctx[reg] = dw; \
157 I915_STATECHANGE(i915, I915_UPLOAD_CTX);
180 struct i915_context *i915 = I915_CONTEXT(ctx); local
187 dw = i915->state.Ctx[I915_CTXREG_LIS6];
191 if (dw != i915->state.Ctx[I915_CTXREG_LIS6]) {
192 i915->state.Ctx[I915_CTXREG_LIS6] = dw;
193 I915_STATECHANGE(i915, I915_UPLOAD_CTX)
206 struct i915_context *i915 = I915_CONTEXT(ctx); local
238 struct i915_context *i915 = I915_CONTEXT(ctx); local
286 struct i915_context *i915 = I915_CONTEXT(ctx); local
354 struct i915_context *i915 = I915_CONTEXT(ctx); local
372 struct i915_context *i915 = I915_CONTEXT(ctx); local
452 struct i915_context *i915 = I915_CONTEXT(ctx); local
514 struct i915_context *i915 = I915_CONTEXT(ctx); local
554 struct i915_context *i915 = I915_CONTEXT(ctx); local
569 struct i915_context *i915 = I915_CONTEXT(ctx); local
604 struct i915_context *i915 = I915_CONTEXT(ctx); local
623 struct i915_context *i915 = I915_CONTEXT(ctx); local
642 struct i915_context *i915 = I915_CONTEXT(ctx); local
664 struct i915_context *i915 = i915_context(ctx); local
707 struct i915_context *i915 = I915_CONTEXT(ctx); local
749 struct i915_context *i915 = I915_CONTEXT(ctx); local
785 struct i915_context *i915 = I915_CONTEXT(ctx); local
1036 struct i915_context *i915 = I915_CONTEXT(ctx); local
    [all...]
  /external/mesa3d/include/pci_ids/
i915_pci_ids.h 5 CHIPSET(0x2582, I915_G, i915)
6 CHIPSET(0x258A, E7221_G, i915)
7 CHIPSET(0x2592, I915_GM, i915)

Completed in 154 milliseconds

1 2 3