aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
...
* | i915g: Move definition of M_PI in i915_fpc_translate.cJon TURNEY2011-06-291-5/+3
| | | | | | | | | | | | | | | | Move defintion of M_PI (for the benefit of <math.h> which do not define it), to before the first use of it Signed-off-by: Jon TURNEY <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* | st/glx: Fix compilation errorThomas Hellstrom2011-06-292-4/+4
| | | | | | | | | | | | | | Fix compilation error due to commit "Rework how drawables are invalidated v3" Signed-off-by: Thomas Hellstrom <[email protected]>
* | st/dri: Get rid of the evil struct dri_drawable::context memberThomas Hellstrom2011-06-292-5/+0
| | | | | | | | | | | | It's incorrect to assume a single context bound to a drawable. Signed-off-by: Thomas Hellstrom <[email protected]>
* | st-api: Rework how drawables are invalidated v3.Thomas Hellstrom2011-06-2911-70/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The api and the state tracker manager code as well as the state tracker code assumed that only a single context could be bound to a drawable. That is not a valid assumption, since multiple contexts can bind to the same drawable. Fix this by making it the state tracker's responsibility to update all contexts binding to a drawable Note that the state trackers themselves don't use atomic stamps on frame-buffers. Multiple context rendering to the same drawable should be protected by the application. Signed-off-by: Thomas Hellstrom <[email protected]>
* | i915g: Fix unimplemented Abs comment.Stéphane Marchesin2011-06-291-1/+1
| |
* | i915g: If we have a program, that means the other fields are ours and we can ↵Stéphane Marchesin2011-06-281-3/+5
| | | | | | | | | | | | free them. Otherwise they probably belong to draw.
* | i915g: Don't overflow the program buffer.Stéphane Marchesin2011-06-281-13/+25
| | | | | | | | Otherwise it corrupts other fields of the struct and hilarity ensues.
* | i915g: Update the TODO with another idea.Stéphane Marchesin2011-06-281-0/+2
| |
* | i915g: Fix comment about sin/cos constants.Stéphane Marchesin2011-06-281-2/+2
| |
* | i915g: Fix staging texture uploads a bit.Stéphane Marchesin2011-06-281-5/+1
| | | | | | | | They still look corrupted, but at least now they don't look tiled any more.
* | i915g: Add a debug_printf when we get the Abs flag.Stéphane Marchesin2011-06-281-0/+3
| |
* | i915g: Support PIPE_FORMAT_B10G10R10A2_UNORM.Stéphane Marchesin2011-06-283-0/+10
| |
* | i915g: Improve SIN/COS a bit.Stéphane Marchesin2011-06-281-20/+20
| |
* | i915g: When emulating LUMINANCE8 and INTENSITY8 texutres, route alpha properly.Stéphane Marchesin2011-06-281-2/+2
| | | | | | | | That fixes some formats in fbo-alphatest-formats.
* | i915g: fix shadow compare.Stéphane Marchesin2011-06-282-1/+26
| | | | | | | | "Works" as well as i915c now.
* | targets/egl-static: fix library search orderChia-I Wu2011-06-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Use $(MKLIB) -ldflags '-L$(TOP)/$(LIB_DIR)' instead of $(MKLIB) -L$(TOP)/$(LIB_DIR) to make sure the local library path appears before system's.
* | st/egl: update fbdev backendChia-I Wu2011-06-283-173/+241
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Considering fbdev as an in-kernel window system, - opening a device opens a connection - there is only one window: the framebuffer - fb_var_screeninfo decides window position, size, and even color format - there is no pixmap Now EGL is built on top of this window system. So we should have - the fd as the handle of the native display - reject all but one native window: NULL - no pixmap support modeset support is still around, but it should be removed soon.
* | i915g: Enable GL_ARB_instanced_arrays.Stéphane Marchesin2011-06-272-2/+1
| |
* | i915g: Fix a bug in facing.Stéphane Marchesin2011-06-273-7/+7
| | | | | | | | However doesn't work because of limitations in the draw module.
* | i915g: Remove unused cbuf_dirty.Stéphane Marchesin2011-06-271-2/+0
| |
* | i915g: Add a comment about a bug.Stéphane Marchesin2011-06-271-0/+1
| |
* | i915g: initial support for SEMANTIC_FACE.Stéphane Marchesin2011-06-273-5/+28
| | | | | | | | Doesn't work yet, see TODO.
* | i915g: update TODO.Stéphane Marchesin2011-06-271-0/+13
| |
* | i915g: Return the max result for the fake occlusion queries.Stéphane Marchesin2011-06-271-1/+2
| |
* | i915g: Fix depth texture formats.Stéphane Marchesin2011-06-271-9/+39
| | | | | | | | Depth compare still looks broken though.
* | i915g: Fix u_blitter comment.Stéphane Marchesin2011-06-271-1/+2
| |
* | i915g: Implement fake DDX/DDY.Stéphane Marchesin2011-06-271-0/+12
| |
* | i915g: Fix gl_FragCoord.Stéphane Marchesin2011-06-273-44/+13
| |
* | egl: Fix Terminate with shared gbm screensBenjamin Franzke2011-06-271-0/+2
| | | | | | | | NOTE: This is a candidate for the 7.11 branch.
* | st/d3d1x: fix for st/egl native.h interface changeChia-I Wu2011-06-271-14/+19
| | | | | | | | The interface was changed in 73df31eedd0f33c8a9907855cb247c8f87964c48.
* | targets/egl-static: fix building without libudevChia-I Wu2011-06-261-1/+2
| | | | | | | | Thanks to José for pointing out.
* | targets/egl-static: refactor drm_fd_get_screen_nameChia-I Wu2011-06-261-28/+53
| | | | | | | | Add drm_fd_get_pci_id to get the PCI ID. Fix a leak with udev on error.
* | st/egl: fix a compile errorChia-I Wu2011-06-261-2/+1
| | | | | | | | It is triggered when --with-driver=xlib is specified.
* | targets/gbm: attemp to fix unresolved symbolsChia-I Wu2011-06-261-9/+22
| | | | | | | | | | Move system libraries (usually .so) out of --start-group / --end-group pair. Add possiblly missing archives, defines, and shared libraries.
* | r300g: drop support for ARGB, ABGR, XRGB, XBGR render targetsMarek Olšák2011-06-251-21/+0
| | | | | | | | | | | | | | | | Blending and maybe even alpha-test don't work with those formats. Only supporting RGBA, BGRA, RGBX, BGRX. NOTE: This is a candidate for the 7.10 and 7.11 branches.
* | st/egl: add get_pixmap_format callback to native_displayChia-I Wu2011-06-255-47/+65
| | | | | | | | | | And use it for EGL_MATCH_NATIVE_PIXMAP. Remove is_pixmap_supported meanwhile.
* | egl: make implementing eglChooseConfig easierChia-I Wu2011-06-251-36/+6
| | | | | | | | | | Add a new helper function, _eglFilterConfigArray, for drivers and hide _eglSortConfigs.
* | targets/egl-static: do not use DRI_LIB_DEPSChia-I Wu2011-06-251-3/+3
| | | | | | | | It brings in libraries that are not necessarily needed.
* | st/egl: add a fast path for ximage eglCopyBuffersChia-I Wu2011-06-251-1/+40
| |
* | st/egl: clean up eglCopyBuffersChia-I Wu2011-06-257-42/+63
| | | | | | | | | | Add copy_to_pixmap method to native_display and use it for eglCopyBuffers.
* | st/egl: reorganize backend initializationChia-I Wu2011-06-2514-197/+172
| | | | | | | | | | | | | | Remove set_event_handler() and pass the event handler with native_get_XXX_platform(). Add init_screen() so that the pipe screen is created later. This way we don't need to pass user_data to create_display().
* | i915g: always upload the vs constants.7.11-branchpointStéphane Marchesin2011-06-241-9/+7
| | | | | | | | This fixes a crash in llvm draw.
* | i915g: add fake occlusion queries.Stéphane Marchesin2011-06-245-0/+125
| | | | | | | | Those always return 0, but at least we don't crash when exposing GL 2.0.
* | i915g: Don't do shader fixup if no surface is bound.Stéphane Marchesin2011-06-241-3/+9
| |
* | i915g: Fix point sprites.Stéphane Marchesin2011-06-248-31/+204
| |
* | indices: fix conversion of PIPE_PRIM_POLYGON to linesBrian Paul2011-06-242-3/+8
| | | | | | | | | | | | | | | | | | When the fill mode is PIPE_POLYGON_MODE_LINE we were basically converting the polygon into triangles, then drawing the outline of all the triangles. But we really only want to draw the lines around the perimeter of the polygon, not the interior lines. NOTE: This is a candidate for the 7.10 branch.
* | r600g: limit fs_write_all shader rebuild to eg+Alex Deucher2011-06-241-1/+1
| | | | | | | | Signed-off-by: Alex Deucher <[email protected]>
* | r600g: eg+ support for FS_COLOR0_WRITES_ALL_CBUFSAlex Deucher2011-06-246-30/+61
| | | | | | | | | | | | | | | | | | Evergreen+ don't support multi-writes so we need to emulate it in the shader. Fixes the following piglit tests: fbo-drawbuffers-fragcolor ati_draw_buffers-arbfp-no-option Signed-off-by: Alex Deucher <[email protected]>
* | r600g: implement fragment and vertex color clampVadim Girlin2011-06-247-9/+87
| | | | | | | | | | | | Fixes https://bugs.freedesktop.org/show_bug.cgi?id=38440 Signed-off-by: Vadim Girlin <[email protected]>
* | r600g: optimize spi updateVadim Girlin2011-06-242-3/+8
| | | | | | | | Signed-off-by: Vadim Girlin <[email protected]>