History log of /external/mesa3d/src/mesa/drivers/dri/i965/brw_meta_util.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7c75fd9a5971d59e215ab2f04b4c06c3399d0211 12-Jun-2016 Topi Pohjolainen <topi.pohjolainen@intel.com> i965/meta: Split conversion of color and setting it

And fix a mangled comment while at it.

v2 (Ben): Return the converted color.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_meta_util.c
007d8a6d04a807f5c65c8545398ee5639f2eee31 19-Aug-2016 Jason Ekstrand <jason.ekstrand@intel.com> i965: Move get_fast_clear_rect to blorp_clear.c

This has been the only caller since we deleted the meta fast clear code.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_meta_util.c
c8ff36228d6f5d48f700437e4a5520d8b6de13ab 19-Aug-2016 Jason Ekstrand <jason.ekstrand@intel.com> i965: Roll brw_get_ccs_resolve_rect into blorp_ccs_resolve

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_meta_util.c
a818a322440d667a5c143647d070fbc06eb7c328 19-Aug-2016 Jason Ekstrand <jason.ekstrand@intel.com> i965/meta_util: Take an isl_device in get_fast_clear_rect

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_meta_util.c
8455f9430f4aed84ab184f39ce5c4e779bc9dcb3 09-Aug-2016 Jason Ekstrand <jason.ekstrand@intel.com> i965: Stop including brw_defines.h in brw_state.h

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_meta_util.c
7cddca39c04892feb5cccba8de8c6472012145e3 25-Jul-2016 Jason Ekstrand <jason.ekstrand@intel.com> i965/meta_util: Convert get_fast_clear_rect to take an isl_surf

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_meta_util.c
a6c2091da6d8ba1dd237fadde60804a37a88a3d8 24-Jul-2016 Jason Ekstrand <jason.ekstrand@intel.com> i965/meta_util: Only modify the input parameters in get_fast_clear_rect

We had another inline copy of brw_meta_get_buffer_rect embedded in
get_fast_clear_rect for no good reason. This lets us get rid of the
gl_frameuffer parameter to get_fast_clear_rect.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_meta_util.c
f748e157352bba0b46db52b5f2e21e68e04391d0 24-Jul-2016 Jason Ekstrand <jason.ekstrand@intel.com> i965/blorp: Stop calling brw_meta_get_buffer_rect

We already have an inlined version of the function slightly higher up in
do_single_blorp_clear and all calling it does is stomp the values with the
same thing. We might as well just get rid of it.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_meta_util.c
dff74b83e11c508cdc782f696d8166834857e0cc 23-Jul-2016 Jason Ekstrand <jason.ekstrand@intel.com> i965/meta_util: Convert get_resolve_rect to use ISL

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_meta_util.c
a32315bd193a63b10d19c07dab0b3f8ab8e3138d 13-May-2016 Jason Ekstrand <jason.ekstrand@intel.com> i965: move brw_meta_set_fast_clear_color to brw_meta_util.c

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_meta_util.c
36529f670fad3872b8b54e1bf6b3113ad2a737a0 13-May-2016 Jason Ekstrand <jason.ekstrand@intel.com> i965; Move brw_meta_get_*_rect to brw_meta_util.c

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_meta_util.c
21034f1b08a871b5968aa1293bb64e35556d8b86 13-May-2016 Jason Ekstrand <jason.ekstrand@intel.com> i965: Move brw_is_color_fast_clear_compatible to brw_meta_util

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_meta_util.c
b05c68fc8acf760acc3d124450fc5879f9385597 12-May-2016 Jason Ekstrand <jason.ekstrand@intel.com> i965: Move brw_get_rb_for_slice to brw_meta_util

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_meta_util.c
bdaa0e12a20f17b757d88ef9a33a22847b988c51 29-Jul-2015 Iago Toral Quiroga <itoral@igalia.com> i965/blorp: Improve precission of blitting coordinates when clipping

We do this in two steps: first we clip the dst rect and adjust the src
rect accordingly. Then we do it the other way around. In both passes
the adjustment part involves multiplying by a scale factor that can lead
to a small precision loss. This is breaking a few dEQP tests.

Specifically, the problem happens when we need to clip the same coordinate
twice. For example, if srcX0 and dstX0 need both to be clipped we want to
avoid the situation where we clip srcX0 first, then adjust dstX0 accordingly
but then we realize that the resulting dstX0 still needs to be clipped, so
we clip dstX0 and adjust srcX0 again. Each of these two passes can lead
to precission loss. What we want to do here is detect the rect that leads
to the largest clip (accounting for the scale factor involved), clip that
rect and adjust the other one. With this we ensure that the adjusted
coordinate does not need to be clipped again and we can skip a second pass,
improving precision.

Fixes the following 4 dEQP tests:
dEQP-GLES3.functional.fbo.blit.rect.out_of_bounds_reverse_src_x_nearest
dEQP-GLES3.functional.fbo.blit.rect.out_of_bounds_reverse_src_x_linear
dEQP-GLES3.functional.fbo.blit.rect.out_of_bounds_reverse_dst_x_nearest
dEQP-GLES3.functional.fbo.blit.rect.out_of_bounds_reverse_dst_x_linear

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: Mark Janes <mark.a.janes@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_meta_util.c
e187c2f5432466c7b49dba266026fb9b01f5f667 30-Jan-2015 Laura Ekstrand <laura@jlekstrand.net> DD: Refactor BlitFramebuffer.

In preparation for glBlitNamedFramebuffer, the DD table function
BlitFramebuffer needs to accept two arbitrary framebuffer objects rather
than assuming ctx->ReadBuffer and ctx->DrawBuffer.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_meta_util.c
3a43cd0c3e611085347f67976a619b915dff07b7 22-Apr-2014 Topi Pohjolainen <topi.pohjolainen@intel.com> i965/blorp: Expose coordinate scissoring and mirroring

Cc: "10.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/brw_meta_util.c