EEVEE-Next: Tests support #112161

Merged
Miguel Pozo merged 14 commits from pragma37/blender:pull-eevee-next-tests into main 2023-10-05 16:02:57 +02:00
Member

Enable tests for EEVEE Next.

As a workaround for allowing the use of EEVEE Next (still an experimental feature) with --factory-startup,
arg_handle_engine_set enables the feature when -E BLENDER_EEVEE_NEXT is used.
In addition, EEVEE Next is always registered, so it's available when calling WM_init.
If it's actually disabled it, will be immediately unregistered after that.

Notes:

  • get_gpu_device_type always fails with error:

    GPU API is not available in background mode

  • Setup and tests are the same as EEVEE. There are many tests that only make sense for Cycles,
    and many EEVEE Next features that are not actually tested.
Enable tests for EEVEE Next. As a workaround for allowing the use of EEVEE Next (still an experimental feature) with `--factory-startup`, `arg_handle_engine_set` enables the feature when `-E BLENDER_EEVEE_NEXT` is used. In addition, EEVEE Next is always registered, so it's available when calling `WM_init`. If it's actually disabled it, will be immediately unregistered after that. Notes: - `get_gpu_device_type` always fails with error: > GPU API is not available in background mode - Setup and tests are the same as EEVEE. There are many tests that only make sense for Cycles, and many EEVEE Next features that are not actually tested.
Miguel Pozo added the
Module
EEVEE & Viewport
label 2023-09-08 20:47:46 +02:00
Miguel Pozo added 1 commit 2023-09-08 20:47:59 +02:00
Miguel Pozo added 3 commits 2023-09-13 21:34:19 +02:00
Miguel Pozo added 1 commit 2023-09-14 18:01:33 +02:00
Miguel Pozo added 2 commits 2023-09-28 19:52:10 +02:00
Miguel Pozo added 2 commits 2023-10-02 16:18:08 +02:00
Miguel Pozo added 1 commit 2023-10-02 16:19:14 +02:00
Miguel Pozo added this to the EEVEE & Viewport project 2023-10-02 16:34:54 +02:00
Miguel Pozo requested review from Clément Foucault 2023-10-02 16:35:03 +02:00
Miguel Pozo changed title from WIP: EEVEE-Next: Tests support to EEVEE-Next: Tests support 2023-10-02 16:35:52 +02:00
Clément Foucault requested changes 2023-10-04 14:21:33 +02:00
@ -3042,14 +3042,32 @@ void DRW_engine_register(DrawEngineType *draw_engine_type)
void DRW_engines_register_experimental()

I think we should run this check for every redraw. This way enabling the option will not require a restart.

I think we should run this check for every redraw. This way enabling the option will not require a restart.
@ -1615,2 +1615,4 @@
}
else {
if (strcmp(argv[1], RE_engine_id_BLENDER_EEVEE_NEXT) == 0) {
U.experimental.enable_eevee_next = true;

Add comment saying that's to prevent unregistration inside DRW_engines_register_experimental.

Add comment saying that's to prevent unregistration inside `DRW_engines_register_experimental`.
pragma37 marked this conversation as resolved
Miguel Pozo added 4 commits 2023-10-04 21:24:26 +02:00
Clément Foucault approved these changes 2023-10-04 23:26:34 +02:00
Author
Member

@blender-bot build

@blender-bot build
Miguel Pozo merged commit b4de568cc4 into main 2023-10-05 16:02:57 +02:00
Miguel Pozo deleted branch pull-eevee-next-tests 2023-10-05 16:02:59 +02:00
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
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
EEVEE & Viewport
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
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
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
EEVEE & Viewport
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
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
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
2 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#112161
No description provided.