Marek Olšák
2a30c268bd
r300g: re-enable SRGB formats
Ouch.
15 年之前
Vinson Lee
7da9da190f
mesa: Add assert to check for null pointer dereference.
15 年之前
Vinson Lee
d89de9c13f
draw: Remove dead code.
15 年之前
Vinson Lee
3194197efd
i965g: Remove dead code.
15 年之前
Vinson Lee
0b83f48e82
i965g: Fix assertions that were always true.
The surface_format field is 9 bits wide which has a maximum value
of 511. BRW_SURFACEFORMAT_INVALID has a value of 4095 which exceeds
the width of the surface_format field.
This patch asserts that the format is not BRW_SURFACEFORMAT_INVALID
before assignment to the surface_format field.
15 年之前
Vinson Lee
d1aafb33b5
glsl/cl: Prevent possible buffer overflow.
15 年之前
Vinson Lee
f56c9c2b19
i965g: Fix use of out-of-scope variable.
15 年之前
Chia-I Wu
1207482a03
st/egl: Disable SHM in ximage backend.
With pipe_screen::update_buffer being called in st_validate_state, it is
likely that softpipe will flush tile caches to a detached SHM segment.
Disable SHM for now until a better solution is found.
15 年之前
Vinson Lee
f96e8a033b
radeon: Silence compiler format warning.
15 年之前
Vinson Lee
ae41339d4c
glsl/cl: Prevent possible string overflow.
15 年之前
Chia-I Wu
dbaa845153
st/egl: Properly convert vrefresh to refresh rate.
Some kernels have vrefresh = (refresh rate * 1000) while others don't.
Use some heuristics here.
15 年之前
Chia-I Wu
5d4d54574f
st/egl: Enable extensions before adding configs.
Configs are validated before added. The validation depends on the
extensions available. If configs are added before enabling extensions,
configs with EGL_SCREEN_SURFACE_MESA bit set will never pass the
validation for example.
15 年之前
Chia-I Wu
719c4b0fc2
st/egl: Do not force validate when update_buffer is called.
st/mesa was changed to call pipe_screen::update_buffer in
st_validate_state. In most cases there is no need to validate.
15 年之前
Chia-I Wu
9d88006ca6
st/egl: Clean up DRI2 surface.
Mainly to move the call to DRI2GetBuffers from dri2_surface_validate to
the new dri2_surface_update_buffers.
15 年之前
Chia-I Wu
d6b348ddd1
st/egl: Clean up ximage surface.
Mainly to move buffer allocation code from ximage_surface_validate to
the new ximage_surface_update_buffers.
15 年之前
Vinson Lee
71e3abc014
st/xlib: Add assert to check for null pointer dereference.
15 年之前
Jon TURNEY
e3114d3f0f
Cygwin build fix: Fix linkage
Fix the way we make static convenience libraries, such as libmesa.a,
to be the same as linux etc.
Putting archives inside archives doesn't make the objects inside
the archive linkable, so use expand_archives() to get all the objects
inside an archive out again before linking.
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Brian Paul <brianp@vmware.com>
15 年之前
Vinson Lee
1613735d08
gamma: Silence uninitialized variable warnings.
15 年之前
Vinson Lee
fdcad8a583
gamma: Add missing headers.
15 年之前
Vinson Lee
fbf04cef71
gamma: Remove unnecessary header.
15 年之前
Vinson Lee
b76164dced
intel: Silence compiler format warnings.
15 年之前
Vinson Lee
6cfdb61f73
progs/redbook: Silence warn_unused_result warnings.
15 年之前
Vinson Lee
5fd84e0246
tgsi: ifdef out unused function micro_sqrt.
15 年之前
Vinson Lee
a45f2ec7b7
mesa: Silence compiler format warning.
15 年之前
Brian Paul
150cce6aef
mesa: fix snprintf() typo
15 年之前
Brian Paul
78a0c353d0
mesa: restore _mesa_snprintf() - it's needed for Windows
This reverts part of commit 298be2b028
15 年之前
Brian Paul
8de5a292f7
mesa: casts to silence new warnings from printf()
15 年之前
Brian Paul
984b72ad5f
mesa: remove abs/negate from fetch_vector1ui()
This function is only used for the NV unpack instructions.
Negate/abs make no sense and removing the code fixes Windows
compiler warnings. Found by Karl Schultz.
15 年之前
Kristian Høgsberg
da43aa84c8
intel: Set buffer stamp before getting new buffers
This way, if we get an invalidate as we update the buffers, we
don't clobber the drawable stamp and ignore the invalidate.
Pointed-out-by: Francisco Jerez
15 年之前
Marek Olšák
f0c50345d1
r300g: fix rendering into the L8 and A8 texture formats
RB3D_COLORPITCH.COLORFORMAT.I8 stores the C2 component.
15 年之前
Kristian Høgsberg
99ae9e8d7d
Drop macro wrappers for the aligned memory functions
15 年之前
Brian Paul
3ef51b4bd9
progs/tests: new zbitmap.c test to exercize Z testing of glBitmap
15 年之前
Brian Paul
e9df31fac9
progs/demos: sort filenames
15 年之前
Michal Krol
f814a497f7
tgsi: Make more exec opcodes look pretty.
15 年之前
Michal Krol
f1f7006d1f
tgsi: Change prototypes of micro opcodes to explicitly indicates number of args.
15 年之前
Michal Krol
d68f024b7d
tgsi: Rewrite exec implementations of NRM and NRM4.
15 年之前
Kristian Høgsberg
298be2b028
Replace the _mesa_*printf() wrappers with the plain libc versions
15 年之前
Kristian Høgsberg
32f2fd1c5d
Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions
15 年之前
Brian Paul
6bf1ea897f
mesa: replace _mesa_bzero() with memset()
15 年之前
Brian Paul
2240ba10f3
mesa: replace old MEMSET macro with memset
15 年之前
Brian Paul
e197de56cd
mesa: replace old MEMCPY macro with memcpy
15 年之前
Kenneth Graunke
2efa86ea30
Remove _mesa_memcmp in favor of plain memcmp.
This may break the SUNOS4 build, but it's no longer relevant.
15 年之前
Kenneth Graunke
26f8fad145
Remove _mesa_memset in favor of plain memset.
This may break the SUNOS4 build, but it's no longer relevant.
15 年之前
Kenneth Graunke
c7ac486261
Remove _mesa_memcpy in favor of plain memcpy.
This may break the SUNOS4 build, but it's no longer relevant.
15 年之前
Kenneth Graunke
60b0cae412
Remove _mesa_atoi in favor of plain atoi.
15 年之前
Kenneth Graunke
9d9afe9393
Remove _mesa_strncmp in favor of plain strncmp.
15 年之前
Kenneth Graunke
8d73aa6d1a
Remove _mesa_strcmp in favor of plain strcmp.
15 年之前
Kenneth Graunke
21d0c70b4b
Remove _mesa_strlen in favor of plain strlen.
15 年之前
Kenneth Graunke
f69d1d1438
Remove _mesa_strncpy in favor of plain strncpy.
15 年之前
Kenneth Graunke
5fcaa78912
Remove _mesa_strcpy in favor of plain strcpy.
15 年之前