diff options
author | Loren Huang <b02279@freescale.com> | 2014-01-09 04:41:50 -0500 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:47:34 -0400 |
commit | 822a5103b8ed1563ea8df9897b8bca882514841a (patch) | |
tree | 772e92e834ee3463f68dcb3c108e510f257e3329 /drivers/mxc/gpu-viv/hal | |
parent | 14adcace58ae03c2d79052a9434670706cc67cb0 (diff) |
ENGR00286762 gpu: enable swap rectange and fix a bug
add eglSetSwapRectangleANDROID back and enable swap rectange,
fix a swap rectange bug which will swap whole screen instead
of the indicate swap region if region's left and top is (0,0).
Signed-off-by: Richard Liu <r66033@freescale.com>
Acked-by: Shawn Guo
Diffstat (limited to 'drivers/mxc/gpu-viv/hal')
-rw-r--r-- | drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_options.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_options.h b/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_options.h index b53b618c2e50..420437f514bc 100644 --- a/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_options.h +++ b/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_options.h | |||
@@ -726,7 +726,7 @@ | |||
726 | 726 | ||
727 | Support swap with a specific rectangle. | 727 | Support swap with a specific rectangle. |
728 | 728 | ||
729 | Set the rectangle with eglSetSwapRectangleVIV api. | 729 | Set the rectangle with eglSetSwapRectangleANDROID api. |
730 | */ | 730 | */ |
731 | #ifndef gcdSUPPORT_SWAP_RECTANGLE | 731 | #ifndef gcdSUPPORT_SWAP_RECTANGLE |
732 | # define gcdSUPPORT_SWAP_RECTANGLE 0 | 732 | # define gcdSUPPORT_SWAP_RECTANGLE 0 |