Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Commits for Divide-Framework/trunk/Source Code/Platform/Video/OpenGL/SDLWindowWrapper.cpp

Diff revisions: vs.
Revision Author Commited Message
1007 Diff Diff IonutCava picture IonutCava Fri 22 Dec, 2017 11:12:21 +0000

[Ionut]
- Fix crash due to GUIButton not unsubscribing from events on destruction
- Fixed the BoundingComponent <-> BoundingSystem coupling
- Dump shader binaries every time. Still unused for now
- Use the default shader for Terrain BBoxes
- Quad3D should always keep its vb data
- Fixed a bug with copying patch vertex count in GenericDrawCommand
- Fixed a bug with GL debug message control

1002 Diff Diff IonutCava picture IonutCava Mon 18 Dec, 2017 17:31:54 +0000

[Ionut]
- Cleanup GUI a bit
- Disable some nVidia GL warnings

1001 Diff Diff IonutCava picture IonutCava Sun 17 Dec, 2017 20:55:45 +0000

[Ionut]
- Fix IMGUI rendering with GenericVertexData
- Fix persistent buffer locking issue (lock after every draw call, even if it overlaps)

1000 Diff Diff IonutCava picture IonutCava Thu 14 Dec, 2017 16:13:18 +0000

[Ionut]
- GenericVertexData fixes and cleanup

999 Diff Diff IonutCava picture IonutCava Thu 14 Dec, 2017 00:27:08 +0000

[Ionut]
- Simply GenericVertexData class a lot
- Move IMGUI to GenericVertexData based rendering (still has rendering issues)
- Fix some crash issues on shutdown if the rendering API failed to initialize
- Disable some GL debugging flags as they seem to cause issues with the new 17.12.1 AMD driver

972 Diff Diff IonutCava picture IonutCava Wed 15 Nov, 2017 00:10:26 +0000

[Ionut]
- Add imgui_addons branch and disable imwindow since it doesn’t work properly with IMGUI 1.53+ (doesn’t compile yet)

971 Diff Diff IonutCava picture IonutCava Mon 13 Nov, 2017 22:49:24 +0000

[Ionut]
- Fix various timing issues
- Add a framerate limiter
- Rework framerate calculations
- Add an adaptive sync option in config

969 Diff Diff IonutCava picture IonutCava Mon 13 Nov, 2017 00:15:57 +0000

[Ionut]
- Further improve DisplayWindow <-> Input relationship
- Add Flip-Y 2D camera (D3D style projection)
- Fix IMGUI rendering
- Add IMGUI sample and IMWINDOW sample rendering at the same time
- Improve IMWINDOW multi-window support
— Bug: nothing rendering in child platform windows
- Add draw command to move render context from one window to another

963 Diff Diff IonutCava picture IonutCava Sun 05 Nov, 2017 18:31:51 +0000

[Ionut]
- More multi-window fixes
- Profile guided performance improvements

962 Diff Diff IonutCava picture IonutCava Fri 03 Nov, 2017 17:17:55 +0000

[Ionut]
- Fix creation/destruction of multiple DisplayWindows
- Add an InputInterface per DisplayWindow
- More work on the ImWindow based Editor

961 Diff Diff IonutCava picture IonutCava Thu 02 Nov, 2017 23:24:10 +0000

[Ionut]
- IMGUI rendering work

959 Diff Diff IonutCava picture IonutCava Wed 01 Nov, 2017 15:37:22 +0000

[Ionut]
- Fixed CEGUI rendering issues and with it a huge hidden bug:
— Deleting GL objects (buffers, vao, textures, shader programs, framebuffers, sampler objects, etc) didn’t invalidate the bound object cache leading to situations suchs as the following to fail because OpenGL recycles handles:
Divide::bind(obj); glDeleteXYZ(1, &obj); glCreateXYZ(1, &obj); Divide::bind(obj);

955 Diff Diff IonutCava picture IonutCava Sun 29 Oct, 2017 20:45:04 +0000

[Ionut]
- Modify the CEGUI opengl renderer to interact with the state in GLWrapper better
- Performance optimizations

952 Diff Diff IonutCava picture IonutCava Wed 25 Oct, 2017 00:35:37 +0000

