| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
configure.ac
Signed-off-by: Thomas Hellstrom <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Thomas Hellstrom <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Thomas Hellstrom <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Typically this was done by having a surface creation function fail if
the format was not supported.
However, in some situations when changing hardware surface formats,
it's desirable to do this check before attempting costly readback operations.
Also updated the surface_redefine interface.
Bump minor.
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]>
|
| |
| |
| |
| | |
Signed-off-by: Thomas Hellstrom <[email protected]>
|
| |
| |
| |
| |
| |
| | |
The code forgot to increment a pointer.
Signed-off-by: Thomas Hellstrom <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Thomas Hellstrom <[email protected]>
|
| |
| |
| |
| |
| |
| | |
See the file src/gallium/state_trackers/xa/README for more info.
Signed-off-by: Thomas Hellstrom <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes a regression introduced with commit
"st-api: Rework how drawables are invalidated v3"
where the glx state tracker manager would invalidate a drawable each time it
checks the drawable dimensions, even during a validate call, which
resulted in an endless loop, since the state tracker would immediately
detect the new invalidation and rerun the validate...
This change marks the drawable invalid only if the drawable dimensions actually
changed during the validate, which will result in at most a single
unnecessary validate by the context running a validate during which the
dimensions changed.
To avoid unnecessary validates altogether, we need to implement yet another
st-api change: Returning the current time stamp from the validate function,
as suggested by Chia-I Wu. The glx state tracker manager could then return
the stamp resulting from the last drawable dimension check.
Signed-off-by: Thomas Hellstrom <[email protected]>
|
| |
| |
| |
| | |
Wrong goto labels.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Fix compilation error due to commit
"Rework how drawables are invalidated v3"
Signed-off-by: Thomas Hellstrom <[email protected]>
|
| |
| |
| |
| |
| |
| | |
It's incorrect to assume a single context bound to a drawable.
Signed-off-by: Thomas Hellstrom <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The api and the state tracker manager code as well as the state tracker code
assumed that only a single context could be bound to a drawable. That is not
a valid assumption, since multiple contexts can bind to the same drawable.
Fix this by making it the state tracker's responsibility to update all
contexts binding to a drawable
Note that the state trackers themselves don't use atomic stamps on
frame-buffers. Multiple context rendering to the same drawable should
be protected by the application.
Signed-off-by: Thomas Hellstrom <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Considering fbdev as an in-kernel window system,
- opening a device opens a connection
- there is only one window: the framebuffer
- fb_var_screeninfo decides window position, size, and even color format
- there is no pixmap
Now EGL is built on top of this window system. So we should have
- the fd as the handle of the native display
- reject all but one native window: NULL
- no pixmap support
modeset support is still around, but it should be removed soon.
|
| |
| |
| |
| | |
NOTE: This is a candidate for the 7.11 branch.
|
| |
| |
| |
| | |
The interface was changed in 73df31eedd0f33c8a9907855cb247c8f87964c48.
|
| |
| |
| |
| | |
It is triggered when --with-driver=xlib is specified.
|
| |
| |
| |
| |
| | |
And use it for EGL_MATCH_NATIVE_PIXMAP. Remove is_pixmap_supported
meanwhile.
|
| |
| |
| |
| |
| | |
Add a new helper function, _eglFilterConfigArray, for drivers and hide
_eglSortConfigs.
|
| | |
|
| |
| |
| |
| |
| | |
Add copy_to_pixmap method to native_display and use it for
eglCopyBuffers.
|
| |
| |
| |
| |
| |
| |
| | |
Remove set_event_handler() and pass the event handler with
native_get_XXX_platform(). Add init_screen() so that the pipe screen is
created later. This way we don't need to pass user_data to
create_display().
|
| |
| |
| |
| |
| |
| | |
Use a typed struct to describe the native buffer and let the backends
map the native buffer to winsys_handle for
resource_from_handle/resource_to_handle.
|
| |
| |
| |
| | |
It is not used and confusing.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=38599
|
| |
| |
| |
| |
| | |
This matches what we do in egl_dri2, and clients should
behave like this anyway.
|
| |
| |
| |
| |
| |
| | |
it's uninitialized, but used by kernel (drm_mode_setcrtc -> drm_mode_set_crtcinfo)
Signed-off-by: Marek Olšák <[email protected]>
|
| |
| |
| |
| |
| |
| | |
Saturate
samplers[0] may remain uninititialized if src picture/pixmap is null
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Make use of this in drm and wayland st/egl backends.
Reviewed-by: Alex Deucher <[email protected]>
|
| |
|
|
|
|
|
| |
For example, "mov o0.w, l(1)" would use imm_values[3], which is
not valid.
|
|
|
|
|
|
|
|
|
|
|
| |
Certain applications (e.g., Bernina My Label, and the Windows
implementation of Processing language) destroy the device context used when
creating the frame-buffer, causing presents to fail because we were still
referring to the old device context internally.
This change ensures we always use the same HDC passed to the ICD
entry-points when available, or our own HDC when not available (necessary
only when flushing on single buffered visuals).
|
| |
|
| |
|
|
|
|
|
|
|
| |
Since wayland 4bde293ff8109d55eeaee8732f5a6ee0c8cd4bd9 we cant
lookup visuals, as we dont receive the visual token events.
The format for pixmap-images thus has to default to argb for now.
|