aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-27Android.mk: make it a vendor modulelinaro-armv8Yongqin Liu
Change-Id: I0b525490bf7140ea02f2c76a2a56ec62c0661d25 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2018-04-11Fix compiling errors for P Preview buildYongqin Liu
Change-Id: I52fdfe3601c6abd6b739582336b51105ed8b9e81 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2017-04-24Android.mk: fix compiling error with masterRLCR-17.05Yongqin Liu
with aosp master, the PLATFORM_VERSION is set to string like O, instead of value 7.1.2 Change-Id: I34a845257443533ca6bbd3d83dee46558aad5c80 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-01-25Don't specify -std=gnu99 for C++ builds -- it breaks clangRLCR-16.11RLCR-16.01RLCR-15.12Bernhard Rosenkränzer
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
2014-11-13droid_surfaceflingerlink.cpp: fix compiling error for android5.0Yongqin Liu
update the version check for android 5.0 in file droid_surfaceflingerlink.cpp Change-Id: Iee3f294dfd4951d4b2fff9cc2afeebc0d2d24802 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2014-10-17Android.mk: fix problem when compile with 64bit versionYongqin Liu
TARGET_CC should not be specified in the Android.mk file directly since it would be different file for 64bit and 32 bit. change to use the default gcc target file and mv the -std=c99 to LOCAL_CFLAGS variable. Change-Id: I9ca3d714963493841ff7eaaae69a33b881fd1727 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2014-09-22Merge tag 'debian/1.4.0-1'Jordan Justen
waffle Debian release 1.4.0-1
2014-09-22debian: Release 1.4.0-1debian/1.4.0-1Jordan Justen
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
2014-09-22pkg/archlinux: Add PKGBUILD for waffle-1.4.0Chad Versace
I already uploaded it to the AUR. Tested by installing the package onto my main development system. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2014-09-22waffle: Bump version to 1.4.0v1.4.0Chad Versace
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2014-09-22doc: Add final touches to 1.4.0 release notesChad Versace
Remove the "draft" notice and update commit numbers. That's all. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2014-09-22cmake: do not over-linkEmil Velikov
In the cases where we have the dependencies/libs of a waffle back-end, and wish you opt-out of it we currently link against the library. Avoid that an honour the user selection. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2014-09-22cmake: remove empty LDFLAGSEmil Velikov
We don't check for xcb or x11 so these two are undefined(empty). The check for x11-xcb is independent and has nothing to do with setting up these two. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
2014-09-22cmake: drop the LINK_INTERFACE_LIBRARIES hackEmil Velikov
It was added in order to silence Debian's packagin system which detected that wflinfo has unused direct deps (is overlinked). Properly annotate waffle's libdeps as PRIVATE this way they won't get propagated to wflinfo and other objects that link against libwaffle. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
2014-09-22pkg/archlinux: Add PKGBUILD for waffle-gitChad Versace
This allows us to easily prototype the PKGBUILD for upcoming releases. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2014-09-22gitignore: Ignore libcmocka.aChad Versace
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2014-09-22cmake: wire up check and check-func with valgrindEmil Velikov
Add a valgrind-* counterpart for each target. Note that the valgrind-check-func seems to leak like a sleeve yet I'm suspecting that part of it is due to cmocka :P Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
2014-09-17doc: Install all release notesChad Versace
This fixes a bug. The 1.4.0-rc1 release installed the 1.3 release notes but not any 1.4 release notes. To fix this, let's follow the precedent set by git. Update CMake to install *all* release notes. Signed-off-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2014-09-11HACKING: Don't recommend Apache 2.0 for contributionsJordan Justen
Since waffle changed from Apache 2.0 to BSD in 367378863bcc6801f5ae5ad786c09d39e0890370, we should avoid accepting contributions under that license for the same reasons. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
2014-09-08debian: Update changelog for 1.4.0~rc1-1debian/1.4.0_rc1-1Jordan Justen
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
2014-09-07doc: Add release notes for Waffle 1.4.0-rc1v1.4.0-rc1Chad Versace
This patch reformats and cleans up the placeholder file 'waffle-next.txt', renaming it to 'waffle-1.4.0.txt'. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2014-09-07doc: Explain how to prepare a release candidateChad Versace
Add the explanation to a new file 'doc/how-to-maintain-waffle.asciidoc'. Fixes #2: https://github.com/waffle-gl/waffle/issues/2 Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2014-09-07Merge branch 'chadv/doc-cleanups'Chad Versace
2014-09-06doc/code-style: Shorten and clean upChad Versace
Concicse is better than rambling. Remove all the nonessential parts of the file. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2014-09-06HACKING: Re-order sectionsChad Versace
Move "Copyright" to below "Sign you work". Not many people will need to read the "Copyright" section. Signed-off-by: Chad Versace <chad@chad-versace.us>
2014-09-06HACKING: Improve section "Sign your work"Chad Versace
Simplify the discussion of Signed-off-by and Developer's Certificate of Origin. Pre-patch, HACKING.txt quoted the entirety of Section 12 of the kernel's Documentation/SubmittingPatches. Linus's writing style, though, is rambling and unfocused. This patch cleans it up. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2014-09-06HACKING: Improve advice on copyrightChad Versace
Make it more simple and more explicit. List preferred licenses for Waffle: BSD, MIT, Apache 2.0. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2014-09-06HACKING: Make advice on commit message style more focusedChad Versace
And add a good example commit message from Emil. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2014-09-06HACKING: Explain better how to send patchesChad Versace
Several one-off contributors have submitted corrupt patches to Waffle as email attachments. Improve the HACKING docs to carefully explain how to do it correctly. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2014-09-06cmake: Install HACKING alongside README, LICENSEChad Versace
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2014-09-06HACKING: Move to hard-to-miss locationChad Versace
Several one-off contributors have submitted patches to Waffle. And they typically email me directly and send the patches as attachments. Maybe they didn't bother to read submitting-patches.txt, so let's move it in a more prominent location. Rename "/doc/submitting-patches.txt" to "/HACKING.txt". No changes to file content. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2014-09-06doc: Remove unused file todo.txtChad Versace
Waffle now uses the issue tracker at (https://github.com/waffle-gl/waffle/issues). Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2014-09-06cmake: Move install rule for README, LICENSEChad Versace
The rule lived in a strange place. The sources for the installation rule lived in the directory *above* the rule. Move the rule from "$TOP/doc/CMakeLists.txt" to "$TOP/CMakeLists.txt". Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2014-09-06.mailmap: Add initial mailmapChad Versace
The mailmap contains all contributors, discovered with `git shortlog -se`. When someone contributed under multiple emails, I chose the most recently used one as the canonical email. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2014-08-30debian: Add cmocka/cmake/Modules copyright informationJordan Justen
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
2014-08-20x11: fix for a non-zero default screenMarek Olšák
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2014-08-13cmake: rework cmocka build processEmil Velikov
Rather than wrapping around cmocka's existing cmake, simply inherit the build setup/variables from the waffle project and build a simple cmocka static library. This way we'll no longer need to add the custom commands for build and we'll be able to easily handle mingw-w64 and msvc build :) To make things even better this speeds up the configure/build process. Patch is largely written by Nils Gladitz, ngladitz on #cmake Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
2014-07-31xcode: Remove bitrotted Xcode project filesChad Versace
In Waffle's early days, some Mac OS contributors wanted to have their Xcode project files tracked in git. It seemed odd to me, but maybe that's standard practice for Xcode users. I dunno. There was no harm in it, so I committed it... and forgot about it. Those files have since bitrotted to hell, so this patch kills them. As Emil points out, Xcode users should generate the project files with `cmake -GXcode`. Reported-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2014-07-30README: Update the build instructionsChad Versace
The build instructions had several issues: - They referred to a non-existent file, '/doc/building.txt'. - They instructed the user to explicitly enable support for every desired platform. But Waffle's CMake can now autodetect that. Reported-by: Emil Velikov <emil.l.velikov@gmail.com>
2014-07-27wflinfo: silence signed/unsigned comparison warningEmil Velikov
The variable i is used as and compared vs unsigned int. Change its type so silence the compiler warning. Note: GLint is incorrectly typedeffed as unsigned and we're using signed int where unsigned is required by the GL API and vice versa. These will be addressed by followup patches. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com> (cherry picked from commit 437a07986825ca07ff247d5b69d05c7ca797abc7)
2014-07-27core: return false on failure in waffle_window_resizeEmil Velikov
The function return type is bool(ean) not a pointer. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com> (cherry picked from commit 036a648d40f66818d1d1adcc23a761b8834f5c6e)
2014-07-27linux: plug a memory leakEmil Velikov
In linux_platform_destroy we close all the handles for the different libgl* providers, yet we do not free the memory for the base struct linux_platform, causing a memory leak. In reality the memory will never be freed ('still reachable' by valgrind) as we do not have a API to call platform->destroy() and thus cleanup this and other memory hunks. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com> (cherry picked from commit 1cec37c7d4677aff855aa01f6f8dfaec1b7b6306)
2014-07-15wflinfo: use waffle_dl_sym to get core functionsEmil Velikov
Unlike MacOS and Linux, Windows is less fortunate to people who prefer to fetch core OpenGL symbols via wglGetProcAddress. Until we merge piglit's dispatch in one shape or the other, we'll need to manually pick/set the correct function that is used for each function. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
2014-07-15api: remove double NULL checkEmil Velikov
We check if the object is NULL before appending it to the obj_list and a second time as we append it. Drop the latter as it makes the code more confusing than it needs to be. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
2014-07-15cgl: avoid leaking the PixelFormatEmil Velikov
According to apple developer page, starting with OS X v10.5 the pixelformat is reference counted. The object is created at CGLChoosePixelFormat and should be unrefeferenced via CGLReleasePixelFormat/CGLDestroyPixelFormat. The latter two are identical accoring to the documentation. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
2014-07-15cgl: print the libname on error at cgl_dl_close()Emil Velikov
The compiler should have pointed out that there is a modifier but the parameter is missing. This should resolve the issue. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
2014-07-15cgl: use wcore_calloc helperEmil Velikov
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
2014-07-15cmake: Fix Mac build error from commit 62a4aab9Chad Versace
Commit 62a4aab9 set the CMake property LINK_INTERFACE_LIBRARIES to empty for libwaffle, because Debian's packaging tools complained otherwise. Afterwards, Waffle's CMake neglected to declare the Cocoa library dependencies for the executables wflinfo, gl_basic, gl_basic_test. Post-commit, the executables were no longer satisying their Cocoa dependency transitively through libwaffle. Fix the build by linking *every* Waffle target to the Cocoa libraries with a toplevel `link_libraries` directive. Also, don't unset LINK_INTERFACE_LIBRARIES on the Mac. It causes a CMake warning that I don't understand. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2014-07-15cgl: Fix build error introduced by 0e1ae83Chad Versace
Commit 0e1ae83 added a fatal typo. Fix it with s/context_version_major/context_major_version/ s/context_version_minor/context_mino_version/ Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2014-07-03core: Remove empty structs from core objectsChad Versace
Emil discovered that MSVC does rejects empty structs with the error message "C requires that a struct or union has at least one member". This patch removes all empty structs from the wcore objects, and replaces each with a pair of safe typecast functions that provide bidirectional casting waffle_OBJ <-> wcore_OBJ. Reported-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>