Blender Git Loki

Git Commits -> Revision 75f190b

Revision 75f190b by Damien Plisson (master)
January 6, 2010, 11:42 (GMT)
OpenGL Anti-aliasing implementation for blender windows

Added GHOST_TUns16 numOfAASamples parameter to GHOST_CreateWindow to specify the number of AA samples (null if no AA wanted)
Implemented it in the cascade of GHOST classes.

Full implementation currently done for OSX/Cocoa, stubs for other OSes.
Moguri : it's ready for your win32 implementation !

Note that fallback to a non AA window (if gfx card doesn't support AA) is done inside GHOST OS specific layer, so that blender windowmanager still gets its window created properly.

Commit Details:

Full Hash: 75f190bde8f60f8c091f84169620e3e814386379
SVN Revision: 25775
Parent Commit: 0cbf63b
Lines Changed: +139, -59

22 Modified Paths:

/intern/ghost/GHOST_C-api.h (+4, -1) (Diff)
/intern/ghost/GHOST_ISystem.h (+10, -8) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+3, -2) (Diff)
/intern/ghost/intern/GHOST_SystemCarbon.cpp (+1, -0) (Diff)
/intern/ghost/intern/GHOST_SystemCarbon.h (+1, -0) (Diff)
/intern/ghost/intern/GHOST_SystemCocoa.h (+11, -8) (Diff)
/intern/ghost/intern/GHOST_SystemCocoa.mm (+2, -1) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+1, -1) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.h (+5, -1) (Diff)
/intern/ghost/intern/GHOST_SystemX11.cpp (+3, -0) (Diff)
/intern/ghost/intern/GHOST_SystemX11.h (+1, -0) (Diff)
/intern/ghost/intern/GHOST_Window.cpp (+4, -2) (Diff)
/intern/ghost/intern/GHOST_Window.h (+14, -9) (Diff)
/intern/ghost/intern/GHOST_WindowCarbon.cpp (+2, -1) (Diff)
/intern/ghost/intern/GHOST_WindowCarbon.h (+2, -1) (Diff)
/intern/ghost/intern/GHOST_WindowCocoa.h (+12, -10) (Diff)
/intern/ghost/intern/GHOST_WindowCocoa.mm (+49, -7) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.cpp (+3, -2) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.h (+3, -1) (Diff)
/intern/ghost/intern/GHOST_WindowX11.cpp (+3, -2) (Diff)
/intern/ghost/intern/GHOST_WindowX11.h (+3, -1) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+2, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021