mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Squashed commit of the following:
graphics/nxbe/nxbe_bitmap.c: Fix another coordinate system problem.
graphics/: Review use of device coordinate system with window frambebuffer and make fixes accordingly.
graphics/nxbe/nxbe_fill.c: Fix a coordinate system bug. Was trying to update the window fraembuffer using the device coordinate system. Need to use the relative coordinate system.
graphics/: Use DEBUGASSERT instead of return an error since the is no user to handle the errors within the NX server. Use CONFIG_DEBUG_GRAPHICS instead of CONFIG_DEBUG_FEATURES in most cases.
graphics/: Nothing under graphics/ should set the errno.
This commit is contained in:
@@ -45,15 +45,19 @@
|
||||
#include <errno.h>
|
||||
|
||||
#if defined(CONFIG_VNCSERVER_DEBUG) && !defined(CONFIG_DEBUG_GRAPHICS)
|
||||
# undef CONFIG_DEBUG_FEATURES
|
||||
# undef CONFIG_DEBUG_ERROR
|
||||
# undef CONFIG_DEBUG_WARN
|
||||
# undef CONFIG_DEBUG_INFO
|
||||
# define CONFIG_DEBUG_FEATURES 1
|
||||
# define CONFIG_DEBUG_ERROR 1
|
||||
# define CONFIG_DEBUG_WARN 1
|
||||
# define CONFIG_DEBUG_INFO 1
|
||||
# define CONFIG_DEBUG_GRAPHICS 1
|
||||
# undef CONFIG_DEBUG_GRAPHICS_ERROR
|
||||
# undef CONFIG_DEBUG_GRAPHICS_WARN
|
||||
# undef CONFIG_DEBUG_GRAPHICS_INFO
|
||||
# define CONFIG_DEBUG_ERROR 1
|
||||
# define CONFIG_DEBUG_WARN 1
|
||||
# define CONFIG_DEBUG_INFO 1
|
||||
# define CONFIG_DEBUG_GRAPHICS 1
|
||||
# define CONFIG_DEBUG_GRAPHICS_ERROR 1
|
||||
# define CONFIG_DEBUG_GRAPHICS_WARN 1
|
||||
# define CONFIG_DEBUG_GRAPHICS_INFO 1
|
||||
#endif
|
||||
#include <debug.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user