| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
|
|
|
|
| |
Not really sure why reordering the ioctls makes them work again.
|
|
|
|
| |
Might as well.
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
|
|
|
|
|
|
| |
that a driver needs to implement on top of the drm api to support dri1.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
|
|
|
|
| |
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
|
|
|
|
|
|
|
|
| |
Make it possible to pass state-tracker-specific data to the
init_screen function, and even open the door for device-specific
state-tracker screen initialization.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
|
|
|
|
|
|
|
|
|
|
| |
If a shader reaches an out-of-memory condition while adding
a new function (reallocating the function list), a segfault
will occur during cleanup (because the num_functions field
is non-zero, but the functions pointer is NULL).
This fixes that segfault by zeroing out the num_functions
field if reallocation fails.
|
|
|
|
|
| |
DllMain is called with DLL_THREAD_ATTACH only by threads created after
the DLL is loaded by the process.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Make the use_const_buffer field per-program and only call the code which
updates the constant buffer's data if the flag is set.
This should undo the perf regression from 20f3497e4b6756e330f7b3f54e8acaa1d6c92052
|
|
|
|
| |
Somebody with a clue could probably do a better implemenation...
|
|
|
|
|
|
|
| |
We were incorrectly applying the destination texture face and level
when requesting a transfer to the temporary texture, which has only
one face and level. This would obviously cause problems uploading to
compressed cube and mipmap textures.
|
| |
|
|
|
|
| |
snprintf not directly available on Windows.
|
|
|
|
| |
It doesn't change anyway.
|
| |
|
|
|
|
| |
Should help with a few non-TCL bugs.
|
|
|
|
| |
This fixes some missing primitives which had been drawn right before the next glClear().
|
|
|
|
|
|
| |
Attribs must be packed: position, point size, colors, texcoords.
Thanks to osiris for pointing it out.
|
| |
|
|
|
|
| |
Signed-off-by: Corbin Simpson <[email protected]>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Fall back to interpreter in this case.
|
|
|
|
|
|
|
|
|
|
|
| |
This interface gives the driver two important features. First, it can
allocate the (fake) front-buffer only when needed. Second, it can
tell the buffer allocator the format of buffers being allocated. This
enables support for back-buffer and depth-buffer with different bits
per pixel.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
|
|
|
|
|
| |
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
|
|
|
|
|
| |
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
As of commit 23ad86cfb91c294ce85a3116d4b825aaa3988a6e all messages go
through output_if_debug().
Add new parameter to output_if_debug() to indicate whether to emit a newline.
_mesa_warning() and _mesa_error() calls should not end their strings with \n.
_mesa_debug() calls should end their text with \n.
|
|
|
|
|
|
| |
dri_bo_subdata()
This wraps up the unfinished business from commit a9a363f8298e9d534e60e3d2869f8677138a1e7e
|
|
|
|
|
|
| |
This can be almost impossible to avoid - hopefully we won't encounter
a situation where this is a true requirement. Would probably require
drivers to flush between hardware and software vertex processing.
|
| |
|
|
|
|
|
| |
need to clamp point size to user set min/max values, even for constant
point size. Fixes glean pointAtten test.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The drm_intel_gem_bo_map_gtt() call that replaced dri_bo_map() is
producing errors like:
intel_bufmgr_gem.c:689: Error preparing buffer map 39 (vp_const_buffer): Invalid argument .
and returning NULL, causing a segfault in the memcpy().
Just reverting until we can get to the root issue...
|
|
|
|
| |
forgot to commit the changes to actually support 4x aniso filtering...
|
|
|
|
| |
Also fixes drawing to 3D texture depth levels.
|
|
|
|
|
| |
This is a CPU win in general, but in particular reduces the pain of
Mesa's calculation of min/max indices in DrawElements (wtf?).
|
|
|
|
|
|
| |
Need to use the data pointed to for pixmap contents in that case.
Fixes RENDER based text rendering.
|
|
|
|
|
| |
For unsupported devices the screen/context creation should fail cleanly later
on.
|
| |
|
|
|
|
|
| |
Various breakage otherwise, e.g. _XSERVER64 not being defined on 64 bit leading
to inconsistent definitions of X server internal structs.
|
| |
|