зеркало из https://github.com/mozilla/moz-skia.git
Revert GR_STATIC_RECT_VB in GrGLConfig_chrome.h
Review URL: http://codereview.appspot.com/4282057/ git-svn-id: http://skia.googlecode.com/svn/trunk@958 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
4b0f0b2758
Коммит
098611bd74
|
@ -21,14 +21,4 @@
|
|||
// glGetError() forces a sync with gpu process on chrome
|
||||
#define GR_GL_CHECK_ERROR_START 0
|
||||
|
||||
// Using the static vb precludes batching rect-to-rect draws
|
||||
// because there are matrix changes between each one.
|
||||
// Chrome was getting top performance on Windows with
|
||||
// batched rect-to-rect draws. But there seems to be some
|
||||
// regression that now causes any dynamic VB data to perform
|
||||
// very poorly. In any event the static VB seems to get equal
|
||||
// perf to what batching was producing and it always seems to
|
||||
// be better on Linux.
|
||||
#define GR_STATIC_RECT_VB 1
|
||||
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче