i965: Rename __DRIScreen pointers to "dri_screen".
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 1 Dec 2015 00:04:08 +0000 (16:04 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 21 Sep 2016 03:08:12 +0000 (20:08 -0700)
commit8fec9fbb9f78c1cbc539b28cd914fe366fa7e344
treee0f9ca0a5e1583801d92ac63900062ed44efeafc
parentd4bf9baa43e2cf7b4b877141ee472779ced219bf
i965: Rename __DRIScreen pointers to "dri_screen".

I want to use "screen" as the variable name for a struct intel_screen
pointer.  This means that we can't use it for __DRIscreen pointers.

Sometimes we called it "screen", sometimes "sPriv", sometimes
"driScrnPriv", and sometimes "psp" (Pointer to Screen Private?).
The last one is particularly confusing because we use "psp" to refer to
the Gen4 PIPELINED_STATE_POINTERS packet as well.

Let's be consistent.  "dri_screen" is clear, and it's not used often
enough that I'm worried about the verbosity.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/intel_batchbuffer.c
src/mesa/drivers/dri/i965/intel_fbo.c
src/mesa/drivers/dri/i965/intel_screen.c
src/mesa/drivers/dri/i965/intel_syncobj.c
src/mesa/drivers/dri/i965/intel_tex_image.c