[Ionut]
- Added the CEGUI rendering project to our solution for easier modification, debugging and integration
- Updated to OIS 1.4
- Some updates to the WindowHandle struct

  • Only compiled in Debug*
947 Diff Diff IonutCava picture IonutCava Sun 08 Oct, 2017 22:36:54 +0000

[Ionut]
- Refactor command buffer pooling
- Remove all static commands in an attempt to fix rendering issues. Profile and rework later.

946 Diff Diff IonutCava picture IonutCava Sun 01 Oct, 2017 21:25:10 +0000

[Ionut]
- Attempt to fix text rendering / flashing issue (improved but not fixed yet)

943 Diff Diff IonutCava picture IonutCava Tue 12 Sep, 2017 11:38:52 +0000

[IonutCava]
- Rework ThreadPool/Task system for clearer parent<->child relationship between tasks
— Disable Prio pool since it doesn’t work properly with the newest boost libraries
— Modify the C++11 threadpool to remove the boost dependency
- Reduce memory usage by allocating command buffers on use instead of on creation

941 Diff Diff IonutCava picture IonutCava Mon 04 Sep, 2017 20:55:02 +0000

[Ionut]
- Update CEGUI from static to dynamic config (some dlls might still be missing)
- Attempt to work around a weird string issue with the newest VS2017 update

925 Diff Diff IonutCava picture IonutCava Fri 04 Aug, 2017 13:10:43 +0000

[Ionut]
- Cleanup commandIndex and commandOffset updates between GFXDevice and RenderingComponent
- Fix some shader code rot
- Fix a bug in ParticleEmitter creation
- Disable OIT passes for now (really buggy)

923 Diff Diff IonutCava picture IonutCava Tue 01 Aug, 2017 22:23:24 +0000

[Ionut]
- Add (hack) new GL 4.6 KHR_NO_ERROR flag for non-GPU validated builds
- Disable GPU debug messages by default. Re-enabled only via a command line argument: “--enableGPUMessageGroups”.
- Cleanup GL texture and sampler binding
- Rework hash map insert and emplace
- Update SDL to 2.0.5

922 Diff Diff IonutCava picture IonutCava Mon 31 Jul, 2017 21:52:27 +0000

[Ionut]
- Rework time and metric conversion functions to be more type independent
— Add nano-second support
— Properly detect arithmetic operands' types and decide conversion based on rank for maximum precision
— Add unit tests for time conversion cases
- Auto-adapt number of gl queries for frame timing based on performance
- Modify fontstash and glfonststash to batch upload vert data and to use vertex attrib format and vb binding instead of attrib pointers
— Sacrifice some CPU performance by chaning the structure of arrays to an array of structures for vert data, but gain performance from fewer API calls to OpenGL for uploading text data

919 Diff Diff IonutCava picture IonutCava Wed 26 Jul, 2017 22:37:18 +0000

[Ionut]
- Add a configurable log printing system to the networking library.
- Remove the need to specify swap buffer necessity with endFrame calls. Swap buffer requirement is now a per-window property.
- Do not load an image file multiple times for the same texture. cache data for each array layer to speed up duplicates. ToDo: Cache data globally?
- Other small bugfixes

912 Diff Diff IonutCava picture IonutCava Sun 02 Jul, 2017 23:42:39 +0000

[Ionut]
- Add experimental Weighted Blended Order Independed Transparency (ref: http://casual-effects.blogspot.co.uk/2015/03/implemented-weighted-blended-order.html)
— Add per drawbuffer blend
— All translucent renderbin items go via the new OIT 2-step rendering: accumulation and composition
- Make sure we have proper blend enabled for text rendering
- Add a primitive form of PushConstants (unused yet. Emulated via Uniform calls)
- Fix bug with XMLParser not using case insensitive key lookups

909 Diff Diff IonutCava picture IonutCava Thu 29 Jun, 2017 23:57:18 +0000

[Ionut]
- Rework RenderTarget class
— RTAttachment now deal with textures directly
— RT size needs to be specified upfront
- Application class is no longer a Singleton but passed around in the PlatformContext

908 IonutCava picture IonutCava Thu 29 Jun, 2017 15:56:53 +0000

[Ionut]
- Texture’s MSAA sample count is now a property of the TextureDescriptor
- Add extra SDL validation as well as fallback for too high MSAA sample count specified