Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: raise an error when trying to bind non-existant texture to FBO | Brian Paul | 2010-03-10 | 1 | -0/+8 |
| | | | | | | | | If the user calls glRenderBufferTexture(texture=N) but texture N doesn't name an existing texture, raise GL_INVALID_ENUM. Plus, add a comment about some questionable error checking code in framebuffer_texture(). Ian? | ||||
* | mesa: added new function comments | Brian Paul | 2010-03-10 | 1 | -0/+8 |
| | |||||
* | st/mesa: set strb->format field in st_render_texture() | Brian Paul | 2010-03-10 | 1 | -0/+2 |
| | | | | | | This fixes a problem in glReadPixels when reading from an FBO's texture attachment. We have a better chance at hitting a fast path for glReadPixels now. | ||||
* | st/mesa: add some comments in glReadPixels code | Brian Paul | 2010-03-10 | 1 | -0/+7 |
| | |||||
* | st/mesa: consolidate duplicated texture allocation code | Brian Paul | 2010-03-10 | 1 | -49/+49 |
| | |||||
* | Merge branch '7.8' | Brian Paul | 2010-03-10 | 1 | -6/+23 |
|\ | |||||
| * | st/mesa: fix incorrect glCopyPixels between window/FBO | Brian Paul | 2010-03-10 | 1 | -4/+16 |
| | | | | | | | | | | | | | | | | | | There was a DrawBuffer/ReadBuffer typo and we were neglecting to invert the texture coords when copying from a window to an FBO. Plus, add some surface dump/debug code (disabled). (cherry picked from commit 34f02071618624263eba839b5aeb930d0e794078) | ||||
| * | st/mesa: fix incorrect glDrawPixels into FBO | Brian Paul | 2010-03-10 | 1 | -2/+7 |
| | | | | | | | | | | | | We weren't inverting the textured quad when drawing into an fbo. (cherry picked from commit 8d3f629a13afb0d6acafc7a007972fdc5efe6847) | ||||
* | | Merge branch '7.8' | Michel Dänzer | 2010-03-10 | 4 | -0/+24 |
|\| | |||||
| * | st/xorg: Work around cursor reference counting bugs in older X servers. | Michel Dänzer | 2010-03-10 | 3 | -0/+20 |
| | | | | | | | | | | | | | | | | | | | | Could result in use of freed memory and consequently random crashes, e.g. on screen resize. (cherry picked from commit 21c91b410a2a2cbf8eb677e59e3322f86320f2b0) Conflicts: src/gallium/state_trackers/xorg/xorg_tracker.h | ||||
| * | radeon: don't attempt to use alternate blit formats for depth buffers | Alex Deucher | 2010-03-08 | 1 | -0/+4 |
| | | | | | | | | noticed by fredrikh on IRC. | ||||
* | | r200: add additional blit formats | Alex Deucher | 2010-03-10 | 1 | -0/+17 |
| | | |||||
* | | r100: add additional blit formats | Alex Deucher | 2010-03-10 | 1 | -0/+14 |
| | | |||||
* | | radeon/r200/r600: enable HW accelerated gl(Read/Copy/Draw)Pixels | Alex Deucher | 2010-03-10 | 7 | -538/+15 |
| | | |||||
* | | glapi: fix bug with tls and relocs | George Sapountzis | 2010-03-10 | 1 | -0/+3 |
| | | | | | | | | | | | | add_dispatch (driver) and maybe get_proc_address (client) may be called before set_dispatch is called, which results in generate_entrypoint using an unreloced function template. | ||||
* | | glapi: these two should be ok for add_dispatch ... | George Sapountzis | 2010-03-10 | 1 | -1/+5 |
| | | | | | | | | | | | | - a function cannot be both static and extension, right ? - we should be setting the offset only if not already set, right ? | ||||
* | | glapi: comments for _glapi_add_dispatch | George Sapountzis | 2010-03-10 | 1 | -6/+18 |
| | | |||||
* | | glapi: minor cosmetic for _glapi_add_dispatch | George Sapountzis | 2010-03-10 | 1 | -10/+11 |
| | | |||||
* | | glapi: add function set_entry_info | George Sapountzis | 2010-03-10 | 1 | -3/+22 |
| | | |||||
* | | glapi: parameter checking, failure paths, ... for add_function_name | George Sapountzis | 2010-03-10 | 1 | -12/+26 |
| | | |||||
* | | glapi: cosmetic for _glapi_add_dispatch | George Sapountzis | 2010-03-10 | 1 | -25/+32 |
| | | | | | | | | | | | | | | - static vs. extension - indent - s/new_offset/static_offset/ - ... | ||||
* | | glapi: use get_extension_proc in _glapi_add_dispatch | George Sapountzis | 2010-03-10 | 1 | -12/+8 |
| | | |||||
* | | glapi: cosmetic for functions for static table | George Sapountzis | 2010-03-10 | 1 | -26/+33 |
| | | | | | | | | make similar to functions for extensions table | ||||
* | | glapi: add function to find extension by name | George Sapountzis | 2010-03-10 | 1 | -10/+21 |
| | | |||||
* | | glapi: functions for extensions table similar to static table | George Sapountzis | 2010-03-10 | 1 | -19/+50 |
| | | |||||
* | | cell: handle NULL cso vertex_elements state object on bind | Roland Scheidegger | 2010-03-10 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | drivers need to handle NULL cso vertex elements (and others) objects. It is possible the cso code saves/restores NULL objects (if no normal cso object was bound before this was invoked). This led to segfaults (for example demos/cubemap) for apps which were using things like creating mipmaps before drawing anything. | ||||
* | | i915g: Prevent NULL dereference. | Chia-I Wu | 2010-03-10 | 1 | -1/+4 |
| | | | | | | | | | | bind_vertex_elements_state may be called with NULL velems. Do nothing if that is the case. | ||||
* | | gallium: Do not mix winsys-drawable-handle and context-private. | Chia-I Wu | 2010-03-10 | 5 | -12/+8 |
| | | | | | | | | | | update_buffer should be called with context-private, not winsys-drawable-handle. | ||||
* | | svga: Disable debug message. | Michal Krol | 2010-03-10 | 1 | -1/+1 |
| | | |||||
* | | svga: Check if vertex elements has been bound before using it. | Michal Krol | 2010-03-10 | 1 | -0/+5 |
| | | |||||
* | | softpipe: Prevent NULL dereference. | José Fonseca | 2010-03-10 | 1 | -1/+2 |
| | | |||||
* | | python: Remove broken link hack. | José Fonseca | 2010-03-10 | 2 | -5/+1 |
| | | |||||
* | | python: More build fixes. | José Fonseca | 2010-03-10 | 4 | -5/+10 |
| | | |||||
* | | trace: Make tr_public.h c++ friendly. | José Fonseca | 2010-03-10 | 1 | -9/+17 |
| | | |||||
* | | target-helpers: remove swrast_xlib.c helper | Keith Whitwell | 2010-03-10 | 5 | -115/+121 |
| | | | | | | | | | | | | | | | | | | | | This was a good idea, but ended up tying the build systems in knots. We can revisit this later, in particular if we can put in place dummy implementations of cell_create_screen(), llvmpipe_create_screen() which just return NULL if the driver isn't available. In the meantime, just duplicate this smallish function in the two places it was being called. | ||||
* | | ws/xlib: remove dead lines | Keith Whitwell | 2010-03-10 | 1 | -6/+0 |
| | | |||||
* | | scons: Fixup the libgl-gdi build. | José Fonseca | 2010-03-10 | 3 | -7/+9 |
| | | |||||
* | | python: Handle the possibility that no driver is selected. | José Fonseca | 2010-03-10 | 1 | -0/+2 |
| | | |||||
* | | gallium: remove trace module injection from various state trackers | Keith Whitwell | 2010-03-10 | 5 | -44/+3 |
| | | | | | | | | | | | | | | Components such as state trackers, drivers, etc, should be free to be recombined in arbtrary ways to build driver stacks. They should not be reaching out and trying to build the stack themselves - this is now expected to be handled by the "target" abstraction. | ||||
* | | ws/gdi: add include | Keith Whitwell | 2010-03-10 | 1 | -0/+2 |
| | | |||||
* | | target-helpers: helper for injecting common debug layers | Keith Whitwell | 2010-03-10 | 5 | -11/+85 |
| | | | | | | | | | | | | | | Add a helper gallium_wrap_screen() for injecting the commonly used extra layers into a gallium stack. Currently that's just the trace module and identity layer, but there could be more in the future, eg. a validation layer. | ||||
* | | python: Fix up state tracker for sw api. | José Fonseca | 2010-03-10 | 7 | -225/+84 |
| | | |||||
* | | Revert "r300-gallium: Skeleton for integrating into the python statetracker." | José Fonseca | 2010-03-10 | 6 | -1297/+0 |
| | | | | | | | | | | | | This reverts commit 2d56d0839e6db0861131893d67fe23734800085a. Never actually used. | ||||
* | | st/wgl: add missing paramter | Keith Whitwell | 2010-03-10 | 1 | -1/+1 |
| | | |||||
* | | trace: include tr_public.h | Keith Whitwell | 2010-03-10 | 1 | -0/+1 |
| | | |||||
* | | gallium: plumb winsys-drawable-handle through to state tracker | Keith Whitwell | 2010-03-10 | 9 | -16/+42 |
| | | | | | | | | | | | | | | The state trackers need this value so that they can supply it as the "void *" argument to flush_frontbuffer. Fixes single-buffer rendering. | ||||
* | | Merge commit 'origin/master' into gallium-sw-api-2 | Keith Whitwell | 2010-03-10 | 134 | -2847/+3994 |
|\ \ | |||||
| * | | llvmpipe: Cope with null Vertex element cso. | José Fonseca | 2010-03-10 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CSO can often be null. For example: 1. at initialization 2. using an util module (u_blit) right after initialization (it will push state and pop the previous null state) 3. at shutdown time (state shouldn't be bound when being destroyed) Glean was hitting 2. | ||||
| * | | nouveau: translate PIPE_BUFFER_USAGE_UNSYNCHRONIZED | Ben Skeggs | 2010-03-10 | 1 | -1/+1 |
| | | | |||||
| * | | nv50: inline nv50_state_flush_notify() | Ben Skeggs | 2010-03-10 | 2 | -16/+6 |
| | | | | | | | | | | | | It's (rightly) not called from anywhere else now |