i915/sync: Replace prefix 'intel_sync' -> 'intel_gl_sync'
authorMauro Rossi <issor.oruam@gmail.com>
Thu, 14 Jul 2016 03:33:15 +0000 (05:33 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 14 Oct 2016 14:43:22 +0000 (15:43 +0100)
commit19fa29a59288de6ea38501f8a32d8dfc2a08dace
tree95d4ba5adb97162c1365c4966c4a89616db29823
parent284795616a76787447ebf7db8b93d4b90073ccf5
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 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."

[Emil Velikov: rename the outstanding intel_sync instances]
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/mesa/drivers/dri/i915/intel_context.h
src/mesa/drivers/dri/i915/intel_syncobj.c