From 5c1f15fac26b86b6cb73776db1a644d6af570da7 Mon Sep 17 00:00:00 2001 From: Zhigang Gong Date: Sat, 28 Apr 2012 14:13:47 +0800 Subject: [PATCH] Added some copyright and author information. Signed-off-by: Zhigang Gong --- glamor/glamor.c | 1 + glamor/glamor.h | 1 + glamor/glamor_copyarea.c | 5 ++++- glamor/glamor_debug.h | 28 ++++++++++++++++++++++++++++ glamor/glamor_eglmodule.c | 3 +++ glamor/glamor_fbo.c | 28 ++++++++++++++++++++++++++++ glamor/glamor_fill.c | 4 ++++ glamor/glamor_getspans.c | 1 + glamor/glamor_gl_dispatch.c | 28 ++++++++++++++++++++++++++++ glamor/glamor_glext.h | 29 +++++++++++++++++++++++++++++ glamor/glamor_picture.c | 28 ++++++++++++++++++++++++++++ glamor/glamor_pixmap.c | 29 +++++++++++++++++++++++++++++ glamor/glamor_putimage.c | 1 + glamor/glamor_render.c | 2 ++ glamor/glamor_setspans.c | 1 + glamor/glamor_tile.c | 1 + glamor/glamor_utils.h | 27 +++++++++++++++++++++++++++ 17 files changed, 216 insertions(+), 1 deletion(-) diff --git a/glamor/glamor.c b/glamor/glamor.c index ea822f318d..f924c91dbe 100644 --- a/glamor/glamor.c +++ b/glamor/glamor.c @@ -22,6 +22,7 @@ * * Authors: * Eric Anholt + * Zhigang Gong * */ diff --git a/glamor/glamor.h b/glamor/glamor.h index e6206d09ed..da45acc895 100644 --- a/glamor/glamor.h +++ b/glamor/glamor.h @@ -22,6 +22,7 @@ * * Authors: * Eric Anholt + * Zhigang Gong * */ diff --git a/glamor/glamor_copyarea.c b/glamor/glamor_copyarea.c index f28206791b..ee9e9f44aa 100644 --- a/glamor/glamor_copyarea.c +++ b/glamor/glamor_copyarea.c @@ -19,6 +19,10 @@ * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. + * + * Authors: + * Eric Anholt + * Zhigang Gong */ #include "glamor_priv.h" @@ -329,7 +333,6 @@ _glamor_copy_n_to_n(DrawablePtr src, } } } - /* XXX need revisit to handle overlapped area copying. */ #ifndef GLAMOR_GLES2 if ((overlaped || !src_pixmap_priv->gl_tex || !dst_pixmap_priv->gl_tex) diff --git a/glamor/glamor_debug.h b/glamor/glamor_debug.h index ac7e698709..99dce041c1 100644 --- a/glamor/glamor_debug.h +++ b/glamor/glamor_debug.h @@ -1,3 +1,31 @@ +/* + * Copyright © 2009 Intel Corporation + * Copyright © 1998 Keith Packard + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + * IN THE SOFTWARE. + * + * Authors: + * Zhigang Gong + * + */ + #ifndef __GLAMOR_DEBUG_H__ #define __GLAMOR_DEBUG_H__ diff --git a/glamor/glamor_eglmodule.c b/glamor/glamor_eglmodule.c index 0961651622..046f4de5b8 100644 --- a/glamor/glamor_eglmodule.c +++ b/glamor/glamor_eglmodule.c @@ -22,6 +22,9 @@ * not be used in advertising or otherwise to promote the sale, use or other * dealings in this Software without prior written authorization from the * XFree86 Project. + * + * Authors: + * Zhigang Gong */ #ifdef HAVE_CONFIG_H diff --git a/glamor/glamor_fbo.c b/glamor/glamor_fbo.c index a7cae664dd..9b8dcdf5ee 100644 --- a/glamor/glamor_fbo.c +++ b/glamor/glamor_fbo.c @@ -1,3 +1,31 @@ +/* + * Copyright © 2009 Intel Corporation + * Copyright © 1998 Keith Packard + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + * IN THE SOFTWARE. + * + * Authors: + * Zhigang Gong + * + */ + #include #include "glamor_priv.h" diff --git a/glamor/glamor_fill.c b/glamor/glamor_fill.c index 95b070db0e..def4550c00 100644 --- a/glamor/glamor_fill.c +++ b/glamor/glamor_fill.c @@ -19,6 +19,10 @@ * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. + * + * Authors: + * Eric Anholt + * Zhigang Gong */ #include "glamor_priv.h" diff --git a/glamor/glamor_getspans.c b/glamor/glamor_getspans.c index 22e2b7c6b1..6d6c8e9a4c 100644 --- a/glamor/glamor_getspans.c +++ b/glamor/glamor_getspans.c @@ -22,6 +22,7 @@ * * Authors: * Eric Anholt + * Zhigang Gong * */ diff --git a/glamor/glamor_gl_dispatch.c b/glamor/glamor_gl_dispatch.c index e6da94d9cd..f996504255 100644 --- a/glamor/glamor_gl_dispatch.c +++ b/glamor/glamor_gl_dispatch.c @@ -1,3 +1,31 @@ +/* + * Copyright © 2009 Intel Corporation + * Copyright © 1998 Keith Packard + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + * IN THE SOFTWARE. + * + * Authors: + * Zhigang Gong + * + */ + #include "glamor_priv.h" #include diff --git a/glamor/glamor_glext.h b/glamor/glamor_glext.h index f734d1313e..d60c69690b 100644 --- a/glamor/glamor_glext.h +++ b/glamor/glamor_glext.h @@ -1,3 +1,32 @@ +/* + * Copyright © 2001 Keith Packard + * Copyright © 2008 Intel Corporation + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + * IN THE SOFTWARE. + * + * Authors: + * Zhigang Gong + * + */ + + #ifdef GLAMOR_GLES2 #define GL_BGRA GL_BGRA_EXT diff --git a/glamor/glamor_picture.c b/glamor/glamor_picture.c index 38185a491d..a6d21f1107 100644 --- a/glamor/glamor_picture.c +++ b/glamor/glamor_picture.c @@ -1,3 +1,31 @@ +/* + * Copyright © 2009 Intel Corporation + * Copyright © 1998 Keith Packard + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + * IN THE SOFTWARE. + * + * Authors: + * Zhigang Gong + * + */ + #include #include "glamor_priv.h" diff --git a/glamor/glamor_pixmap.c b/glamor/glamor_pixmap.c index 68a7b06385..5c46b0355f 100644 --- a/glamor/glamor_pixmap.c +++ b/glamor/glamor_pixmap.c @@ -1,3 +1,32 @@ +/* + * Copyright © 2001 Keith Packard + * Copyright © 2008 Intel Corporation + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + * IN THE SOFTWARE. + * + * Authors: + * Eric Anholt + * Zhigang Gong + * + */ + #include #include "glamor_priv.h" diff --git a/glamor/glamor_putimage.c b/glamor/glamor_putimage.c index 0c3c0c5bae..a1119b65cc 100644 --- a/glamor/glamor_putimage.c +++ b/glamor/glamor_putimage.c @@ -22,6 +22,7 @@ * * Authors: * Eric Anholt + * Zhigang Gong * */ diff --git a/glamor/glamor_render.c b/glamor/glamor_render.c index 3f3a3bc186..0377a8a00f 100644 --- a/glamor/glamor_render.c +++ b/glamor/glamor_render.c @@ -22,6 +22,8 @@ * * Authors: * Eric Anholt + * Zhigang Gong + * Junyan He * */ diff --git a/glamor/glamor_setspans.c b/glamor/glamor_setspans.c index e283853355..a71efe901f 100644 --- a/glamor/glamor_setspans.c +++ b/glamor/glamor_setspans.c @@ -22,6 +22,7 @@ * * Authors: * Eric Anholt + * Zhigang Gong * */ diff --git a/glamor/glamor_tile.c b/glamor/glamor_tile.c index 8e09553640..df66d05ec0 100644 --- a/glamor/glamor_tile.c +++ b/glamor/glamor_tile.c @@ -22,6 +22,7 @@ * * Authors: * Eric Anholt + * Zhigang Gong * */ diff --git a/glamor/glamor_utils.h b/glamor/glamor_utils.h index f39e3a532f..d133135afc 100644 --- a/glamor/glamor_utils.h +++ b/glamor/glamor_utils.h @@ -1,3 +1,30 @@ +/* + * Copyright © 2009 Intel Corporation + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + * IN THE SOFTWARE. + * + * Authors: + * Zhigang Gong + * + */ + #ifndef GLAMOR_PRIV_H #error This file can only be included by glamor_priv.h #endif