Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows build using angle (glesv2) #1

Merged
merged 8 commits into from
Dec 30, 2015
Merged

Conversation

gunrot
Copy link
Contributor

@gunrot gunrot commented Dec 29, 2015

  • msvc compiler does not support variable c arrays ( not even 2015) => replace by QVarLengthArray.
  • msvc 2012 compiler does not support c99 variable init in code => move vars to beginning of scope.
  • make exe use glesv2 as nanopainter does not support qt dynamic gl feature.
  • this also compiles for wec2013 which only has glesv2 , not tested yet as no device available here.

tested with vs2015 64 bit + qt 5.6 beta, vs2012 32 bit + qt 5.5.1, mac osx 10.11.2 + qt 5.6 beta

Gunnar Roth and others added 8 commits December 28, 2015 20:59
do not allocate extra buffer and do additonal memcpy.
do not use own cache, fontstash caches already. simply use nvgFindFont
to find existing one. when own cache expells cache entry , font in fontstash was
forgotton, but still exist.
fixes also the problem that data was allocated by new, but fontstash uses
free()
QCache cannot be used to keep track of images stored
in the nvg context.It will evict data at any time
without notie and the image in the store is lost
but uses memory. For image name to id mapping i replace
QCache  it by a QMap.
A better cache solution has to be found.
QUItCoding added a commit that referenced this pull request Dec 30, 2015
windows build using angle (glesv2)
Also image&font cache changes.
@QUItCoding QUItCoding merged commit 3ff178c into QUItCoding:master Dec 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants