- 20 Dec, 2019 1 commit
-
-
Gert Wollny authored
v2: - Force X11 EGL platform. The compile time platform is drm, but this doesn't work for "spec/egl_khr_create_context/valid debug flag" and the other piglits seem to force X11. - Create a html summary and add it to the artifacts Fixes piglits: spec/egl_khr_create_context/valid debug flag gles[23] Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Reviewed-by:
Lepton Wu <lepton@chromium.org>
-
- 17 Dec, 2019 3 commits
-
-
Gert Wollny authored
Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Reviewed-by:
Lepton Wu <lepton@chromium.org>
-
Gert Wollny authored
Also fix and document the versioning with meson. Related #149 Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Reviewed-by:
Lepton Wu <lepton@chromium.org>
-
Gert Wollny authored
v2: also update CI to use meson build to run CTS Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Reviewed-by:
Lepton Wu <lepton@chromium.org>
-
- 13 Dec, 2019 1 commit
-
-
Lepton Wu authored
We only need a recent version of gbm when enable_gbm_allocation gets set. Close #134 Reviewed-by:
Gert Wollny <gert.wollny@collabora.com> Signed-off-by:
Lepton Wu <lepton@chromium.org>
-
- 12 Dec, 2019 4 commits
-
-
Gurchetan Singh authored
Do the same thing we do with regular textures, and swap the R and B color channels. TEST=Portal, HL2 have better lighting in Crostini Reviewed-by:
Gert Wollny <gert.wollny@collabora.com>
-
Gurchetan Singh authored
Reviewed-by:
Gert Wollny <gert.wollny@collabora.com>
-
Gurchetan Singh authored
v2: Modify CI dockerfile (@gerddie ) Reviewed-by:
Gert Wollny <gert.wollny@collabora.com>
-
Gurchetan Singh authored
Reviewed-by:
Gert Wollny <gert.wollny@collabora.com>
-
- 06 Dec, 2019 5 commits
-
-
Marc-André Lureau authored
Fixes: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by:
Gert Wollny <gert.wollny@collabora.com>
-
Marc-André Lureau authored
Fixes ISO C does not support ‘__FUNCTION__’ predefined identifier Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by:
Gert Wollny <gert.wollny@collabora.com>
-
Marc-André Lureau authored
Fixes: warning: unused variable ‘src_fmt’ [-Wunused-variable] Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by:
Gert Wollny <gert.wollny@collabora.com>
-
Marc-André Lureau authored
Fixes: warning: ISO C forbids empty initializer braces Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by:
Gert Wollny <gert.wollny@collabora.com>
-
Marc-André Lureau authored
Fixes: warning: ISO C forbids ‘return’ with expression, in function returning void Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by:
Gert Wollny <gert.wollny@collabora.com>
-
- 05 Dec, 2019 2 commits
-
-
Gurchetan Singh authored
With the prior patch and without this one, I get ../src/.libs/libvrend.a(vrend_renderer.o): In function `vrend_format_can_scanout': src/vrend_renderer.c:703: undefined reference to `gbm' src/vrend_renderer.c:703: undefined reference to `gbm src/vrend_renderer.c:706: undefined reference to `gbm' ../src/.libs/libvrend.a(vrend_renderer.o): In function `vrend_resource_gbm_init': /virglrenderer/src/vrend_renderer.c:6337: undefined reference to `gbm' /virglrenderer/src/vrend_renderer.c:6337: undefined reference to `gbm' Reviewed-by:
Gert Wollny <gert.wollny@collabora.com>
-
Gurchetan Singh authored
Without this, virglrenderer builds with gbm 17.3 for some reason. Reviewed-by:
Gert Wollny <gert.wollny@collabora.com>
-
- 04 Dec, 2019 4 commits
-
-
Gurchetan Singh authored
Use bits instead of booleans. No functional change. Reviewed-by:
Gert Wollny <gert.wollny@collabora.com>
-
Gurchetan Singh authored
This is internal to virglrenderer, so it should probably be here. Reviewed-by:
Gert Wollny <gert.wollny@collabora.com>
-
Gurchetan Singh authored
It's a bit misleading currently. For example, all resources have guest memory associated with them, and resource can be both a GL texture and GBM buffer at the same time. Use bits to more accurately capture this. No functional change. Reviewed-by:
Gert Wollny <gert.wollny@collabora.com>
-
Gurchetan Singh authored
For random stuff not in src/util.h util_bitmask is too heavyweight for what I was looking for. v2: Make macros return 0 or 1 (@davidriley) v3: static inline macros (@gerddie ) Reviewed-by:
Gert Wollny <gert.wollny@collabora.com>
-
- 28 Nov, 2019 2 commits
-
-
Gert Wollny authored
We don't know whether the caller cleans up the error states they are responsible for, so do this here. This is needed to correctly query some features, because otherwise checks that rely on correct error reporting might give the wrong result. v2: Log stale error codes (Gurchetan) Closes #148 Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org>
-
Gert Wollny authored
Using testing will need continued updates of the basic build scripts and sometimes packages might even not be available, so lets switch to buster and buster-backports. v2: Fix include directory declaration Closes: #147 Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org>
-
- 15 Nov, 2019 3 commits
-
-
When transfering from host use normal path. On sona performance jumps from 46 mpixels/s to ~105 mpixels/s. Signed-off-by:
David Riley <davidriley@chromium.org> Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org>
-
Fix cases where trying to transfer from host directly after submitting command buffer (eg when trying to run dEQP-GLES2.functional.read_pixels.* or crosvm gpu_renderer::simple_clear tests) would fail non-deterministically due to the mapping occuring prior to the rendering completing by forcing a fence. In particular Mali platforms are highly susceptible to synchronization issues and also require setting the context prior to fencing. Signed-off-by:
David Riley <davidriley@chromium.org> Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org>
-
Add helper to complete GPU operations to allow synchronization prior to CPU accesses like mapping buffers on platforms that require it (ie ARM Mali). Signed-off-by:
David Riley <davidriley@chromium.org> Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org>
-
- 14 Nov, 2019 5 commits
-
-
Gbm-resources can be used for data blobs. These are created with a height of 1 and the required width, which can easily exceed the maximum supported texture width. Signed-off-by:
David Stevens <stevensd@chromium.org> Reviewed-by:
Gert Wollny <gert.wollny@collabora.com>
-
Gert Wollny authored
Get rid of now useless type casts too. Fixes #121 v2: rebase to remove type casts that were newly introduced in master Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org>
-
Gert Wollny authored
Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org>
-
Gert Wollny authored
In order to keep the changes limited and not go out of sync with Gallium too much the old PIPE_FORMAT* are replaced with defines to their VIRGL_FORMAT* counterparts and pipe_format becomes a typedef of "enum virgl_formats". v2: Add 'src' to includes in meson.build Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org>
-
Gert Wollny authored
Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org>
-
- 08 Nov, 2019 1 commit
-
-
David Stevens authored
This change makes sure that gbm functions are properly guarded by ENABLE_GBM_ALLOCATION, to prevent build failures when the gbm headers aren't included. Signed-off-by:
David Stevens <stevensd@chromium.org> Reviewed-by:
Gert Wollny <gert.wollny@collabora.com>
-
- 22 Oct, 2019 5 commits
-
-
Mesa emulates planar format sampling with per-plane samplers. With this change, the guest can pass the plane index when creating a sampler view from a virgl resource to create a per-plane sampler view. The index can be passed in place of the texture layer, as that will always be 0 for planar images. Signed-off-by:
David Stevens <stevensd@chromium.org> Reviewed-by:
Lepton Wu <lepton@chromium.org>
-
Lepton Wu authored
`test -e` returns true so we need add quotes for shell variables. Signed-off-by:
Lepton Wu <lepton@chromium.org> Reviewed-by:
Gert Wollny <gert.wollny@collabora.com>
-
Lepton Wu authored
Since they are not immutable texture storage, that doesn't work. Reviewed-by:
Gert Wollny <gert.wollny@collabora.com> Signed-off-by:
Lepton Wu <lepton@chromium.org>
-
Lepton Wu authored
Meson warned "Consider using the builtin warning_level option instead of adding warning flags by hand." This fixes it. Reviewed-By:
Gert Wollny <gert.wollny@collabora.com> Signed-off-by:
Lepton Wu <lepton@chromium.org>
-
Lepton Wu authored
This fixed "error: No valid LLVM Toolchains found!" when building docker image. Reviewed-By:
Gert Wollny <gert.wollny@collabora.com> Signed-off-by:
Lepton Wu <lepton@chromium.org>
-
- 11 Oct, 2019 1 commit
-
-
Fix plane handle deduplication logic so that each handle is only exported as an fd once. Signed-off-by:
David Stevens <stevensd@chromium.org> Reviewed-by:
Chia-I Wu <olvaffe@gmail.com>
-
- 10 Oct, 2019 3 commits
-
-
Lepton Wu authored
So it can show the right texture id. Reviewed-by:
Gert Wollny <gert.wollny@collabora.com> Signed-off-by:
Lepton Wu <lepton@chromium.org>
-
Gert Wollny authored
Closes #140 Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Reviewed-by:
Emil Velikov <emil.velikov@collabora.com>
-
Gert Wollny authored
Related #140 Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Acked-by:
Emil Velikov <emil.velikov@collabora.com>
-