Brian Paul
d09a19bf6e
Merge branch 'mesa_7_5_branch'
16 年前
Brian Paul
db598b8998
mesa: new _mesa_append_uniforms_to_file() debug/logging function
16 年前
Brian Paul
b6e5600bd4
mesa: call _mesa_valid_to_render()
16 年前
Brian Paul
d03dde16eb
vbo: call _mesa_valid_to_render()
16 年前
Brian Paul
56c4226fcc
mesa: new _mesa_valid_to_render() function
Tests if the current shader/program is valid and that the framebuffer is
complete. To be called by glBegin, glDrawArrays, etc.
16 年前
Brian Paul
a48b0a5ce7
mesa: minor error string changes
16 年前
Brian Paul
1574b05189
docs: docs: document new --with-max-width/height config options
16 年前
Brian Paul
a7ca80ff6a
Add a FAQ about internal buffer sizes.
(cherry picked from master, commit 9a8781bd24
)
16 年前
Brian Paul
467b3d9a6f
Add configure options for MAX_WIDTH/HEIGHT.
This adds two --with configure options for setting defines for
MAX_WIDTH and MAX_HEIGHT. It's conceivably just as easy to define
these in CFLAGS manually, but this way users don't need to know
about internal Mesa details.
Patch updated by BrianP to set DEFINES, not CFLAGS.
(cherry picked from master, commit 7085dce750
)
16 年前
Brian Paul
e691b0e533
Allow external settings of MAX_WIDTH/HEIGHT.
Conditionalize MAX_WIDTH / MAX_HEIGHT defines so that users can
set them via CFLAGS.
(cherry picked from master, commit 66bc17e80e
)
16 年前
Keith Whitwell
51c47383f9
st/xlib: reduce the proliferation of GLX context types
Now there is just a single, struct __GLXcontextRec, which is the
GLXContext typedef has already been defined as a pointer to. I
believe this is the intended usage, that GLX implementations should
define that struct as they require.
Merge the two previous structs into one and get rid of the
no-longer-necessary type casts and sub-classing.
16 年前
Keith Whitwell
9616e4ad1c
st/dri: remove unused dummyContext value
16 年前
Brian Paul
3ffaa11f88
mesa: move assertions in test_attachment_completeness()
Put the assertions after the error checks.
16 年前
Christoph Bumiller
442a5e4343
nv50: fix mipmap offsets and tiling
The hardware expects a texture's tile mode to change with
the mipmap level.
Also, only multiply by block size once to obtain size.
16 年前
Christoph Bumiller
3506d7d3e2
nv50: make sure we don't re-emit outdated scissor state
Since we don't turn off scissors, we need to update the
stateobj when the framebuffer size changes.
16 年前
Christoph Bumiller
74e8b1a30b
nv50: make use of the y-origin switch
Now that we know how to make the hardware have y-coordinate origin
top, we can get rid of all the inversion introduced earlier.
16 年前
Maciej Cencora
cdaf63d0ea
r300: remove broken vertex splitting
Revert to previous behaviour of dropping to big render operations.
16 年前
Maciej Cencora
9e018d8225
r300: rework index buffer setup
Copy elements directly to DMA bo to get rid of one memcpy, and prepare for using VBOs for index buffer.
16 年前
Maciej Cencora
7c060bff13
r300: remove unused software TNL path
This doesn't remove software TCL path - so RS480 and RS690 work as before.
16 年前
Maciej Cencora
5fb5ea97f4
r300: use VBOs for vertex attributes
16 年前
Brian Paul
c3f9c2eb75
docs: document new --with-max-width/height config options
16 年前
Tom Fogal
9a8781bd24
Add a FAQ about internal buffer sizes.
16 年前
Tom Fogal
7085dce750
Add configure options for MAX_WIDTH/HEIGHT.
This adds two --with configure options for setting defines for
MAX_WIDTH and MAX_HEIGHT. It's conceivably just as easy to define
these in CFLAGS manually, but this way users don't need to know
about internal Mesa details.
Patch updated by BrianP to set DEFINES, not CFLAGS.
16 年前
Tom Fogal
66bc17e80e
Allow external settings of MAX_WIDTH/HEIGHT.
Conditionalize MAX_WIDTH / MAX_HEIGHT defines so that users can
set them via CFLAGS.
16 年前
Tobias Doerffel
87946d206f
intel: in intel_context struct use typedef for sarea struct
Using drm_i915_sarea_t instead of struct drm_i915_sarea seems to be
a common standard now, therefore fix it also in intel_context
structure. Additionally this silences a compiler warning:
intel_swapbuffers.c: In function `intelFixupVblank':
intel_swapbuffers.c:48: warning: initialization from incompatible pointer type
Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
16 年前
Thierry Vignaud
2674d1ba50
mesa: make sure r300/compiler/ sources are included in tarball
16 年前
Chia-I Wu
67b639c7ab
st/vega: Add more symbols defined by mesa/st.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
16 年前
Maciej Cencora
895f7c33d4
r300: add required symlinks
Reported by adamk on #radeon
16 年前
Maciej Cencora
e029c91fd3
radeon: handle debug versions of radeon_bo_open
16 年前
Christoph Bumiller
f1aa2a43b7
nv50: fix typo in REALLOC's 2nd argument in ctor_immd
16 年前
Maciej Cencora
6bcbeb02d6
radeon: add VBO support (not enabled yet)
16 年前
Maciej Cencora
2233ac61e1
radeon: export emitvec* functions
16 年前
Maciej Cencora
d534648d90
radeon: constify some parameters
16 年前
Alex Deucher
7069a7548f
r600: emit SURFACE_BASE_UPDATE on depth base updates on rv6xx
16 年前
Dave Airlie
ceb9459ed5
glsl: re-write Makefile after I called it bad.
16 年前
Brian Paul
0c717bcd5d
progs/glsl: added multitex.shtest config file
16 年前
Brian Paul
08ecd863ee
progs/glsl: set generic vertex attribute values
16 年前
Brian Paul
62d1132160
progs/glsl: add type field to shtest config files
Plus, texture loading.
16 年前
Brian Paul
823703418e
mesa: added *.shtest files to demo tarball
16 年前
Dave Airlie
25cd4dc1d6
glsl/tests: skinning.o
worst Makefile ever. not sure what is going on here, hopefully
this fixes tinderbox
16 年前
Alex Deucher
9d96095c1e
r600: move non-surface related cb state to general state
16 年前
Alex Deucher
083b04e809
r600: move non-surface related depth state to general state
16 年前
RALOVICH, Kristóf
0896268b97
glx: indent -br -i3 -npcs --no-tabs
Some manual intervention applied since XEXT_* and other macro magic
fooled indent. Auto generated files were also skipped.
16 年前
Brian Paul
1e0f621b50
mesa: fix some invalid memory reads
We were passing the address of a float to functions that would deref the
pointer as an array.
16 年前
Brian Paul
6d55fd705d
progs/tests: hack a PBO/dlist test
16 年前
Brian Paul
ecb177eaea
mesa: fix warnings about locals hiding function params
16 年前
Brian Paul
36df6a6e91
mesa: add missing PBO mapping code in unpack_image()
16 年前
Brian Paul
ad8a6937ae
main: fix some potential memory leaks
Allocate dlist images after error checking.
Record GL_OUT_OF_MEMORY when we can't make a copy of an image.
16 年前
Brian Paul
f418d18ea6
mesa: fix some potential uninitialized memory references
16 年前
Brian Paul
a531a5cf94
glsl: fix some uninitialized pointers
16 年前