mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-19 22:00:35 +08:00
Add EGLContext and DeviceContextManager
Summary: EGLContext is a utility to render with OpenGL without an attached display (that is, without a monitor). DeviceContextManager allows us to avoid unnecessary context creations and releases. See docstrings for more info. Reviewed By: jcjohnson Differential Revision: D36562551 fbshipit-source-id: eb0d2a2f85555ee110e203d435a44ad243281d2c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
54c75b4114
commit
78bb6d17fa
@@ -27,7 +27,7 @@ class TestBuild(unittest.TestCase):
|
||||
|
||||
root_dir = get_pytorch3d_dir() / "pytorch3d"
|
||||
for module_file in root_dir.glob("**/*.py"):
|
||||
if module_file.stem in ("__init__", "plotly_vis"):
|
||||
if module_file.stem in ("__init__", "plotly_vis", "opengl_utils"):
|
||||
continue
|
||||
relative_module = str(module_file.relative_to(root_dir))[:-3]
|
||||
module = "pytorch3d." + relative_module.replace("/", ".")
|
||||
|
||||
Reference in New Issue
Block a user