summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
Commit message (Collapse)AuthorAgeFilesLines
* radeong: Don't allocate HW BOs for constantbufs.Corbin Simpson2010-01-184-12/+41
| | | | | | | We have broken 1000 FPS. Hell yes. Heavily inspired by Marek's patch, but using pipebuffer instead of a roll-your-own malloc.
* radeong: Check DRM version, and report stats.Corbin Simpson2010-01-181-1/+26
|
* radeong: Use vram_size instead of vram_visible.Corbin Simpson2010-01-181-4/+3
| | | | The kernel will decide on its own what to give us.
* i965g: Link against drm_intel instead of drm_radeonJakob Bornecrantz2010-01-171-1/+1
|
* r300g: output texture debug messages if only RADEON_DEBUG=tex is setMarek Olšák2010-01-172-3/+5
|
* i965g: make xorg state tracker build i965g_drv.soDave Airlie2010-01-161-31/+28
| | | | don't make modesetting_drv.so anymore
* radeong: Change DRI driver name to radeong.Corbin Simpson2010-01-131-1/+1
|
* egl: Add _EGLDriver as the first argument to GetProcAddress.Chia-I Wu2010-01-121-1/+1
| | | | | The rest of the driver API has it as the first argument. It should be there so that a driver has access to itself.
* winsys/drm: Use egl_g3d to build EGL drivers.Chia-I Wu2010-01-1211-0/+144
| | | | | | | 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]>
* winsys/drm: Add name field to drm_api.Chia-I Wu2010-01-125-0/+5
| | | | | | | 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]>
* st/mesa: Remove st_api.c.Chia-I Wu2010-01-121-0/+2
| | | | | | | | | st_api.c is supposed to define st_api_OpenGL to advertise OpenGL support. However, the linker discards the symbol because it has no user. It is better to leave this to other state trackers that link to libmesagallium.a. Signed-off-by: Chia-I Wu <[email protected]>
* radeong: Check for DONTBLOCK before flushing, remove dead code.Corbin Simpson2010-01-111-59/+5
|
* nouveau: Make winsys recognise the original NV50.Marcin Kościelnicki2010-01-111-0/+2
|
* egl_softpipe: Remove the unnecessary call to _eglSwapBuffers.Chia-I Wu2010-01-111-14/+8
| | | | | | The call to _eglSwapBuffers is unnecessary, and the function is missing when -fvisibility=hidden. Also remove the extraneous braces and indent the block.
* scons: Don't build xlib when dri is enabled.José Fonseca2010-01-081-0/+4
| | | | Hopefully adddresses fdo 25828.
* scons: Output a meaningful message when xlib libGL.so can't be built.José Fonseca2010-01-081-45/+57
|
* Merge branch 'mesa_7_7_branch'Brian Paul2010-01-041-0/+1
|\ | | | | | | | | | | | | | | | | Conflicts: docs/relnotes.html src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/r300/r300_cs.h src/mesa/drivers/dri/i965/brw_wm_surface_state.c src/mesa/main/enums.c
| * vmware/xorg: Fix SCons build.Michel Dänzer2010-01-041-0/+1
| |
| * gdi: Don't generate import libraries for opengl32.dll.José Fonseca2010-01-031-0/+2
| | | | | | | | | | Both MinGW and MSVC include opengl32 import libraries, and its safer to always use those.
* | gdi: Don't generate import libraries for opengl32.dll.José Fonseca2010-01-021-0/+2
| | | | | | | | | | Both MinGW and MSVC include opengl32 import libraries, and its safer to always use those.
* | gallium: Generate a single library for auxiliaries with Make too.José Fonseca2010-01-012-13/+3
| |
* | scons: Aggregate all tiny libraries in a single library.José Fonseca2010-01-018-8/+8
| | | | | | | | | | Makes integration of gallium into out of tree components much easier. No pratical change for components in this tree,
* | Merge branch 'mesa_7_7_branch'Brian Paul2009-12-311-0/+209
|\| | | | | | | | | | | | | | | Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c
| * Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul2009-12-271-0/+209
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_network.c src/gallium/auxiliary/util/u_network.h src/gallium/drivers/i915/i915_state.c src/gallium/drivers/trace/tr_rbug.c src/gallium/state_trackers/vega/bezier.c src/gallium/state_trackers/vega/vg_context.c src/gallium/state_trackers/xorg/xorg_crtc.c src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/xlib/xlib_brw_context.c src/mesa/main/mtypes.h
| | * xlib: Use C-style comments.Vinson Lee2009-12-221-2/+2
| | |
* | | xlib: Integrate the trace driver with all pipe drivers.José Fonseca2009-12-285-134/+3
| | | | | | | | | | | | | | | | | | | | | And not just softpipe. It is particularly convenient to use llvmpipe instead, since it is much faster. It also allows to use rbug with all xlib drivers.
* | | scons: Fix xlib build.José Fonseca2009-12-281-1/+1
| | | | | | | | | | | | After glsl rework merge.
* | | r300g: fix use of uninitialised variables.Dave Airlie2009-12-271-2/+2
| | | | | | | | | | | | These buffers were getting dereferenced later.
* | | r300g: rename modesetting_drv.so to radeong_drv.soDave Airlie2009-12-272-16/+26
| | |
* | | Merge branch 'i965g-restart'Keith Whitwell2009-12-2216-1/+1684
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: configure.ac
| * \ \ Merge commit 'origin/master' into i965g-restartKeith Whitwell2009-12-2129-23/+3380
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: SConstruct configs/default configs/linux-dri
| * | | | ws/i965: respect DEBUG_WINSYS flagKeith Whitwell2009-12-211-29/+40
| | | | |
| * | | | i965g: pass backbuffer tiling information to driverKeith Whitwell2009-11-302-9/+9
| | | | | | | | | | | | | | | | | | | | The gem winsys gets this information, needs to pass it on.
| * | | | ws/i965: more debug outputKeith Whitwell2009-11-302-12/+44
| | | | |
| * | | | ws/i965: rename and change sense of I965_SEND_CMD to BRW_NO_HWKeith Whitwell2009-11-302-3/+1
| | | | |
| * | | | brw: add dumping to gem winsysKeith Whitwell2009-11-304-101/+146
| | | | |
| * | | | i965g: link xorg state tracker with -ldrm_intelDave Airlie2009-11-281-1/+1
| | | | |
| * | | | i965g: remove droppings in xlib winsysKeith Whitwell2009-11-151-1/+0
| | | | |
| * | | | i965g: Fixup buffer creation functionJakob Bornecrantz2009-11-061-2/+12
| | | | | | | | | | | | | | | | | | | | First tri!
| * | | | i965g: trivial/clear can now send stuff to hardwareJakob Bornecrantz2009-11-063-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | Added a flag if we should send commands to hardware as what we send isn't all that correct.
| * | | | i965g: Winsys whitespaceJakob Bornecrantz2009-11-062-37/+37
| | | | |
| * | | | i965g: Build winsys againJakob Bornecrantz2009-11-062-57/+53
| | | | |
| * | | | i965g: clean up winsys dumping code a littleKeith Whitwell2009-11-051-59/+82
| | | | |
| * | | | i965g: pass relocation information in an array with bo_subdataKeith Whitwell2009-11-051-6/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makes it easier to dump as we get all of the information about the upload in a single hit. Opens the window to simplification in the driver if these relocation arrays can be maintained statically rather than being recreated whenever we check for a new upload. Still needs some cleanup to avoid uglyness introduced with the delta values.
| * | | | i965g: propogate map-buffer-range semantics down to winsysKeith Whitwell2009-11-051-2/+17
| | | | |
| * | | | i965g: make the winsys responsible for all buffer->offset handlingKeith Whitwell2009-11-051-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The winsys now inserts the presumed offset into referring buffers from inside of bo_emit_reloc(). Remove the many locally coded places where this was happening in the driver and eliminate the worry of getting it wrong. No longer need to expose offset values to the driver at all, so no need to worry about what to do in the driver when they change. Just use zero values wherever we had offsets previously -- the relocations will fix it all up for us.
| * | | | brw: push more dumping into the winsysKeith Whitwell2009-11-051-29/+82
| | | | |
| * | | | i965g: disassemble more than one instruction at a timeKeith Whitwell2009-11-051-14/+8
| | | | |
| * | | | i965g: call dissassembler for appropriate data uploadsKeith Whitwell2009-11-051-4/+7
| | | | |
| * | | | i965g: add lots of error checks and early returnsKeith Whitwell2009-11-051-28/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Any allocation that may fail should be checked, and propogate the error upwards. At the highest level we will flush batch and retry. This is an alternate strategy to what the original DRI driver did of attempting to flush batch from the lowest levels (eg inside BEGIN_BATCH). The trouble with that strategy was that flushes could occur at unexpected times, and additionally there was a need for a wierd notification mechanism to propogate the 'lost context' state back up to higher levels. Propogating the errors directly gives us a lot of flexibility how to deal with these states, at the expense of a lot more checking in the code. Will add some sanity checks later to make sure that out-of-memory conditions are properly escalated and not lost halfway up the stack.