Commit Graph

28 Commits

Author SHA1 Message Date
yinshengkai 85f727f232 tools: replace INCDIR to Makefile variable
In the past, header file paths were generated by the incdir command
Now they are generated by concatenating environment variables

In this way, when executing makefile, no shell command will be executed,
it will improve the speed of executing makfile
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2022-11-03 19:59:55 +08:00
Alin Jerpelea 8366a20be8 graphics: Author: Gregory Nutt: update licenses to Apache
Update files from Gregory Nutt to Apache 2.0 license.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-02-07 11:09:03 -03:00
Xiang Xiao 5eae32577e build: Move INCDIROPT to common place
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-18 15:02:55 -06:00
Gregory Nutt 5c0e8e88b1 Revert "Makefile: move INCDIROPT to common place (#625)"
This reverts commit b9ace36fcc.

This change was added by PR 625 but has a serious logic flaw.  It removes all occurrences of INCDIROPT and replaces it with a definition in tools/Config.mk:

    else ifeq ($(WINTOOL),y)
      DEFINE = "$(TOPDIR)/tools/define.sh"
      INCDIR = "$(TOPDIR)/tools/incdir.sh" -w

This logic flaw is the Config.mk is included in all Make.defs files BEFORE WINTOOL is defined.  As a result, the definition is wrong in many places when building under Cygwin with a Windows native toolchain.
2020-03-26 08:50:29 -07:00
Xiang Xiao b9ace36fcc
Makefile: move INCDIROPT to common place (#625) 2020-03-26 08:09:59 -06:00
Xiang Xiao 68951e8d72 Remove exra whitespace from files (#189)
* Remove multiple newlines at the end of files
* Remove the whitespace from the end of lines
2020-01-31 09:24:49 -06:00
Gregory Nutt a40ef12895 graphics/: Fix an oversight in the implementation of per-window framebuffers. It is true that redraw callbacks can be supporessed for all cases ... EXCEPT ONE: When the window is resized to a larger size, then the newly exposed territory must be drawn for the first time. 2019-05-16 09:18:33 -06:00
Gregory Nutt 7a2bb1f727 graphics/nxmu/nxmu_start.c: Fix a naming collision introduced with the last commit. Ye olde nx_start that started the NX graphics is now nxmu_start(). 2019-02-04 16:51:48 -06:00
Gregory Nutt b75952c479 This removes the last traces of single-user mode. 2017-10-15 09:34:08 -06:00
Gregory Nutt 6dda185e8a NX: Remove configuration CONFIG_NX_NXSTART. nx_start.c is now built unconditionally in multi-user mode. 2016-12-01 13:30:24 -06:00
Gregory Nutt ecf0bcf13c Make graphics build system work like other directories 2016-04-13 15:39:03 -06:00
Gregory Nutt 5c7a4896cc Add nx_start() to simplify starting the NX server from within the RTOS 2013-12-29 11:11:48 -06:00
Gregory Nutt c144669782 Move more files from graphics/nxmu to libnx/nxmu 2013-12-29 08:48:06 -06:00
Gregory Nutt 090a18f863 Decoupling NX user interfaces to support NX kernel build (phase 5) 2013-12-27 16:30:18 -06:00
Gregory Nutt 425d0cccaf Decoupling NX user interfaces to support NX kernel build (phase 2) 2013-12-27 14:30:13 -06:00
Gregory Nutt 2507017695 Decoupling NX user interfaces to support NX kernel build (phase 1) 2013-12-27 13:18:20 -06:00
patacongo 6d58ba972f Implement an NX interface to block flush message queues in multi-user mode. This is necessary to prevent stale window handles when a window is closed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4745 42af7a65-404d-4744-a932-0658087f49c3
2012-05-17 22:16:02 +00:00
patacongo 0608930e20 Re-factor NX messaging logic in preparation for a new message control feature
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4744 42af7a65-404d-4744-a932-0658087f49c3
2012-05-17 19:32:48 +00:00
patacongo 0c4acf3a3f NX console should only be available if NX multi-user mode is enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4535 42af7a65-404d-4744-a932-0658087f49c3
2012-03-28 17:19:17 +00:00
patacongo dbf37c6315 Add logic to read from graphics memory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4057 42af7a65-404d-4744-a932-0658087f49c3
2011-10-22 18:13:04 +00:00
patacongo 923132391d Add logic to set individual pixels
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4047 42af7a65-404d-4744-a932-0658087f49c3
2011-10-14 16:58:44 +00:00
patacongo 4310fd4cb3 Add circle drawing interfaces
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3910 42af7a65-404d-4744-a932-0658087f49c3
2011-08-24 14:46:59 +00:00
patacongo 1fb1422b57 Add NX line drawing interfaces
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3836 42af7a65-404d-4744-a932-0658087f49c3
2011-08-02 13:39:55 +00:00
patacongo 538c321bfc Add nx_constructwindow
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1367 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 13:26:23 +00:00
patacongo fccb66a0be Add nx_eventnotify.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1349 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 18:12:17 +00:00
patacongo d3038a7a98 Add APIs to get access to background
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1343 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 14:59:02 +00:00
patacongo 63101c7916 Changes from initial NX debug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1341 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 23:04:54 +00:00
patacongo 43d77227a0 Multi-user graphics front-end
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1325 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 14:42:52 +00:00