Benjamin Otte
299c6a3d6f
vulkan: Take offscreen fromat from context
...
We want to create offscreens in compatible formats, and in particular we
want to ideally use the same format as rendering would use.
2023-06-20 20:15:12 +02:00
Matthias Clasen
a1c5a806b3
Convert headers to #pragma once
...
The conversion was done by guard2one.
2023-03-31 15:11:10 -04:00
Matthias Clasen
c24a69549d
Rename gdkdebug.h to gdkdebugprivate.h
...
This is the naming convention for private headers.
2022-09-23 23:12:01 -04:00
Matthias Clasen
1d48f96fc5
gdk: Use the new debug macros
2022-09-23 18:11:48 -04:00
Benjamin Otte
d726ecdb5d
gdk: Split enums from types
...
Add gdkenums.h for enums and keep gdktypes.h for types.
Makes both files easier to read.
2021-10-26 20:59:37 +02:00
Benjamin Otte
a29474567a
gdk: Remove gdkinternals.h
2021-09-24 22:50:29 +02:00
Timm Bäder
fb81686a89
vulkan: Fix release builds
2018-01-21 15:23:17 +01:00
Matthias Clasen
3358c1fb32
vulkan: use GDK_DISPLAY_NOTE
...
Where we have a display, we should use the per-display logging.
2018-01-15 08:01:01 -05:00
Timm Bäder
e048889a12
vulkan: Fix build
...
This was changed in e151058dff
but
GDK_NOTE only takes 2 arguments.
2018-01-15 11:02:37 +01:00
Matthias Clasen
e151058dff
Make gdk logging per-display
...
As far as possible, use per-display debug flags.
This will minimize the debug spew that we get from
the inspector if it is running on a separate display.
2018-01-14 17:05:04 -05:00
Matthias Clasen
171fef4b87
Fix a typo
2017-09-25 17:53:54 -04:00
Georges Basile Stavracas Neto
d62e18ac87
vulkancontext: Fix header
2017-01-04 13:23:35 +01:00
Benjamin Otte
2c0564a46e
build: Make sure GTK compiles without Vulkan headers installed
...
Previously, code would work fine with --disable-vulkan if the Vulkan
headers were installed - code would happily just use them as they're
installed in /usr/include.
2016-12-09 20:23:06 +01:00
Matthias Clasen
3dd4f76703
Rename GDK_WINDOWING_VULKAN
...
The WINDOWING defines are only for GDK backends, really.
Define GDK_RENDERING_VULKAN instead.
2016-12-09 14:11:37 -05:00
Matthias Clasen
5b6a837b17
Only include vulkan.h if we have it
2016-12-09 14:05:26 -05:00
Benjamin Otte
e22cb94e50
vulkan: More work on GdkVulkanContext
...
Code has now arrived at creation of swapchains.
2016-12-09 18:35:51 +01:00
Benjamin Otte
4ef8bf821e
vulkan: Turn GdkVulkanContext into a GdkDrawContext
2016-12-09 18:35:51 +01:00
Benjamin Otte
6d1d6e6792
vulkan: Add more infrastructure
...
gdk_window_create_vulkan_context() now exists and will return a Vulkan
context for the given window. It even initializes the surface. But it
doesn't do anything useful yet.
2016-12-09 18:35:51 +01:00
Benjamin Otte
cca547e5bc
vulkan: Initial support
...
Adds the gdk_display_ref_vulkan() and gdk_display_unref_vulkan()
functions which setup/tear down VUlkan support for the display.
Nothing is using those functions yet.
2016-12-09 18:35:51 +01:00