From c98fcdb1c095a3f5fa8100101442a11a068928e3 Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Wed, 3 Jul 2019 22:13:16 +0200 Subject: [PATCH] Some docs and older pom stuff --- .../dependency-reduced-pom.xml | 293 +++++++++--------- VirtualComputer-Core/pom.xml | 10 + VirtualComputerXPCOM/pom.xml | 21 ++ .../sznp/virtualcomputer/COMFrameBuffer.java | 12 +- 4 files changed, 193 insertions(+), 143 deletions(-) diff --git a/VirtualComputer-Core/dependency-reduced-pom.xml b/VirtualComputer-Core/dependency-reduced-pom.xml index e42fa8a..52d04e8 100644 --- a/VirtualComputer-Core/dependency-reduced-pom.xml +++ b/VirtualComputer-Core/dependency-reduced-pom.xml @@ -1,153 +1,162 @@ - - VirtualComputer + + VirtualComputer io.github.NorbiPeti - 2.1-SNAPSHOT - - 4.0.0 - VirtualComputer-Core 2.1-SNAPSHOT - + + 4.0.0 + VirtualComputer-Core + 2.1-SNAPSHOT + + + + maven-compiler-plugin + 3.5.1 + + 1.8 + 1.8 + + -g + + + + + maven-shade-plugin + 2.4.2 + + + package + + shade + + + + + + + + + + XPCOM + - - maven-compiler-plugin - 3.5.1 + + maven-shade-plugin + + + package + + shade + - 1.8 - 1.8 - - -g - + + + org.virtualbox:VirtualBox-MSCOM + sznp.virtualcomputer:VirtualComputer-MSCOM + + + true + + + io.github.NorbiPeti:VirtualComputer-XPCOM + + ** + + + - - - maven-shade-plugin - 2.4.2 - - - package - - shade - - - - - + + + - - - - XPCOM - - - - maven-shade-plugin - - - package - - shade - - - - - org.virtualbox:VirtualBox-MSCOM - sznp.virtualcomputer:VirtualComputer-MSCOM - - - - - - - - - - - MSCOM - - - - maven-shade-plugin - - - package - - shade - - - - - org.virtualbox:VirtualBox - sznp.virtualcomputer:VirtualComputer-XPCOM - - - - - - - - - - - - - org.virtualbox - VirtualBox-MSCOM - 6.0 - compile - - - sznp.virtualcomputer - VirtualComputer-MSCOM - 2.1-SNAPSHOT - compile - - - junit - junit - 4.11 - test - - - hamcrest-core - org.hamcrest - - - - - org.spigotmc - spigot-api - 1.12-R0.1-SNAPSHOT - provided - - - commons-lang - commons-lang - - - json-simple - com.googlecode.json-simple - - - guava - com.google.guava - - - gson - com.google.code.gson - - - snakeyaml - org.yaml - - - bungeecord-chat - net.md-5 - - - - + + + + MSCOM + + + + maven-shade-plugin + + + package + + shade + + + + + org.virtualbox:VirtualBox + sznp.virtualcomputer:VirtualComputer-XPCOM + + + + + + + + + + + + + org.virtualbox + VirtualBox-MSCOM + 6.0 + compile + + + sznp.virtualcomputer + VirtualComputer-MSCOM + 2.1-SNAPSHOT + compile + + + junit + junit + 4.11 + test + + + hamcrest-core + org.hamcrest + + + + + org.spigotmc + spigot-api + 1.12-R0.1-SNAPSHOT + provided + + + commons-lang + commons-lang + + + json-simple + com.googlecode.json-simple + + + guava + com.google.guava + + + gson + com.google.code.gson + + + snakeyaml + org.yaml + + + bungeecord-chat + net.md-5 + + + + diff --git a/VirtualComputer-Core/pom.xml b/VirtualComputer-Core/pom.xml index f55b3cd..80f5d3e 100644 --- a/VirtualComputer-Core/pom.xml +++ b/VirtualComputer-Core/pom.xml @@ -80,6 +80,16 @@ sznp.virtualcomputer:VirtualComputer-MSCOM + true + + + io.github.NorbiPeti:VirtualComputer-XPCOM + + ** + + + + diff --git a/VirtualComputerXPCOM/pom.xml b/VirtualComputerXPCOM/pom.xml index f4ea613..5ac1437 100644 --- a/VirtualComputerXPCOM/pom.xml +++ b/VirtualComputerXPCOM/pom.xml @@ -21,4 +21,25 @@ + + + + maven-shade-plugin + + + + shade + + + + + + + org.virtualbox:VirtualBox + + + + + + \ No newline at end of file diff --git a/VirtualComputerXPCOM/src/main/java/sznp/virtualcomputer/COMFrameBuffer.java b/VirtualComputerXPCOM/src/main/java/sznp/virtualcomputer/COMFrameBuffer.java index 6f35793..2226561 100644 --- a/VirtualComputerXPCOM/src/main/java/sznp/virtualcomputer/COMFrameBuffer.java +++ b/VirtualComputerXPCOM/src/main/java/sznp/virtualcomputer/COMFrameBuffer.java @@ -100,8 +100,18 @@ public class COMFrameBuffer implements IFramebuffer { public void setVisibleRegion(byte arg0, long arg1) { } + /** + * Posts a Video HW Acceleration Command to the frame buffer for processing.
+ *
+ * The commands used for 2D video acceleration (DDraw surface creation/destroying, blitting, scaling, color conversion, overlaying, etc.) are posted from quest to the host to be processed by the host hardware. + * + * @param command Pointer to VBOXVHWACMD containing the command to execute. + * @param enmCmd The validated VBOXVHWACMD::enmCmd value from the command. + * @param fromGuest Set when the command origins from the guest, clear if host. + */ //https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp#L4645 @Override - public void processVHWACommand(byte b, int i, boolean b1) { + public void processVHWACommand(byte command, int enmCmd, boolean fromGuest) { + } @Override