Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: Add SCons as alternative build system for Gallium. | José Fonseca | 2008-01-31 | 2 | -0/+89 |
| | |||||
* | gallium: rename pipe_buffer_handle to pipe_buffer, rework pipebuffer/ code | Keith Whitwell | 2008-01-25 | 4 | -49/+53 |
| | | | | | | | | | | | Provide an actual definition of the pipe_buffer struct, containing the parameters used to create the buffer, and its refcount. Shift refcounting buffers out of the winsys interface, similar to surfaces & textures. Rework pipebuffer/ to reflect the fact these changes, and also Michel's reworking of the buffer interface. | ||||
* | gallium: Simplify winsys buffer interface. | Michel Dänzer | 2008-01-25 | 1 | -45/+37 |
| | | | | | | The properties of a buffer represented by struct pipe_buffer_handle are now basically constant over its lifetime. The state tracker gets to deal with any more complex buffer semantics it may need to provide. | ||||
* | gallium: Pass PIPE_BUFFER_USAGE_PIXEL to buffer_data. | José Fonseca | 2008-01-17 | 1 | -1/+1 |
| | |||||
* | Fix problem with initial viewport/scissor size. | Brian | 2007-12-19 | 1 | -1/+3 |
| | | | | | | | | | | | If an app never called glViewport, the viewport size was always 0 by 0 pixels. Now pass initial size to st_create_framebuffer() and initialize the viewport and scissor bounds in st_make_current(). This could also be fixed by ensuring the gl_framebuffers passed to _mesa_make_current() were initialized to the right size. But that involves allocating the renderbuffers/pipe_surfaces earlier and that runs into some other issues ATM. Also remove obsolete createRenderbuffers param to st_create_framebuffer(). | ||||
* | Re-org of st_create_framebuffer() and renderbuffer format selection. | Brian | 2007-12-12 | 1 | -1/+24 |
| | | | | | | | | st_create_framebuffer() now takes pipe_formats for the color, depth, stencil buffers. This avoids a round-about chain of calls to pipe->is_format_supported() for window renderbuffers (their format never changes). Renderbuffer format selection code in st_format.c is simpler now too. | ||||
* | update format param type | Brian | 2007-12-12 | 1 | -2/+4 |
| | |||||
* | i915tex: remove. it's deprecated and causes merge problems | Zack Rusin | 2007-12-12 | 75 | -26184/+0 |
| | | | | | | | we did some small changes in the beginning of the gallium3d lifecycle in i915tex which is not in master anymore and just causes problems when doing merges. getting rid of the headache by just nuking it here | ||||
* | Rework gallium and mesa queries a little. | Keith Whitwell | 2007-12-11 | 1 | -0/+1 |
| | | | | | | Add a 'CheckQuery()' driver callback to mesa to check query completion. Make pipe_query an opaque type. Rework softpipe queries, support overlapping occlusion queries. | ||||
* | Add surface storage allocation function to winsys interface. | José Fonseca | 2007-12-11 | 1 | -23/+49 |
| | |||||
* | Add 'type' parameter to is_format_supported() to specify texture vs. drawing ↵ | Brian | 2007-12-10 | 1 | -1/+1 |
| | | | | | | surface, etc. Additional types may be added in the future. | ||||
* | Link fewer common objects into Gallium winsys layers. | Michel Dänzer | 2007-12-10 | 2 | -6/+8 |
| | | | | | These are useless or even harmful due to referencing symbols no longer available in the Gallium build. | ||||
* | Remove stray references to struct pipe_region. | Michel Dänzer | 2007-12-10 | 1 | -1/+0 |
| | |||||
* | Adapt for winsys interface changes. | José Fonseca | 2007-12-09 | 2 | -18/+27 |
| | |||||
* | Move _mesa_init_glsl_driver_functions() into shader_api.c | Brian | 2007-12-07 | 2 | -41/+0 |
| | | | | | This allows making a bunch of functions static, and removes a state tracker dependency on driverfuncs.c | ||||
* | Define PIPE_FORMAT_ tokens as an enum set, rather than #defines. | Brian | 2007-12-07 | 1 | -1/+1 |
| | | | | | This makes debugging a _lot_ easier. In gdb, "print format" used to display 613570600, now you see PIPE_FORMAT_A8R8G8B8_UNORM. | ||||
* | Get rid of "duplicate" formats. | Brian | 2007-12-07 | 1 | -3/+3 |
| | | | | For example, replace PIPE_FORMAT_U_A8_R8_G8_B8 with PIPE_FORMAT_A8R8G8B8_UNORM | ||||
* | Eliminate struct pipe_region. | Michel Dänzer | 2007-12-07 | 2 | -51/+7 |
| | | | | | Directly use struct pipe_buffer_handle for storage and struct pipe_surface for (un)mapping. | ||||
* | Hide texture layout details from the state tracker. | Michel Dänzer | 2007-12-06 | 1 | -2/+2 |
| | | | | pipe->get_tex_surface() has to be used for access to texture image data. | ||||
* | Move dimensions from struct pipe_region to struct pipe_surface. | Michel Dänzer | 2007-11-29 | 2 | -17/+19 |
| | |||||
* | Remove fences from the i915simple winsys interface. | José Fonseca | 2007-11-22 | 4 | -70/+23 |
| | | | | | | | | | Fences will be part of the pipe winsys interface, so remove this to avoid merge conflicts later on. This reverts commit ca7f68a7cf25a51f382bba8c42d8c6ab7db57b5d. This reverts commit dec60d33b2570cf2bdce72a00a1539ee93133f91. This reverts commit 90dd0cb822f2fe14258c786e5c37da69472b7d17. | ||||
* | Fix typo | José Fonseca | 2007-11-17 | 1 | -1/+1 |
| | |||||
* | Proper fence reference counting. | José Fonseca | 2007-11-17 | 1 | -15/+15 |
| | |||||
* | Include fences in the i915simple winsys interface. | José Fonseca | 2007-11-15 | 4 | -23/+70 |
| | |||||
* | check for fence==NULL in intel_batchbuffer_finish(), fixes glxinfo crash on exit | Brian | 2007-11-08 | 1 | -5/+7 |
| | |||||
* | Rename struct field 'private' to 'priv'. | Michel Dänzer | 2007-11-08 | 1 | -1/+1 |
| | | | | This broke the LLVM build because 'private' is a C++ keyword. | ||||
* | Remove winsys->wait_idle(), subsumed by pipe->flush(). | Brian | 2007-11-07 | 2 | -15/+8 |
| | | | | | | Connect intel_i915_batch_finish() into i915_winsys, just like intel_i915_batch_flush(). Call i915_winsys->batch_finish() in response to pipe->flush(PIPE_FLUSH_WAIT). Now all the batchbuffer/fence code is in one place and a little cleaner. | ||||
* | New PIPE_FLUSH_WAIT flag for pipe->flush(). | Brian | 2007-11-07 | 1 | -2/+2 |
| | | | | | The state tracker doesn't have to directly call winsys->wait_idle() anymore. glFlush and glFinish both go through pipe->flush() now. | ||||
* | Remove context dependencies in winsys layer. | Brian | 2007-11-07 | 5 | -41/+42 |
| | | | | | | The winsys object is now per-screen and shared by multiple contexts. The regionPool is now part of the i915 winsys layer. The winsys wait_idle() and flush_frontbuffer() funcs will get more attention... | ||||
* | cosmetic fix to driFenceFinish() call | Brian | 2007-11-07 | 1 | -1/+1 |
| | |||||
* | replace magic number 3 with DRM_FENCE_TYPE_EXE | DRM_I915_FENCE_TYPE_RW in ↵ | Brian | 2007-11-07 | 1 | -2/+5 |
| | | | | driFenceFinish() call | ||||
* | remove DriverCtx=intel assigment/hack | Brian | 2007-11-07 | 1 | -2/+0 |
| | |||||
* | Pass winsys as a parameter to intel_create_i915simple(), intel_create_softpipe() | Brian | 2007-11-07 | 4 | -12/+22 |
| | |||||
* | var renaming: s/sws/winsys/ | Brian | 2007-11-07 | 1 | -21/+20 |
| | |||||
* | Add winsys->surface_release() to complement winsys->surface_alloc(). | Brian | 2007-11-07 | 1 | -0/+17 |
| | | | | | pipe_surface now has a pointer to the winsys which create/owns the surface. This allows clean surface deallocation w/out a rendering context. | ||||
* | restore dispatch/extension code (without, dynamic entrypoints aren't added) | Brian | 2007-11-06 | 1 | -0/+58 |
| | |||||
* | remove more dependencies on Mesa types/functions | Brian | 2007-11-06 | 2 | -22/+23 |
| | |||||
* | implement context sharing code | Brian | 2007-11-06 | 1 | -6/+10 |
| | |||||
* | code clean-up | Brian | 2007-11-06 | 1 | -27/+12 |
| | |||||
* | Remove use of Mesa/GL types/functions (s/GLuint/uint/ etc) | Brian | 2007-11-06 | 2 | -41/+39 |
| | |||||
* | don't include mtypes.h | Brian | 2007-11-06 | 1 | -1/+28 |
| | |||||
* | Remove last of core Mesa dependencies in intel_swapbuffers.c | Brian | 2007-11-06 | 3 | -44/+17 |
| | | | | Use the "dummyContext" pointer (for now) instead of GET_CURRENT_CONTEXT(). | ||||
* | Supply buffer usage hints to winsys. | José Fonseca | 2007-11-06 | 2 | -4/+7 |
| | | | | | Winsys driver needs some hints in order to allocate the appropriate kind of memory for the buffer. | ||||
* | clean ups | Brian | 2007-11-05 | 1 | -4/+6 |
| | |||||
* | change includes, minor simplification in intelDisplaySurface() | Brian | 2007-11-05 | 1 | -2/+2 |
| | |||||
* | include mtypes.h (temporary) | Brian | 2007-11-05 | 1 | -0/+1 |
| | |||||
* | Remove some temporary state tracker context/framebuffer_create functions. | Brian | 2007-11-05 | 1 | -2/+2 |
| | |||||
* | Update xlib driver to use newer state tracker context/framebuffer functions. | Brian | 2007-11-05 | 1 | -1/+1 |
| | | | | XMesaContext has an st_context * which contains a mesa context. | ||||
* | asst clean-ups | Brian | 2007-11-05 | 5 | -18/+9 |
| | |||||
* | remove some GL types, mesa includes | Brian | 2007-11-05 | 5 | -9/+9 |
| |