OSDN Git Service

i915/sync: Replace prefix 'intel_sync' -> 'intel_gl_sync'
authorMauro Rossi <issor.oruam@gmail.com>
Wed, 13 Jul 2016 00:56:21 +0000 (02:56 +0200)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 3 Aug 2016 11:07:50 +0000 (19:07 +0800)
commitb62520e597725a21a1e5bbd1c3f7ccacb5e684f0
tree2ae0981fc9f8e34def9051adc4ad0d6fe10228cf
parentd827ac2a87db73b935d7b93fbb0f0b21305e6ec6
i915/sync: Replace prefix 'intel_sync' -> 'intel_gl_sync'

This is the porting of corresponding patch for i965,
i.e. commit 2516d83 i965/sync: Replace prefix 'intel_sync' -> 'intel_gl_sync'

The only difference compared to i965 one is that intel_check_sync() was renamed
to intel_gl_check_sync() here, as it is more appropriate.

Here follows original commit 2516d83 message by Chad Versace:

"I'm about to implement DRI2_Fenc in intel_syncobj.c.  To prevent
madness, we need to prefix functions for GL_ARB_sync with 'gl' and
functions for DRI2_Fence with 'dri'. Otherwise, the file will become
a jumble of similiarly named functions.

For example:
    old-name:      intel_client_wait_sync()
    new-name:      intel_gl_client_wait_sync()
    soon-to-come:  intel_dri_client_wait_sync()

I wrote this renaming commit separately from the commit that implements
DRI2_Fence because I wanted the latter diff to be reviewable."
src/mesa/drivers/dri/i915/intel_context.h
src/mesa/drivers/dri/i915/intel_syncobj.c