- Added DLCAPS_ALPHA_RAMP: Alpha values for formats with one or two alpha bits can be chosen, i.e. using ARGB1555 or ARGB2554 the user can define the meaning of the two or four possibilities. In short, this feature provides a lookup table for the alpha of these formats. - Added DLCAPS_PREMULTIPLIED indicating that a display layer can display surfaces with premultiplied alpha. - Added DSCAPS_PREMULTIPLIED indicating that the surface has premultiplied alpha data. - Added DLCONF_SURFACE_CAPS and field 'surface_caps' to DFBDisplayLayerConfig to specify any combination of the flags: DSCAPS_INTERLACED, DSCAPS_SEPARATED or DSCAPS_PREMULTIPLIED. - Added DLCAPS_SCREEN_POSITION and DLCAPS_SCREEN_SIZE. These are set if DLCAPS_SCREEN_LOCATION is set and vice versa. Unscalable layers just have DLCAPS_SCREEN_POSITION. - Added DSECAPS_BRIGHTNESS, DSECAPS_CONTRAST, DSECAPS_HUE, DSECAPS_SATURATION. - Added DSECONF_ADJUSTMENT to DFBScreenEncoderConfigFlags. - Added 'DFBColorAdjustment adjustment' to DFBScreenEncoderConfig.
12 lines
539 B
Text
12 lines
539 B
Text
$NetBSD: patch-aa,v 1.1 2005/09/30 14:10:56 moubctez Exp $
|
|
|
|
--- lib/direct/util.h.orig 2005-09-30 12:37:31.000000000 +0000
|
|
+++ lib/direct/util.h
|
|
@@ -120,7 +120,6 @@ direct_util_recursive_pthread_mutex_init
|
|
#ifdef PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
|
|
#define DIRECT_UTIL_RECURSIVE_PTHREAD_MUTEX_INITIALIZER PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
|
|
#else
|
|
-#warning PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP is not defined, be aware of dead locks
|
|
#define DIRECT_UTIL_RECURSIVE_PTHREAD_MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER
|
|
#endif
|
|
|