Comments (4)
There are some places to start looking
- reusing same shader program, perhaps via some general mechanism in material/glutil
- possibly reuse geometry uploaded since current deforms are done with the mat4 in the shader, this might conflict with a proper circle implementation and rounded corners though so I'm not eager to pursue this atm.
- possibly clean up how text is handled.
- look at how icons are currently being handled
- maybe tweak shadows more with consideration to material design guidelines which forbids approximating on same plane. I noted disabling shadows gained 5-7 fps on reddit so this probably isn't a major concern.
As I write this out, most everything really needs a look over. Changes need to consider how it plays into material design specification.
I produced this pprof svg on desktop but it mostly read like cgo overhead so it may be that a need is to focus on reducing overall calls, but my initial impression of that is its not making that many calls.
(click download in top bar and then open downloaded file, google drive doesn't render svg well)
https://drive.google.com/a/dasa.cc/file/d/0B6hxg-gC2Uz_YkNtZ3FOYTQ3bEk/view
Bear in mind the example app in pkg snd has some real time synthesis going on as well, but in general, this hasn't been a problem and it doesn't skip a beat due to graphics.
Sorry for the vague starting point but that's about all I have to go off at the moment as well. The first two places I'd start are my first two bullet points as those should probably happen regardless.
from material.
ok.
Might be worth thinking about it at a higher level.
Have you tried out shiny instead of gomobile ?
https://godoc.org/golang.org/x/exp/shiny
gomobile is dead code, and the go core team have stated that shiny is the "one true way".
from material.
Have you tried out shiny instead of gomobile ?
shiny doesn't work on mobile but is still a goal for this package
gomobile is dead code
It's actually pretty active. x86 support on android was seen recently including the tooling in gomobile to build such, for but one example.
and the go core team have stated that shiny is the "one true way"
I don't know what you're quoting here. In the future, gomobile will likely be using shiny for running on desktop. shiny is already using gomobile pkgs for things like events. There's overlap.
from material.
I saw that model yao has started setting up for shiny and Material design to work together.
I am using vanadium ( Google golang ) project for a work project. Vanadium team currently uses flutter / dart for the GUI, but it looks like golang is slowly getting to the point of being able to build UI.
You should have a chat to the vanadium guys..
from material.
Related Issues (13)
- simplex: planned improvements HOT 1
- roundness anti-aliasing
- Question: how to interact with native controls HOT 2
- dependency on a function in snd HOT 5
- How complete is this? What feature-critical parts can I contribute to? HOT 1
- Wysiwyg
- Discontinued because? HOT 2
- Reason behind location of 0,0,0? HOT 1
- Missing assets for example HOT 1
- simplex: layouts that contain boxes outside the window bounds cause process to hang HOT 1
- text: glyphs from gen.go not correct size
- material content implementation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from material.