summaryrefslogtreecommitdiff
path: root/nuttx/graphics
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-12-28 08:40:03 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-12-28 08:40:03 -0600
commit6155c555e636176d884500ae699a6233dd010188 (patch)
tree79e5925cb3bfa3e7b8761986a3f3dd0e1abcfc78 /nuttx/graphics
parente734551bfdb6e406fba2678e5252fca78115256f (diff)
downloadnuttx-6155c555e636176d884500ae699a6233dd010188.tar.gz
nuttx-6155c555e636176d884500ae699a6233dd010188.tar.bz2
nuttx-6155c555e636176d884500ae699a6233dd010188.zip
Move the NX components out of libc and into its own library, libnx
Diffstat (limited to 'nuttx/graphics')
-rw-r--r--nuttx/graphics/README.txt19
-rw-r--r--nuttx/graphics/nxglib/nxglib_copyrun.h2
-rw-r--r--nuttx/graphics/nxglib/nxglib_fillrun.h2
3 files changed, 21 insertions, 2 deletions
diff --git a/nuttx/graphics/README.txt b/nuttx/graphics/README.txt
index 474b0f3a9..9f3bdbe4e 100644
--- a/nuttx/graphics/README.txt
+++ b/nuttx/graphics/README.txt
@@ -52,7 +52,21 @@ include/nuttx/nx/nxfont.h -- Describe sthe NXFONT C interfaces
Directories
^^^^^^^^^^^
+ The graphics capability consist both of components internal to the RTOS
+ and of user-callable interfaces. In the NuttX kernel mode build there are
+ some components of the graphics subsystem are callable in user mode and other
+ components that are internal to the RTOS. This directory, nuttx/graphics,
+ contains only those components that are internal to the RTOS.
+
+ User callable functions must, instead, be part of a library that can be
+ linked against user applications. This user callable interfaces are
+ provided in sub-directories under nuttx/libnx.
+
+libnx/nx
+ Common callable interfaces that are, logically, part of both nxmu and nxsu.
+
graphics/nxglib
+libnx/nxglib
The NuttX tiny graphics library. The directory contains generic utilities
support operations on primitive graphics objects and logic to rasterize directly
into a framebuffer. It has no concept of windows (other than the one, framebuffer
@@ -71,7 +85,12 @@ graphics/nxsu
single user front-end is selected when CONFIG_NX_MULTIUSER is not defined in the
NuttX configuration file.
+ NOTE: There is no nxsu sub-directory in nuttx/libnx. That is because this
+ separation of interfaces is only required in the kernel build mode and
+ only the multi-user interfaces can be used with the kernel build.
+
graphics/nxmu
+libnx/nxmu
This is the NX multi user "front end". When combined with the generic "back-end"
(nxbe), it implements a multi-threaded, multi-user windowing system. The files
in this directory present the window APIs described in include/nuttx/nx/nx.h. The
diff --git a/nuttx/graphics/nxglib/nxglib_copyrun.h b/nuttx/graphics/nxglib/nxglib_copyrun.h
index a52af2246..f0cb9097a 100644
--- a/nuttx/graphics/nxglib/nxglib_copyrun.h
+++ b/nuttx/graphics/nxglib/nxglib_copyrun.h
@@ -1,5 +1,5 @@
/****************************************************************************
- * graphics/nxglib/nxsglib_copyrun.h
+ * graphics/nxglib/nxglib_copyrun.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/graphics/nxglib/nxglib_fillrun.h b/nuttx/graphics/nxglib/nxglib_fillrun.h
index 1dcf85dd9..074823b1f 100644
--- a/nuttx/graphics/nxglib/nxglib_fillrun.h
+++ b/nuttx/graphics/nxglib/nxglib_fillrun.h
@@ -1,5 +1,5 @@
/****************************************************************************
- * graphics/nxglib/nxsglib_fullrun.h
+ * graphics/nxglib/nxglib_fullrun.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>