Page MenuHomeWildfire Games

Moves all GL draw commands to CDeviceCommandContext
ClosedPublic

Authored by vladislavbelov on Mar 2 2022, 5:48 PM.
Tags
None
Referenced Files
F5237017: D4518.diff
Sat, Sep 28, 11:45 PM
Unknown Object (File)
Fri, Sep 13, 1:57 PM
Unknown Object (File)
Sat, Sep 7, 12:52 AM
Unknown Object (File)
Sat, Sep 7, 12:52 AM
Unknown Object (File)
Sat, Sep 7, 12:49 AM
Unknown Object (File)
Thu, Sep 5, 3:18 AM
Subscribers
None

Details

Reviewers
None
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Commits
rP26525: Moves all GL draw commands to CDeviceCommandContext.
Summary

One of the last steps to remove GL from the middle and high level rendering code.

Test Plan
  1. Apply the patch and compile the game
  2. Check that the game works without assertions on GL and GL ARB, particularly: skinned models, overlays (healthbars), terrain overlays (selection ring, range) and decals
  3. Check Atlas

Diff Detail

Repository
rP 0 A.D. Public Repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Successful build - Chance fights ever on the side of the prudent.

Link to build: https://jenkins.wildfiregames.com/job/vs2015-differential/6833/display/redirect

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/macos-differential/5741/display/redirect

Successful build - Chance fights ever on the side of the prudent.

builderr-release-gcc7.txt
In file included from ../../../source/pch/atlas/precompiled.h:26:
../../../source/tools/atlas/GameInterface/Messages.h: In function 'void AtlasMessage::fGetTerrainGroupPreviews(AtlasMessage::qGetTerrainGroupPreviews*)':
../../../source/tools/atlas/GameInterface/Messages.h:305:8: warning: '#'target_mem_ref' not supported by dump_expr#<expression error>' may be used uninitialized in this function [-Wmaybe-uninitialized]
 struct sTerrainTexturePreview
        ^~~~~~~~~~~~~~~~~~~~~~
../../../source/tools/atlas/GameInterface/Messages.h:305:8: warning: '#'target_mem_ref' not supported by dump_expr#<expression error>' may be used uninitialized in this function [-Wmaybe-uninitialized]
../../../source/tools/atlas/GameInterface/Messages.h:305:8: warning: '#'target_mem_ref' not supported by dump_expr#<expression error>' may be used uninitialized in this function [-Wmaybe-uninitialized]
../../../source/tools/atlas/GameInterface/Messages.h:305:8: warning: '#'target_mem_ref' not supported by dump_expr#<expression error>' may be used uninitialized in this function [-Wmaybe-uninitialized]
 struct sTerrainTexturePreview
        ^~~~~~~~~~~~~~~~~~~~~~
../../../source/tools/atlas/GameInterface/Messages.h:305:8: warning: '#'target_mem_ref' not supported by dump_expr#<expression error>' may be used uninitialized in this function [-Wmaybe-uninitialized]
../../../source/tools/atlas/GameInterface/Messages.h:305:8: warning: '#'target_mem_ref' not supported by dump_expr#<expression error>' may be used uninitialized in this function [-Wmaybe-uninitialized]

Link to build: https://jenkins.wildfiregames.com/job/docker-differential/7439/display/redirect

This revision was not accepted when it landed; it landed in state Needs Review.Mar 3 2022, 8:10 AM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.