/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_queryobj.h | 42 static inline void radeon_init_query_stateobj(radeonContextPtr radeon, int SZ) 44 radeon->query.queryobj.cmd_size = (SZ); 45 radeon->query.queryobj.cmd = (uint32_t*)CALLOC((SZ) * sizeof(uint32_t)); 46 radeon->query.queryobj.name = "queryobj"; 47 radeon->query.queryobj.idx = 0; 48 radeon->query.queryobj.check = radeon_check_query_active; 49 radeon->query.queryobj.dirty = GL_FALSE; 50 radeon->query.queryobj.emit = radeon_emit_queryobj; 52 radeon->hw.max_state_size += (SZ); 53 insert_at_tail(&radeon->hw.atomlist, &radeon->query.queryobj) [all...] |
radeon_debug.c | 72 radeonContextPtr radeon = RADEON_CONTEXT(ctx); local 73 const size_t length = sizeof(radeon->debug.indent) 74 / sizeof(radeon->debug.indent[0]); 75 if (radeon->debug.indent_depth < length - 1) { 76 radeon->debug.indent[radeon->debug.indent_depth] = '\t'; 77 ++radeon->debug.indent_depth; 84 radeonContextPtr radeon = RADEON_CONTEXT(ctx); local 85 if (radeon->debug.indent_depth > 0) { 86 radeon->debug.indent[radeon->debug.indent_depth] = '\0' 100 radeonContextPtr radeon = RADEON_CONTEXT(ctx); local [all...] |
radeon_ioctl.c | 67 int i, mtu = rmesa->radeon.glCtx->Const.MaxTextureUnits; 69 make_empty_list(&rmesa->radeon.hw.atomlist); 70 rmesa->radeon.hw.atomlist.name = "atom-list"; 72 insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.ctx); 73 insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.set); 74 insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.lin); 75 insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.msk); 76 insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.vpt); 77 insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.tcl); 78 insert_at_tail(&rmesa->radeon.hw.atomlist, &rmesa->hw.msc) [all...] |
radeon_context.c | 94 static void r100_get_lock(radeonContextPtr radeon) 96 r100ContextPtr rmesa = (r100ContextPtr)radeon; 97 drm_radeon_sarea_t *sarea = radeon->sarea; 100 if (rmesa->radeon.sarea->tiling_enabled) { 108 if (sarea->ctx_owner != rmesa->radeon.dri.hwContext) { 109 sarea->ctx_owner = rmesa->radeon.dri.hwContext; 117 static void r100_vtbl_pre_emit_state(radeonContextPtr radeon) 119 r100ContextPtr rmesa = (r100ContextPtr)radeon; 123 radeon->hw.is_dirty = 1; 132 static void r100_emit_query_finish(radeonContextPtr radeon) [all...] |
radeon_common_context.c | 8 initial release of the Radeon 8500 driver under the XFree86 license. 78 radeonContextPtr radeon = RADEON_CONTEXT(ctx); local 88 GLuint agp_mode = (radeon->radeonScreen->card_type==RADEON_CARD_PCI) ? 0 : 89 radeon->radeonScreen->AGPMode; 98 get_chip_family_name(radeon->radeonScreen->chip_family), 99 radeon->radeonScreen->device_id); 104 !(radeon->TclFallback & RADEON_TCL_FALLBACK_TCL_DISABLE) 128 GLboolean radeonInitContext(radeonContextPtr radeon, 143 radeon->radeonScreen = screen; 149 radeon->glCtx = _mesa_create_context(API_OPENGL, glVisual, shareCtx 222 radeonContextPtr radeon = (radeonContextPtr) driContextPriv->driverPrivate; local 277 radeonContextPtr radeon = (radeonContextPtr) driContextPriv->driverPrivate; local 350 radeonContextPtr radeon; local 563 radeonContextPtr radeon; local [all...] |
radeon_queryobj.c | 89 radeonContextPtr radeon = RADEON_CONTEXT(ctx); local 93 if (radeon_bo_is_referenced_by_cs(query->bo, radeon->cmdbuf.cs)) 106 radeonContextPtr radeon = RADEON_CONTEXT(ctx); local 111 assert(radeon->query.current == NULL); 113 if (radeon->dma.flush) 114 radeon->dma.flush(radeon->glCtx); 117 query->bo = radeon_bo_open(radeon->radeonScreen->bom, 0, RADEON_QUERY_PAGE_SIZE, RADEON_QUERY_PAGE_SIZE, RADEON_GEM_DOMAIN_GTT, 0); 121 radeon->query.current = query; 123 radeon->query.queryobj.dirty = GL_TRUE 129 radeonContextPtr radeon = RADEON_CONTEXT(ctx); local 149 radeonContextPtr radeon = RADEON_CONTEXT(ctx); local 165 radeonContextPtr radeon = RADEON_CONTEXT(ctx); local 196 radeonContextPtr radeon = RADEON_CONTEXT(ctx); local 206 radeonContextPtr radeon = RADEON_CONTEXT(ctx); local [all...] |
radeon_common.c | 6 initial release of the Radeon 8500 driver under the XFree86 license. 73 void radeonSetCliprects(radeonContextPtr radeon) 75 __DRIdrawable *const drawable = radeon_get_drawable(radeon); 76 __DRIdrawable *const readable = radeon_get_readable(radeon); 86 _mesa_resize_framebuffer(radeon->glCtx, &draw_rfb->base, 94 _mesa_resize_framebuffer(radeon->glCtx, &read_rfb->base, 100 if (radeon->state.scissor.enabled) 101 radeonUpdateScissor(radeon->glCtx); 149 radeonContextPtr radeon = RADEON_CONTEXT(ctx); local 152 radeon_firevertices(radeon); 187 radeonContextPtr radeon = RADEON_CONTEXT(ctx); local 203 radeonContextPtr radeon = RADEON_CONTEXT(ctx); local 362 radeonContextPtr radeon = RADEON_CONTEXT(ctx); local 414 radeonContextPtr radeon = RADEON_CONTEXT(ctx); local 551 radeonContextPtr radeon = RADEON_CONTEXT(ctx); local 591 radeonContextPtr radeon = RADEON_CONTEXT(ctx); local 632 radeonContextPtr radeon = RADEON_CONTEXT(ctx); local [all...] |
radeon_swtcl.c | 69 rmesa->radeon.swtcl.vertex_attrs[rmesa->radeon.swtcl.vertex_attr_count].attrib = (ATTR); \ 70 rmesa->radeon.swtcl.vertex_attrs[rmesa->radeon.swtcl.vertex_attr_count].format = (STYLE); \ 71 rmesa->radeon.swtcl.vertex_attr_count++; \ 77 rmesa->radeon.swtcl.vertex_attrs[rmesa->radeon.swtcl.vertex_attr_count].attrib = 0; \ 78 rmesa->radeon.swtcl.vertex_attrs[rmesa->radeon.swtcl.vertex_attr_count].format = EMIT_PAD; \ 79 rmesa->radeon.swtcl.vertex_attrs[rmesa->radeon.swtcl.vertex_attr_count].offset = (N); [all...] |
radeon_cmdbuf.h | 107 static INLINE void radeon_firevertices(radeonContextPtr radeon) 109 if (radeon->cmdbuf.cs->cdw || radeon->dma.flush ) 110 radeon->glCtx->Driver.Flush(radeon->glCtx); /* +r6/r7 */
|
radeon_common.h | 9 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);
|
radeon_tcl.c | 129 radeonEmitState(&rmesa->radeon); \ 140 radeonEmitState(&rmesa->radeon); \ 149 if (rmesa->radeon.dma.flush) 150 rmesa->radeon.dma.flush( rmesa->radeon.glCtx ); 153 rmesa->radeon.tcl.aos_count, 0 ); 177 rmesa->radeon.tcl.aos_count, 255 radeon_prepare_render(&rmesa->radeon); 256 if (rmesa->radeon.NewGLState) 314 state_size = radeonCountStateEmitSize( &rmesa->radeon ); [all...] |
/external/mesa3d/src/gallium/targets/va-r300/ |
target.c | 3 #include "radeon/drm/radeon_drm_public.h" 8 struct radeon_winsys *radeon; local 11 radeon = radeon_drm_winsys_create(fd); 12 if (!radeon) 15 screen = r300_screen_create(radeon); 24 DRM_DRIVER_DESCRIPTOR("r300", "radeon", create_screen, NULL)
|
/external/mesa3d/src/gallium/targets/va-r600/ |
target.c | 3 #include "radeon/drm/radeon_drm_public.h" 8 struct radeon_winsys *radeon; local 11 radeon = radeon_drm_winsys_create(fd); 12 if (!radeon) 15 screen = r600_screen_create(radeon); 24 DRM_DRIVER_DESCRIPTOR("r600", "radeon", create_screen, NULL)
|
/external/mesa3d/src/gallium/targets/vdpau-r300/ |
target.c | 3 #include "radeon/drm/radeon_drm_public.h" 8 struct radeon_winsys *radeon; local 11 radeon = radeon_drm_winsys_create(fd); 12 if (!radeon) 15 screen = r300_screen_create(radeon); 24 DRM_DRIVER_DESCRIPTOR("r300", "radeon", create_screen, NULL)
|
/external/mesa3d/src/gallium/targets/vdpau-r600/ |
target.c | 3 #include "radeon/drm/radeon_drm_public.h" 8 struct radeon_winsys *radeon; local 11 radeon = radeon_drm_winsys_create(fd); 12 if (!radeon) 15 screen = r600_screen_create(radeon); 24 DRM_DRIVER_DESCRIPTOR("r600", "radeon", create_screen, NULL)
|
/external/mesa3d/src/gallium/targets/vdpau-radeonsi/ |
target.c | 3 #include "radeon/drm/radeon_drm_public.h" 8 struct radeon_winsys *radeon; local 11 radeon = radeon_drm_winsys_create(fd); 12 if (!radeon) 15 screen = radeonsi_screen_create(radeon); 24 DRM_DRIVER_DESCRIPTOR("radeonsi", "radeon", create_screen, NULL)
|
/external/mesa3d/src/gallium/targets/xvmc-r300/ |
target.c | 3 #include "radeon/drm/radeon_drm_public.h" 8 struct radeon_winsys *radeon; local 11 radeon = radeon_drm_winsys_create(fd); 12 if (!radeon) 15 screen = r300_screen_create(radeon); 24 DRM_DRIVER_DESCRIPTOR("r300", "radeon", create_screen, NULL)
|
/external/mesa3d/src/gallium/targets/xvmc-r600/ |
target.c | 3 #include "radeon/drm/radeon_drm_public.h" 8 struct radeon_winsys *radeon; local 11 radeon = radeon_drm_winsys_create(fd); 12 if (!radeon) 15 screen = r600_screen_create(radeon); 24 DRM_DRIVER_DESCRIPTOR("r600", "radeon", create_screen, NULL)
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_cmdbuf.c | 5 initial release of the Radeon 8500 driver under the XFree86 license. 59 mtu = rmesa->radeon.glCtx->Const.MaxTextureUnits; 61 make_empty_list(&rmesa->radeon.hw.atomlist); 62 rmesa->radeon.hw.atomlist.name = "atom-list"; 64 insert_at_tail_if( &rmesa->radeon.hw.atomlist, &rmesa->hw.ctx ); 65 insert_at_tail_if( &rmesa->radeon.hw.atomlist, &rmesa->hw.set ); 66 insert_at_tail_if( &rmesa->radeon.hw.atomlist, &rmesa->hw.lin ); 67 insert_at_tail_if( &rmesa->radeon.hw.atomlist, &rmesa->hw.msk ); 68 insert_at_tail_if( &rmesa->radeon.hw.atomlist, &rmesa->hw.vpt ); 69 insert_at_tail_if( &rmesa->radeon.hw.atomlist, &rmesa->hw.vtx ) [all...] |
r200_context.c | 5 initial release of the Radeon 8500 driver under the XFree86 license. 77 GLuint agp_mode = (rmesa->radeon.radeonScreen->card_type == RADEON_CARD_PCI)? 0 : 78 rmesa->radeon.radeonScreen->AGPMode; 88 !(rmesa->radeon.TclFallback & R200_TCL_FALLBACK_TCL_DISABLE) 146 static void r200_get_lock(radeonContextPtr radeon) 148 r200ContextPtr rmesa = (r200ContextPtr)radeon; 149 drm_radeon_sarea_t *sarea = radeon->sarea; 152 if (rmesa->radeon.sarea->tiling_enabled) { 157 if ( sarea->ctx_owner != rmesa->radeon.dri.hwContext ) { 158 sarea->ctx_owner = rmesa->radeon.dri.hwContext [all...] |
r200_swtcl.c | 5 initial release of the Radeon 8500 driver under the XFree86 license. 64 rmesa->radeon.swtcl.vertex_attrs[rmesa->radeon.swtcl.vertex_attr_count].attrib = (ATTR); \ 65 rmesa->radeon.swtcl.vertex_attrs[rmesa->radeon.swtcl.vertex_attr_count].format = (STYLE); \ 66 rmesa->radeon.swtcl.vertex_attr_count++; \ 72 rmesa->radeon.swtcl.vertex_attrs[rmesa->radeon.swtcl.vertex_attr_count].attrib = 0; \ 73 rmesa->radeon.swtcl.vertex_attrs[rmesa->radeon.swtcl.vertex_attr_count].format = EMIT_PAD; [all...] |
r200_tcl.c | 5 initial release of the Radeon 8500 driver under the XFree86 license. 125 radeonEmitState(&rmesa->radeon); \ 136 radeonEmitState(&rmesa->radeon); \ 144 if (rmesa->radeon.dma.flush == r200FlushElts && 147 GLushort *dest = (GLushort *)(rmesa->radeon.tcl.elt_dma_bo->ptr + 148 rmesa->radeon.tcl.elt_dma_offset + rmesa->tcl.elt_used); 155 if (rmesa->radeon.dma.flush) 156 rmesa->radeon.dma.flush( rmesa->radeon.glCtx ); 159 rmesa->radeon.tcl.aos_count, 0 ) [all...] |
/external/mesa3d/src/gallium/targets/dri-r600/ |
target.c | 3 #include "radeon/drm/radeon_drm_public.h" 8 struct radeon_winsys *radeon; local 11 radeon = radeon_drm_winsys_create(fd); 12 if (!radeon) 15 screen = r600_screen_create(radeon); 40 DRM_DRIVER_DESCRIPTOR("r600", "radeon", create_screen, drm_configuration)
|
/external/mesa3d/src/gallium/targets/dri-radeonsi/ |
target.c | 3 #include "radeon/drm/radeon_drm_public.h" 8 struct radeon_winsys *radeon; local 11 radeon = radeon_drm_winsys_create(fd); 12 if (!radeon) 15 screen = radeonsi_screen_create(radeon); 40 DRM_DRIVER_DESCRIPTOR("radeonsi", "radeon", create_screen, drm_configuration)
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
Makefile | 8 -I$(TOP)/src/gallium/drivers/radeon/ 14 LIBRADEON = $(TOP)/src/gallium/drivers/radeon/libradeon.a
|