Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/hydra/display_driver.cpp
| /* SPDX-License-Identifier: Apache-2.0 | /* SPDX-License-Identifier: Apache-2.0 | ||||
| * Copyright 2022 NVIDIA Corporation | * Copyright 2022 NVIDIA Corporation | ||||
| * Copyright 2022 Blender Foundation */ | * Copyright 2022 Blender Foundation */ | ||||
| #ifdef _WIN32 | #ifdef _WIN32 | ||||
| // Include first to avoid "NOGDI" definition set in Cycles headers | // Include first to avoid "NOGDI" definition set in Cycles headers | ||||
| # include <Windows.h> | # include <Windows.h> | ||||
| #endif | #endif | ||||
| #include "hydra/display_driver.h" | #include "hydra/display_driver.h" | ||||
| #include "hydra/render_buffer.h" | #include "hydra/render_buffer.h" | ||||
| #include "hydra/session.h" | #include "hydra/session.h" | ||||
| #include <GL/glew.h> | #include <epoxy/gl.h> | ||||
| #include <pxr/imaging/hgiGL/texture.h> | #include <pxr/imaging/hgiGL/texture.h> | ||||
| HDCYCLES_NAMESPACE_OPEN_SCOPE | HDCYCLES_NAMESPACE_OPEN_SCOPE | ||||
| HdCyclesDisplayDriver::HdCyclesDisplayDriver(HdCyclesSession *renderParam, Hgi *hgi) | HdCyclesDisplayDriver::HdCyclesDisplayDriver(HdCyclesSession *renderParam, Hgi *hgi) | ||||
| : _renderParam(renderParam), _hgi(hgi) | : _renderParam(renderParam), _hgi(hgi) | ||||
| { | { | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 261 Lines • Show Last 20 Lines | |||||