Increase vbo size to 64K verts.
This commit will benefit vertex stressing cases such as aa10text/rgb10text, and can get about 15% performance gain. Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com> Acked-by: Junyan <junyan.he@linux.intel.com>
This commit is contained in:
parent
b8f0a21882
commit
e846f48f48
|
@ -220,7 +220,6 @@ _glamor_solid_boxes(PixmapPtr pixmap, BoxPtr box, int nbox, float *color)
|
|||
}
|
||||
}
|
||||
|
||||
#define GLAMOR_COMPOSITE_VBO_VERT_CNT 1024
|
||||
if (unlikely(nbox > 1))
|
||||
dispatch->glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, glamor_priv->ebo);
|
||||
|
||||
|
|
|
@ -191,7 +191,7 @@ enum glamor_gl_flavor {
|
|||
|
||||
#define GLAMOR_NUM_GLYPH_CACHE_FORMATS 2
|
||||
|
||||
#define GLAMOR_COMPOSITE_VBO_VERT_CNT 1024
|
||||
#define GLAMOR_COMPOSITE_VBO_VERT_CNT (64*1024)
|
||||
|
||||
typedef struct {
|
||||
PicturePtr picture; /* Where the glyphs of the cache are stored */
|
||||
|
|
Loading…
Reference in New Issue
Block a user