GPU: Remove the Word OpenGL from Build Scripts #116030

Merged
Jeroen Bakker merged 3 commits from Jeroen-Bakker/blender:gpu/remove-opengl-from-build-options into main 2023-12-12 16:02:39 +01:00
Member

The build scripts are still referring to gpu tests as being opengl.
Although they can also use Metal or Vulkan. This PR only replaces
the work opengl with gpu for build options.

Special note is that the windows argument with_opengl_tests is
also replaced with with_gpu_tests for consistency.

The build scripts are still referring to gpu tests as being opengl. Although they can also use Metal or Vulkan. This PR only replaces the work `opengl` with `gpu` for build options. Special note is that the windows argument `with_opengl_tests` is also replaced with `with_gpu_tests` for consistency.
Jeroen Bakker added this to the 4.1 milestone 2023-12-11 12:48:46 +01:00
Jeroen Bakker added the
Module
Viewport & EEVEE
label 2023-12-11 12:48:46 +01:00
Jeroen Bakker self-assigned this 2023-12-11 12:48:47 +01:00
Jeroen Bakker added 1 commit 2023-12-11 12:48:56 +01:00
The build scripts are still referring to gpu tests as being opengl.
Although they can also use Metal or Vulkan. This PR only replaces
the work `opengl` with `gpu` for build options.

Special note is that the windows argument `with_opengl_tests` is
also replaced with `with_gpu_tests` for consistency.
Jeroen Bakker requested review from Clément Foucault 2023-12-11 12:49:06 +01:00
Jeroen Bakker requested review from Miguel Pozo 2023-12-11 12:49:25 +01:00
Jeroen Bakker requested review from Omar Emara 2023-12-11 12:50:12 +01:00
Jeroen Bakker added this to the Viewport & EEVEE project 2023-12-11 12:50:20 +01:00
Clément Foucault requested changes 2023-12-11 14:16:53 +01:00
CMakeLists.txt Outdated
@ -762,3 +762,2 @@
option(WITH_GTESTS "Enable GTest unit testing" OFF)
option(WITH_OPENGL_RENDER_TESTS "Enable OpenGL render related unit testing (Experimental)" OFF)
option(WITH_OPENGL_DRAW_TESTS "Enable OpenGL UI drawing related unit testing (Experimental)" OFF)
option(WITH_GPU_RENDER_TESTS "Enable GPU render related unit testing" OFF)

Mention this is for EEVEE tests.

Mention this is for EEVEE tests.
Author
Member

Yes, but it also test gpencil and workbench....

Yes, but it also test gpencil and workbench....
CMakeLists.txt Outdated
@ -763,2 +763,2 @@
option(WITH_OPENGL_RENDER_TESTS "Enable OpenGL render related unit testing (Experimental)" OFF)
option(WITH_OPENGL_DRAW_TESTS "Enable OpenGL UI drawing related unit testing (Experimental)" OFF)
option(WITH_GPU_RENDER_TESTS "Enable GPU render related unit testing" OFF)
option(WITH_GPU_DRAW_TESTS "Enable GPU drawing related unit testing" OFF)

Mention it is related to draw manager

Mention it is related to draw manager
Author
Member

Yes but it also tests GPU Backend specifics

As I see it WITH_GPU_RENDER_TESTS uses render(draw) engines to renders and compares images.
WITH_GPU_DRAW_TESTS does internal unit testing in both draw manager and GPU backends.

So the description was Ok-ish. I will use working like (including to make sure it covers what it actually does.

Yes but it also tests GPU Backend specifics As I see it `WITH_GPU_RENDER_TESTS` uses render(draw) engines to renders and compares images. `WITH_GPU_DRAW_TESTS` does internal unit testing in both draw manager and GPU backends. So the description was Ok-ish. I will use working like (including to make sure it covers what it actually does.
@ -38,3 +38,3 @@
echo.
echo Experimental options
echo - with_opengl_tests ^(enable both the render and draw opengl test suites^)
echo - with_gpu_tests ^(enable both the render and draw gpu test suites^)

Mention this is for eevee and drawmanager

Mention this is for eevee and drawmanager
Miguel Pozo approved these changes 2023-12-11 17:42:56 +01:00
Miguel Pozo left a comment
Member

It's working fine here. 👍

It's working fine here. 👍
Jeroen Bakker added 2 commits 2023-12-12 14:08:06 +01:00
Clément Foucault approved these changes 2023-12-12 14:57:37 +01:00
Jeroen Bakker merged commit c11004579e into main 2023-12-12 16:02:39 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#116030
No description provided.