- Create test directory structure at tests/RHI/OpenGL/ - Implement OpenGLTestFixture with GLFW/GLAD initialization - Add Device tests: CreateRenderWindow, InitializeWithExistingWindow, GetDeviceInfo, SwapBuffers, PollEvents - Add Buffer tests: VertexBuffer, IndexBuffer, UniformBuffer, Dynamic, Bind/Unbind, Map/Unmap - Add Fence tests: Initialize (signaled/unsignaled), Signal, Wait, IsSignaled, GetStatus - Add CMakeLists.txt with proper GLFW/GLAD/GTest linking - Create implementation plan document at docs/OpenGL测试实施计划.md
1.2 KiB
1.2 KiB