1
0
Fork 0
mutter-performance-source/cogl/cogl
Neil Roberts ad071c64f9 cogl: Rebind the EGL image when handling damage
When Cogl gained support for importing pixmaps, I think there was a
misunderstanding that there is a difference in how it works in GLX and
EGL where GLX needs to rebind the pixmap in order to guarantee that
changes are reflected in the texture after it detects damage, whereas
with EGL it doesn’t. The GLX spec makes it pretty clear that it does
need to rebind whereas the EGL spec is a bit harder to follow. As a
fallout from Mesa MR 12869, it seems like the compositor really does
need to rebind the image to comply with the spec. Notably, in
OES_EGL_image_external there is:

"Binding (or re-binding if already bound) an external texture by calling
 BindTexture after all modifications are complete guarantees that
 sampling done in future draw calls will return values corresponding to
 the values in the buffer at or after the time that BindTexture is
 called."

So this commit changes the x11_damage_notify handler for EGL to lazily
queue a rebind like GLX does. The code that binds the image while
allocating the texture has been moved into a reusable helper function.

It seems like there is a bit of a layering violation when accessing the
GL driver internals from the EGL winsys code, but I noticed that the GLX
code also includes the driver GL headers and otherwise it seems pretty
tricky to do properly.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2062>
2021-12-13 16:09:56 +00:00
..
deprecated cogl: Remove cogl_texture_new_with_size 2021-12-07 15:32:21 +00:00
driver cogl: Rebind the EGL image when handling damage 2021-12-13 16:09:56 +00:00
gl-prototypes cogl: Fix GL_EXT_discard_framebuffer extension check 2021-08-24 18:33:09 +02:00
winsys cogl: Rebind the EGL image when handling damage 2021-12-13 16:09:56 +00:00
cogl-atlas-texture-private.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-atlas-texture.c *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-atlas-texture.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-atlas.c cogl: Remove unneeded driver/ includes from the core 2019-10-21 16:32:46 -04:00
cogl-atlas.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-attribute-buffer-private.h
cogl-attribute-buffer.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-attribute-buffer.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-attribute-private.h cogl: Remove the framebuffer and source stacks 2019-12-03 19:02:14 +00:00
cogl-attribute.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-attribute.h *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-bitmap-conversion.c cogl: Add XRGB_FP_16161616 and XBGR_FP_16161616 formats 2021-09-20 14:39:20 +00:00
cogl-bitmap-packing.h cogl: Add XRGB_FP_16161616 and XBGR_FP_16161616 formats 2021-09-20 14:39:20 +00:00
cogl-bitmap-pixbuf.c *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-bitmap-private.h cogl: Move _cogl_bitmap_gl_{,un}bind into the GL driver 2019-10-21 16:32:46 -04:00
cogl-bitmap.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-bitmap.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-bitmask.c *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-bitmask.h cogl: Remove CoglBool, use gboolean instead 2019-02-15 16:35:46 +01:00
cogl-blend-string.c Use G_GNUC_FALLTHROUGH instead of comments 2020-01-09 17:58:29 +01:00
cogl-blend-string.h cogl: Remove CoglError wrapper 2019-06-20 18:25:04 +02:00
cogl-blit.c cogl: Turn CoglFramebuffer, CoglOffscreen and CoglOnscreen into GObjects 2020-10-16 16:17:38 +00:00
cogl-blit.h cogl: Remove CoglBool, use gboolean instead 2019-02-15 16:35:46 +01:00
cogl-boxed-value.c Change all g_memdup() to g_memdup2() 2021-02-04 19:16:28 +01:00
cogl-boxed-value.h Use a consistent style for enum braces 2019-02-28 09:31:01 +01:00
cogl-buffer-private.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-buffer.c *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-buffer.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-clip-stack.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-clip-stack.h Remove CoglMatrix 2020-10-06 15:34:48 +00:00
cogl-closure-list-private.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-closure-list.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-color-private.h
cogl-color.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-color.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-context-private.h cogl: Remove deprecated backface_culing API 2021-12-07 15:32:21 +00:00
cogl-context.c cogl: Remove deprecated backface_culing API 2021-12-07 15:32:21 +00:00
cogl-context.h cogl: Add GPU timestamp querying utilities 2021-07-13 08:09:42 +00:00
cogl-debug-options.h cogl: Add new option COGL_DEBUG=stencilling to disable optimizations 2021-06-01 15:42:52 +08:00
cogl-debug.c cogl: Add new option COGL_DEBUG=stencilling to disable optimizations 2021-06-01 15:42:52 +08:00
cogl-debug.h cogl: Add new option COGL_DEBUG=stencilling to disable optimizations 2021-06-01 15:42:52 +08:00
cogl-defines.h.in cogl: Remove notion of a "cogl" version 2018-11-06 17:17:36 +01:00
cogl-defines.h.meson cogl: Drop COGL_HAS_WAYLAND_EGL_SERVER_SUPPORT 2021-12-07 18:36:27 -03:00
cogl-depth-state-private.h
cogl-depth-state.c cogl: Drop _COGL_RETURN_VAL_IF_FAIL macro 2019-06-19 21:46:22 +02:00
cogl-depth-state.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-display-private.h cogl: Remove ability to bind Wayland EGL display 2021-05-18 14:03:22 +00:00
cogl-display.c cogl: Remove ability to bind Wayland EGL display 2021-05-18 14:03:22 +00:00
cogl-display.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-dma-buf-handle.c cogl: Turn CoglFramebuffer, CoglOffscreen and CoglOnscreen into GObjects 2020-10-16 16:17:38 +00:00
cogl-dma-buf-handle.h cogl/dma-buf: Add mmap/munmap helpers 2020-05-26 13:54:28 +00:00
cogl-driver.h cogl: Add GPU timestamp querying utilities 2021-07-13 08:09:42 +00:00
cogl-egl-defines.h.in
cogl-egl-private.h Make it possible to include private cogl API from mutter 2016-07-20 14:23:48 +08:00
cogl-egl.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-feature-private.c cogl: Remove unused CoglFeatureFlags 2019-10-21 21:43:08 +00:00
cogl-feature-private.h cogl: Remove unused CoglFeatureFlags 2019-10-21 21:43:08 +00:00
cogl-fence-private.h cogl: Require relative full paths when including 2018-11-06 17:17:36 +01:00
cogl-fence.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-fence.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-flags.h cogl: use G_BEGIN_DECLS instead of COGL_BEGIN_DECLS 2018-11-23 08:55:43 +01:00
cogl-frame-info-private.h cogl: Add CPU swap time and GPU rendering query to CoglFrameInfo 2021-07-13 08:09:42 +00:00
cogl-frame-info.c cogl: Store CPU and GPU rendering timestamps in frame info 2021-07-13 08:09:42 +00:00
cogl-frame-info.h cogl: Add CPU swap time and GPU rendering query to CoglFrameInfo 2021-07-13 08:09:42 +00:00
cogl-framebuffer-driver.c cogl/framebuffer: Move read_pixels_into_bitmap() to driver class 2021-01-30 09:11:46 +00:00
cogl-framebuffer-driver.h cogl/framebuffer: Move read_pixels_into_bitmap() to driver class 2021-01-30 09:11:46 +00:00
cogl-framebuffer-private.h cogl/journal: Don't sometimes hold a ref on the framebuffer 2021-02-18 16:59:00 +00:00
cogl-framebuffer.c cogl: Remove usages of framebuffer_draw_primitive 2021-12-07 15:32:21 +00:00
cogl-framebuffer.h cogl: Remove usages of framebuffer_draw_primitive 2021-12-07 15:32:21 +00:00
cogl-gl-header.h.in Make it possible to include private cogl API from mutter 2016-07-20 14:23:48 +08:00
cogl-glib-source.c cogl: Remove CoglBool, use gboolean instead 2019-02-15 16:35:46 +01:00
cogl-glib-source.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-glsl-shader-boilerplate.h
cogl-graphene.c cogl/graphene: Fix license header 2021-01-28 20:33:01 +00:00
cogl-graphene.h cogl/graphene: Fix license header 2021-01-28 20:33:01 +00:00
cogl-gtype-private.h cogl: Drop "volatile" from static GTypes in manual registration 2021-03-22 10:47:51 +00:00
cogl-gtype.c
cogl-i18n-private.h
cogl-index-buffer-private.h
cogl-index-buffer.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-index-buffer.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-indices-private.h
cogl-indices.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-indices.h *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-journal-private.h cogl/journal: Track dither 2019-10-16 16:25:08 +02:00
cogl-journal.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-list.c cogl: Unconditionally include cogl-config.h 2018-11-06 17:17:36 +01:00
cogl-list.h
cogl-macros.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-magazine-private.h
cogl-magazine.c cogl: Unconditionally include cogl-config.h 2018-11-06 17:17:36 +01:00
cogl-matrix-stack-private.h cogl/matrix-stack: Embed graphene matrices in entry structs 2020-10-06 15:34:48 +00:00
cogl-matrix-stack.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-matrix-stack.h Remove CoglMatrix 2020-10-06 15:34:48 +00:00
cogl-memory-stack-private.h
cogl-memory-stack.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-meta-texture.c Remove CoglMatrix 2020-10-06 15:34:48 +00:00
cogl-meta-texture.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-mutter.h cogl: Add CoglX11Onscreen interface 2021-01-30 09:11:46 +00:00
cogl-node-private.h *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-node.c cogl: Drop _COGL_RETURN_IF_FAIL macro 2019-06-19 21:36:19 +02:00
cogl-object-private.h *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-object.c *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-object.h *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-offscreen-private.h cogl/offscreen: Move struct to C file 2021-01-30 09:11:46 +00:00
cogl-offscreen.c cogl/gl-framebuffer: Split up into FBO and back drivers 2021-01-30 09:11:46 +00:00
cogl-offscreen.h cogl: Turn CoglFramebuffer, CoglOffscreen and CoglOnscreen into GObjects 2020-10-16 16:17:38 +00:00
cogl-onscreen-private.h cogl/onscreen: Remove explicit 'resizable':ness 2021-01-30 09:11:46 +00:00
cogl-onscreen-template-private.h
cogl-onscreen-template.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-onscreen-template.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-onscreen.c cogl: Add support for partial update 2021-10-26 16:56:39 +00:00
cogl-onscreen.h cogl: Add support for partial update 2021-10-26 16:56:39 +00:00
cogl-output-private.h cogl: Remove CoglBool, use gboolean instead 2019-02-15 16:35:46 +01:00
cogl-output.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-output.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-pipeline-cache.c cogl: Use autopointers to free structs on return 2020-04-12 21:40:20 +00:00
cogl-pipeline-cache.h
cogl-pipeline-debug.c cogl: Plug possible GString leaks 2021-10-25 15:45:35 +02:00
cogl-pipeline-hash-table.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-pipeline-hash-table.h
cogl-pipeline-layer-private.h Remove CoglMatrix 2020-10-06 15:34:48 +00:00
cogl-pipeline-layer-state-private.h cogl: Remove never-changing COGL_PIPELINE_LAYER_STATE_TEXTURE_TYPE state 2019-04-18 12:53:17 -04:00
cogl-pipeline-layer-state.c Remove CoglMatrix 2020-10-06 15:34:48 +00:00
cogl-pipeline-layer-state.h Remove CoglMatrix 2020-10-06 15:34:48 +00:00
cogl-pipeline-layer.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-pipeline-private.h cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-pipeline-snippet-private.h cogl: Remove CoglBool, use gboolean instead 2019-02-15 16:35:46 +01:00
cogl-pipeline-snippet.c cogl: Remove CoglBool, use gboolean instead 2019-02-15 16:35:46 +01:00
cogl-pipeline-state-private.h cogl: Remove unused explicit blend-enable controls 2019-12-18 15:58:52 +00:00
cogl-pipeline-state.c cogl: Remove unused explicit blend-enable controls 2019-12-18 15:58:52 +00:00
cogl-pipeline-state.h cogl: Use graphene APIs 2020-10-06 15:34:48 +00:00
cogl-pipeline.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-pipeline.h *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-pixel-buffer-private.h cogl: use G_BEGIN_DECLS instead of COGL_BEGIN_DECLS 2018-11-23 08:55:43 +01:00
cogl-pixel-buffer.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-pixel-buffer.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-pixel-format.c cogl: Add XRGB_FP_16161616 and XBGR_FP_16161616 formats 2021-09-20 14:39:20 +00:00
cogl-pixel-format.h cogl: Add XRGB_FP_16161616 and XBGR_FP_16161616 formats 2021-09-20 14:39:20 +00:00
cogl-point-in-poly-private.h cogl: use G_BEGIN_DECLS instead of COGL_BEGIN_DECLS 2018-11-23 08:55:43 +01:00
cogl-point-in-poly.c cogl: Unconditionally include cogl-config.h 2018-11-06 17:17:36 +01:00
cogl-poll-private.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-poll.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-poll.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-primitive-private.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-primitive-texture.c cogl: Drop _COGL_RETURN_IF_FAIL macro 2019-06-19 21:36:19 +02:00
cogl-primitive-texture.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-primitive.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-primitive.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-primitives-private.h cogl: Add function cogl_2d_primitives_immediate 2019-12-18 11:46:54 +08:00
cogl-primitives.c cogl/framebuffer: Move public struct fields to private struct 2020-10-16 16:17:38 +00:00
cogl-private.h Replace the CoglMatrix type by graphene_matrix_t 2020-10-06 15:34:47 +00:00
cogl-profile.c cogl: Remove CoglBool, use gboolean instead 2019-02-15 16:35:46 +01:00
cogl-profile.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-rectangle-map.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-rectangle-map.h cogl: Remove CoglBool, use gboolean instead 2019-02-15 16:35:46 +01:00
cogl-renderer-private.h cogl: Remove unneeded X11 includes from various headers 2019-12-18 16:06:35 +00:00
cogl-renderer.c cogl: Plug GString leak 2021-10-25 15:45:35 +02:00
cogl-renderer.h cogl/renderer: Add API to bind the right EGL API 2021-07-07 21:03:26 +02:00
cogl-sampler-cache-private.h cogl: Remove unused p-axis texture wrap mode 2020-01-31 17:26:25 +00:00
cogl-sampler-cache.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-scanout.c cogl: Fix license header in cogl-scanout and cogl-trace 2021-01-28 20:33:01 +00:00
cogl-scanout.h cogl: Fix license header in cogl-scanout and cogl-trace 2021-01-28 20:33:01 +00:00
cogl-snippet-private.h cogl: Remove CoglBool, use gboolean instead 2019-02-15 16:35:46 +01:00
cogl-snippet.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-snippet.h *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-spans.c cogl: Drop _COGL_RETURN_IF_FAIL macro 2019-06-19 21:36:19 +02:00
cogl-spans.h cogl: Remove CoglBool, use gboolean instead 2019-02-15 16:35:46 +01:00
cogl-sub-texture-private.h
cogl-sub-texture.c cogl: Remove unused p-axis texture wrap mode 2020-01-31 17:26:25 +00:00
cogl-sub-texture.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-swap-chain-private.h clutter: Remove support for transparent windows 2020-08-13 14:45:10 +02:00
cogl-swap-chain.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-swap-chain.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-texture-2d-private.h cogl: Remove cogl_texture_2d_gl_new_from_foreign 2019-11-07 12:47:23 +00:00
cogl-texture-2d-sliced-private.h cogl: Remove cogl_texture_2d_gl_new_from_foreign 2019-11-07 12:47:23 +00:00
cogl-texture-2d-sliced.c cogl/texture-2d-sliced: Don't double-free slice array when alloc failed 2020-12-18 16:19:05 +00:00
cogl-texture-2d-sliced.h *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-texture-2d.c cogl: Drop cogl-wayland-server.h 2021-12-07 18:34:00 -03:00
cogl-texture-2d.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-texture-driver.h cogl: Add API to check whether a format is supported by the driver 2020-08-07 09:02:49 +00:00
cogl-texture-private.h cogl: Add new function cogl_pipeline_set_layer_max_mipmap_level() 2020-05-13 09:37:31 +00:00
cogl-texture.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-texture.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-trace.c cogl/trace: Add way to add a description to trace 2021-07-29 15:16:48 +02:00
cogl-trace.h cogl/trace: Add getter for trace enabled state 2021-07-29 15:16:48 +02:00
cogl-types.h cogl/winsys: Remove 'multiple-onscreen' feature 2021-10-18 14:36:15 +00:00
cogl-util.c cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-util.h cogl: Drop _COGL_RETURN_VAL_IF_FAIL macro 2019-06-19 21:46:22 +02:00
cogl-version.h cogl: Remove notion of a "cogl" version 2018-11-06 17:17:36 +01:00
cogl-x11-onscreen.c cogl: Add CoglX11Onscreen interface 2021-01-30 09:11:46 +00:00
cogl-x11-onscreen.h cogl: Add CoglX11Onscreen interface 2021-01-30 09:11:46 +00:00
cogl-x11-renderer-private.h
cogl-xlib-private.h cogl: Move _cogl_xlib_get_damage_base near its only consumer 2019-10-24 16:52:46 -04:00
cogl-xlib-renderer-private.h cogl: Remove unused _cogl_xlib_renderer_get_dispatch_timeout 2019-10-24 16:52:53 -04:00
cogl-xlib-renderer.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-xlib-renderer.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-xlib.h cogl: Remove unused cogl_xlib_renderer_get_visual_info 2019-10-24 16:52:47 -04:00
cogl.c cogl: Remove deprecated backface_culing API 2021-12-07 15:32:21 +00:00
cogl.h cogl: Remove cogl_material_new 2021-12-07 15:32:21 +00:00
cogl1-context.h cogl: Remove deprecated backface_culing API 2021-12-07 15:32:21 +00:00
meson.build cogl: Drop COGL_HAS_WAYLAND_EGL_SERVER_SUPPORT 2021-12-07 18:36:27 -03:00
mutter-cogl.pc.in build: Fix include and lib paths in autotools .pc files 2018-11-07 14:29:30 +01:00