Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | egl: Initialize current thread management on demand. | Chia-I Wu | 2009-08-11 | 3 | -30/+19 |
| | | | | | | | | | | Current thread management was initialized in _eglInitGlobals, which is called only in eglGetDisplay. Since EGL does not require eglGetDisplay to be called first, the initialization is better to be done on demand. _eglFiniCurrent is removed, as it is not called at all. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | egl: Destroy eglThreadInfo on thread exit. | Chia-I Wu | 2009-08-11 | 1 | -16/+73 |
| | | | | | | | | | | This is done through pthread TSD destructor. It destroys all thread infos except for main thread's. The thread info of the main thread is destroyed by _eglFiniCurrent. TLS case is not supported yet. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | egl: Add eglmutex.h. | Chia-I Wu | 2009-08-11 | 2 | -0/+53 |
| | | | | | | | The implementation uses pthread mutex when available. Otherwise, it is no-op. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | glx: fix signedness warning | RALOVICH, Kristóf | 2009-08-11 | 1 | -1/+1 |
| | |||||
* | mesa: handle glDrawPixels images which are larger than max rect texture size | Brian Paul | 2009-08-11 | 1 | -3/+47 |
| | |||||
* | mesa: added _mesa_meta_draw_pixels() | Brian Paul | 2009-08-11 | 2 | -1/+188 |
| | |||||
* | mesa: added META_FOG and optimize some meta_begin/end() code | Brian Paul | 2009-08-11 | 2 | -28/+36 |
| | |||||
* | gallium/trace: remove stray semicolons | Brian Paul | 2009-08-11 | 1 | -2/+2 |
| | |||||
* | gallium/xlib: add missing tex_usage parameter | Brian Paul | 2009-08-11 | 1 | -0/+1 |
| | |||||
* | gallium/egl: add missing tex_usage parameter | Brian Paul | 2009-08-11 | 1 | -0/+1 |
| | |||||
* | gallium/xlib: add missing tex_usage parameter | Brian Paul | 2009-08-11 | 1 | -0/+1 |
| | |||||
* | gallium/identity: remove stray semicolons | Brian Paul | 2009-08-11 | 1 | -2/+2 |
| | |||||
* | r600: use the drm ioctls for swap and texture upload | Alex Deucher | 2009-08-11 | 2 | -31/+27 |
| | | | | NOTE: THIS REQUIRES AN UPDATED DRM! | ||||
* | i915g: Reduce max relocs | Jakob Bornecrantz | 2009-08-12 | 1 | -1/+1 |
| | |||||
* | i915g: Check relocs as well | Jakob Bornecrantz | 2009-08-12 | 1 | -2/+2 |
| | |||||
* | i915g: Implement surface_buffer_create for softpipe | Jakob Bornecrantz | 2009-08-11 | 1 | -2/+38 |
| | | | | In order to run softpipe on st/xorg we need this function | ||||
* | gallium: Add texture usage information to surface_buffer_create | Jakob Bornecrantz | 2009-08-11 | 7 | -2/+13 |
| | | | | | | We need aditional meta data about the usage of the surface in softpipe because we need to be able tell the diffrence between PRIMARY and DISPLAY_TARGET surfaces. | ||||
* | mesa/glapi: regenerated files from gl_API.xml | Brian Paul | 2009-08-11 | 2 | -15/+63 |
| | |||||
* | gallium: fix debug_printf() format string | Brian Paul | 2009-08-11 | 1 | -1/+1 |
| | |||||
* | glut: fix incorrect Vista maximisation size due to WM_GETMINMAXINFO handling | Brian Paul | 2009-08-11 | 1 | -0/+5 |
| | | | | See bug 23182. | ||||
* | mesa: remove _mesa_set_vp_override() from _mesa_Bitmap() | Brian Paul | 2009-08-11 | 1 | -12/+4 |
| | | | | | | | This reverts part of commit 2c9812e3d346eb07180da520909b142e8afc1c59. The calls to _mesa_set_vp_override() were causing extra state validation and caused the gallium state tracker's bitmap cache to get flushed on every call. | ||||
* | r300g: Fix up remaining VAP_CNTL_STATUS writes for big endian. | Michel Dänzer | 2009-08-11 | 1 | -2/+10 |
| | |||||
* | r300g: Emit relocations for pitch registers. | Michel Dänzer | 2009-08-11 | 2 | -7/+12 |
| | | | | Fixes CS failures with tiling enabled kernels. | ||||
* | r300g: a typo of debug message | Cooper Yuan | 2009-08-11 | 1 | -1/+1 |
| | |||||
* | r600: update num of interp if posizition is used | Cooper Yuan | 2009-08-11 | 1 | -8/+10 |
| | |||||
* | intel: use new _mesa_meta_copy_pixels() function | Brian Paul | 2009-08-10 | 1 | -165/+2 |
| | | | | glCopyPixels() no longer hits a software fallback when zooming, blending, etc. | ||||
* | mesa: save/restore texture matrix in meta code | Brian Paul | 2009-08-10 | 1 | -1/+20 |
| | | | | Also, save/restore viewport and texture state in _mesa_meta_copy_pixels() | ||||
* | mesa: for meta blit, check max texture size, use glCopyTexSubImage2D() when ↵ | Brian Paul | 2009-08-10 | 1 | -2/+27 |
| | | | | possible | ||||
* | mesa: initial meta implementation of glCopyPixels() | Brian Paul | 2009-08-10 | 2 | -0/+166 |
| | |||||
* | mesa: remove debug flush call | Brian Paul | 2009-08-10 | 1 | -2/+0 |
| | |||||
* | intel: add missing \n to fprintf() | Brian Paul | 2009-08-10 | 1 | -1/+1 |
| | |||||
* | intel: use new _mesa_meta_blit_framebuffer() function | Brian Paul | 2009-08-10 | 2 | -69/+7 |
| | | | | | The previous version of framebuffer blit was a quick hack. The new meta version works pretty well. | ||||
* | mesa: new driver meta-ops module | Brian Paul | 2009-08-10 | 3 | -1/+883 |
| | | | | | | | | | | | | | | | | | Implement glClear() in terms of quad rendering, implement glBlitFramebuffer() in terms of glCopyTexImage2D + textured quad, etc. There have been several places in the drivers where we've implemented meta rendering similar to this. This is an effort to do it in a more portable and more efficient form. The _mesa_meta_begin/end() functions act like glPush/PopAttrib() but are lighter-weight. Plus, _mesa_meta_begin() resets GL state back to default values (texturing off, identity vertex transform, etc) so the meta drawing functions don't have to worry about it. For now only _mesa_mesa_blit_framebuffer() and _mesa_meta_clear() are implemented. glDrawPixels() and glCopyPixels() would be the next candidates. | ||||
* | mesa: added GLcontext::Meta field for meta rendering state | Brian Paul | 2009-08-10 | 1 | -0/+3 |
| | |||||
* | radeon_fbo: switch short to byte for 565 | Dave Airlie | 2009-08-10 | 1 | -1/+1 |
| | |||||
* | radeon: fix cut-n-paste in alphabits in fbo code | Dave Airlie | 2009-08-10 | 1 | -1/+1 |
| | |||||
* | egl: Add depend and depend.bak to clean target | Pauli Nieminen | 2009-08-09 | 2 | -0/+2 |
| | | | | Signed-off-by: Pauli Nieminen <[email protected]> | ||||
* | r600: looks like a typo | Dave Airlie | 2009-08-09 | 1 | -1/+1 |
| | |||||
* | r600: load per-pixel position into PS in order to use fragment.position. | Cooper Yuan | 2009-08-09 | 1 | -0/+27 |
| | | | | | This patch can fix /progs/fp/tri-depth, tri-depth2, tri-depthwrite, tri-depthwrite2 and point-position. | ||||
* | mesa: update framebuffer status as needed in _mesa_source/dest_buffer_exists() | Brian Paul | 2009-08-08 | 1 | -4/+8 |
| | |||||
* | mesa: simplify glPushAttrib() list building code | Brian Paul | 2009-08-08 | 1 | -106/+40 |
| | |||||
* | mesa: remove old, prototype code | Brian Paul | 2009-08-08 | 1 | -65/+0 |
| | |||||
* | swrast: replace GLenum, GLint with GLbitfield for buffer vars | Brian Paul | 2009-08-08 | 1 | -3/+3 |
| | |||||
* | mesa: use _mesa_bufferobj_mapped() | Brian Paul | 2009-08-08 | 1 | -1/+1 |
| | |||||
* | r300g: Knock out another fragment of invariant state. | Corbin Simpson | 2009-08-07 | 1 | -8/+3 |
| | | | | Colorbuffer setup will always happen. | ||||
* | gallium: Move minify() to u_math. | Corbin Simpson | 2009-08-07 | 6 | -29/+5 |
| | | | | | minify() is usually used in mipmap size calculation. Strangely enough, we all defined it as MAX2(1, d >> 1); imagine that. :3 | ||||
* | r300g: Remove r300_constant_buffer::user_count. | Corbin Simpson | 2009-08-07 | 3 | -6/+3 |
| | | | | Not needed with new compiler. | ||||
* | Revert "i965: Disable texture tiling by default." | Eric Anholt | 2009-08-07 | 1 | -1/+5 |
| | | | | | | | This reverts commit b8e638d4895d2d342306bb6443a455f73903ce20. Now that the known hangs and misrendering issues are fixed, I'm ready to start encouraging it by default again. | ||||
* | intel: Align region height as required for tiled regions. | Eric Anholt | 2009-08-07 | 1 | -0/+5 |
| | | | | | | | Otherwise, we would address beyond the end of our buffers. Fixes reliable GPU segfault with texture_tiling=true and oglconform shadow.c. Bug #22406. | ||||
* | i965: Add a note justifying domain choice for the SF VP. | Eric Anholt | 2009-08-07 | 1 | -0/+3 |
| |