replay: set hardwareType if needed

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
replay: make use of using2D and using3D

The imx6 kernel 1.1.0 makes use of these vars, so it is a good
idea to set them.

root@linaro-ubuntu-desktop:~/linux-imx6# grep using3D drivers/mxc/gpu-viv/ -R
drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_command.c:            if (Context->dirty || commandBufferObject->using3D)
drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_command.c:            if (Context->dirty || commandBufferObject->using3D)
drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_command.c:            if (commandBufferObject->using3D && Context->dirty3D)
drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_command.c:            if (commandBufferObject->using3D && Context->dirty3D)
drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_kernel_buffer.h:    gctBOOL                     using3D;

root@linaro-ubuntu-desktop:~/linux-imx6# grep using2D drivers/mxc/gpu-viv/ -R
drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_command.c:        if (commandBufferObject->using2D && Context->dirty2D)
drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_kernel_buffer.h:    gctBOOL                     using2D;
root@linaro-ubuntu-desktop:~/linux-imx6#

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Merge pull request #17 from austriancoder/master

small fixes for replay