diff options
author | Zhigang Gong <zhigang.gong@linux.intel.com> | 2012-01-18 19:21:36 +0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-12-18 11:23:47 -0800 |
commit | 2ff41008494e6c5909c058f1f80b4f66617dada1 (patch) | |
tree | 540d0790d6524e147676687fabfd3980750efab8 /glamor/glamor_debug.h | |
parent | ca2ddd33a114fe83584b5fa9f73b7534abdb96fa (diff) |
glamor_fbo: Introduce glamor fbo to manage all the fb/tex.
This is the first patch to implement a fbo/tex pool mechanism which
is like the sna's BO cache list. We firstly need to decopule the
fbo/tex from each pixmap. The new glamor_pixmap_fbo data
structure is for that purpose. It's somehow independent to each
pixmap and can be reused latter by other pixmaps once it's detached
from the current pixmap.
And this commit also slightly change the way to create a
memory pixmap. We will not create a pixmap private data structure
by default, instead we will crete that structure when a memory
pixmap is attaching a fbo to it.
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'glamor/glamor_debug.h')
-rw-r--r-- | glamor/glamor_debug.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/glamor/glamor_debug.h b/glamor/glamor_debug.h index b1017490e..ac7e69870 100644 --- a/glamor/glamor_debug.h +++ b/glamor/glamor_debug.h @@ -79,5 +79,8 @@ AbortServer(void) _glamor_priv_->delayed_fallback_string); \ _glamor_priv_->delayed_fallback_pending = 0; } } while(0) +#define DEBUGF(str, ...) +//#define DEBUGF(str, ...) ErrorF(str, ##__VA_ARGS__) + #endif |