Graphics API init code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Setup: (GL version tries to create a 4.3 core context and falls back to earlier | |
| vers; GL 1.x only is much shorter) | |
| C:\devel\projects\bink\src\examples\win32>wc -l setup_* | |
| 143 setup_graphicsD3D11.cpp | |
| 431 setup_graphicsD3D12.cpp | |
| 113 setup_graphicsD3D9.cpp | |
| 150 setup_graphicsGL.cpp | |
| Other platforms: | |
| 573 setup_ps3.c | |
| 299 setup_gx.cpp (3DS) | |
| 176 setup_graphicsLnxGL.c (Linux, Xlib+GL) | |
| 372 setup_ps4.cpp | |
| 244 GameViewController.m (metal; also has main, not just gfx API init) | |
| 449 exampsp2.cpp (also has main) | |
| 492 examwiiu.cpp (also has main) | |
| 268 examxbox360.cpp (also has main) | |
| Shader creation, set up dynamic textures and draw a quad: | |
| C:\devel\projects\bink\src\examples\win32>wc -l binktextures* | |
| 638 binktexturesD3D11.cpp | |
| 1157 binktexturesD3D12.cpp | |
| 706 binktexturesD3D9.cpp | |
| 985 binktexturesGL.cpp (includes extension loading) | |
| Other platforms: | |
| 644 binktexturesPS3.cpp | |
| 672 binktextures3DS.cpp | |
| 978 binktexturesD3D12x.cpp (D3D12.X for Xbox One) | |
| 640 binktexturesXBOne.cpp (D3D11 for Xbox One) | |
| 465 binktexturesPS4.cpp | |
| 419 binktexturesMetal.m | |
| 497 binktexturesPSP2.cpp | |
| 445 binktexturesWiiU.cpp | |
| 509 binktextures360.cpp (D3D9 for Xbox360) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment