Skip to content

Commit 1f4b87c

Browse files
committed
IECoreGL : Remove tests that depend on GLRenderer
We're about to remove the Renderer class and associated components, and these tests use them. This is the only part of this whole remove-the-renderer operation I feel bad about. There is some decent test coverage here, some of which is still relevent to the _new_ GLRenderer in Gaffer, which doesn't have as good coverage. On the bright side, it wasn't being run on CI anyway, and there's a good chance that any significant future overhaul of hardware rendering in Gaffer will mean a move away from OpenGL.
1 parent da0b7d7 commit 1f4b87c

17 files changed

+0
-5556
lines changed

test/IECoreGL/All.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -38,42 +38,23 @@
3838

3939
from Shader import *
4040
from State import *
41-
from Renderer import *
4241
from Group import *
43-
from Texture import *
44-
from ImmediateRenderer import *
4542
from NameStateComponent import *
4643
from HitRecord import *
47-
from Selection import *
48-
from Camera import *
49-
from PointsPrimitive import *
50-
from Orientation import *
51-
from CurvesPrimitiveTest import *
52-
from MeshPrimitiveTest import *
5344
from AlphaTextureTest import *
5445
from LuminanceTextureTest import *
55-
from UserAttributesTest import *
56-
from DeferredRenderer import *
57-
from DiskPrimitiveTest import DiskPrimitiveTest
5846
from ToGLTextureConverter import TestToGLTexureConverter
5947
from PrimitiveTest import *
60-
from CoordinateSystemTest import CoordinateSystemTest
6148
from TextureLoaderTest import TextureLoaderTest
6249
from FontTest import FontTest
6350
from FontLoaderTest import FontLoaderTest
6451
from ToGLConverterTest import ToGLConverterTest
6552
from CachedConverterTest import CachedConverterTest
66-
from InstancingTest import InstancingTest
6753
from BufferTest import BufferTest
68-
from ShadingTest import ShadingTest
6954
from ShaderLoaderTest import ShaderLoaderTest
7055
from ShaderStateComponentTest import ShaderStateComponentTest
7156
from ToGLStateConverterTest import ToGLStateConverterTest
7257

73-
if IECore.withFreeType() :
74-
75-
from TextTest import *
76-
7758
unittest.TestProgram(
7859
testRunner = unittest.TextTestRunner(
7960
stream = IECore.CompoundStream(

test/IECoreGL/Camera.py

Lines changed: 0 additions & 137 deletions
This file was deleted.

test/IECoreGL/CoordinateSystemTest.py

Lines changed: 0 additions & 117 deletions
This file was deleted.

0 commit comments

Comments
 (0)