| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Fix a crash when the subrectangle is not inside the fb. Fix wrong
pipe transfer when sx > 0 or sy + height != fb->height.
This fixes "readpixels" demo.
|
|
|
|
|
|
|
|
|
|
|
| |
These two samplers use non-normalized texture coordinates. wrap_r
cannot be PIPE_TEX_WRAP_REPEAT (the default).
This fixes
sp_tex_sample.c:1790:get_linear_unorm_wrap: Assertion `0' failed
assertion failure.
|
|
|
|
| |
Fix "lookup" demo crash.
|
|
|
|
|
| |
xmesa_get_name returns the name of the st_api, which is the same as
MESA_VERSION_STRING.
|
| |
|
|
|
|
| |
It is the name of the rendering API. This field is informative.
|
| |
|
|
|
|
| |
Tested with Wayland.
|
|
|
|
| |
Signed-off-by: Thomas Hellstrom <[email protected]>
|
| |
|
| |
|
|
|
|
| |
Drivers scons files for a later time
|
| |
|
| |
|
| |
|
|
|
|
|
| |
native_display_buffer is just a wrapper to resource_{from,get}_handle
for drm backend.
|
|
|
|
|
|
| |
The interface is a wrapper to pipe_screen::resource_from_handle and
pipe_screen::resource_get_handle. A winsys handle is
platform-dependent.
|
|
|
|
| |
This allows a backend to be written in C++.
|
|
|
|
|
| |
Added for completeness. It makes sense to have such mechanism, but I am
not aware of any user of that..
|
|
|
|
|
|
| |
The value of EGL_MAX_SWAP_INTERVAL and whether
EGL_SWAP_BEHAVIOR_PRESERVED_BIT is set will depend on the native
backend used.
|
|
|
|
|
| |
They are deprecated by native_surface::present and there is no user of
them.
|
|
|
|
|
| |
Replace native_surface::flush_frontbuffer and
native_surface::swap_buffers calls by native_surface::present calls.
|
|
|
|
|
| |
Replace native_surface::flush_frontbuffer and
native_surface::swap_buffers calls by native_surface::present calls.
|
|
|
|
|
|
|
| |
The callback presents the given attachment to the native engine. It
allows the swap behavior and interval to be controlled. It will replace
native_surface::flush_frontbuffer and native_surface::swap_buffers
shortly.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use scons target and dependency system instead of ad-hoc options.
Now is simply a matter of naming what to build. For example:
scons libgl-xlib
scons libgl-gdi
scons graw-progs
scons llvmpipe
and so on. And there is also the possibility of scepcified subdirs, e.g.
scons src/gallium/drivers
If nothing is specified then everything will be build.
There might be some rough corners over the next days. Please bare with me.
|
|
|
|
| |
[olv: formatted for 80-column wrapping]
|
| |
|
|
|
|
|
| |
Remove all _egl<Res>IsLinked and _egl<Res>IsBound. Update
_eglBindContext and drivers to do reference counting.
|
|
|
|
| |
Define the unit to match _EGLMode's.
|
|
|
|
|
|
|
|
|
|
| |
Internally a mode belongs to a screen. But functions like
eglGetModeAttribMESA treat a mode as a display resource: a mode can be
looked up without a screen. Considering how KMS works, it is better to
stick to the current implementation.
To properly support looking up a mode without a screen, this commit
assigns each mode (of all screens) a unique ID.
|
|
|
|
|
| |
Make _eglInitScreen take a display and rename _eglAddScreen to
_eglLinkScreen. Remove unused functions.
|
|
|
|
|
| |
Mainly to rename _eglAddConfig to _eglLinkConfig, along with a few clean
ups.
|
|
|
|
| |
Avoid code duplications.
|
|
|
|
|
|
| |
The opaque nature of EGLImage implies that extensions almost always
define their own attributes. Move attributes in _EGLImage to
_EGLImageAttribs and add a helper function to parse attribute lists.
|
| |
|
|
|
|
| |
Signed-off-by: Thomas Hellstrom <[email protected]>
|
|
|
|
| |
Signed-off-by: Thomas Hellstrom <[email protected]>
|
|
|
|
| |
Signed-off-by: Thomas Hellstrom <[email protected]>
|
|
|
|
| |
Signed-off-by: Thomas Hellstrom <[email protected]>
|
|
|
|
| |
i915g would dereference the NULL pointer.
|
|
|
|
|
| |
Drop the use of SET_CONFIG_ATTRIB. Fix the value of EGL_SAMPLE_BUFFERS
along the way.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
__GLcontextModes is always only used as an implementation internal struct
at this point and we shouldn't install glcore.h anymore. Anything that
needs __GLcontextModes should just include the struct in its headers files
directly.
|
|
|
|
|
|
| |
Pointed out by Jakob Bornecrantz.
Signed-off-by: Thomas Hellstrom <[email protected]>
|
| |
|