5 #define WindowClassStr L"MultiMon10Class" 49 void Render(
float fElapsed);
57 if (command.
delay != 0.0f)
continue;
59 std::string prefix(
"Viewport-");
60 if (!command.
name.compare(0, prefix.size(), prefix))
63 for (UINT s = 0; s <
screens.size(); s++)
65 prefix =
"Viewport-" +
screens.at(s).name;
66 if (!command.
name.compare(0, prefix.size(), prefix))
68 for (UINT p = 0; p <
screens.at(s).pages.size(); p++)
CGrowableArray< WINDOW_OBJECT * > g_WindowObjects
std::vector< HWND > GetWindowHandles() const
std::vector< Command > commandStream
CGrowableArray< ADAPTER_OBJECT * > g_AdapterArray
void Render(float fElapsed)
CGrowableArray< IDXGIOutput * > DXGIOutputArray
HRESULT CreateSwapChainPerOutput() const
IDXGIAdapter * pDXGIAdapter
void Initialize(HINSTANCE)
static HRESULT CreateViewsForWindowObject(WINDOW_OBJECT *pWindow)
std::vector< Font > fonts
std::vector< Screen > screens
std::string name
command name
HRESULT CreateMonitorWindows()
HRESULT CreateDevicePerAdapter(D3D10_DRIVER_TYPE DriverType)
HRESULT SetWindowAssociation() const
static HRESULT EnumerateOutputs(ADAPTER_OBJECT *pAdapterObj)
HRESULT OnD3D10CreateDevice(DEVICE_OBJECT *pDevice)
IDXGIFactory * g_pDXGIFactory
float delay
wait number of seconds before executing command
HRESULT CreateWindowClass(HINSTANCE hInstance)
CGrowableArray< DEVICE_OBJECT * > g_DeviceArray
HRESULT EnumerateAdapters()