Home
last modified time | relevance | path

Searched refs:radeon (Results 1 – 25 of 190) sorted by relevance

12345678

/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_cmdbuf.c59 mtu = rmesa->radeon.glCtx.Const.MaxTextureUnits; in r200SetUpAtomList()
61 make_empty_list(&rmesa->radeon.hw.atomlist); in r200SetUpAtomList()
62 rmesa->radeon.hw.atomlist.name = "atom-list"; in r200SetUpAtomList()
64 insert_at_tail_if( &rmesa->radeon.hw.atomlist, &rmesa->hw.ctx ); in r200SetUpAtomList()
65 insert_at_tail_if( &rmesa->radeon.hw.atomlist, &rmesa->hw.set ); in r200SetUpAtomList()
66 insert_at_tail_if( &rmesa->radeon.hw.atomlist, &rmesa->hw.lin ); in r200SetUpAtomList()
67 insert_at_tail_if( &rmesa->radeon.hw.atomlist, &rmesa->hw.msk ); in r200SetUpAtomList()
68 insert_at_tail_if( &rmesa->radeon.hw.atomlist, &rmesa->hw.vpt ); in r200SetUpAtomList()
69 insert_at_tail_if( &rmesa->radeon.hw.atomlist, &rmesa->hw.vtx ); in r200SetUpAtomList()
70 insert_at_tail_if( &rmesa->radeon.hw.atomlist, &rmesa->hw.vap ); in r200SetUpAtomList()
[all …]
Dradeon_common_context.c106 radeonContextPtr radeon = RADEON_CONTEXT(ctx); in radeonGetString() local
113 return (GLubyte *) radeonGetRendererString(radeon->radeonScreen); in radeonGetString()
131 GLboolean radeonInitContext(radeonContextPtr radeon, in radeonInitContext() argument
147 radeon->radeonScreen = screen; in radeonInitContext()
154 if (!_mesa_initialize_context(&radeon->glCtx, api, in radeonInitContext()
159 ctx = &radeon->glCtx; in radeonInitContext()
160 driContextPriv->driverPrivate = radeon; in radeonInitContext()
165 radeon->driContext = driContextPriv; in radeonInitContext()
168 fthrottle_mode = driQueryOptioni(&radeon->optionCache, "fthrottle_mode"); in radeonInitContext()
169 radeon->iw.irq_seq = -1; in radeonInitContext()
[all …]
Dradeon_common.c72 void radeonSetCliprects(radeonContextPtr radeon) in radeonSetCliprects() argument
74 __DRIdrawable *const drawable = radeon_get_drawable(radeon); in radeonSetCliprects()
75 __DRIdrawable *const readable = radeon_get_readable(radeon); in radeonSetCliprects()
85 _mesa_resize_framebuffer(&radeon->glCtx, &draw_rfb->base, in radeonSetCliprects()
92 _mesa_resize_framebuffer(&radeon->glCtx, &read_rfb->base, in radeonSetCliprects()
97 if (radeon->state.scissor.enabled) in radeonSetCliprects()
98 radeonUpdateScissor(&radeon->glCtx); in radeonSetCliprects()
146 radeonContextPtr radeon = RADEON_CONTEXT(ctx); in radeonScissor() local
149 radeon_firevertices(radeon); in radeonScissor()
158 uint32_t radeonGetAge(radeonContextPtr radeon) in radeonGetAge() argument
[all …]
Dradeon_queryobj.c89 radeonContextPtr radeon = RADEON_CONTEXT(ctx); in radeonWaitQuery() local
93 if (radeon_bo_is_referenced_by_cs(query->bo, radeon->cmdbuf.cs)) in radeonWaitQuery()
106 radeonContextPtr radeon = RADEON_CONTEXT(ctx); in radeonBeginQuery() local
111 assert(radeon->query.current == NULL); in radeonBeginQuery()
113 if (radeon->dma.flush) in radeonBeginQuery()
114 radeon->dma.flush(&radeon->glCtx); in radeonBeginQuery()
117 …query->bo = radeon_bo_open(radeon->radeonScreen->bom, 0, RADEON_QUERY_PAGE_SIZE, RADEON_QUERY_PAGE… in radeonBeginQuery()
121 radeon->query.current = query; in radeonBeginQuery()
123 radeon->query.queryobj.dirty = GL_TRUE; in radeonBeginQuery()
124 radeon->hw.is_dirty = GL_TRUE; in radeonBeginQuery()
[all …]
Dradeon_debug.c76 radeonContextPtr radeon = RADEON_CONTEXT(ctx); in _radeon_debug_add_indent() local
77 const size_t length = sizeof(radeon->debug.indent) in _radeon_debug_add_indent()
78 / sizeof(radeon->debug.indent[0]); in _radeon_debug_add_indent()
79 if (radeon->debug.indent_depth < length - 1) { in _radeon_debug_add_indent()
80 radeon->debug.indent[radeon->debug.indent_depth] = '\t'; in _radeon_debug_add_indent()
81 ++radeon->debug.indent_depth; in _radeon_debug_add_indent()
88 radeonContextPtr radeon = RADEON_CONTEXT(ctx); in _radeon_debug_remove_indent() local
89 if (radeon->debug.indent_depth > 0) { in _radeon_debug_remove_indent()
90 radeon->debug.indent[radeon->debug.indent_depth] = '\0'; in _radeon_debug_remove_indent()
91 --radeon->debug.indent_depth; in _radeon_debug_remove_indent()
[all …]
Dr200_context.c77 GLuint agp_mode = (rmesa->radeon.radeonScreen->card_type == RADEON_CARD_PCI)? 0 : in r200GetString()
78 rmesa->radeon.radeonScreen->AGPMode; in r200GetString()
88 !(rmesa->radeon.TclFallback & R200_TCL_FALLBACK_TCL_DISABLE) in r200GetString()
145 static void r200_emit_query_finish(radeonContextPtr radeon) in r200_emit_query_finish() argument
147 BATCH_LOCALS(radeon); in r200_emit_query_finish()
148 struct radeon_query_object *query = radeon->query.current; in r200_emit_query_finish()
159 static void r200_init_vtbl(radeonContextPtr radeon) in r200_init_vtbl() argument
161 radeon->vtbl.swtcl_flush = r200_swtcl_flush; in r200_init_vtbl()
162 radeon->vtbl.fallback = r200Fallback; in r200_init_vtbl()
163 radeon->vtbl.update_scissor = r200_vtbl_update_scissor; in r200_init_vtbl()
[all …]
Dradeon_queryobj.h41 static inline void radeon_init_query_stateobj(radeonContextPtr radeon, int SZ) in radeon_init_query_stateobj() argument
43 radeon->query.queryobj.cmd_size = (SZ); in radeon_init_query_stateobj()
44 radeon->query.queryobj.cmd = calloc(SZ, sizeof(uint32_t)); in radeon_init_query_stateobj()
45 radeon->query.queryobj.name = "queryobj"; in radeon_init_query_stateobj()
46 radeon->query.queryobj.idx = 0; in radeon_init_query_stateobj()
47 radeon->query.queryobj.check = radeon_check_query_active; in radeon_init_query_stateobj()
48 radeon->query.queryobj.dirty = GL_FALSE; in radeon_init_query_stateobj()
49 radeon->query.queryobj.emit = radeon_emit_queryobj; in radeon_init_query_stateobj()
51 radeon->hw.max_state_size += (SZ); in radeon_init_query_stateobj()
52 insert_at_tail(&radeon->hw.atomlist, &radeon->query.queryobj); in radeon_init_query_stateobj()
Dr200_swtcl.c63 rmesa->radeon.swtcl.vertex_attrs[rmesa->radeon.swtcl.vertex_attr_count].attrib = (ATTR); \
64 rmesa->radeon.swtcl.vertex_attrs[rmesa->radeon.swtcl.vertex_attr_count].format = (STYLE); \
65 rmesa->radeon.swtcl.vertex_attr_count++; \
71 rmesa->radeon.swtcl.vertex_attrs[rmesa->radeon.swtcl.vertex_attr_count].attrib = 0; \
72 rmesa->radeon.swtcl.vertex_attrs[rmesa->radeon.swtcl.vertex_attr_count].format = EMIT_PAD; \
73 rmesa->radeon.swtcl.vertex_attrs[rmesa->radeon.swtcl.vertex_attr_count].offset = (N); \
74 rmesa->radeon.swtcl.vertex_attr_count++; \
97 rmesa->radeon.swtcl.vertex_attr_count = 0; in r200SetVertexFormat()
183 if (rmesa->radeon.tnl_index_bitset != index_bitset || in r200SetVertexFormat()
191 rmesa->radeon.swtcl.vertex_size = in r200SetVertexFormat()
[all …]
Dr200_tcl.c124 radeonEmitState(&rmesa->radeon); \
135 radeonEmitState(&rmesa->radeon); \
143 if (rmesa->radeon.dma.flush == r200FlushElts && in r200AllocElts()
146 GLushort *dest = (GLushort *)(rmesa->radeon.tcl.elt_dma_bo->ptr + in r200AllocElts()
147 rmesa->radeon.tcl.elt_dma_offset + rmesa->tcl.elt_used); in r200AllocElts()
154 if (rmesa->radeon.dma.flush) in r200AllocElts()
155 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); in r200AllocElts()
158 rmesa->radeon.tcl.aos_count, 0 ); in r200AllocElts()
160 r200EmitMaxVtxIndex(rmesa, rmesa->radeon.tcl.aos[0].count); in r200AllocElts()
189 rmesa->radeon.tcl.aos_count, in r200EmitPrim()
[all …]
Dradeon_common.h9 void radeonSetCliprects(radeonContextPtr radeon);
13 extern uint32_t radeonGetAge(radeonContextPtr radeon);
17 void radeonEmitState(radeonContextPtr radeon);
18 GLuint radeonCountStateEmitSize(radeonContextPtr radeon);
22 void radeon_window_moved(radeonContextPtr radeon);
27 void radeon_fbo_init(struct radeon_context *radeon);
Dradeon_pixel_read.c95 radeonContextPtr radeon = RADEON_CONTEXT(ctx); in do_blit_readpixels() local
109 !radeon->vtbl.check_blit(dst_format, rrb->pitch / rrb->cpp) || !radeon->vtbl.blit) { in do_blit_readpixels()
132 …aligned_rowstride = get_texture_image_row_stride(radeon, dst_format, dst_rowstride, 0, GL_TEXTURE_… in do_blit_readpixels()
142 …dst_buffer = radeon_bo_open(radeon->radeonScreen->bom, 0, dst_imagesize, 1024, RADEON_GEM_DOMAIN_G… in do_blit_readpixels()
158 if (radeon->vtbl.blit(ctx, in do_blit_readpixels()
203 radeonContextPtr radeon = RADEON_CONTEXT(ctx); in radeonReadPixels() local
204 radeon_prepare_render(radeon); in radeonReadPixels()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_common_context.c106 radeonContextPtr radeon = RADEON_CONTEXT(ctx); in radeonGetString() local
113 return (GLubyte *) radeonGetRendererString(radeon->radeonScreen); in radeonGetString()
131 GLboolean radeonInitContext(radeonContextPtr radeon, in radeonInitContext() argument
147 radeon->radeonScreen = screen; in radeonInitContext()
154 if (!_mesa_initialize_context(&radeon->glCtx, api, in radeonInitContext()
159 ctx = &radeon->glCtx; in radeonInitContext()
160 driContextPriv->driverPrivate = radeon; in radeonInitContext()
165 radeon->driContext = driContextPriv; in radeonInitContext()
168 fthrottle_mode = driQueryOptioni(&radeon->optionCache, "fthrottle_mode"); in radeonInitContext()
169 radeon->iw.irq_seq = -1; in radeonInitContext()
[all …]
Dradeon_ioctl.c64 int i, mtu = rmesa->radeon.glCtx.Const.MaxTextureUnits; in radeonSetUpAtomList()
66 make_empty_list(&rmesa->radeon.hw.atomlist); in radeonSetUpAtomList()
67 rmesa->radeon.hw.atomlist.name = "atom-list"; in radeonSetUpAtomList()
69 insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.ctx); in radeonSetUpAtomList()
70 insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.set); in radeonSetUpAtomList()
71 insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.lin); in radeonSetUpAtomList()
72 insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.msk); in radeonSetUpAtomList()
73 insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.vpt); in radeonSetUpAtomList()
74 insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.tcl); in radeonSetUpAtomList()
75 insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.msc); in radeonSetUpAtomList()
[all …]
Dradeon_common.c72 void radeonSetCliprects(radeonContextPtr radeon) in radeonSetCliprects() argument
74 __DRIdrawable *const drawable = radeon_get_drawable(radeon); in radeonSetCliprects()
75 __DRIdrawable *const readable = radeon_get_readable(radeon); in radeonSetCliprects()
85 _mesa_resize_framebuffer(&radeon->glCtx, &draw_rfb->base, in radeonSetCliprects()
92 _mesa_resize_framebuffer(&radeon->glCtx, &read_rfb->base, in radeonSetCliprects()
97 if (radeon->state.scissor.enabled) in radeonSetCliprects()
98 radeonUpdateScissor(&radeon->glCtx); in radeonSetCliprects()
146 radeonContextPtr radeon = RADEON_CONTEXT(ctx); in radeonScissor() local
149 radeon_firevertices(radeon); in radeonScissor()
158 uint32_t radeonGetAge(radeonContextPtr radeon) in radeonGetAge() argument
[all …]
Dradeon_context.c94 static void r100_vtbl_pre_emit_state(radeonContextPtr radeon) in r100_vtbl_pre_emit_state() argument
96 r100ContextPtr rmesa = (r100ContextPtr)radeon; in r100_vtbl_pre_emit_state()
100 radeon->hw.is_dirty = 1; in r100_vtbl_pre_emit_state()
109 static void r100_emit_query_finish(radeonContextPtr radeon) in r100_emit_query_finish() argument
111 BATCH_LOCALS(radeon); in r100_emit_query_finish()
112 struct radeon_query_object *query = radeon->query.current; in r100_emit_query_finish()
123 static void r100_init_vtbl(radeonContextPtr radeon) in r100_init_vtbl() argument
125 radeon->vtbl.swtcl_flush = r100_swtcl_flush; in r100_init_vtbl()
126 radeon->vtbl.pre_emit_state = r100_vtbl_pre_emit_state; in r100_init_vtbl()
127 radeon->vtbl.fallback = radeonFallback; in r100_init_vtbl()
[all …]
Dradeon_queryobj.c89 radeonContextPtr radeon = RADEON_CONTEXT(ctx); in radeonWaitQuery() local
93 if (radeon_bo_is_referenced_by_cs(query->bo, radeon->cmdbuf.cs)) in radeonWaitQuery()
106 radeonContextPtr radeon = RADEON_CONTEXT(ctx); in radeonBeginQuery() local
111 assert(radeon->query.current == NULL); in radeonBeginQuery()
113 if (radeon->dma.flush) in radeonBeginQuery()
114 radeon->dma.flush(&radeon->glCtx); in radeonBeginQuery()
117 …query->bo = radeon_bo_open(radeon->radeonScreen->bom, 0, RADEON_QUERY_PAGE_SIZE, RADEON_QUERY_PAGE… in radeonBeginQuery()
121 radeon->query.current = query; in radeonBeginQuery()
123 radeon->query.queryobj.dirty = GL_TRUE; in radeonBeginQuery()
124 radeon->hw.is_dirty = GL_TRUE; in radeonBeginQuery()
[all …]
Dradeon_debug.c76 radeonContextPtr radeon = RADEON_CONTEXT(ctx); in _radeon_debug_add_indent() local
77 const size_t length = sizeof(radeon->debug.indent) in _radeon_debug_add_indent()
78 / sizeof(radeon->debug.indent[0]); in _radeon_debug_add_indent()
79 if (radeon->debug.indent_depth < length - 1) { in _radeon_debug_add_indent()
80 radeon->debug.indent[radeon->debug.indent_depth] = '\t'; in _radeon_debug_add_indent()
81 ++radeon->debug.indent_depth; in _radeon_debug_add_indent()
88 radeonContextPtr radeon = RADEON_CONTEXT(ctx); in _radeon_debug_remove_indent() local
89 if (radeon->debug.indent_depth > 0) { in _radeon_debug_remove_indent()
90 radeon->debug.indent[radeon->debug.indent_depth] = '\0'; in _radeon_debug_remove_indent()
91 --radeon->debug.indent_depth; in _radeon_debug_remove_indent()
[all …]
Dradeon_swtcl.c67 rmesa->radeon.swtcl.vertex_attrs[rmesa->radeon.swtcl.vertex_attr_count].attrib = (ATTR); \
68 rmesa->radeon.swtcl.vertex_attrs[rmesa->radeon.swtcl.vertex_attr_count].format = (STYLE); \
69 rmesa->radeon.swtcl.vertex_attr_count++; \
75 rmesa->radeon.swtcl.vertex_attrs[rmesa->radeon.swtcl.vertex_attr_count].attrib = 0; \
76 rmesa->radeon.swtcl.vertex_attrs[rmesa->radeon.swtcl.vertex_attr_count].format = EMIT_PAD; \
77 rmesa->radeon.swtcl.vertex_attrs[rmesa->radeon.swtcl.vertex_attr_count].offset = (N); \
78 rmesa->radeon.swtcl.vertex_attr_count++; \
107 rmesa->radeon.swtcl.vertex_attr_count = 0; in radeonSetVertexFormat()
216 if (rmesa->radeon.tnl_index_bitset != index_bitset || in radeonSetVertexFormat()
220 rmesa->radeon.swtcl.vertex_size = in radeonSetVertexFormat()
[all …]
Dradeon_queryobj.h41 static inline void radeon_init_query_stateobj(radeonContextPtr radeon, int SZ) in radeon_init_query_stateobj() argument
43 radeon->query.queryobj.cmd_size = (SZ); in radeon_init_query_stateobj()
44 radeon->query.queryobj.cmd = calloc(SZ, sizeof(uint32_t)); in radeon_init_query_stateobj()
45 radeon->query.queryobj.name = "queryobj"; in radeon_init_query_stateobj()
46 radeon->query.queryobj.idx = 0; in radeon_init_query_stateobj()
47 radeon->query.queryobj.check = radeon_check_query_active; in radeon_init_query_stateobj()
48 radeon->query.queryobj.dirty = GL_FALSE; in radeon_init_query_stateobj()
49 radeon->query.queryobj.emit = radeon_emit_queryobj; in radeon_init_query_stateobj()
51 radeon->hw.max_state_size += (SZ); in radeon_init_query_stateobj()
52 insert_at_tail(&radeon->hw.atomlist, &radeon->query.queryobj); in radeon_init_query_stateobj()
Dradeon_tcl.c130 radeonEmitState(&rmesa->radeon); \
141 radeonEmitState(&rmesa->radeon); \
150 if (rmesa->radeon.dma.flush) in radeonAllocElts()
151 rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); in radeonAllocElts()
154 rmesa->radeon.tcl.aos_count, 0 ); in radeonAllocElts()
178 rmesa->radeon.tcl.aos_count, in radeonEmitPrim()
256 radeon_prepare_render(&rmesa->radeon); in radeonTclPrimitive()
257 if (rmesa->radeon.NewGLState) in radeonTclPrimitive()
315 state_size = radeonCountStateEmitSize( &rmesa->radeon ); in radeonEnsureEmitSize()
318 state_size += rmesa->hw.tcl.check( &rmesa->radeon.glCtx, &rmesa->hw.tcl ); in radeonEnsureEmitSize()
[all …]
Dradeon_common.h9 void radeonSetCliprects(radeonContextPtr radeon);
13 extern uint32_t radeonGetAge(radeonContextPtr radeon);
17 void radeonEmitState(radeonContextPtr radeon);
18 GLuint radeonCountStateEmitSize(radeonContextPtr radeon);
22 void radeon_window_moved(radeonContextPtr radeon);
27 void radeon_fbo_init(struct radeon_context *radeon);
Dradeon_pixel_read.c95 radeonContextPtr radeon = RADEON_CONTEXT(ctx); in do_blit_readpixels() local
109 !radeon->vtbl.check_blit(dst_format, rrb->pitch / rrb->cpp) || !radeon->vtbl.blit) { in do_blit_readpixels()
132 …aligned_rowstride = get_texture_image_row_stride(radeon, dst_format, dst_rowstride, 0, GL_TEXTURE_… in do_blit_readpixels()
142 …dst_buffer = radeon_bo_open(radeon->radeonScreen->bom, 0, dst_imagesize, 1024, RADEON_GEM_DOMAIN_G… in do_blit_readpixels()
158 if (radeon->vtbl.blit(ctx, in do_blit_readpixels()
203 radeonContextPtr radeon = RADEON_CONTEXT(ctx); in radeonReadPixels() local
204 radeon_prepare_render(radeon); in radeonReadPixels()
/external/mesa3d/src/gallium/drivers/radeonsi/
DMakefile.sources54 ../radeon/radeon_uvd.c \
55 ../radeon/radeon_uvd.h \
56 ../radeon/radeon_vcn_dec_jpeg.c \
57 ../radeon/radeon_vcn_dec.c \
58 ../radeon/radeon_vcn_dec.h \
59 ../radeon/radeon_vcn_enc_1_2.c \
60 ../radeon/radeon_vcn_enc_2_0.c \
61 ../radeon/radeon_vcn_enc_3_0.c \
62 ../radeon/radeon_vcn_enc.c \
63 ../radeon/radeon_vcn_enc.h \
[all …]
Dmeson.build74 '../radeon/radeon_uvd.c',
75 '../radeon/radeon_uvd.h',
76 '../radeon/radeon_vcn_enc_1_2.c',
77 '../radeon/radeon_vcn_enc_2_0.c',
78 '../radeon/radeon_vcn_enc_3_0.c',
79 '../radeon/radeon_vcn_enc.c',
80 '../radeon/radeon_vcn_enc.h',
81 '../radeon/radeon_vcn_dec_jpeg.c',
82 '../radeon/radeon_vcn_dec.c',
83 '../radeon/radeon_vcn_dec.h',
[all …]
/external/mesa3d/doxygen/
Dradeon_subset.doxy57 ../src/mesa/drivers/dri/radeon/radeon_context.c \
58 ../src/mesa/drivers/dri/radeon/radeon_context.h \
59 ../src/mesa/drivers/dri/radeon/radeon_ioctl.c \
60 ../src/mesa/drivers/dri/radeon/radeon_ioctl.h \
61 ../src/mesa/drivers/dri/radeon/radeon_lock.c \
62 ../src/mesa/drivers/dri/radeon/radeon_lock.h \
63 ../src/mesa/drivers/dri/radeon/radeon_screen.c \
64 ../src/mesa/drivers/dri/radeon/radeon_screen.h \
65 ../src/mesa/drivers/dri/radeon/radeon_state.c \
66 ../src/mesa/drivers/dri/radeon/radeon_state.h \
[all …]

12345678