Commit graph

89 commits

Author SHA1 Message Date
3da76f075f Conditional shading 2019-04-08 15:44:44 +02:00
6124aba2f3
Merge branch 'master' into directvb 2019-04-06 02:22:59 +02:00
dd9b850da8
Recreating session, fixes
Compiled and added MSCOM library
2019-04-06 01:25:44 +02:00
8fbf044530
Progress error reporting on start fail 2019-04-05 20:03:05 +02:00
bc88724847 Readme 2019-04-01 15:49:22 +02:00
d35c2bf4b3
Sender and mouse locker fixes
Sender stuff is a couple days old
2019-03-28 17:34:18 +01:00
e26489d864
Black screen, event fixes, error detection
Only getting map fields once to speed things up
Rendering black screen on first render, which also helps initialize Aparapi
Disabling event handlers on stop (can't unregister)
Removed and moved unlockMachine() calls from event handlers
Detecting failed machine start
Added note about sudo
2019-03-25 01:55:45 +01:00
c8ea718787
Fixes, events
- Unlocking machine on power off
- Removed change debug messages
- Fixed missing break in command handling
- Added timing (updates seem to be 1ms max, changes 66ms)
-- Screen rendering for the first time takes long, as expected
- Handling errors such as powering off while getting bitmap
- Added support for any case key names
- Fixed typo for 'period' key
- Fixed state event (probably)
2019-03-22 02:29:39 +01:00
5e98afe66a
Created event framework
It uses a similar system to Bukkit's
Hopefully it works
2019-03-21 00:46:54 +01:00
e75b841d33 Using events instead of polling
Using events for locking, startup progress and stopping
2019-03-20 15:47:27 +01:00
2724e123fa Event handling, separate computer class 2019-03-20 13:50:19 +01:00
0dad9fdb84 Moved files to packages and Maven structure 2019-03-20 12:35:26 +01:00
4aee453274 Added support for selecting machine on start
And also checking if there's already a running machine
And if the given machine is not found
Removed screen updating every 5 seconds, now it only checks if the machine is turned off
Always reassigning the machine
2019-03-18 12:43:24 +01:00
794ba3e042
IT WORKS! IT WORKS FAST!
Removed previous DirectRenderer
Fixed map ID for renderers
Moved everything related to the kernel to a new class in hopes of fixing the array being 0 length (apparently it was lambdas)
Storing a reference of the pixels and converted colors at each renderer
Implemented matchColor in a CL-compatible way
Added and removed pixel array length check - it kept overindexing at first, but that got fixed eventually and the check crashed Aparapi in GPU mode
Work of today
2019-03-16 23:28:18 +01:00
19b9f1fad6
Initial tests of GPU rendering
Successfully rendered to the map via the GPU (well not really, it falls back to an alternative algorithm)
Dropping the PXCLib - finally realized that the GPU speed massively increases after the first pass
2019-03-11 00:21:31 +01:00
f029fc22ec
Benchmarking, PXC debugging 2019-03-06 23:41:35 +01:00
11de752732 Readme update & testing Aparapi 2019-03-06 13:36:03 +01:00
3ad67c9390
Logging everything, error handling attempt
Also a bunch of TODOs
2019-02-26 14:13:32 +01:00
865526f4d0
Some fixes
Feb 7
2019-02-19 15:10:23 +01:00
aa6d7bc236
Better separation of (non-)direct mode 2019-02-07 18:32:50 +01:00
9a9b487a98
Cleanup, update, fix
Cleanup: Removed the VBoxJava source code
Update: Updated to VirtualBox 6.0
Fix: Added correct class file to put in the API on updates and (probably) fixed the keyboard
2018-12-21 23:24:13 +01:00
1c77835855
Progressing 2018-11-28 21:48:05 +01:00
7ed8cfd8d0
Converting from BGRA to RGB 2018-11-27 22:20:38 +01:00
0a04568a2b
Main logic almost done
Correct map choosing needs to be done
It should only update the changed areas
2018-11-17 01:04:54 +01:00
2ea5c1c4bd
Added functions 2018-11-14 23:54:37 +01:00
026edffed4
Java-C connection works
Pointers can be passed freely
2018-11-14 23:00:58 +01:00
cc7cd15efa
Test lib with makefile
640*480*4 bytes are a lot to process one-by-one
2018-11-14 19:15:58 +01:00
dea4205a0e
Trying things
I have managed to get some part of the screen in some way, then I tried to make it faster and now it doesn't work
2018-09-22 02:27:58 +02:00
2ccf1d976e
WE HAVE A POINTER
Turns out there IS pointer handling in the library, only the wrapper generator isn't prepared for pointers
In the end, all I did was editing the generated source file from byte[] to long[]
2018-09-21 00:43:50 +02:00
5dd5546dc1
Add VBoxJXPCOM source
Successfully compiled VirtualBox
2018-07-06 23:27:58 +02:00
b95109a591
Update README.md 2018-07-06 14:31:33 +02:00
beff502f0c
Update README.md 2018-07-06 14:30:38 +02:00
f933d417b7 Testing Windows impl.
DLL location and hardening issues
2018-07-05 18:49:00 +02:00
123bce5027
Still no display 2018-06-16 01:55:42 +02:00
a888795be5 Fiiiiiiixes 2017-12-23 21:04:06 +01:00
0af3905f86 Fixes
Off by one error and things like that
2017-12-22 23:49:17 +01:00
5d6b705299 FIXED "Not supported" bug in VirtualBox
https://marc.info/?l=vbox-dev&m=142780789819967&w=2
(Must run as sudo currently)
Some other fixes related to rendering
2017-12-21 22:23:23 +01:00
e16b1cbccf Update, made some progress too
Currently only 'runs' as root, but that doesn't work either
2017-12-19 23:05:41 +01:00
dfc86e8371 Fixed double start, and some older changes
Fiiinally got VBox working inside a VM spending a day on it. I was/am
tired. Now I have it set up and it's really easy to debug.

No errors, at first start anyways, but the machine only goes Starting
for a very short amount of time then it's off again.
2017-10-15 03:55:16 +02:00
f031fc0b9a opefully fix(es) and always running mouse task 2017-09-02 22:58:38 +02:00
5b9a6c5b4a Fixed /c alias (hopefully)
Updated readme a while ago
Deleted CSharp part a while ago
2017-08-18 00:31:39 +02:00
cf137b2e0b Fixed lock type... Now it works! Kind of
YEAH
2017-08-08 23:19:32 +02:00
d94f4b699d Waiting on "spawning" after lock 2017-08-08 15:51:38 +02:00
169285a111 Fixes, actually rendering on each update, etc.
Updated version
Removed Movecraft as a soft dependency
AllPixels is set on each change
The direct renderer only renders on change and updates (altough it'd
actually only render once before)
2017-08-04 17:12:23 +02:00
042c67a30b Made the machine run in our process, fixes 2017-08-04 14:01:03 +02:00
57a6ff818b Delayed query on change, improved code a bit
Removed Movecraft dependency as well
2017-07-18 02:03:18 +02:00
3e1691f4e9 Fixes, figuring things out, copied features
Added screen update task and the save state code from CSharp and things
like that.
2017-07-14 02:58:01 +02:00
02f3883c12 Partially impl. the frame buffer & deleted SM 2017-06-24 23:38:05 +02:00
9ef0b00caa Implemented computer methods, fixes 2017-06-24 19:20:20 +02:00
02a3686c30 Mostly done with direct renderer, refactoring 2017-06-24 14:52:23 +02:00