Go to advanced search

by ardera
Wed Jul 10, 2019 8:03 pm
Forum: Other programming languages
Topic: Running Flutter, Google’s Portable UI Toolkit, on a rpi
Replies: 12
Views: 3719

Re: Running Flutter, Google’s Portable UI Toolkit, on a rpi

I don't have a working "flutter binary" either. I use my own embedder I can share my libflutter_engine.so with you but im 200% positive we got the exact same one, and even if we don't, the engine is not responsible for fetching touchscreen input. Are you really sure you tried not only with TSLIB_TSD...
by ardera
Tue Jul 09, 2019 8:19 pm
Forum: Other programming languages
Topic: Running Flutter, Google’s Portable UI Toolkit, on a rpi
Replies: 12
Views: 3719

Re: Running Flutter, Google’s Portable UI Toolkit, on a rpi

I assume you built the flutter engine & flutter engine embedder using https://medium.com/flutter/flutter-on-raspberry-pi-mostly-from-scratch-2824c5e7dcb1 and https://github.com/jwinarske/flutter_embedded/ . I say that because that's definitely not the only way to get flutter running on Pi. Flutter o...
by ardera
Fri Jun 07, 2019 8:04 pm
Forum: Other programming languages
Topic: Running Flutter, Google’s Portable UI Toolkit, on a rpi
Replies: 12
Views: 3719

Re: Running Flutter, Google’s Portable UI Toolkit, on a rpi

I still don't think it's memory related. You can get the amount of free gpu ram usage with vcgencmd get_mem malloc + vcgencmd get_mem reloc (Which is the amount of free-mem in the VideoCore malloc heap + VideoCore reloc heap) For me, there were always 10MB (of 12MB total) malloc heap and ~190 (of ~2...
by ardera
Fri Jun 07, 2019 9:08 am
Forum: Other programming languages
Topic: Running Flutter, Google’s Portable UI Toolkit, on a rpi
Replies: 12
Views: 3719

Re: Running Flutter, Google’s Portable UI Toolkit, on a rpi

Got it working too, including mouse support (but not mouse cursor support!). Code for the embedder is here: https://github.com/ardera/flutter-pi And I, too, got the same weird texture problem; could be that it's because I didn't implement the make_resource_current callback, but that should be option...
by ardera
Sat Jul 21, 2018 12:34 pm
Forum: Bare metal, Assembly language
Topic: struct changes values on return
Replies: 5
Views: 1145

struct changes values on return

So I have the following code, which is part of a procedure with the args dcpu_t* self and uint8_t val. char* logstr = calloc(65, sizeof(char)); // allocate a 65-char string snprintf(logstr, 64, "arg=r%u", self->ref_reg[val].value); // same as printf but outputs to the string dcpu_log(self, logstr); ...
by ardera
Wed Jul 18, 2018 12:44 pm
Forum: Bare metal, Assembly language
Topic: Understanding the mailbox property interface
Replies: 25
Views: 3279

Re: Understanding the mailbox property interface

Yep, now I understand. Thanks!
by ardera
Wed Jul 18, 2018 10:14 am
Forum: Bare metal, Assembly language
Topic: Understanding the mailbox property interface
Replies: 25
Views: 3279

Understanding the mailbox property interface

Hello, I am really confused about this documentation: https://github.com/raspberrypi/firmware/wiki/Mailbox-property-interface For example: it says "concatenated tags" in there. That does mean the complete tags are placed in that buffer, not the pointers to them, doesn't it? (cause using pointers it'...

Go to advanced search