Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: better function inlining in the presence of 'return' statements | Brian Paul | 2008-07-01 | 1 | -23/+105 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, the presence of a 'return' statement always prevented inlining a function. This was because we didn't want to accidentally return from the _calling_ function. We still need the semantic of 'return' when inlining but we can't always use unconditional branches/jumps (GPUs don't always support arbitrary branching). Now, we allow inlining functions w/ return if the return is the last statement in the function. This fixes the common case of a function that returns a value, such as: vec4 square(const in vec4 x) { return x * x; } which effectively compiles into: vec4 square(const in vec4 x) { __retVal = x * x; return; } The 'return' can be no-op'd now and we can inline the function. cherry-picked from master | ||||
* | mesa: add/fix some IrInfo entries for debugging purposes | Brian Paul | 2008-07-01 | 1 | -3/+5 |
| | | | | cherry-picked from master | ||||
* | i915: Last reference to surface -> pitch | Jakob Bornecrantz | 2008-07-01 | 1 | -1/+1 |
| | |||||
* | gallium: Use the inline keyword on C++. | José Fonseca | 2008-07-01 | 1 | -1/+3 |
| | |||||
* | mesa: added null ptr checks | Brian Paul | 2008-06-28 | 1 | -2/+2 |
| | |||||
* | s/GL_INVALID_VALUE/GL_INVALID_OPERATION/ in _mesa_get_uniformfv() | Brian Paul | 2008-06-28 | 1 | -4/+6 |
| | |||||
* | mesa: check FEATURE_point_size_array | Brian Paul | 2008-06-28 | 1 | -0/+2 |
| | |||||
* | egl: set config's EGL_CONFORMANT, EGL_RENDERABLE_TYPE, EGL_SURFACE_TYPE ↵ | Brian Paul | 2008-06-28 | 1 | -0/+7 |
| | | | | attributes | ||||
* | egl: fix default value of EGL_SURFACE_TYPE, added some sanity check assertions | Brian Paul | 2008-06-28 | 1 | -3/+9 |
| | |||||
* | egl: helps if the stride is right | Zack Rusin | 2008-06-27 | 1 | -1/+3 |
| | |||||
* | eh, we need a buildbot... fix the compilation | Zack Rusin | 2008-06-27 | 2 | -6/+4 |
| | |||||
* | gallium: handle msaa | Roland Scheidegger | 2008-06-27 | 8 | -60/+77 |
| | |||||
* | egl: These changes allow an eglBindAPI(EGL_OPENGL_ES_API) to succeed, and to ↵ | Robert Ellison | 2008-06-27 | 3 | -2/+3 |
| | | | | | | | | | | | | | | work correctly with GLES1 and GLES2. - egl_xdri.c just sets the EGL_OPENGL_ES_BIT as well as the EGL_OPENGL_BIT in ClientAPIsMask - eglconfig.c allows the renderable type to include EGL_OPENGL_ES2_BIT as well as EGL_OPENGL_ES_BIT. - egl_xlib.c sets the EGL_NATIVE_RENDERABLE attribute to EGL_FALSE for all softpipe configurations. (Otherwise, an eglChooseConfig() that looks for particular values of EGL_NATIVE_RENDERABLE will fail.) | ||||
* | i915: Fix the last of the stride/pitch changes | Jakob Bornecrantz | 2008-06-27 | 3 | -12/+12 |
| | |||||
* | mesa: Replace void * arithmetic. | José Fonseca | 2008-06-27 | 1 | -1/+1 |
| | |||||
* | gdi: Update for cpp removal. | José Fonseca | 2008-06-27 | 1 | -3/+5 |
| | |||||
* | cell: Update for cpp removal. | José Fonseca | 2008-06-27 | 2 | -63/+18 |
| | | | | Not tested -- just mymic the softpipe changes. | ||||
* | gallium: Drop pipe_texture->cpp and pipe_surface->cpp. | José Fonseca | 2008-06-27 | 34 | -485/+513 |
| | | | | | The chars-per-pixel concept falls apart with compressed and yuv images, where more than one pixel are coded in a single data block. | ||||
* | scons: Fix i965/xlib build. | José Fonseca | 2008-06-27 | 2 | -1/+7 |
| | |||||
* | mesa: Use the appropriate relocation. | José Fonseca | 2008-06-27 | 1 | -1/+1 |
| | | | | | | | I don't fully understand this, but this matches the assembly code gcc generates glapi.c and fixes following error on x86-64 with assembly: relocation R_X86_64_PC32 against `_gl_DispatchTSD' can not be used when making a shared object | ||||
* | gallium: Describe pixel block. | José Fonseca | 2008-06-26 | 1 | -0/+56 |
| | | | | | Chars-per-pixel paradigm is not enough to represent compressed and yuv pixel formats. | ||||
* | mesa: point size arrays | Brian Paul | 2008-06-25 | 11 | -5/+110 |
| | |||||
* | gallium: remove some old dispatch code | Brian Paul | 2008-06-24 | 1 | -22/+0 |
| | |||||
* | gallium: remove bad assertion | Brian Paul | 2008-06-24 | 1 | -1/+0 |
| | |||||
* | gallium: Fix whole source being used in u_blit | Jakob Bornecrantz | 2008-06-24 | 1 | -16/+54 |
| | |||||
* | i915: Create a texture and surface for shared frontbuffer | Jakob Bornecrantz | 2008-06-24 | 2 | -3/+66 |
| | |||||
* | i915: Added texture_blanket function | Jakob Bornecrantz | 2008-06-24 | 1 | -0/+34 |
| | |||||
* | i915: Moved screen creation to intel_be_device | Jakob Bornecrantz | 2008-06-24 | 5 | -28/+26 |
| | |||||
* | gallium: Fix warning in u_blit.h | Jakob Bornecrantz | 2008-06-24 | 1 | -0/+1 |
| | |||||
* | egl: Stdint was missing from eglconfigutil.h | Jakob Bornecrantz | 2008-06-24 | 1 | -0/+1 |
| | |||||
* | mesa: Fix Windows GDI winsys build. | José Fonseca | 2008-06-24 | 1 | -0/+1 |
| | |||||
* | gallium: Avoid double arithmetic. | José Fonseca | 2008-06-24 | 1 | -1/+1 |
| | |||||
* | mesa: Use standard integer types. | José Fonseca | 2008-06-24 | 4 | -33/+37 |
| | | | | Especially get rid of the non-portable long long. | ||||
* | mesa: Replace deprecated __MSC__ macro. | José Fonseca | 2008-06-24 | 2 | -2/+2 |
| | |||||
* | dri/intel: Use standard integer types. | José Fonseca | 2008-06-24 | 1 | -2/+2 |
| | |||||
* | gallium: Drop deprecated __MSC__ macro. | José Fonseca | 2008-06-24 | 3 | -15/+10 |
| | |||||
* | egl: Use standard integer types. | José Fonseca | 2008-06-24 | 2 | -10/+10 |
| | |||||
* | mesa/dri: User standard integer types. | José Fonseca | 2008-06-24 | 56 | -347/+347 |
| | |||||
* | mesa: More signed/unsigned float/integer fixes. | José Fonseca | 2008-06-24 | 4 | -38/+38 |
| | |||||
* | gdi: Update for surface_alloc_storage changes. | José Fonseca | 2008-06-24 | 1 | -1/+2 |
| | |||||
* | mesa: Use appropriate unsigned/signed, float/integer types. | José Fonseca | 2008-06-24 | 9 | -29/+30 |
| | |||||
* | mesa: Use _mesa_bsearch. | José Fonseca | 2008-06-24 | 1 | -4/+4 |
| | |||||
* | mesa: bsearch implementation for WinCE. | José Fonseca | 2008-06-24 | 1 | -1/+18 |
| | |||||
* | mesa: Replace abort by asserts. | José Fonseca | 2008-06-24 | 4 | -8/+10 |
| | |||||
* | mesa: Move variable declarations to the scope top. | José Fonseca | 2008-06-24 | 1 | -5/+4 |
| | |||||
* | gallium: added support for fixed-point formats, drawing | Brian Paul | 2008-06-23 | 4 | -3/+37 |
| | |||||
* | gallium: code for PIPE_SUBSYSTEM_WINDOWS_USER | Jonathan White | 2008-06-23 | 1 | -0/+25 |
| | |||||
* | mesa: ASSERT macro is already defined by WinCE headers. | José Fonseca | 2008-06-24 | 1 | -0/+2 |
| | | | | Even when just the standard headers are used.... | ||||
* | mesa: No getenv on WinCE. | José Fonseca | 2008-06-24 | 1 | -0/+4 |
| | |||||
* | gallium: Use the more portable PIPE_ARCH_* PIPE_CC_* macros instead of ↵ | José Fonseca | 2008-06-24 | 1 | -2/+2 |
| | | | | ad-hoc ones. |