| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Move defintion of M_PI (for the benefit of <math.h> which do not define it), to
before the first use of it
Signed-off-by: Jon TURNEY <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
|
|
|
|
|
|
|
| |
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]>
|
| |
|
|
|
|
|
|
| |
free them.
Otherwise they probably belong to draw.
|
|
|
|
| |
Otherwise it corrupts other fields of the struct and hilarity ensues.
|
| |
|
| |
|
|
|
|
| |
They still look corrupted, but at least now they don't look tiled any more.
|
| |
|
| |
|
| |
|
|
|
|
| |
That fixes some formats in fbo-alphatest-formats.
|
|
|
|
| |
"Works" as well as i915c now.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use
$(MKLIB) -ldflags '-L$(TOP)/$(LIB_DIR)'
instead of
$(MKLIB) -L$(TOP)/$(LIB_DIR)
to make sure the local library path appears before system's.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
However doesn't work because of limitations in the draw module.
|
| |
|
| |
|
|
|
|
| |
Doesn't work yet, see TODO.
|
| |
|
| |
|
|
|
|
| |
Depth compare still looks broken though.
|
| |
|
| |
|
| |
|
|
|
|
| |
NOTE: This is a candidate for the 7.11 branch.
|
|
|
|
| |
The interface was changed in 73df31eedd0f33c8a9907855cb247c8f87964c48.
|
|
|
|
| |
Thanks to José for pointing out.
|
|
|
|
| |
Add drm_fd_get_pci_id to get the PCI ID. Fix a leak with udev on error.
|
|
|
|
| |
It is triggered when --with-driver=xlib is specified.
|
|
|
|
|
| |
Move system libraries (usually .so) out of --start-group / --end-group
pair. Add possiblly missing archives, defines, and shared libraries.
|
|
|
|
|
|
|
|
| |
Blending and maybe even alpha-test don't work with those formats.
Only supporting RGBA, BGRA, RGBX, BGRX.
NOTE: This is a candidate for the 7.10 and 7.11 branches.
|
|
|
|
|
| |
And use it for EGL_MATCH_NATIVE_PIXMAP. Remove is_pixmap_supported
meanwhile.
|
|
|
|
|
| |
Add a new helper function, _eglFilterConfigArray, for drivers and hide
_eglSortConfigs.
|
|
|
|
| |
It brings in libraries that are not necessarily needed.
|
| |
|
|
|
|
|
| |
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().
|
|
|
|
| |
This fixes a crash in llvm draw.
|
|
|
|
| |
Those always return 0, but at least we don't crash when exposing GL 2.0.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
When the fill mode is PIPE_POLYGON_MODE_LINE we were basically
converting the polygon into triangles, then drawing the outline of all
the triangles. But we really only want to draw the lines around the
perimeter of the polygon, not the interior lines.
NOTE: This is a candidate for the 7.10 branch.
|
|
|
|
| |
Signed-off-by: Alex Deucher <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Evergreen+ don't support multi-writes so we need to emulate
it in the shader. Fixes the following piglit tests:
fbo-drawbuffers-fragcolor
ati_draw_buffers-arbfp-no-option
Signed-off-by: Alex Deucher <[email protected]>
|
|
|
|
|
|
| |
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=38440
Signed-off-by: Vadim Girlin <[email protected]>
|
|
|
|
| |
Signed-off-by: Vadim Girlin <[email protected]>
|