aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | radeon: Provide a more detailled GL_RENDERER string.Nicolai Hähnle2009-06-013-5/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Display the chip family and PCI ID. This can be parsed easily, and essentially all information that the driver has about the chip can be deduced from it. Signed-off-by: Nicolai Hähnle <[email protected]>
| * | | r300: when using cs path emit scissor in the cmdbufferJerome Glisse2009-05-284-0/+43
| | | |
| * | | r300: rework texture offset emission.Jerome Glisse2009-05-281-7/+13
| | | |
| * | | radeon: emit scissor before emiting verticesJerome Glisse2009-05-271-3/+1
| | | |
| * | | radeon: emit scissor when using cs submission style.Jerome Glisse2009-05-271-0/+28
| | | |
| * | | radeon: on update drawable don't firevertices as it might be call from GetLockJerome Glisse2009-05-251-3/+1
| | | | | | | | | | | | | | | | | | | | To avoid locking bug we shouldn't not call firevertices from this path as it's call from radeon get lock.
| * | | r200: emit scissor when dri2 is enabledJerome Glisse2009-05-251-0/+31
| | | | | | | | | | | | | | | | | | | | In DRI1 kernel emit scissor but in dri2 cs path we have to explicitly program them.
| * | | r200: fix multitexturing in dri2 pathJerome Glisse2009-05-251-1/+1
| | | |
| * | | r200: emit cliprect with indexed primitiveJerome Glisse2009-05-251-1/+1
| | | |
| * | | radeon: realloc dma if needed after revalidateJerome Glisse2009-05-241-0/+6
| | | | | | | | | | | | | | | | | | | | Revalidate can trigger flushing and dma buffer deallocation, so retry allocation on such case.
| * | | radeon: Remove drawable & readable from radeon_dri_mirrorNicolai Hähnle2009-05-2413-319/+310
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The duplication of state data caused a crash due to double-free on destruction of context, because a variable wasn't correctly null'ed out. Signed-off-by: Nicolai Hähnle <[email protected]>
| * | | radeon: reading back to scratch reg through status map doesn't workJerome Glisse2009-05-221-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | For some unknown reasons the scratch reg value doesn't endup in the status map at the scratch reg offset, this is a temporary work around until we figure out why it doesn't work.
| * | | radeon: maxbuffer size is in bytesJerome Glisse2009-05-211-2/+2
| | | |
| * | | r200: fix vbo array renderingJerome Glisse2009-05-202-4/+5
| | | |
| * | | radeon: Increase reference count of current renderbuffers.Michel Dänzer2009-05-204-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes glxinfo: main/renderbuffer.c:2159: _mesa_reference_renderbuffer: Assertion `oldRb->Magic == 0xaabbccdd' failed.
| * | | Merge branch 'master' into radeon-rewriteMichel Dänzer2009-05-2080-949/+1646
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/r300/r300_context.c src/mesa/drivers/dri/r300/r300_texstate.c
| * | | | radeon: set max texture sizeJerome Glisse2009-05-203-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | This still need some work to actually report somethings reasonable if no memory manager is available.
| * | | | r200: fix indexed draw color order and cs missmatchJerome Glisse2009-05-202-3/+6
| | | | |
| * | | | radeon: fix DRI1 cmd streamJerome Glisse2009-05-182-17/+18
| | | | |
| * | | | r300: cleanup vertex program related functionsMaciej Cencora2009-05-166-216/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - move vertex program related functions to r300_vertprog.c - use _mesa_bitcount instead of self-made bit_count function - remove duplicated field in r300_vertex_shader_fragment.body union - rename r300_vertex_shader_fragment to r300_vertex_shader_hw_code - rename r300_vertex_program field native to error - remove unnecessary r300_vertex_shader_state structure - remove unused r300_vertex_program and r300_vertex_program_cont fields - remove disabled code
| * | | | r300: minor code movementMaciej Cencora2009-05-161-21/+21
| | | | |
| * | | | r300: more cleanupMaciej Cencora2009-05-161-27/+13
| | | | | | | | | | | | | | | | | | | | | | | | | - remove unnecessary r300TranslateFragmentShader call from r300UpdateShaderStates (it is already called in r300UpdateShaders) - remove unnecessary null ptr checks
| * | | | r300: move some code to common pathMaciej Cencora2009-05-162-21/+12
| | | | |
| * | | | r300: rename functionsMaciej Cencora2009-05-167-8/+8
| | | | | | | | | | | | | | | | | | | | Be consistent with function naming: use Setup/Emit names for functions that modify hardware state
| * | | | r300: move forward declarations to where they belongMaciej Cencora2009-05-162-4/+5
| | | | |
| * | | | r300: software fallbacking handling rewriteMaciej Cencora2009-05-167-99/+208
| | | | | | | | | | | | | | | | | | | | | | | | | Until now falling back to software rasterizer worked only for TCL enabled cards. For non TCL cards we used to plug our rendering functions in r300InitSwtcl, and we had never restored original functions for software rasterizer.
| * | | | r300: r300EmitArrays should never failMaciej Cencora2009-05-163-10/+4
| | | | |
| * | | | r300: remove unnecessary switch casesMaciej Cencora2009-05-161-8/+0
| | | | |
| * | | | r300: further cleanupMaciej Cencora2009-05-167-85/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - move extensions init into seperate function - move options handling into seperate function - create new structure to hold options values - use context->options.hw_tcl_enabled field instead of global hw_tcl_on and future_hw_tcl_on variables
| * | | | r300: don't send now forbidden register to kernel when with memory managerJerome Glisse2009-05-143-16/+67
| | | | |
| * | | | R1xx/r2xx: Don't use an alpha texture format for GLX_TEXTURE_FORMAT_RGB_EXTAlex Deucher2009-05-132-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In r*00SetTexBuffer2(), if the passed in text glx_texture_format is GLX_TEXTURE_FORMAT_RGB_EXT, then we should use an RGB-only texture format, even if the DRI buffer has four channels. https://bugs.freedesktop.org/show_bug.cgi?id=21609
| * | | | radeon: Don't crash generating mipmaps when pixels=NULLOwen W. Taylor2009-05-131-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a NULL value of pixels is passed to TexImage2D and SGIS_generate_mipmap is enabled, don't try to generate the mipmap tree: we don't have data yet for the texture and will crash. https://bugs.freedesktop.org/show_bug.cgi?id=21648
| * | | | Don't use an alpha texture format for GLX_TEXTURE_FORMAT_RGB_EXTOwen W. Taylor2009-05-131-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In r300SetTexBuffer2(), if the passed in text glx_texture_format is GLX_TEXTURE_FORMAT_RGB_EXT, then we should use an RGB-only texture format, even if the DRI buffer has four channels. https://bugs.freedesktop.org/show_bug.cgi?id=21609
| * | | | Call _mesa_update_stencil() before accessing ctx->Stencil._EnabledOwen W. Taylor2009-05-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ctx->Stencil._Enabled is derived state and not immediately updated when the stencil parameters are changed; we need to make sure that it is up-to-date before accessing it. https://bugs.freedesktop.org/show_bug.cgi?id=21608
| * | | | Remove subpixel offset from viewportOwen W. Taylor2009-05-131-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove an eigth-pixel offset of the viewport inherited from R100 code. This seems not to be necessary and causes blurring when sampling textures 1:1. https://bugs.freedesktop.org/show_bug.cgi?id=20340
| * | | | radeon: glReadBuffer set _NEW_BUFFERS, not _NEW_PIXELJerome Glisse2009-05-123-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | This was broken with last merge see 62043b27575c378c027251316421e4699f461108 for explanations
| * | | | r300/r500: make sure we detect constant buffer changesJerome Glisse2009-05-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This was broken with last merge see f48473e42511f8d37a239a07f791bc0a87209e5b for explanations.
| * | | | radeon: avoid segfault in radeon_update_renderbuffers() if using DRI1Tormod Volden2009-05-121-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Basically the same as 43d9020ff1e975e7f4f9480d9ef24f0b9fb2141f for intel. Bug 21688. Signed-off-by: Tormod Volden <[email protected]>
| * | | | radeon: add support for new dri2 interfaces & fix single buffer renderingJoel Bosveld2009-05-103-16/+154
| | | | |
| * | | | Merge commit 'origin/master' into radeon-rewriteJerome Glisse2009-05-10242-3438/+6036
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/r200/r200_state.c src/mesa/drivers/dri/r300/r300_context.h src/mesa/drivers/dri/r300/r300_fragprog.c src/mesa/drivers/dri/r300/r300_state.c src/mesa/drivers/dri/r300/r300_texmem.c src/mesa/drivers/dri/r300/r300_texstate.c src/mesa/drivers/dri/r300/r500_fragprog.c src/mesa/drivers/dri/radeon/radeon_screen.c src/mesa/drivers/dri/radeon/radeon_state.c
| * | | | | radeon: don't include cs uncondionalyJerome Glisse2009-05-091-2/+0
| | | | | |
| * | | | | radeon: IRQ always enabled in DRI2 path no need to query kernel for itJerome Glisse2009-05-081-2/+1
| | | | | |
| * | | | | r300: add missing texture formatMaciej Cencora2009-05-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes piglit/texdepth
| * | | | | r300: moar cleanupMaciej Cencora2009-05-074-27/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - remove unused r300UpdateClipPlanes function - move reg definition to r300_reg.h - remove incorrect forward definition of tnl_UpdateFixedFunctionProgram and add proper #include - remove unreachable code
| * | | | | r300: fix compiler warningsMaciej Cencora2009-05-074-8/+4
| | | | | |
| * | | | | When clearing the stencil buffer, don't use a two-sided stencilOwen W. Taylor2009-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In radeon_clear_tris(), when clearing the stencil buffer, pass GL_FRONT_AND_BACK to _mesa_StencilFuncSeparate(), to avoid triggering a software fallback on r300 and below. https://bugs.freedesktop.org/show_bug.cgi?id=21601
| * | | | | radeon: hopefully fixup radeon cube state emission for kmsDave Airlie2009-05-061-3/+11
| | | | | |
| * | | | | r100/r200: try and allocate miptree correct for hw.Dave Airlie2009-05-061-3/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This doesn't make things worse but according to sroland it is how the GPU hw expects things on the r100/r200
| * | | | | r200: fix cubic emission.Dave Airlie2009-05-061-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Still doesn't fix cubemaps, I really missed the whole drmsupports thing when testing this all originally
| * | | | | r200: fix some cube map issuesRoland Scheidegger2009-05-051-24/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remove the r100-ism of swapping cube faces which doesn't apply to r200, and also use precalculated offsets. Note that cube textures will still not work on r100 and r200 since mipmap layout is level-first order (for r300) whereas r100/r200 require face-first (and possibly also 2k alignment for face at least with tiling).