浏览代码

intel: make sure we update the renderbuffers after a swap

Now that LOCK_HARDWARE is gone, we don't have a convenient place to
update the renderbuffers everywhere we need them.  So grab new buffers
when we invalidate the old ones until we optimize things further.
tags/7.8-rc1
Jesse Barnes 15 年前
父节点
当前提交
06d228d8b9
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      src/mesa/drivers/dri/intel/intel_screen.c

+ 2
- 0
src/mesa/drivers/dri/intel/intel_screen.c 查看文件

@@ -132,6 +132,8 @@ intelDRI2FlushInvalidate(__DRIdrawable *drawable)

intelDRI2Flush(drawable);
drawable->validBuffers = GL_FALSE;

intel_update_renderbuffers(intel->driContext, drawable);
}

static const struct __DRI2flushExtensionRec intelFlushExtension = {

正在加载...
取消
保存