[Bf-blender-cvs] [0fae43efb25] temp-ghost-vulkan: Apply formatting.

Jeroen Bakker noreply at git.blender.org
Tue Nov 8 14:32:35 CET 2022


Commit: 0fae43efb25da6ea7a56b40da449029d53d12997
Author: Jeroen Bakker
Date:   Tue Nov 8 14:32:27 2022 +0100
Branches: temp-ghost-vulkan
https://developer.blender.org/rB0fae43efb25da6ea7a56b40da449029d53d12997

Apply formatting.

===================================================================

M	intern/ghost/GHOST_IWindow.h
M	intern/ghost/intern/GHOST_SystemWayland.cpp
M	intern/ghost/intern/GHOST_WindowWayland.cpp

===================================================================

diff --git a/intern/ghost/GHOST_IWindow.h b/intern/ghost/GHOST_IWindow.h
index 9a8a97ed43f..33b9d160f0f 100644
--- a/intern/ghost/GHOST_IWindow.h
+++ b/intern/ghost/GHOST_IWindow.h
@@ -215,12 +215,12 @@ class GHOST_IWindow {
    * Needs to be called after each swap events as the framebuffer will change.
    * \return  A boolean success indicator.
    */
-  virtual GHOST_TSuccess getVulkanBackbuffer(void * image,
-                                             void * framebuffer,
-                                             void * command_buffer,
-                                             void * render_pass,
-                                             void * extent,
-                                             uint32_t * fb_id) = 0;
+  virtual GHOST_TSuccess getVulkanBackbuffer(void *image,
+                                             void *framebuffer,
+                                             void *command_buffer,
+                                             void *render_pass,
+                                             void *extent,
+                                             uint32_t *fb_id) = 0;
 
   /**
    * Invalidates the contents of this window.
diff --git a/intern/ghost/intern/GHOST_SystemWayland.cpp b/intern/ghost/intern/GHOST_SystemWayland.cpp
index 3255d667e41..5e9a1703152 100644
--- a/intern/ghost/intern/GHOST_SystemWayland.cpp
+++ b/intern/ghost/intern/GHOST_SystemWayland.cpp
@@ -5594,9 +5594,13 @@ GHOST_IContext *GHOST_SystemWayland::createOffscreenContext(GHOST_GLSettings glS
   if (glSettings.context_type == GHOST_kDrawingContextTypeVulkan) {
     GHOST_Context *context = new GHOST_ContextVK(false,
                                                  GHOST_kVulkanPlatformWayland,
-                                                 0, NULL,
-                                                 wl_surface, display_->wl_display,
-                                                 1, 0, debug_context);
+                                                 0,
+                                                 NULL,
+                                                 wl_surface,
+                                                 display_->wl_display,
+                                                 1,
+                                                 0,
+                                                 debug_context);
 
     if (!context->initializeDrawingContext()) {
       delete context;
diff --git a/intern/ghost/intern/GHOST_WindowWayland.cpp b/intern/ghost/intern/GHOST_WindowWayland.cpp
index f3cea98a065..b0484d3ceb8 100644
--- a/intern/ghost/intern/GHOST_WindowWayland.cpp
+++ b/intern/ghost/intern/GHOST_WindowWayland.cpp
@@ -922,10 +922,13 @@ GHOST_Context *GHOST_WindowWayland::newDrawingContext(GHOST_TDrawingContextType
     case GHOST_kDrawingContextTypeVulkan:
       context = new GHOST_ContextVK(m_wantStereoVisual,
                                     GHOST_kVulkanPlatformWayland,
-                                    0, NULL,
+                                    0,
+                                    NULL,
                                     window_->wl_surface,
                                     system_->wl_display(),
-                                    1, 0, true);
+                                    1,
+                                    0,
+                                    true);
       break;
 #endif



More information about the Bf-blender-cvs mailing list