summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* mesa: better function inlining in the presence of 'return' statementsBrian Paul2008-07-011-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 purposesBrian Paul2008-07-011-3/+5
| | | | cherry-picked from master
* i915: Last reference to surface -> pitchJakob Bornecrantz2008-07-011-1/+1
|
* gallium: Use the inline keyword on C++.José Fonseca2008-07-011-1/+3
|
* mesa: added null ptr checksBrian Paul2008-06-281-2/+2
|
* s/GL_INVALID_VALUE/GL_INVALID_OPERATION/ in _mesa_get_uniformfv()Brian Paul2008-06-281-4/+6
|
* mesa: check FEATURE_point_size_arrayBrian Paul2008-06-281-0/+2
|
* egl: set config's EGL_CONFORMANT, EGL_RENDERABLE_TYPE, EGL_SURFACE_TYPE ↵Brian Paul2008-06-281-0/+7
| | | | attributes
* egl: fix default value of EGL_SURFACE_TYPE, added some sanity check assertionsBrian Paul2008-06-281-3/+9
|
* egl: helps if the stride is rightZack Rusin2008-06-271-1/+3
|
* eh, we need a buildbot... fix the compilationZack Rusin2008-06-272-6/+4
|
* gallium: handle msaaRoland Scheidegger2008-06-278-60/+77
|
* egl: These changes allow an eglBindAPI(EGL_OPENGL_ES_API) to succeed, and to ↵Robert Ellison2008-06-273-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 changesJakob Bornecrantz2008-06-273-12/+12
|
* mesa: Replace void * arithmetic.José Fonseca2008-06-271-1/+1
|
* gdi: Update for cpp removal.José Fonseca2008-06-271-3/+5
|
* cell: Update for cpp removal.José Fonseca2008-06-272-63/+18
| | | | Not tested -- just mymic the softpipe changes.
* gallium: Drop pipe_texture->cpp and pipe_surface->cpp.José Fonseca2008-06-2734-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é Fonseca2008-06-272-1/+7
|
* mesa: Use the appropriate relocation.José Fonseca2008-06-271-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é Fonseca2008-06-261-0/+56
| | | | | Chars-per-pixel paradigm is not enough to represent compressed and yuv pixel formats.
* mesa: point size arraysBrian Paul2008-06-2511-5/+110
|
* gallium: remove some old dispatch codeBrian Paul2008-06-241-22/+0
|
* gallium: remove bad assertionBrian Paul2008-06-241-1/+0
|
* gallium: Fix whole source being used in u_blitJakob Bornecrantz2008-06-241-16/+54
|
* i915: Create a texture and surface for shared frontbufferJakob Bornecrantz2008-06-242-3/+66
|
* i915: Added texture_blanket functionJakob Bornecrantz2008-06-241-0/+34
|
* i915: Moved screen creation to intel_be_deviceJakob Bornecrantz2008-06-245-28/+26
|
* gallium: Fix warning in u_blit.hJakob Bornecrantz2008-06-241-0/+1
|
* egl: Stdint was missing from eglconfigutil.hJakob Bornecrantz2008-06-241-0/+1
|
* mesa: Fix Windows GDI winsys build.José Fonseca2008-06-241-0/+1
|
* gallium: Avoid double arithmetic.José Fonseca2008-06-241-1/+1
|
* mesa: Use standard integer types.José Fonseca2008-06-244-33/+37
| | | | Especially get rid of the non-portable long long.
* mesa: Replace deprecated __MSC__ macro.José Fonseca2008-06-242-2/+2
|
* dri/intel: Use standard integer types.José Fonseca2008-06-241-2/+2
|
* gallium: Drop deprecated __MSC__ macro.José Fonseca2008-06-243-15/+10
|
* egl: Use standard integer types.José Fonseca2008-06-242-10/+10
|
* mesa/dri: User standard integer types.José Fonseca2008-06-2456-347/+347
|
* mesa: More signed/unsigned float/integer fixes.José Fonseca2008-06-244-38/+38
|
* gdi: Update for surface_alloc_storage changes.José Fonseca2008-06-241-1/+2
|
* mesa: Use appropriate unsigned/signed, float/integer types.José Fonseca2008-06-249-29/+30
|
* mesa: Use _mesa_bsearch.José Fonseca2008-06-241-4/+4
|
* mesa: bsearch implementation for WinCE.José Fonseca2008-06-241-1/+18
|
* mesa: Replace abort by asserts.José Fonseca2008-06-244-8/+10
|
* mesa: Move variable declarations to the scope top.José Fonseca2008-06-241-5/+4
|
* gallium: added support for fixed-point formats, drawingBrian Paul2008-06-234-3/+37
|
* gallium: code for PIPE_SUBSYSTEM_WINDOWS_USERJonathan White2008-06-231-0/+25
|
* mesa: ASSERT macro is already defined by WinCE headers.José Fonseca2008-06-241-0/+2
| | | | Even when just the standard headers are used....
* mesa: No getenv on WinCE.José Fonseca2008-06-241-0/+4
|
* gallium: Use the more portable PIPE_ARCH_* PIPE_CC_* macros instead of ↵José Fonseca2008-06-241-2/+2
| | | | ad-hoc ones.