Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | progs/trivial: test glPolygonMode(POINT/LINE) with frustum clipping | Brian Paul | 2010-01-14 | 3 | -0/+93 |
| | | | | | Note whether the new verts introduced by clipping show up as points and lines along the edge of the window... | ||||
* | gallium/util: silence warning about array initializers | Brian Paul | 2010-01-14 | 1 | -3/+10 |
| | |||||
* | egl_g3d: Check if the creation of pipe or st context fails. | Chia-I Wu | 2010-01-14 | 1 | -2/+12 |
| | | | | It should not return an incomplete EGLContext to the users. | ||||
* | st/egl_g3d: Use a sequence number to decide if validation is required. | Chia-I Wu | 2010-01-14 | 7 | -21/+66 |
| | | | | | | | It is not safe to assume that the native surface has not changed since the last validation by checking the geometry alone. Add a sequence number to "validate" callback for that purpose. This is inspired by Luca Barbieri's work. | ||||
* | gallium/docs: Random things sitting around in my stash. | Corbin Simpson | 2010-01-13 | 1 | -3/+5 |
| | |||||
* | r300g: Use indices to translate index buffers of ubytes. | Corbin Simpson | 2010-01-13 | 1 | -7/+58 |
| | | | | progs/redbook/aapoly, among others, works fine now. | ||||
* | radeong: Change DRI driver name to radeong. | Corbin Simpson | 2010-01-13 | 1 | -1/+1 |
| | |||||
* | r300g: Disable immediate mode rendering for now. | Corbin Simpson | 2010-01-13 | 1 | -1/+1 |
| | | | | Will re-enable when the bugs are ironed out. | ||||
* | gallium/draw: s/clipper/clip_stage/ to be consistant with other stages | Brian Paul | 2010-01-13 | 1 | -9/+9 |
| | |||||
* | gallium/draw: whitespace and comments | Brian Paul | 2010-01-13 | 1 | -7/+9 |
| | |||||
* | gallium/draw: remove always-true conditional | Brian Paul | 2010-01-13 | 1 | -3/+1 |
| | |||||
* | gallium: remove forward struct decl | Brian Paul | 2010-01-13 | 1 | -4/+0 |
| | | | | | Other struct types (like pipe_texture) are referenced before they're defined so no reason to special-case this one. | ||||
* | DRI2: don't send DRI2 requests the server doesn't know about | Jesse Barnes | 2010-01-13 | 1 | -5/+13 |
| | | | | | | At init time, NULL out the hooks that send the server new requests. DRI2 never supported these extensions, so this preserves old behavior on old servers with new Mesa. | ||||
* | GLX/DRI2: pass X drawable ID instead | Jesse Barnes | 2010-01-13 | 1 | -4/+4 |
| | | | | | | These happened to be the same in my testing since I was using apps that depend on the GLX 1.2 behavior where X and GLX drawables are interchangeable. | ||||
* | GLX: use glproto CFLAGS etc. when building | Jesse Barnes | 2010-01-13 | 1 | -2/+2 |
| | | | | | Roll the glproto check into the dri2proto and libdrm check so we get the proper CFLAGS and LDFLAGS for the package. | ||||
* | r300g: Account for CS space used per atom. | Corbin Simpson | 2010-01-13 | 4 | -18/+55 |
| | | | | | | Oh yeah, those atoms are startin' to pay off. The main obstacle now for OA playability is the absurdly low default mouse sensitivity, IMO. Not totally smooth yet, but getting there. | ||||
* | r300g: Two dirty state optimizations. | Corbin Simpson | 2010-01-13 | 1 | -8/+6 |
| | |||||
* | r300g: DCE in emit. | Corbin Simpson | 2010-01-13 | 1 | -26/+0 |
| | |||||
* | r300g: Lower the immd mode threshold. | Corbin Simpson | 2010-01-12 | 1 | -3/+8 |
| | |||||
* | r300g: Fix is_r400 status for rs4xx and rc4xx. | Corbin Simpson | 2010-01-12 | 1 | -4/+0 |
| | | | | As suggested by agd5f. | ||||
* | r300g: Switch to immediate mode for tiny renders. | Corbin Simpson | 2010-01-12 | 1 | -4/+40 |
| | | | | Useful for e.g. blitter. | ||||
* | r300g: emit blend LTE/GTE thresholds on >=RV350 | Marek Olšák | 2010-01-12 | 1 | -1/+3 |
| | | | | As per classic r300. | ||||
* | r300g: update the texture initialization so that it respects tiling | Marek Olšák | 2010-01-12 | 1 | -6/+50 |
| | | | | This is still work-in-progress and tiling is not enabled by default. | ||||
* | r300g: add emission of texture tiling bits | Marek Olšák | 2010-01-12 | 3 | -11/+32 |
| | |||||
* | r300g: add is_r400 flag | Marek Olšák | 2010-01-12 | 2 | -1/+22 |
| | | | | r4xx has some additional fragment shader registers compared to r3xx. | ||||
* | r300g: silence a warning | Marek Olšák | 2010-01-12 | 1 | -1/+1 |
| | |||||
* | r300g: only emit scissor when needed | Marek Olšák | 2010-01-12 | 2 | -2/+4 |
| | | | | | | Reverting some bits from ce1c493ff8fad4b62e2b66f06636ac6560a6e0ad. Given the latest fixes, it's not needed to always emit scissor, really. | ||||
* | Revert "r300g: Placate kernel checker by explicitly disabling depth test." | Marek Olšák | 2010-01-12 | 1 | -8/+11 |
| | | | | | | | | This reverts commit e920ee23b32f6031a7b8527b540566e7ada6af8a. Assuming the FB state is not dirty and the DSA state is, then the depth test will be re-enabled, making the kernel checker angry. Reverting the commit fixes piglit/glsl-bug-22603. | ||||
* | r300g: mark all states as dirty after flush | Marek Olšák | 2010-01-12 | 1 | -0/+9 |
| | | | | It fixes almost all regressions introduced lately. | ||||
* | nv50: fix 2 off by one memory leaks (nv50_miptree_level->image_offset) | Marcin Slusarz | 2010-01-12 | 1 | -2/+2 |
| | |||||
* | nv50: fix memory leak on nv50_pc free | Marcin Slusarz | 2010-01-12 | 1 | -0/+2 |
| | |||||
* | gallium: Rename ALIGN_STACK -> PIPE_ALIGN_STACK for consistency. | José Fonseca | 2010-01-12 | 5 | -7/+7 |
| | |||||
* | gallium: Simplify PIPE_ALIGN_VAR. | José Fonseca | 2010-01-12 | 16 | -50/+52 |
| | | | | | | gcc allows pre-fix variable attributes. Suggested by Ian Romanick. | ||||
* | gallium: Generalize the alignment macros to other compilers and any alignment. | José Fonseca | 2010-01-12 | 17 | -62/+81 |
| | |||||
* | r300g: Always emit scissors. | Corbin Simpson | 2010-01-12 | 5 | -69/+45 |
| | | | | Save some code, improve FPS, and fix piglit tests. Everybody wins. | ||||
* | st/egl_g3d: Get the stapi from the driver. | Chia-I Wu | 2010-01-12 | 1 | -3/+2 |
| | | | | | egl_g3d_get_st was called because the driver argument was not given before. It can be fixed now. | ||||
* | egl: Add _EGLDriver as the first argument to GetProcAddress. | Chia-I Wu | 2010-01-12 | 6 | -6/+7 |
| | | | | | The rest of the driver API has it as the first argument. It should be there so that a driver has access to itself. | ||||
* | egl_xdri: Fix build breakage. | Chia-I Wu | 2010-01-12 | 1 | -1/+1 |
| | | | | | driScreen->swapBuffers takes 3 more arguments since daf7fe69f7bd0caa955d30b43fc35b7ce0069b6b. | ||||
* | st/egl_g3d: Improve comments to the native display interface. | Chia-I Wu | 2010-01-12 | 1 | -2/+12 |
| | | | | | Document the future of __GLcontextModes. Improve the description of surface validation and native_flush_frontbuffer. | ||||
* | r300g: Add back dirty state check. | Corbin Simpson | 2010-01-11 | 1 | -0/+4 |
| | | | | | From 07ea7e6c80. This is the only questionable part of that commit, AFAICT... | ||||
* | r300g: Placate kernel checker by explicitly disabling depth test. | Corbin Simpson | 2010-01-11 | 1 | -11/+8 |
| | | | | | | | This probably should disable stencil, too, if the kernel cares enough. Note: When atomized, framebuffer setup should go towards the end anyway, but it *must* follow these test setups anyway. | ||||
* | r300g: Avoid segfault on binding null RS state. | Corbin Simpson | 2010-01-11 | 1 | -1/+5 |
| | |||||
* | st/mesa: removed unused var | Brian Paul | 2010-01-11 | 1 | -2/+0 |
| | |||||
* | st/mesa: comments, whitespace | Brian Paul | 2010-01-11 | 1 | -8/+15 |
| | |||||
* | winsys/drm: Use egl_g3d to build EGL drivers. | Chia-I Wu | 2010-01-12 | 12 | -1/+145 |
| | | | | | | | The new EGL drivers use egl_g3d and respect EGL_DISPLAYS. They are named after the display supported and the DRM name. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | st/egl_g3d: Add support for KMS native display. | Chia-I Wu | 2010-01-12 | 3 | -1/+1005 |
| | | | | | | | The KMS native display implements the modeset interface using DRM modesetting. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | st/egl_g3d: Add support for EGL_MESA_screen_surface. | Chia-I Wu | 2010-01-12 | 2 | -1/+202 |
| | | | | | | This is implemented through the modeset interface. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | st/egl_g3d: Update the native display interface for modesetting. | Chia-I Wu | 2010-01-12 | 1 | -13/+56 |
| | | | | | | The new interface can be used to implement EGL_MESA_screen_surface. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | st/egl_g3d: New EGL state tracker that uses Gallium. | Chia-I Wu | 2010-01-12 | 20 | -0/+4376 |
| | | | | | | | | | | | | This new (intermediate) EGL state tracker is the base work for EGL drivers that uses Gallium. It makes it easier to support new window systems. Currently, there is support only for X11. This driver supports multiple APIs (OpenVG, OpenGL, ...) and supports hardware acceleration through winsys/drm. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | winsys/drm: Add name field to drm_api. | Chia-I Wu | 2010-01-12 | 6 | -0/+7 |
| | | | | | | | The name can be used for driver selection. It has the same name as the DRI driver does right now. Signed-off-by: Chia-I Wu <[email protected]> |