summaryrefslogtreecommitdiffstats
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2019-11-06 16:14:50 +0100
committerLuboš Luňák <l.lunak@collabora.com>2019-11-27 09:55:16 +0100
commit54be644c092eebb8be57a251556fe3f0e5f99e57 (patch)
tree812d0e907d51ed41ba3441a4e9e427311eb29ed7 /RepositoryExternal.mk
parentmake visualbackendtest draw at more than 60FPS (diff)
downloadcore-54be644c092eebb8be57a251556fe3f0e5f99e57.tar.gz
core-54be644c092eebb8be57a251556fe3f0e5f99e57.zip
make SkiaSalGraphicsImpl use GPU-backed SkSurface also for offscreen
Skia's sk_app::WindowContext can create GPU-backed SkSurface only for windows, but we also use virtual devices that are not windows. Fortunately, SkSurface can be created GPU-backed from GrContext* and sk_gpu_test::GrContextFactory seems to provide it easily. It is not completely clear to me what the rules are on mixing SkSurface's with different GrContext* (see the comment in SkiaSalGraphicsImpl::copyBits()), but it seems to work fine. Change-Id: I8110b67c41ab092e0c4b6a0973d6bed8a408c4c1
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 91be30307dd7..6cf31f5c17ab 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -119,6 +119,7 @@ $(call gb_LinkTarget_set_include,$(1),\
-I$(call gb_UnpackedTarball_get_dir,skia)/include/gpu \
-I$(call gb_UnpackedTarball_get_dir,skia)/include/config \
-I$(call gb_UnpackedTarball_get_dir,skia)/include/third_party/vulkan \
+ -I$(call gb_UnpackedTarball_get_dir,skia)/tools/gpu \
-I$(call gb_UnpackedTarball_get_dir,skia) \
$$(INCLUDE) \
)