Age | Commit message (Collapse) | Author |
|
Change-Id: I0b525490bf7140ea02f2c76a2a56ec62c0661d25
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
Change-Id: I52fdfe3601c6abd6b739582336b51105ed8b9e81
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
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>
|
|
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
|
|
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>
|
|
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>
|
|
waffle Debian release 1.4.0-1
|
|
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
|
|
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>
|
|
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
|
|
Remove the "draft" notice and update commit numbers. That's all.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
|
|
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>
|
|
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>
|
|
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>
|
|
This allows us to easily prototype the PKGBUILD for upcoming releases.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
|
|
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
|
|
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>
|
|
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>
|
|
|
|
Concicse is better than rambling. Remove all the nonessential parts of
the file.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
|
|
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>
|
|
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>
|
|
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>
|
|
And add a good example commit message from Emil.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
|
|
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>
|
|
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
|
|
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>
|
|
Waffle now uses the issue tracker at
(https://github.com/waffle-gl/waffle/issues).
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
|
|
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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)
|
|
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)
|
|
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)
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
|
|
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>
|
|
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>
|
|
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>
|