/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
H A D | i915_state_fpc.c | 35 static void update_hw_constants(struct i915_context *i915) argument 37 i915->hardware_dirty |= I915_HW_CONSTANTS; 50 static void update_fs(struct i915_context *i915) argument 52 i915->hardware_dirty |= I915_HW_PROGRAM;
|
H A D | 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) argument 71 struct i915_winsys_batchbuffer *batch = i915->batch; 74 i915->vbo_flushed = 1; 75 i915 [all...] |
H A D | 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 116 struct i915_context *i915 = i915_context(pipe); local 144 struct i915_context *i915; local [all...] |
H A D | i915_query.c | 78 i915_init_query_functions(struct i915_context *i915) argument 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;
|
H A D | i915_state_derived.c | 57 static void calculate_vertex_layout(struct i915_context *i915) argument 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 208 i915_update_derived(struct i915_context *i915) argument [all...] |
H A D | i915_blit.c | 36 i915_fill_blit(struct i915_context *i915, argument 52 if(!i915_winsys_validate_buffers(i915->batch, &dst_buffer, 1)) { 54 assert(i915_winsys_validate_buffers(i915->batch, &dst_buffer, 1)); 85 i915_set_flush_dirty(i915, I915_FLUSH_CACHE); 89 i915_copy_blit(struct i915_context *i915, argument 113 if(!i915_winsys_validate_buffers(i915->batch, buffers, 2)) { 115 assert(i915_winsys_validate_buffers(i915->batch, buffers, 2)); 159 i915_set_flush_dirty(i915, I915_FLUSH_CACHE);
|
H A D | 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 233 struct i915_context *i915 = i915_context(pipe); local [all...] |
H A D | 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, argument 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 [all...] |
H A D | i915_resource_buffer.c | 70 struct i915_context *i915 = i915_context(pipe); local 71 struct pipe_transfer *transfer = util_slab_alloc(&i915->transfer_pool); 91 struct i915_context *i915 = i915_context(pipe); local 92 util_slab_free(&i915->transfer_pool, transfer);
|
H A D | i915_state_immediate.c | 42 static INLINE void set_immediate(struct i915_context *i915, argument 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) argument 65 LIS0 = i915->vbo_offset; 68 if (i915->dirty & I915_NEW_VBO) { 69 i915->immediate_dirty |= 1 << I915_IMMEDIATE_S0; 70 i915 97 upload_S2S4(struct i915_context *i915) argument 125 upload_S5(struct i915_context *i915) argument 160 upload_S6(struct i915_context *i915) argument 190 upload_S7(struct i915_context *i915) argument 221 update_immediate(struct i915_context *i915) argument [all...] |
H A D | 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, argument 123 if (i915->conformance_mode > 0) { 144 static void update_samplers(struct i915_context *i915) argument 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 294 update_map(struct i915_context *i915, uint unit, const struct i915_texture *tex, const struct i915_sampler_state *sampler, const struct pipe_sampler_view* view, uint state[2]) argument 344 update_maps(struct i915_context *i915) argument [all...] |
H A D | i915_state_dynamic.c | 39 * i915 indirect state mechanism. 49 static INLINE void set_dynamic(struct i915_context *i915, argument 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, argument 70 if (!memcmp(src, &i915->current.dynamic[offset], dwords * 4)) 74 i915->current.dynamic[offset + i] = src[i]; 75 i915 86 upload_MODES4(struct i915_context *i915) argument 111 upload_BFO(struct i915_context *i915) argument 134 upload_BLENDCOLOR(struct i915_context *i915) argument 165 upload_IAB(struct i915_context *i915) argument 182 upload_DEPTHSCALE(struct i915_context *i915) argument 207 upload_STIPPLE(struct i915_context *i915) argument 267 upload_SCISSOR_RECT(struct i915_context *i915) argument 306 update_dynamic(struct i915_context *i915) argument [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_state_fpc.c | 35 static void update_hw_constants(struct i915_context *i915) argument 37 i915->hardware_dirty |= I915_HW_CONSTANTS; 50 static void update_fs(struct i915_context *i915) argument 52 i915->hardware_dirty |= I915_HW_PROGRAM;
|
H A D | 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) argument 71 struct i915_winsys_batchbuffer *batch = i915->batch; 74 i915->vbo_flushed = 1; 75 i915 [all...] |
H A D | 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 116 struct i915_context *i915 = i915_context(pipe); local 144 struct i915_context *i915; local [all...] |
H A D | i915_query.c | 78 i915_init_query_functions(struct i915_context *i915) argument 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;
|
H A D | i915_state_derived.c | 57 static void calculate_vertex_layout(struct i915_context *i915) argument 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 208 i915_update_derived(struct i915_context *i915) argument [all...] |
H A D | i915_blit.c | 36 i915_fill_blit(struct i915_context *i915, argument 52 if(!i915_winsys_validate_buffers(i915->batch, &dst_buffer, 1)) { 54 assert(i915_winsys_validate_buffers(i915->batch, &dst_buffer, 1)); 85 i915_set_flush_dirty(i915, I915_FLUSH_CACHE); 89 i915_copy_blit(struct i915_context *i915, argument 113 if(!i915_winsys_validate_buffers(i915->batch, buffers, 2)) { 115 assert(i915_winsys_validate_buffers(i915->batch, buffers, 2)); 159 i915_set_flush_dirty(i915, I915_FLUSH_CACHE);
|
H A D | 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 233 struct i915_context *i915 = i915_context(pipe); local [all...] |
H A D | 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, argument 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 [all...] |
H A D | i915_resource_buffer.c | 70 struct i915_context *i915 = i915_context(pipe); local 71 struct pipe_transfer *transfer = util_slab_alloc(&i915->transfer_pool); 91 struct i915_context *i915 = i915_context(pipe); local 92 util_slab_free(&i915->transfer_pool, transfer);
|
H A D | i915_state_immediate.c | 42 static INLINE void set_immediate(struct i915_context *i915, argument 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) argument 65 LIS0 = i915->vbo_offset; 68 if (i915->dirty & I915_NEW_VBO) { 69 i915->immediate_dirty |= 1 << I915_IMMEDIATE_S0; 70 i915 97 upload_S2S4(struct i915_context *i915) argument 125 upload_S5(struct i915_context *i915) argument 160 upload_S6(struct i915_context *i915) argument 190 upload_S7(struct i915_context *i915) argument 221 update_immediate(struct i915_context *i915) argument [all...] |
H A D | 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, argument 123 if (i915->conformance_mode > 0) { 144 static void update_samplers(struct i915_context *i915) argument 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 294 update_map(struct i915_context *i915, uint unit, const struct i915_texture *tex, const struct i915_sampler_state *sampler, const struct pipe_sampler_view* view, uint state[2]) argument 344 update_maps(struct i915_context *i915) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/ |
H A D | i915_context.c | 155 struct i915_context *i915 = rzalloc(NULL, struct i915_context); local 156 struct intel_context *intel = &i915->intel; 159 if (!i915) { 164 i915InitVtbl(i915); 251 /* i915 stores all values in single-precision floats. Values aren't set 290 i915InitState(i915);
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
H A D | i915_context.c | 155 struct i915_context *i915 = rzalloc(NULL, struct i915_context); local 156 struct intel_context *intel = &i915->intel; 159 if (!i915) { 164 i915InitVtbl(i915); 251 /* i915 stores all values in single-precision floats. Values aren't set 290 i915InitState(i915);
|