| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
| |
For GL_NV_conditional_render and GL3.
The drawing functions don't check the query object yet.
No API dispatch yet.
|
| |
|
|
|
|
| |
Note: not plugged into the dispatch table yet.
|
| |
|
| |
|
| |
|
|
|
|
| |
Note: some code disabled until dispatch table supports GL3 entrypoints.
|
|
|
|
|
|
|
|
|
|
|
|
| |
These functions clear color/depth/stencil buffers with a value that's
passed to the function, rather than the context clear values.
For now these functions are implemented in terms of the existing
ctx->Driver.Clear() hook. In the future when we have non-normalized
integer and unsigned integer color buffer formats we'll need new
driver hook(s) to pass int and uint clear values to the driver.
Note: these functions are not hooked into the dispatch table at this time.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Not plugged into dispatch table yet...
|
|
|
|
|
|
|
|
|
|
|
| |
This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0.
The ctx->Color.ColorMask field is now a 2-D array. Until drivers are
modified to support per-buffer color masking, they can just look at
the 0th color mask.
The new _mesa_ColorMaskIndexed() function will be called by
glColorMaskIndexedEXT() or glColorMaski().
|
|
|
|
|
|
|
|
| |
The functions are _mesa_GetBooleanIndexedv(), _mesa_GetIntegerIndexedv(), and
_mesa_GetInteger64Indexedv(). These will be called from API functions such as
glGetBooleanIndexedvEXT() and glGetBooleani_v().
Only the GL_BLEND query is supported at this time.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ctx->Color.BlendEnabled is now a GLbitfield instead of a GLboolean to
indicate blend on/off status for each color/draw buffer.
This is infrastructure for GL_EXT_draw_buffers2 and OpenGL 3.x
New functions include _mesa_EnableIndexed(), _mesa_DisableIndexed(), and
_mesa_IsEnabledIndexed(). The enable function corresponds to
glEnableIndexedEXT() for GL_EXT_draw_buffers2 or glEnablei() for GL3.
Note that there's quite a few tests for ctx->Color.BlendEnabled != 0 in
drivers, etc. Those tests can remain as-is since the mask will be 0 or ~0
unless GL_EXT_draw_buffers2 is enabled.
|
| |
|
|
|
|
|
| |
This was a workaround for a compiler warning that was showing a real
error. The real error was later fixed.
|
|
|
|
|
| |
The same code is generated, and readers and static analyzers are
happier.
|
|
|
|
|
| |
It does nothing else while being less useful than exit() because it lacks
attributes that real exit() has.
|
|\
| |
| |
| |
| |
| | |
Conflicts:
src/mesa/main/version.h
src/mesa/state_tracker/st_atom_shader.c
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
configure.ac
progs/demos/morph3d.c
progs/demos/textures.c
progs/glsl/shtest.c
progs/glsl/texaaline.c
progs/tests/packedpixels.c
progs/xdemos/corender.c
src/mesa/main/version.h
|
| | | |
|
| | |
| | |
| | |
| | | |
See bug 25663.
|
| | | |
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
src/mesa/drivers/dri/unichrome/via_ioctl.c
src/mesa/drivers/dri/unichrome/via_screen.c
src/mesa/main/version.h
src/mesa/state_tracker/st_atom.c
|
| | |/ |
|
| | |
| | |
| | |
| | | |
See bug 25663.
|
| | |
| | |
| | |
| | | |
See bug 25663.
|
| | | |
|
| | | |
|
| | | |
|
|\| |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
src/gallium/state_trackers/xorg/xorg_xv.c
src/mesa/drivers/dri/intel/intel_span.c
|
| |\| |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
_mesa_TexGend calls _mesa_TexGenfv, which uses the params argument
as an array.
|
| | |
| | |
| | |
| | |
| | | |
_mesa_Lighti calls _mesa_Lightiv, which uses the params argument
as an array.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
_mesa_PointParameteri calls _mesa_PointParameterfv, which uses the
params argument as an array.
|
| | |
| | |
| | |
| | |
| | | |
_mesa_PointParameterf calls _mesa_PointParameterfv, which uses the
params argument as an array.
|
| | |
| | |
| | |
| | |
| | | |
_mesa_LightModelf calls _mesa_LightModelfv, which uses the
params argument as an array.
|
| | |
| | |
| | |
| | |
| | | |
This fixes invalid array indexing when baseLevel == MAX_TEXTURE_LEVELS.
See bug 25528.
|
| | |
| | |
| | |
| | |
| | | |
_mesa_LightModeli calls _mesa_LightModeliv, which uses the
params argument as an array.
|
| | |
| | |
| | |
| | |
| | | |
_mesa_Fogf calls _mesa_Fogfv, which uses the params argument
as an array.
|
| | |
| | |
| | |
| | |
| | | |
_mesa_TexParameteri calls set_tex_parameteri, which uses the
params argument as an array.
|
| | |
| | |
| | |
| | |
| | | |
_mesa_Fogi calls _mesa_Fogfv, which uses the params argument
as an array.
|
| | |
| | |
| | |
| | |
| | | |
_mesa_TexParameteri calls set_tex_parameterf, which uses the
params argument as an array.
|