239ff641739dc9d6ce210ad3abb37b7e01171375 |
|
28-Sep-2016 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: Add a check for OES_viewport_array Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/main/viewport.c
|
0f01aa803332760079bde36218a3e884f2613db6 |
|
16-Sep-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa: add implementations for new float depth functions This just up-converts them to doubles. Not great, but this is what all the other variants also do. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
/external/mesa3d/src/mesa/main/viewport.c
|
411a72d4a2eb69e45701c5e19049f6c543a78f24 |
|
16-Sep-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa: add new entrypoints for GL_OES_viewport_array Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
/external/mesa3d/src/mesa/main/viewport.c
|
fe14110f359b0665cb0c09aa14f13a5ebb33b1bc |
|
09-Feb-2016 |
Brian Paul <brianp@vmware.com> |
mesa: fix incorrect viewport position when GL_CLIP_ORIGIN = GL_LOWER_LEFT Ilia Mirkin found/fixed the mistake. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93813 Cc: "11.1" <mesa-stable@lists.freedesktop.org> Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/mesa/main/viewport.c
|
f8a647883a14694f1b758c12187b3f35b9d039a7 |
|
12-Jul-2015 |
Matt Turner <mattst88@gmail.com> |
mesa: Use floats for viewport bounds. ARB_viewport_array specifies that DEPTH_RANGE consists of double- precision parameters (corresponding commit d4dc35987), and a preparatory commit (6340e609a) added _mesa_get_viewport_xform() which returned double-precision scale[3] and translate[3] vectors, even though X, Y, Width, and Height were still floats. All users of _mesa_get_viewport_xform() immediately convert the double scale and translation vectors into floats (which were floats originally, but were converted to doubles in _mesa_get_viewport_xform(), sigh). i965 at least cannot consume doubles (see SF_CLIP_VIEWPORT). If we want to pass doubles to hardware, we should have a different function that does that. Acked-by: Mathias Froehlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/viewport.c
|
2f11e92cef51c88a09bc778e2ceca4ab50cf0017 |
|
18-Jul-2015 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Rename _mesa_lookup_enum_by_nr() to _mesa_enum_to_string(). Generated by sed; no manual changes. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/viewport.c
|
24b78fe54e1498dc3f66cb616561894039806642 |
|
05-Apr-2015 |
Mathias Froehlich <Mathias.Froehlich@gmx.net> |
mesa: Remove unused variables left over from 107ae27e57d. Reviewed-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/viewport.c
|
107ae27e57dc2a1ddc6bbb7ea101c1c60794423f |
|
29-Mar-2015 |
Mathias Froehlich <Mathias.Froehlich@web.de> |
mesa: Remove the _WindowMap from gl_viewport_attrib. The _WindowMap can be dropped from gl_viewport_attrib now. Simplify gl_viewport_attrib handling where possible. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/viewport.c
|
2c2ada67206326911a36368015b9501a023bbac8 |
|
25-Oct-2014 |
Mathias Fröhlich <Mathias.Froehlich@gmx.net> |
mesa/gallium: Signal _NEW_TRANSFORM from glClipControl. This removes the need for the gallium rasterizer state to listen to viewport changes. Thanks to Marek Olšák <maraeo@gmail.com>. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/viewport.c
|
34a3c97fe6d273d68d2ee80386791832824f3211 |
|
21-Sep-2014 |
Mathias Fröhlich <Mathias.Froehlich@gmx.net> |
mesa: Implement ARB_clip_control. Implement the mesa parts of ARB_clip_control. So far no driver enables this. v3: Restrict getting clip control state to the availability of ARB_clip_control. Move to transformation state. Handle clip control state with the GL_TRANSFORM_BIT. Move _FrontBit update into state.c. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/viewport.c
|
6340e609a354770e04192b9b44e91fb06aab0159 |
|
21-Sep-2014 |
Mathias Fröhlich <Mathias.Froehlich@gmx.net> |
mesa: Refactor viewport transform computation. This is for preparation of ARB_clip_control. v3: Add comments. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/viewport.c
|
95073a2dca03a48f4c77bc846a4a6d1f0eb81ae6 |
|
27-Sep-2014 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Avoid flagging _NEW_VIEWPORT on redundant viewport updates. Cuts the number of i965 color calculator viewport uploads by 100x (11017983 -> 113385) in 'x11perf -gc' with Glamor in Xephyr. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/viewport.c
|
86231c4ab3ceb471b3d44978e7d56f167bafe34f |
|
14-Nov-2013 |
Courtney Goeltzenleuchter <courtney@LunarG.com> |
mesa: Add new viewport and depth-range entry points for GL_ARB_viewport_array v2 (idr): Use set_viewport_no_notify / set_depth_range_no_notify (and manually notify the driver) instead of calling _mesa_set_viewporti / _mesa_set_depthrangei. Refactor bodies of _mesa_ViewportIndexed and _mesa_ViewportIndexedv into a shared function. Remove spurious CLAMP calls in _mesa_DepthRangeArrayv and _mesa_DepthRangeIndexed. v3 (idr): Add some missing return-statements after calls to _mesa_error. v4 (idr): Only perform the ViewportBounds.Min / ViewportBounds.Max clamping in set_viewport_no_notify if GL_ARB_viewport_array is enabled. Otherwise the driver may not have set ViewportBounds, and the clamping will do bad things. Signed-off-by: Courtney Goeltzenleuchter <courtney@LunarG.com> Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/viewport.c
|
a4bc73f7ba397c03d0d7a796597bd0fea114df91 |
|
08-Jan-2014 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Change parameter to _mesa_set_viewport to float This matches the expectations of GL_ARB_viewport_array and the storage type where the values will land. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/viewport.c
|
454cec429969b7f09eeff17a5d1e7584d36f017f |
|
06-Nov-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Set all viewports from _mesa_Viewport and _mesa_DepthRange In _mesa_Viewport and _mesa_DepthRange, make sure that ctx->Driver.Viewport is only called once instead of once per viewport or depth range. v2: Make _mesa_DepthRange actually set all of the depth ranges (instead of just index 0). Noticed by Ken. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/viewport.c
|
9de863603d8092243df502365a75d65982223f0e |
|
06-Nov-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Initialize all the viewports v2: Use MAX_VIEWPORTS instead of ctx->Const.MaxViewports because the driver may not set ctx->Const.MaxViewports yet. v3: Handle all viewport entries in update_viewport_matrix and _mesa_copy_context too. This was previously in an earlier patch. Having the code in the earlier patch could cause _mesa_copy_context to access a matrix that hadn't been constructed. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> [v2]
/external/mesa3d/src/mesa/main/viewport.c
|
799265aadcec6a7cf8918b5a8b4792016534b9c2 |
|
06-Nov-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Refactor viewport setting even more Create an internal function that just writes data into the viewport. In future patches this will see more use because we only want to call dd_function_table::Viewport once after setting all of the viewport instead of once per viewport. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/viewport.c
|
42f916e1507f2a5b3da002936418ffe91925104f |
|
06-Nov-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Refactor depth range setting even more Create an internal function that just writes data into the depth range. In future patches this will see more use because we only want to call dd_function_table::DepthRange once after setting all of the depth ranges instead of once per depth range. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/viewport.c
|
3eb135d1c72487619ec4ba2338a90b73c7bcda0d |
|
08-Jan-2014 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add an index parameter to _mesa_set_viewport Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/viewport.c
|
cbb271a48845c2d236f31327df316d42888a1907 |
|
14-Nov-2013 |
Courtney Goeltzenleuchter <courtney@LunarG.com> |
mesa: Convert gl_context::Viewport to gl_context::ViewportArray Only element 0 of the array is used anywhere at this time, so there should be no changes. v4: Split out from a single megapatch. Suggested by Ken. Signed-off-by: Courtney Goeltzenleuchter <courtney@LunarG.com> Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/viewport.c
|
d4dc359875126c432e46e3d1da8610a066d21302 |
|
14-Nov-2013 |
Courtney Goeltzenleuchter <courtney@LunarG.com> |
mesa: Convert gl_viewport_attrib::Near and ::Far to double v4: Split out from a single megapatch. Suggested by Ken. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/viewport.c
|
83bd850cc7f83c87fa271d6d501db86fae698f9a |
|
06-Nov-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Move parameter validation from _mesa_set_viewport to _mesa_Viewport Internal callers should do the right thing. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/viewport.c
|
6dbab6b2bb29e3b0595762920ef17e2ae5a9bf3a |
|
05-Nov-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Eliminate parameters to dd_function_table::DepthRange No driver uses them. They will just be annoying in future patches. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/viewport.c
|
065bd6ffc23c9cfef9b10418fb06233a912d6471 |
|
05-Nov-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Eliminate parameters to dd_function_table::Viewport No driver uses them. They will just be annoying in future patches. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/viewport.c
|
3998cfa933dcd9134b75d9f0ae2c9cfcd6f2ee45 |
|
05-Jun-2013 |
Rico Schüller <kgbricola@web.de> |
mesa: remove outdated version lines in comments Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/viewport.c
|
3d8d5b298a268b119d840bc9bae0ee9e0c9244a9 |
|
21-Apr-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Restore 78-column wrapping of license text in C-style comments. The previous commit introduced extra words, breaking the formatting. This text transformation was done automatically via the following shell command: $ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript where 'vimscript' is a file containing: /THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/\*\// !fmt -w 78 -p ' * ' :wq Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/viewport.c
|
96ff2edc73ccf11d4d198ba3665507f73ae4a9f7 |
|
21-Apr-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability. This brings the license text in line with the MIT License as published on the Open Source Initiative website: http://opensource.org/licenses/mit-license.php Generated automatically be the following shell command: $ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {} This introduces some wrapping issues, to be fixed in the next commit. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/viewport.c
|
dd404bc94f78a1766527becee03f8ef6ae3a799b |
|
21-Apr-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text. Generated automatically be the following shell command: $ git grep 'BRIAN PAUL BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/BRIAN PAUL/THE AUTHORS/' {} The intention here is to protect all authors, not just Brian Paul. I believe that was already the sensible interpretation, but spelling it out is probably better. More practically, it also prevents people from accidentally copy & pasting the license into a new file which says Brian is not liable when he isn't even one of the authors. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/viewport.c
|
a9754793dab4b24c09cae21c29f902ce0e53319a |
|
17-Jan-2013 |
Eric Anholt <eric@anholt.net> |
mesa: Drop manual checks for outside begin/end. We now have a separate dispatch table for begin/end that prevent these functions from being entered during that time. The ASSERT_OUTSIDE_BEGIN_END_WITH_RETVALs are left because I don't want to change any return values or introduce new error-only stubs at this point. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/viewport.c
|
e12c4faf7ef1246fd7c3a9d9dc30130a6675c3b4 |
|
15-Jan-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for glDepthRangef and glClearDepthf. These are ARB_ES2_compatibility float variants of the core double entrypoints. Fixes arb_es2_compatibility-depthrangef.
/external/mesa3d/src/mesa/main/viewport.c
|
0117da40cd7edd3d165bb28569c289b37eca12b9 |
|
06-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Include mtypes.h in files that use gl_context struct. Directly include mtypes.h if a file uses a gl_context struct. This allows future removal of headers that are not strictly necessary but indirectly include mtypes.h for a file.
/external/mesa3d/src/mesa/main/viewport.c
|
f9995b30756140724f41daf963fa06167912be7f |
|
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/main/viewport.c
|
b9f67df6e72e3a33b91c7d942aaa99622efd688c |
|
11-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: short-circuit no-change in _mesa_DepthRange()
/external/mesa3d/src/mesa/main/viewport.c
|
3e48dd04456aaf2d42dfa7f3a3c99a95a5986eb6 |
|
16-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix incorrect viewport clamping in _mesa_set_viewport() A 0 by 0 viewport size is legal. Don't clamp against lower bound of one. The error checking earlier in the function prevents negative values.
/external/mesa3d/src/mesa/main/viewport.c
|
2c3785159574e6c8640b6af3ce2ef561d095f324 |
|
07-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move glViewport and glDepthRange functions into new viewport.c file A bit of refactoring with an eye toward ES2 and GL 3.1
/external/mesa3d/src/mesa/main/viewport.c
|