Brian Paul
6eb7f763fb
tgsi: fix bug in execution of loops inside of conditionals.
Fixes infinite loop bug.
17 anni fa
Brian Paul
ec698034d1
mesa: assemble main() after all other functions
Before, main() had to come after any functions it called.
17 anni fa
Brian Paul
51654783ef
mesa: comments about vectors vs components
17 anni fa
Brian Paul
e7fd3de927
egl: set EGL_CONFORMANT, EGL_RENDERABLE_TYPE config fields, fix null ptr crashes in MakeCurrent
17 anni fa
Brian Paul
2833d4e715
mesa: fix stencil state problem when GL_ATI_separate_stencil wasn't enabled
In glStencilFunc/Op/Mask() set both the front and back-face state, unless
GL_EXT_stencil_two_side is enabled. Before, we only set the front+back state
if GL_ATI_separate_stencil was enabled.
Ultimately, we probably should remove GL_EXT_stencil_two_side since it's
incompatible with GL 2.x.
17 anni fa
Julien Cristau
6852ef64f3
glu: only export public symbols
17 anni fa
Julien Cristau
270b2a5c54
mklib: don't version symbols when using --exports
Use the default version instead of one based on the library SONAME
in the version script created by --exports.
17 anni fa
Blair Sadewitz
2f5cd68797
mesa: also check for __NetBSD__
17 anni fa
José Fonseca
64979d618a
python: Basic test case for 2d texture.
17 anni fa
José Fonseca
3aea28b9b1
python: Raw tile access to surface.
17 anni fa
José Fonseca
00cd96b68f
python: Get the sample app to draw triangle like trivial/tri exanple.
17 anni fa
José Fonseca
f07ad529af
python: Surface clears.
17 anni fa
José Fonseca
3679f69023
python: Set default state.
17 anni fa
José Fonseca
05a23e6c6f
python: Allow to create/specify shaders.
17 anni fa
Jakob Bornecrantz
16c2267d55
i915: Ops should not have pushed that
This reverts commit 930a863c4f
.
17 anni fa
Jakob Bornecrantz
e59086ab91
EGL: Only build EGL dri based drivers under linux-dri based configs
17 anni fa
Jakob Bornecrantz
930a863c4f
i915: WIP swap rework
17 anni fa
José Fonseca
6410e94b96
python: New state tracker which exposes the pipe driver to python scripts.
Still under development. Just barely works.
17 anni fa
José Fonseca
36dd89c8a7
util: Eliminate pipe from the arguments to pipe_get/put_tile_xxx functions.
You don't need a pipe_context * for this, and all other necessary info is
already inside pipe_surface.
17 anni fa
José Fonseca
17af66fc1a
pb: buffer over/underflows are errors.
17 anni fa
Michal Krol
f5c51ebd2a
tgsi: Parse destination operand modulate modifier.
17 anni fa
Michal Krol
94013b66b9
tgsi: Parse extended source register modifiers.
17 anni fa
Michal Krol
47a45aaa0f
tgsi: Parse _SAT and _SAT opcode suffix.
17 anni fa
Michal Krol
a7d8eed61c
tgsi: Parse IMM statements.
17 anni fa
Michal Krol
3d5dcc2203
tgsi: Parse texture instructions correctly.
17 anni fa
Michal Krol
46a7843099
tgsi: Fix instruction operand counts.
17 anni fa
Michal Krol
cfd2bf9fa1
tgsi: Fix instruction opcode parsing.
17 anni fa
Michal Krol
625034104a
tgsi: Add missing SWZ opcode.
17 anni fa
Michal Krol
ee647b9020
tgsi: Parse DCL statements.
17 anni fa
Michal Krol
bd3b47590e
tgsi: Remove depricated ATTRIB interpolate mode.
17 anni fa
Stephane Marchesin
92d711e9e6
llvm: build fixes.
17 anni fa
Michal Krol
c415de5e25
scons: List `util/tgsi_text.c'.
17 anni fa
Michal Krol
d0386d55ff
tgsi: Add tgsi_text utility module.
Translates textual shader into a binary token stream.
The syntax matches the tgsi_dump module, so it's possible to
simply copy-paste the shader dump and transform it back
to a binary form.
17 anni fa
Michal Krol
9ea485f886
tgsi: Fix dumping of indirect addressing.
17 anni fa
Michal Krol
7279d663e9
tgsi: Add missing copyright headers.
17 anni fa
Brian Paul
80b24166a5
egl: a minor overhauld of egl_xdri.c
Rely more on the libGL code to avoid duplicated efforts. Also fix confusion
arising from multiple __DRIscreen objects.
17 anni fa
Brian Paul
df2c9424d3
glx: added __glXPreferEGL() to tell libGL to prefer "egl_" drivers over regular DRI drivers.
Also, clean-up, consolidate the dlopen() code a bit.
17 anni fa
Brian Paul
7986baf7cf
build egl subdirs
17 anni fa
Jakob Bornecrantz
6e938e4f82
gallium: Make dri drivers create a egl_name_dri.so if supported
17 anni fa
Jakob Bornecrantz
5de823c00b
gallium: Re-order the GALLIUM_AUXILIARY_DIRS to satisfy dependencies on util
17 anni fa
Brian Paul
bae90edfda
gallium: check for FEATURE_feedback and FEATURE_drawpix when creating/using the aux draw module
17 anni fa
Brian Paul
f5cdc657b2
egl: added EGL_OPENVG_API case (allow all APIs)
17 anni fa
Brian Paul
b101890c15
egl: add all EGL_*_BITs to ClientAPIsMask
17 anni fa
Brian Paul
a452e0cbde
gallium: re-order the GALLIUM_AUXILIARY_DIRS to satisfy .a interdependencies
libutil.a and libtranslate.a depend on libcso_cache.a so put them in that order.
17 anni fa
Brian Paul
fb3867aec0
egl: implement xdri_eglGetProcAddress() for gallium
Plus comments, clean-ups.
17 anni fa
Brian Paul
64f92e00c8
mesa: check for null shader->Source
17 anni fa
Brian Paul
811a183a27
mesa: return -1, not GL_FALSE if _glapi_add_dispatch() fails name sanity check
17 anni fa
Brian Paul
547e487df2
mesa: call glutDestroyWindow() on exit
17 anni fa
Brian Paul
eb9efc6ad5
mesa: disable fprintf() error
17 anni fa
Brian Paul
e3b13dba4d
egl: link libEGL w/ additional libs
17 anni fa