Skip to content

Refactoring. Migrate to C++ smart pointers. Pixel & vertex shader DX grabber acceleration and other new features.#691

Merged
awawa-dev merged 4 commits intomasterfrom
refactoring
Dec 21, 2023
Merged

Refactoring. Migrate to C++ smart pointers. Pixel & vertex shader DX grabber acceleration and other new features.#691
awawa-dev merged 4 commits intomasterfrom
refactoring

Conversation

@awawa-dev
Copy link
Owner

@awawa-dev awawa-dev commented Dec 20, 2023

This PR brings probably the biggest change in the history of HyperHDR and complements the previous first part of refactoring #605, which mainly covered the interface. With over +16000/-21000 lines of code changed, the main HyperHDR pillars have also changed so that we can expect even greater program stability in the least expected scenarios thanks to greater control over the life cycle of objects. Overall speed and responsiveness is also improved. In addition, it implements important new features such as MQTT or DirectX hardware acceleration, as well as improved and smoother LED rendering thanks to a unified clock for LED driver and Smoothing processing.

mosquitto_pub -h localhost -t HyperHDR/JsonAPI -m "[{\"command\" : \"instance\",\"subcommand\":\"switchTo\",\"instance\":1},{\"command\":\"componentstate\",\"componentstate\":{\"component\":\"LEDDEVICE\",\"state\": false}}]"
  • each MQTT subcommand will return full response in the overall result at HyperHDR/JsonAPI/response
    e.g.
mosquitto_sub -h localhost -t HyperHDR/JsonAPI/response
[{"command":"instance-switchTo","info":{"instance":1},"success":true,"tan":0},{"command":"componentstate","success":true,"tan":0}]

obraz

@awawa-dev awawa-dev changed the title Refactoring. Migrate to smart pointers. Pixel & vertex shader DX grabber acceleration and other new features. Refactoring. Migrate to C++ smart pointers. Pixel & vertex shader DX grabber acceleration and other new features. Dec 20, 2023
@awawa-dev awawa-dev merged commit 558c7e0 into master Dec 21, 2023
@awawa-dev awawa-dev deleted the refactoring branch December 21, 2023 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment