ae632afe4fd860f016d2e5b360d66dc4e72ce72a |
|
09-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
st/mesa/glsl: set num_images directly in shader_info This change also removes the now duplicate NumImages field. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
a4fd84ef5f247f50a3683ecdf7f9d801a6e3cf15 |
|
25-Sep-2016 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Introduce a compiler enum for tessellation spacing. It feels weird using GL_* enums in a Vulkan driver. v2: Fix the TESS_SPACING -> PIPE_TESS_SPACING conversion. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
a46bd79ee195d699b020a8dde3fda6eab4ece0d4 |
|
06-Dec-2016 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Support gl_TessLevelInner/Outer[] as TES input variables. Upcoming reworks in i965 are going to make it easy to handle this like any other input. Having it as a system value will just require additional code for no benefit. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
076ab157ff2ed7a98b09363bce355247f4ed71e6 |
|
08-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
st/mesa/glsl: move SamplerTargets to gl_program This will help allow us to simplify the handling of samplers by storing them in a single location rather than duplicating them in both gl_linked_shader and gl_program. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
937523971f42f37b40badb962e575ecd8258b2d5 |
|
09-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
st/mesa/glsl: set SamplersUsed directly in gl_program Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
53a509723ff10ae1494e611de3823f17b7e9f225 |
|
04-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa/glsl: set sampler units directly in gl_program Now that we create gl_program earlier there is no need to mess about copying things to gl_linked_shader then to gl_program. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
4807a83da0e0f5e3272e85504ee3b2213ef1910a |
|
04-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa/glsl: set num_textures per stage directly in shader_info Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
c46a630000a2539e38a448f24a456397ce201a2e |
|
03-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa: make _CurrentFragmentProgram a gl_program struct pointer Making this point to a gl_program struct rather than a gl_shader_program struct will allow use to later also make the CurrentProgram array hold gl_program structs which in turn will allow for code simpilifcation. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
f584f3821426955b94f36c77191edcfe1b1cc7d5 |
|
09-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
st/mesa/glsl: add new is_arb_asm flag in gl_program Set the flag via the _mesa_init_gl_program() and NewProgram() helpers. In i965 we currently check for the existance of gl_shader_program to decide if this is an ARB assembly style program or not. Adding a flag makes the code clearer and will help removes a dependency on gl_shader_program in the i965 codegen functions. Also this will allow use to skip initialising sampler units for linked shaders, we currently memset it to zero again during linking. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
f5bc127b2f140213a8ceb58c4ed2d9b9a4c0449c |
|
05-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
st/mesa/glsl/i965: move ShaderStorageBlocks to gl_program Having it here rather than in gl_linked_shader allows us to simplify the code. Also it is error prone to depend on the gl_linked_shader for programs in current use because a failed linking attempt will free infomation about the current program. In i965 we could be trying to recompile a shader variant but may have lost some required fields. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
f62eb6c7eb22cd97c691ebdb5f25eb5fe8e9ed11 |
|
04-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
st/mesa/glsl/i965: set num_ssbos directly in shader_info Here we also remove the duplicate field in gl_linked_shader and always get the value from shader_info instead. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
0e7eec1ab5f27ced1aa4b2d77c2c63512d299694 |
|
04-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
st/mesa/glsl/i965: move per stage UniformBlocks to gl_program This will help allow us to store pointers to gl_program structs in the CurrentProgram array resulting in a bunch of code simplifications. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
b792c3897927c1d89968bc0040faef02ec976184 |
|
04-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
st/mesa/glsl/i965: set num_ubos directly in shader_info This also removes the duplicate field in gl_linked_shader, and gets num_ubos from shader_info instead. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
a1da57c19c27505b9eab4792355f2f1b5c774a0a |
|
04-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
st/mesa/glsl/i965: move ImageUnits and ImageAccess fields to gl_program Having it here rather than in gl_linked_shader allows us to simplify the code. Also it is error prone to depend on the gl_linked_shader for programs in current use because a failed linking attempt will free infomation about the current program. In i965 we could be trying to recompile a shader variant but may have lost some required fields. We drop the memset on ImageUnits because gl_program is already created using rzalloc(). Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
0a5018c1a483abe6c4dddc6c65a7f4e939efc726 |
|
31-Dec-2016 |
Marek Olšák <marek.olsak@amd.com> |
mesa: add gl_constants::GLSLOptimizeConservatively to reduce the amount of GLSL optimizations for drivers that can do better. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
68245aa6f5f832ba3066fb65050ff79ad3e5531c |
|
20-Dec-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl/mesa: add reference to gl_shader_program_data from gl_program We also add the stubs for the standalone compiler in this change. By adding a reference here we can now refactor some code to use gl_program where we were previously awkwardly using gl_shader_program. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
9d99dc4bc1fda9906e8dc576d6116fbdb05f67ac |
|
30-Dec-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa: make union in gl_program a struct and add FIXME i915 is mixing the use of these fields, for now change this to a struct and add a FIXME. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99229
/external/mesa3d/src/mesa/main/mtypes.h
|
8417bf528eb155028d56acaa4cbe05eb3536093b |
|
04-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa/glsl: move BlendSupport bitfield to gl_program This will let us to make _CurrentFragmentProgram a gl_program pointer allowing for simpilifications to be made. We also need to add a field to gl_shader to hold it during parsing. In gl_program we put it inside a union in anticipation of moving more fields here that can be only fs or vertex stage fields. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
3177eef39277b64af3213603b58ff934b5218e39 |
|
03-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa: store gl_program in gl_transform_feedback_object rather than gl_shader_program This will allow us to make the CurrentProgram array store gl_program which allows us to do a bunch of simplifications. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
700bc94dcebf4257740483d2ba467b138234fa1a |
|
03-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa/glsl: move LinkedTransformFeedback from gl_shader_program to gl_program This will help allow us to store gl_program in the CurrentProgram array rather than gl_shader_program which will allow a bunch of simplifications. Note that we make LinkedTransformFeedback a pointer so we don't waste memory creating a struct for each stage. We also store a pointer to the gl_program that will contain the pointer in gl_shader_program so we can get easy access to the correct stage. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
29d70f5de966c18d563475bc5f60f252e9a900a3 |
|
31-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa: move _Used to gl_program We no longer need to initialise it because gl_program is never reused. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
41dd6c35396434be53581b59c4b477dd95e8b774 |
|
28-Dec-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa/glsl: move subroutine metadata to gl_program This will allow us to store gl_program rather than gl_shader_program as the current program perstage which allows us to simplify code that makes use of the CurrentProgram list. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
d56bd07bb3b6821eca961dde15c40f179be99e2d |
|
12-Dec-2016 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Track the linearized array index for each UBO instance array element v2: Set linearizer_array_index in process_block_array_leaf. Suggested by Timothy. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
9854a3ba8bd34b36737753f2ec7c61b06d64da4c |
|
12-Dec-2016 |
Lionel Landwerlin <lionel.g.landwerlin@intel.com> |
main: use new driver flag for conservative rasterization state Suggested by Marek. v2: Use new driver flag (Marek) v3: Fix i965 comments (Lionel) Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
039d836d6ea5621ede88ff3504be841a6dd865c6 |
|
30-Nov-2016 |
Lionel Landwerlin <lionel.g.landwerlin@intel.com> |
mesa: add support for GL_INTEL_conservative_rasterization Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Chris Forbes <chrisforbes@google.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
848138689298c11e7825029484cbaa825cd36b36 |
|
06-Dec-2016 |
Plamena Manolova <plamena.manolova@intel.com> |
mesa: Add GL and GLSL plumbing for ARB_post_depth_coverage for i965 (gen9+). This extension allows the fragment shader to control whether values in gl_SampleMaskIn[] reflect the coverage after application of the early depth and stencil tests. Signed-off-by: Plamena Manolova <plamena.manolova@intel.com> Reviewed-by: Chris Forbes <chrisforbes@google.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
ab8c01386ac1c832f3143f57091ed5cf9725c151 |
|
09-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
st/mesa/glsl: move Version to gl_shader_program_data This is mostly just used during linking however the st uses it when updating textures. In order to store gl_program in the CurrentProgram array rather than gl_shader_program we need to move this field to the shared gl_shader_program_data struct. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
34953f8907fddd0d2b27d276580a1d3223047987 |
|
31-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa/glsl: add bitmask to track stages a program was linked against This will be used to enable us to store the current gl_program rather than gl_shader_program in the gl_pipline_object allowing us to simplify handing of validation. Also we should not be depending on _LinkedShader for this information as it may contain shaders from a failed linking attempt rather than the current program still in use. We could also use this mask to iterate over the stages during linking with _mesa_bit_scan() rather then the current method of NULL checking each stage. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
b818df1e714ed8bd2f1c3a68ee842cd81a0d7cf4 |
|
18-Nov-2016 |
Marek Olšák <marek.olsak@amd.com> |
glsl: add gl_linked_shader::SourceChecksum for debugging v2: wrap all checksums in #ifdef DEBUG Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
a56a505db72b0a5ff973a489a094186d7dfcd9e7 |
|
22-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa/glsl: remove unused uses_builtin_functions field This has been unused since 943b69cddd Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
203c8794a1debc0e45019fe945d1cc55459e6c6f |
|
07-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
st/mesa/glsl/nir/i965: make use of new gl_shader_program_data in gl_shader_program Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
65cd0a0d7f411eefac81408ebf7b704ccd1c9bf7 |
|
07-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa: create new gl_shader_program_data struct This will be used to share data between gl_program and gl_shader_program allowing for greater code simplification as we can remove a number of awkward uses of gl_shader_program. Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
c20564ae3ec2b5ac6bee23751d53a92b2dc09067 |
|
11-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl/i965: move per stage AtomicBuffers list to gl_program Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
c3df65c123c6392b0b116900395a89fd3dbb9b85 |
|
17-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
st/mesa/r200/i915/i965: move ARB program fields into a union It's common for games to compile 2000 programs or more so at 32bits x 2000 programs x 22 fields x 2 (at least) stages This should give us something like 352 kilobytes in savings once we add some more glsl only fields. Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
cd724208d3e1e3307f84a794f2c1fc83b69ccf8a |
|
15-Nov-2016 |
Brian Paul <brianp@vmware.com> |
mesa: if MESA_DEBUG=context, create a debug context A number of drivers report useful debug/perf information accessible through GL_ARB_debug_output and with debug contexts (i.e. setting the GLX_CONTEXT_DEBUG_BIT_ARB flag). But few applications actually use the GL_ARB_debug_output extension. This change lets one set the MESA_DEBUG env var to "context" to force-set a debug context and report debug/perf messages to stderr (or whatever file MESA_LOG_FILE is set to). This is a useful debugging tool. The small change in st_api_create_context() is needed so that st_update_debug_callback() gets called to hook up the driver debug callbacks when ST_CONTEXT_FLAG_DEBUG was not set, but MESA_DEBUG=context. v2: use %.*s format string instead of allocating temporary buffer. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
f500c36339ee092b7b95cd2658d71d46ae7f28a8 |
|
09-Nov-2016 |
Marek Olšák <marek.olsak@amd.com> |
mesa: remove LowerShaderSharedVariables always true for compute shaders Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
f304aca54204fab2dd674a07f4bf13a6a1581c20 |
|
02-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa: move shader_info to the start of gl_program This will allow use to use ralloc_parent() on the info field and fix a regression in nir_sweep() caused by e1af20f18a8. This is intended to be a temporary requirement that will be removed when we finish separating shader_info from nir_shader. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
c538846e313c43858fb118db012b592513c0ed29 |
|
26-Oct-2016 |
Brian Paul <brianp@vmware.com> |
mesa: rename gl_client_array -> gl_vertex_array The term "client array" is a legacy thing dating back to the pre-VBO era when _all_ vertex arrays lived in client memory. Nowadays, it only contains vertex array state which is derived from gl_array_attributes and gl_vertex_buffer_binding. It's used by the VBO module and some drivers. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
910bc4d12cdc2b5743ad379fddee45c8b0112762 |
|
20-Oct-2016 |
Brian Paul <brianp@vmware.com> |
mesa: rename gl_vertex_array_object::VertexBinding to BufferBinding To be a little more understandable. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
ef1600332009f0f526dc04b5d9dd6d430661e4f2 |
|
25-Oct-2016 |
Tapani Pälli <tapani.palli@intel.com> |
mesa: add missing CONTEXT_ROBUST_ACCESS enum commit 85008db1d51f923113832394d7f8d6b1868be882 missed this enum for GL_KHR_robustness implementation Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
9972c591e7686658caaa1df46701137f98487811 |
|
20-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl: set uses texture gather directly in shader_info Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
4016f08854a41b50d7636fc5e3cf0dfab5029cab |
|
20-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl/st/mesa: use common system values read field And set system values read directly in shader_info. st/mesa changes where: Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
2f59f3eee591600aa8b3a0b0a30aea321185bcb5 |
|
20-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl: set patch outputs written directly in shader_info Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
419de307dc9a2b21d94ca4aa8b81810c5f390f0f |
|
20-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl: set patch inputs read directly in shader_info Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
fdf42d3abc1cfa723d8cf5e46fb86061416602e6 |
|
20-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl: set outputs read directly in shader_info Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
5346630593bec80efa732c40b63e0e95a00af074 |
|
20-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
r200/glsl/st/mesa: use common outputs written field And set outputs written directly in shader_info. st/mesa changes where: Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
b4b450a5cbd22690b221d0252e6d11f4c0e02ab8 |
|
20-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa/glsl: set double inputs read directly in shader_info Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
e81aaeba37f5419323d8f88bc10943c77e25ed14 |
|
20-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
r200/i915/st/mesa/compiler: use common inputs read field And set set inputs_read directly in shader_info. To avoid regressions between changes this change is a squashed version of the following patches. st/mesa changes where: Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
3423488d55b9c483fcdb3996eb89b424c1031d24 |
|
19-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
st/mesa/r200/i915/i965: eliminate gl_fragment_program Here we move OriginUpperLeft and PixelCenterInteger into gl_program all other fields have been replace by shader_info. V2: Don't use anonymous union/structs to hold vertex/fragment fields suggested by Ian. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
91d5b0eda9eeb2a41342e7ab46bd1c779d8b93c9 |
|
18-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa: remove now unused IsCentroid from gl_fragment_program Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
aa881e4dc06c2efbf0c993798bcee9c880a7f66f |
|
20-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl: remove now unused InterpQualifier Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
9605b98a078654f6f76e85221599e5fa8c073de6 |
|
18-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
i965/mesa/st: eliminate gl_compute_program Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
81faead818a0b2fde131df019f5dfb0baef49273 |
|
18-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa/i965/i915/r200: eliminate gl_vertex_program Here we move the only field in gl_vertex_program to the ARB program fields in gl_program. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
92f77e9c01085c6babe6ce80dfe4e0e7abab61a1 |
|
19-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
i965/mesa/st: eliminate gl_geometry_program We now get all the gs metadata from shader_info. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
67c2d80a839614e4638d6cff390627122f8148ca |
|
19-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
i965/mesa/st: eliminate gl_tess_eval_program We now get all the tes metadata from shader_info. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
64d9773cfebded42691a70e3b233cadf896e53ba |
|
19-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
i965/mesa/st: eliminate gl_tess_ctrl_program We now get all the tcs metadata from shader_info. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
debed12fdde9766fd9cf99d679207a36a4599a82 |
|
13-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl: add a shader info field to the gl_program type And use this field as the source for shader info in the nir_shader this will allow us to set some of these fields from GLSL directly. It will also simplify restoring from shader cache and allow the removal of duplicate fields from GLSL. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
537dce06ec8e0fa4becd42d5e4b3d07cf722387f |
|
21-Oct-2016 |
Iago Toral Quiroga <itoral@igalia.com> |
glsl: add matrix layout information to interface block types So far we have been checking that interface block definitions had matching matrix layouts by comparing the definitions of their fields, however, this does not cover the case where the interface blocks are defined with mismatching matrix layouts but don't define any field with a matrix type. In this case Mesa will not fail to link because none of the fields will inherit the mismatching layout qualifier. This patch fixes the problem in the same way we fixed it for packing layout information: we add the the layout information to the interface type and then we check it matches during the uniform block linking process. v2: Fix unit tests so they pass the new parameter to glsl_type::get_interface_instance() Fixes: dEQP-GLES31.functional.shaders.linkage.uniform.block.layout_qualifier_mismatch_3 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98245 Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> (v1)
/external/mesa3d/src/mesa/main/mtypes.h
|
740a8fa1e214bafef1641336c90f09cb4ed0c415 |
|
19-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa: remove unused LocalSizeVariable Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
c64da9d4997692bd25253dfc19e34d6fa335a58b |
|
17-Oct-2016 |
Marek Olšák <marek.olsak@amd.com> |
mesa: remove gl_shader_compiler_options::EmitNoNoise it's always true Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
15fb88e912531110f1a31ede2100910fdda2823e |
|
07-Oct-2016 |
Brian Paul <brianp@vmware.com> |
mesa: rename gl_vertex_attrib_array gl_array_attributes The structure contains the attributes of a vertex array. The old name was kind of confusing. Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de>
/external/mesa3d/src/mesa/main/mtypes.h
|
c89802aeeaee35e06c98a41dd630a60e8e7e4123 |
|
07-Oct-2016 |
Brian Paul <brianp@vmware.com> |
mesa: rename gl_vertex_attrib_array::VertexBinding Rename to gl_vertex_attrib_array::BufferBindingIndex because this field is an index into the array of buffer binding points. This makes some code a little easier to follow since there's also a "VertexBinding" field in gl_vertex_array_object. Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de>
/external/mesa3d/src/mesa/main/mtypes.h
|
ff00ab745c9a9d6ef35239ea656a5db0c76de52d |
|
10-Oct-2016 |
Brian Paul <brianp@vmware.com> |
mesa: replace gl_framebuffer::_IntegerColor wih _IntegerBuffers Use a bitmask to indicate which color buffers are integer-valued, rather than a bool. Also, the old field was mis-computed. If an integer buffer was followed by a non-integer buffer, the _IntegerColor field was wrongly set to false. This fixes the new piglit gl-3.1-mixed-int-float-fbo test. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
45ab63c0cb274b20a7ae1f390b123e13a5b46c98 |
|
07-Sep-2016 |
Samuel Pitoiset <samuel.pitoiset@gmail.com> |
mesa/main: add support for ARB_compute_variable_groups_size v5: - replace fixed_local_size by !LocalSizeVariable (Nicolai) v4: - slightly indent spec quotes (Nicolai) - drop useless _mesa_has_compute_shaders() check (Nicolai) - move the fixed local size outside of the loop (Nicolai) - add missing check for invalid use of work group count v2: - update formatting spec quotations (Ian) - move the total_invocations check outside of the loop (Ian) Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
201f940d2e49d6ead5dfd6921b33bf6afefa4c68 |
|
05-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa: remove the UsesDFdy flag Seems the last user of this was removed in 08bc74e69. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
913e0296f2168c13a2a8ac649e17bb12683681e1 |
|
01-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa: use uint32_t rather than unsigned for xfb struct members These structs will be written to disk as part of the shader cache so use uint32_t just to be safe. Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
ecd6fce2611e88ff8468a354cff8eda39f260a31 |
|
31-Aug-2016 |
Rob Clark <robdclark@gmail.com> |
mesa/st: support lowering multi-planar YUV Support multi-planar YUV for external EGLImage's (currently just in the dma-buf import path) by lowering to multiple texture fetch's for each plane and CSC in shader. There was some discussion of alternative approaches for tracking the additional UV or U/V planes: https://lists.freedesktop.org/archives/mesa-dev/2016-September/127832.html They all seemed worse than pipe_resource::next Signed-off-by: Rob Clark <robdclark@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
29c174a3e57c9d6ea36fcfb75e0a04b76fc03ee6 |
|
24-Sep-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
Revert "glsl: move xfb BufferStride into gl_transform_feedback_info" This reverts commit f5a6aab4031bc4754756c1773411728ad9a73381. This broke some tests. It seems gl_transform_feedback_info gets memset to 0 so we were losing the values in BufferStride before we used them.
/external/mesa3d/src/mesa/main/mtypes.h
|
f5a6aab4031bc4754756c1773411728ad9a73381 |
|
23-Sep-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl: move xfb BufferStride into gl_transform_feedback_info It makes more sense to have this here where we store the other values from xfb qualifiers. The struct it was previously part of is now only used to store values that come from the api. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
5644a90801795a4da2042d712e5d6c4a69cc3e0d |
|
16-Sep-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa: add GL_OES_viewport_array to the extension string The expectation is that drivers will set this based on OES_geometry_shader and ARB_viewport_array support. This is a separate enable on the same reasoning as for OES_texture_cube_map_array. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
d4bf9baa43e2cf7b4b877141ee472779ced219bf |
|
20-Sep-2016 |
Dylan Baker <dylan@pnwbakers.com> |
mesa: Implement ARB_shader_viewport_layer_array for i965 This extension is a combination of AMD_vertex_shader_viewport_index and AMD_vertex_shader_layer, making it rather trivial to implement. For gallium I *think* this needs a new cap because of the addition of support in tessellation evaluation shaders, and since I don't have any hardware to test it on, I've left that for someone else to wire up. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
89a49af31ef3ae4adbef54131d65f8a407a83eaa |
|
28-Aug-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
glsl: add core plumbing for GL_ANDROID_extension_pack_es31a Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
891d7e3c9eb71ba42a7aea20dc45bdb3d624fc82 |
|
30-May-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
glsl: add gl_BoundingBox and associated varying slots Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
10663c648e58762eb39c7670c9397b74521e8134 |
|
30-May-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa: add support for GL_PRIMITIVE_BOUNDING_BOX storage and query Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
3b81c998a214a2ad7a4a712577277b1fc7b9be4e |
|
30-May-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa: add scaffolding for OES/EXT_primitive_bounding_box Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
cb4b38af41952c2e5ee77253592f0d0833aefd28 |
|
23-Aug-2016 |
Francisco Jerez <currojerez@riseup.net> |
glsl: Calculate bitset of secondary outputs written in ir_set_program_inouts. Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/main/mtypes.h
|
4ec1c2bb7f4ed4238ce80e25f93dd1120201aaec |
|
27-Aug-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa: remove OES_shader_io_blocks enable This extension should just be available whenever ES 3.1 is available. With the new extension verification infrastructure, it will only be enable-able on a #version 310 es shader, rendering the original reason for having a separate enable moot. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
dc4f53b68308bbd79932470cf4613037f7e95fb7 |
|
17-Aug-2016 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add support for OES_texture_cube_map_array This has a separate enable flag because this extension also requires OES_geometry_shader. It is possible that some drivers may support OpenGL ES 3.1 and ARB_texture_cube_map but not support OES_geometry_shader. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
1bf9b2a6008552f5fdb8908c24c446fd7261efdd |
|
30-Jun-2016 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Implement GL_KHR_blend_equation_advanced_coherent. This adds the extension enable (so drivers can advertise it) and the extra boolean state flag, GL_BLEND_ADVANCED_COHERENT_KHR, which can be set to request coherent blending. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
0745e039a2a9d6763f9a1a241fba18bdbd74ad85 |
|
28-Jun-2016 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Track the current advanced blending mode. This will be useful for a number of things: - Checking the current advanced blending mode against the shader's blend_support_* qualifiers. - Disabling hardware blending when emulating advanced blending. - Uploading the current advanced blending mode as a state var. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
4b6819b407220f5d7d97a40ed9474d7673448370 |
|
02-Apr-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
glsl: process blend_support_* qualifiers v2 (Ken): Add a BLEND_NONE enum value (no qualifiers in use). v3 (Ken): Rename gl_blend_support_qualifier to gl_advanced_blend_mode. v4 (Ken): Mark map[] as static const (Ilia). Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
3b0406457a2de2d412fef2ff5cfa121f521cdf29 |
|
02-Apr-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa: add KHR_blend_equation_advanced enable and extension string Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
2018371692d9ea57805989b0390b833e785881bf |
|
20-Jul-2016 |
Francisco Jerez <currojerez@riseup.net> |
glsl: Keep track of the set of fragment outputs read by a GL program. This is the set of shader outputs whose initial value is provided to the shader by some external means when the shader is executed, rather than computed by the shader itself. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
115a27357c4d991d8064452d0179493aef528e3e |
|
20-Jul-2016 |
Francisco Jerez <currojerez@riseup.net> |
mesa: Add extension enables for framebuffer fetch extensions. This allows drivers to expose EXT_shader_framebuffer_fetch in GLES2+ contexts if desired. Note that this adds boolean flags for two MESA extensions, but only the EXT GLES-only extension is exposed for the moment, see the cover letter of this series [1] for the rationale. [1] https://lists.freedesktop.org/archives/mesa-dev/2016-July/124028.html Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
4566aaaa5b169724174e04dc0a99a37ae0abcd2a |
|
07-Jun-2016 |
Dave Airlie <airlied@redhat.com> |
mesa/subroutines: start adding per-context subroutine index support (v1.1) One piece of ARB_shader_subroutine I ignored was the fact that it needs to store the subroutine index data per context and not per shader program. There is one CTS test that tests this: GL45-CTS.shader_subroutine.multiple_contexts However the test only does a write to context and readback, it never renders using the values, so this is enough to fix the test however not enough to do what the spec says. So with this patch the info is now stored per context, but it gets updated into the program at UseProgram and when the values are inserted into the context, which won't help if multiple contexts are in use in multiple threads. v1.1: cleanups and nit-picks (Andres) Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Andres Gomez <agomez@igalia.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
49741e1cd23c726f1956fe2b2e78a85ba8482385 |
|
02-Aug-2016 |
Eric Anholt <eric@anholt.net> |
mesa: Dynamically allocate the matrix stack. By allocating and initializing the matrices at context creation, the OS couldn't even overcommit the pages. This saves about 63k (out of 946k) of maximum memory size according to massif on simulated vc4 glsl-algebraic-add-add-1. It also means we could potentially relax the maximum stack sizes, but that should be a separate commit. v2: Drop redundant Top update, explain why the stack is small at init time. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
b730960e779c842d27192f812b33686f025431ff |
|
17-Jun-2016 |
Mathias Fröhlich <mathias.froehlich@web.de> |
mesa: Remove set but not used gl_client_array::Stride. The field is only read for printing today and there it was probably a leftover. Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
56c65cd31538bd78b3ad9e516ddcb73438c535c9 |
|
17-Jun-2016 |
Mathias Fröhlich <mathias.froehlich@web.de> |
mesa: Remove set but not used gl_client_array::Enabled. The way it is used today does not care about the Enabled flag anymore. Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
15c4ae461dba101e12924fc8e3e9099b3e700bab |
|
21-Jun-2016 |
Ian Romanick <ian.d.romanick@intel.com> |
MESA_shader_integer_functions: Boiler plate extension tracking Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
15dea5ca82f45f9b1113e69fe2048b6f05ed426b |
|
08-Jul-2016 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: Add the infrastructure for KHR_texture_compression_astc_sliced_3d V2: Drop the changes to gl.xml. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
ac1181ffbef5250cb3b651e047cce5116727c34c |
|
07-Jul-2016 |
Kenneth Graunke <kenneth@whitecape.org> |
compiler: Rename INTERP_QUALIFIER_* to INTERP_MODE_*. Likewise, rename the enum type to glsl_interp_mode. Beyond the GLSL front-end, talking about "interpolation modes" seems more natural than "interpolation qualifiers" - in the IR, we're removed from how exactly the source language specifies how to interpolate an input. Also, SPIR-V calls these "decorations" rather than "qualifiers". Generated by: $ find . -regextype egrep -regex '.*\.(c|cpp|h)' -type f -exec sed -i \ -e 's/INTERP_QUALIFIER_/INTERP_MODE_/g' \ -e 's/glsl_interp_qualifier/glsl_interp_mode/g' {} \; Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
f78a6b1ce398a537d77c25b1a93f156109086975 |
|
24-Jun-2016 |
Rob Clark <robclark@freedesktop.org> |
glsl: add driconf to zero-init unintialized vars Some games are sloppy.. perhaps because it is defined behavior for DX or perhaps because nv blob driver defaults things to zero. So add driconf param to force uninitialized variables to default to zero. This issue was observed with rust, from steam store. But has surfaced elsewhere in the past. Signed-off-by: Rob Clark <robclark@freedesktop.org> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
1591e668e162daf4057a0d44df4e70f19b94fc76 |
|
30-Jun-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl/mesa: move duplicate shader fields into new struct gl_shader_info Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1fb8c6df884c2a17cf980c4ea32db4c214903b55 |
|
30-Jun-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl/mesa: split gl_shader in two There are two distinctly different uses of this struct. The first is to store GL shader objects. The second is to store information about a shader stage thats been linked. The two uses actually share few fields and there is clearly confusion about their use. For example the linked shaders map one to one with a program so can simply be destroyed along with the program. However previously we were calling reference counting on the linked shaders. We were also creating linked shaders with a name even though it is always 0 and called the driver version of the _mesa_new_shader() function unnecessarily for GL shader objects. Acked-by: Iago Toral Quiroga <itoral@igalia.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
ab99196b6bc5b0170db20db6cc3837ce7642d22a |
|
21-Jun-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl/mesa: stop duplicating geom and tcs layout values We already store these in gl_shader and gl_program here we remove it from gl_shader_program and just use the values from gl_shader. This will allow us to keep the shader cache restore code as simple as it can be while making it somewhat clearer where these values originate from. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
24b3be093870a9a77325ac33c8fce97fae143e8e |
|
21-Jun-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl/mesa: stop duplicating tes layout values We already store this in gl_shader and gl_program here we remove it from gl_shader_program and just use the values from gl_shader. This will allow us to keep the shader cache restore code as simple as it can be while making it somewhat clearer where these values originate from. V2: remove unnecessary NULL check Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Iago Toral <itoral@igalia.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
d3a5cae60a9317d9c191c5d9eba31dfe713cba16 |
|
13-Jun-2016 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Fix incorrect "see also" comments Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
d68c1e2ac28bbf0ac6259e9619fb73958fc598b8 |
|
10-Jun-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa: add GL_EXT_window_rectangles state storage/retrieval functionality Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
b5820759de6338811dfe0295de34849b41c1c64f |
|
22-May-2016 |
Mathias Fröhlich <mathias.froehlich@web.de> |
mesa: Remove the linked list of enabled lights Clean up after conversion to bitmasks. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/mtypes.h
|
b60c7302357c2ceb0297d5ef2f748c9b686dbad5 |
|
22-May-2016 |
Mathias Fröhlich <mathias.froehlich@web.de> |
mesa: Track enabled lights in a bitmask This enables some optimizations afterwards. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/mtypes.h
|
6749d77c690d2254b8ed3f16a653c41565ebab49 |
|
22-May-2016 |
Mathias Fröhlich <mathias.froehlich@web.de> |
mesa: Rename CoordReplaceBits back to CoordReplace. It used to be called like that and fits better with 80 columns. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/mtypes.h
|
291f00fa12a35ad2bcaa8f81309fa06b9cab6802 |
|
22-May-2016 |
Mathias Fröhlich <mathias.froehlich@web.de> |
mesa: Remove the now unused CoordsReplace array. Now that all users are converted, remove the array. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/mtypes.h
|
1c78515d93994e529cb4fd8d009476c90c55365c |
|
22-May-2016 |
Mathias Fröhlich <mathias.froehlich@web.de> |
mesa: Add gl_point_attrib::CoordReplaceBits bitfield. The aim is to replace the CoordReplace array by a bitfield. Until all drivers are converted, establish the bitfield in parallel to the CoordReplace array. v2: Fix bitmask logic. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/mtypes.h
|
2b867264d2cce59bd65bd3599ff0e3c5439bc9d4 |
|
27-May-2016 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Optionally lower TCS gl_PatchVerticesIn to a uniform. i965 has no special hardware for this, so the best way to implement this is to pass it in via a uniform. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Cc: mesa-stable@lists.freedesktop.org
/external/mesa3d/src/mesa/main/mtypes.h
|
0be210513797d3a0245588df915b9510c201bea4 |
|
27-May-2016 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Optionally lower TES gl_PatchVerticesIn to a uniform. i965 has no special hardware for this, so we need to pass this value in as a uniform (unless the TES is linked against a TCS, in which case the linker can just replace this with a constant). Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Cc: mesa-stable@lists.freedesktop.org
/external/mesa3d/src/mesa/main/mtypes.h
|
5189f0243a3dd8698c645bbe762b8a1a3caaf1a9 |
|
29-May-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa: hook up core bits of GL_ARB_shader_group_vote Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
66bd2e1133baae35c38272bc8728cee631bcbefa |
|
02-Jun-2016 |
Jason Ekstrand <jason.ekstrand@intel.com> |
mesa: Get rid of _mesa_active_fragment_shader_has_side_effects It is no longer used. Signed-off-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
7b9def35835232a10010f256b9c108219f97f752 |
|
21-May-2016 |
Jordan Justen <jordan.l.justen@intel.com> |
glsl: Add glsl LowerCsDerivedVariables option v2: * Move lower flag to context constants. (Ken) Cc: "12.0" <mesa-stable@lists.freedesktop.org> Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1) Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
f0902ee813c7939e114d3adca3baa9ca13eed6ce |
|
11-May-2016 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add extension tracking for GL_OES_shader_io_blocks v2: Also support GL_EXT_shader_io_blocks. It's pretty much identical to the OES extension. Suggested by Ilia. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com> Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
cfff74629765d1d06313705f5ca80138c2182ef0 |
|
19-May-2016 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Track the additional data in gl_shader_variable The interface type, interpolation mode, precision, the type of the outermost structure, and whether or not the variable has an explicit location will be used for SSO validation on OpenGL ES. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com> Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
85008db1d51f923113832394d7f8d6b1868be882 |
|
24-May-2016 |
Kristian Høgsberg Kristensen <krh@bitplanet.net> |
i965: Enable GL_KHR_robustness GL_KHR_robustness adds the GL_CONTEXT_LOST error and five new entry points that we already implement. This patch adds a new dispatch table that returns GL_CONTEXT_LOST from all entry points and implements the GL_LOSE_CONTEXT_ON_RESET strategy by setting that table when we learn that we've lost the context. With the GL_CONTEXT_LOST reporting in place and dispatch for the new entry points we can turn on GL_KHR_robustness. Signed-off-by: Kristian Høgsberg Kristensen <krh@bitplanet.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/main/mtypes.h
|
5878254545f2b0207f47e581789e88fc0ab5c531 |
|
24-May-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa: remove separate enable for KHR_robust_buffer_access_behavior This extension appears to be a strict subset of the ARB version. Also remove it from GL3.txt since it doesn't seem relevant. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Acked-by: Jason Ekstrand <jason@jlekstrand.net> Acked-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
1a092fcf3bd673074d5b0b6794858c3f050aa969 |
|
21-May-2016 |
Jason Ekstrand <jason.ekstrand@intel.com> |
main: Add extension enable bits for KHR_robust_buffer_access_behavior Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
27b9481d03959a7bee6d906c62b4a519b6b1dc38 |
|
19-May-2016 |
Jason Ekstrand <jason.ekstrand@intel.com> |
glsl: Add an option to clamp block indices when lowering UBO/SSBOs This prevents array overflow when the block is actually an array of UBOs or SSBOs. On some hardware such as i965, such overflows can cause GPU hangs. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
1c1873b93b9aa30c8e9275000f813bce69ed99e4 |
|
21-May-2016 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Implement glGet*(GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED). Technically, this was introduced with GL 4.4. However, I believe it was intended to be retroactive. As far as I know, AMD has never supported primitive restart with patches, while NVidia and Intel do. This necessitated the need for a query which would allow applications to figure out whether this was usable or not. I decided to expose it everywhere ARB_tessellation_shader is exposed. (It's also in both OES and EXT_tessellation_shader.) Enable this for i965 and Gallium drivers which expose the capability. v2: Fix a bug in the state_tracker code (caught by Ilia Mirkin). Bugzilla: https://cvs.khronos.org/bugzilla/show_bug.cgi?id=10364 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
6f2dc0d04498a1d03f02a4b72480e8b409981432 |
|
17-May-2016 |
Dave Airlie <airlied@redhat.com> |
subroutines: handle explicit indexes properly The code didn't deal with explicit function indexes properly. It also handed out the indexes at link time, when we really need them in the lowering pass to create the correct if ladder. So this patch moves assigning the non-explicit indexes earlier, fixes the lowering pass and the lookups to get the correct values. This fixes a few of: GL45-CTS.explicit_uniform_location.subroutine-index-* Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
7fa0250f9446ec57caab581b8cac2c011c1cb497 |
|
17-May-2016 |
Dave Airlie <airlied@redhat.com> |
mesa/subroutines: count number subroutines properly. The code was implementing the ACTIVE_SUBROUTINE_UNIFORMS incorrectly, using the number of types not the number of uniforms. This is different than the locations as the locations may be sparsly allocated. This fixes: GL43-CTS.shader_subroutine.four_subroutines_with_two_uniforms Reviewed-by: Chris Forbes <chrisforbes@google.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
eb18fea707fd7859e712ee7279e9acc68e177ceb |
|
08-May-2016 |
Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de> |
mesa/main: Add support for GL_ARB_cull_distance (v2) airlied: v2: rename LowerClipDistance to LowerCombinedClipCullDistnace. I don't think we want any other behaviour with any current hw. Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
3e1cf8bf3ffd883417638bcd46fe25604dc0c313 |
|
30-Apr-2016 |
Nicolai Hähnle <nicolai.haehnle@amd.com> |
mesa/main: define _NEW_xxx flags as unsigned shifts Since 1 << 31 complains about undefined behaviour; the others are changed only for consistency. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
0306110fa92fba40766d4bed7fab7a1263937d45 |
|
11-Feb-2016 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: Add OES_texture_compression_astc to extension table and gl_extensions Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
f982e2434b0b30db9401a4db62868dd357eec041 |
|
27-Nov-2015 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa: add LOCATION_COMPONENT support to GetProgramResourceiv From Section 7.3.1.1 (Naming Active Resources) of the OpenGL 4.5 spec: "For the property LOCATION_COMPONENT, a single integer indicating the first component of the location assigned to an active input or output variable is written to params. For input and output variables with a component specified by a layout qualifier, the specified component is written. For all other input and output variables, the value zero is written." Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
4965c5bf72d95a73a1a4219843fe36c65b7b10c2 |
|
24-Apr-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
glsl: add ability to use essl 3.20 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
285dc05055f2f98137188692d4c924605e5a942d |
|
12-Apr-2016 |
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> |
mesa: Expose the ARB_robust_buffer_access_behavior extension. Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
7ef57aa685012102b6f4d6235846f452efce4198 |
|
03-Apr-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa: remove unused IsShaderStorage field Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
f1293b2f9bc3a45c71941931edb5148d7b5f5a27 |
|
02-Apr-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl: fully split apart buffer block arrays With this change we create the UBO and SSBO arrays separately from the beginning rather than putting them into a combined array and splitting it apart later. A bug is with UBO and SSBO stage reference querying is also fixed as we now use the block index to lookup the references in the separate arrays not the combined buffer block array. Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1708e24f654706565633c4deacf83f7422e5b2a7 |
|
19-Feb-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa: add ES3_1_compatibility extension enable Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1265e1c4e17dec5c9931fda8b6d44a4006ed1a4c |
|
01-Apr-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl: store stage reference in gl_uniform_block This allows us to simplify the code and drop InterfaceBlockStageIndex which is a per stage array of integers the size of all blocks in the program combined including duplicates across stages. Adding a stage ref per block will use less memory. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
ebdb5345480957c4fc3068fab17926be28d7dcd4 |
|
16-Feb-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa: add GL_OES_copy_image support Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
6a8ca859f913cf56bc8abce6d1cde02b36a74289 |
|
16-Feb-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa: add OES_sample_variables to extension table, add enable bit Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
c5704bb350425162011367e47be8c69d424a8797 |
|
10-Mar-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa: add query support for GL_TRANSFORM_FEEDBACK_BUFFER interface Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
9e317271d7694d912da99e524294156b6c2de96e |
|
10-Mar-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa: add support to query GL_TRANSFORM_FEEDBACK_BUFFER_INDEX Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
51142e7705a5e0c28de9fc097fa7c8446ba0cffe |
|
10-Mar-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa: add support to query GL_OFFSET for GL_TRANSFORM_FEEDBACK_VARYING Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
8120e869b1cde7fd1a3679291782f2f50296cb45 |
|
11-Mar-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl: validate global out xfb_stride qualifiers and set stride on empty buffers Here we use the built-in validation in ast_layout_expression::process_qualifier_constant() to check for mismatching global out strides on buffers in a single shader. From the ARB_enhanced_layouts spec: "While *xfb_stride* can be declared multiple times for the same buffer, it is a compile-time or link-time error to have different values specified for the stride for the same buffer." For intrastage validation a new helper link_xfb_stride_layout_qualifiers() is created. We also take this opportunity to make sure stride is at least a multiple of 4, we will validate doubles at a later stage. From the ARB_enhanced_layouts spec: "If the buffer is capturing any double-typed outputs, the stride must be a multiple of 8, otherwise it must be a multiple of 4, or a compile-time or link-time error results." Finally we update store_tfeedback_info() to apply the strides to LinkedTransformFeedback and update the buffers bitmask to mark any global buffers with a stride as active. For example a shader with: layout (xfb_buffer = 0, xfb_offset = 0) out vec4 gs_fs; layout (xfb_buffer = 1, xfb_stride = 64) out; Is expected to have a buffer bound to both 0 and 1. From the ARB_enhanced_layouts spec: "A binding point requires a bound buffer object if and only if its associated stride in the program object used for transform feedback primitive capture is non-zero." Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
cf039a309a36ba537b45f3bfe7e5a154c87d51ad |
|
10-Mar-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa: split transform feedback buffer into its own struct This will be used in a following patch to implement interface query support for TRANSFORM_FEEDBACK_BUFFER. Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
258299d87ad932246ae8b1aa979b4a1a398db155 |
|
03-Mar-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl: use bitmask of active xfb buffer indices This allows us to print the correct binding point when not all buffers declared in the shader are bound. For example if we use a single buffer: layout(xfb_buffer=2, offset=0) out vec4 v; We now print '2' when the buffer is not bound rather than '0'. Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
74b76c08a3732b0ca337998780d01d67e7fd554b |
|
27-Feb-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa: add OES_texture_buffer and EXT_texture_buffer extension to table We need to add a new bit since the GL ES exts require functionality from a combination of texture buffer extensions as well as images (for imageBuffer) support. Additionally, not all GPUs support all the texture buffer functionality (e.g. rgb32 isn't supported by nv50). Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
e2d5a6fac5c2b433cd78c0fc29b420b36c429cb9 |
|
24-Mar-2016 |
Miklós Máté <mtmkls@gmail.com> |
mesa: optionally associate a gl_program to ATI_fragment_shader the state tracker will use it Acked-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Miklós Máté <mtmkls@gmail.com> Signed-off-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
8683d54d2be82519c31e087e17dd936d13fa9d07 |
|
23-Mar-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl: reduce buffer block duplication This reduces some of the craziness required for handling buffer blocks. The problem is each shader stage holds its own information about a block in memory, we were copying that information to a program wide list but the per stage information remained meaning when a binding was updated we needed to update all versions of it. This changes the per stage blocks to instead point to a single version of the block information in the program list. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
f96309753b7f5f4ea5e1942778087b3ace8eda9b |
|
24-Mar-2016 |
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> |
mesa: replace gl_context->Multisample._Enabled with _mesa_is_multisample_enabled. This removes any dependency on driver validation of the number of framebuffer samples. Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
075a5742bf65b35d19a1d86346db1c02f6dba9b2 |
|
20-Feb-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa: add GL_ARB_shader_atomic_counter_ops support Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
b89463cdfda8ff432e466d34524f54e1f5c595a7 |
|
21-Oct-2015 |
Antia Puentes <apuentes@igalia.com> |
mesa/main: Add extension tracking bit for ARB_internalformat_query2 Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
89abb22a854d2451cc4e677ce0f709c146328110 |
|
27-Feb-2016 |
Matt Turner <mattst88@gmail.com> |
mesa: Remove NV_fragment_program_option enable bit. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
fc61b41a956f05d57afcb6af7eb61637b4936fb4 |
|
27-Feb-2016 |
Matt Turner <mattst88@gmail.com> |
mesa: Remove EmitCondCodes. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
65dfb3048e8291675ca33581aeff8921f7ea509d |
|
11-Feb-2016 |
Plamena Manolova <plamena.manolova@intel.com> |
compiler/glsl: Fix uniform location counting. This patch moves the calculation of current uniforms to link_uniforms, which makes use of UniformRemapTable which stores all the reserved uniform locations. Location assignment for implicit uniforms now tries to use any gaps left in the table after the location assignment for explicit uniforms. This gives us more space to store more uniforms. Patch is based on earlier patch with following changes/additions: 1: Move the counting of explicit locations to check_explicit_uniform_locations and then pass the number to link_assign_uniform_locations. 2: Count the number of empty slots in UniformRemapTable and store them in a list_head. 3: Try to find an empty slot for implicit locations from the list, if that fails resize UniformRemapTable. Fixes following CTS tests: ES31-CTS.explicit_uniform_location.uniform-loc-mix-with-implicit-max ES31-CTS.explicit_uniform_location.uniform-loc-mix-with-implicit-max-array Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Signed-off-by: Plamena Manolova <plamena.manolova@intel.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93696
/external/mesa3d/src/mesa/main/mtypes.h
|
b26ddda12fe7dbb6a4e6af3b47c1e837cc7ebb03 |
|
03-Feb-2016 |
Brian Paul <brianp@vmware.com> |
mesa: implement a display list / glBitmap texture atlas This improves the performance of applications which use glXUseXFont() or wglUseFontBitmaps() and glCallLists() to draw bitmap text. Basically, we collect all the glBitmap images from the display lists and put them into a texture atlas. To render the bitmaps for a glCallLists() command, we render a set of textured quads where each quad is textured with one bitmap image. Actually, the rendering part has to be done by the Mesa driver or Mesa/gallium state tracker. Note that GLUT demos that use glutBitmapCharacter() don't benefit from this. v2, per Nicolai Hähnle: - check the max tex rect size is at least 1024. - add comment in dd.h that texture_rectangle is required. - in _mesa_DeleteLists(), try to delete the atlas before the list(s) Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
2e0a84208b632021d41edccc1dc2e858e62c13f6 |
|
09-Jan-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
st/mesa: convert GLSL image intrinsics into TGSI Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
ffd9c7fd74622b3c4271ea31df9e09b4180d4a5a |
|
06-Feb-2016 |
Samuel Pitoiset <samuel.pitoiset@gmail.com> |
mesa: add PROGRAM_MEMORY This will be used for shared, global and local memory areas. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
a9eb1327be6932aae972532dbd87cd2fc50e846a |
|
03-Feb-2016 |
Samuel Pitoiset <samuel.pitoiset@gmail.com> |
mesa: store shared size in gl_compute_program The size of shared variables needs to be stored in gl_compute_program in order to set up pipe_compute_state::req_local_mem. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
be27f772e8b97031bf5177523a74ff8738d5adee |
|
17-Jan-2016 |
Samuel Pitoiset <samuel.pitoiset@gmail.com> |
mesa: do not use a constant for MAX_COMPUTE_SHARED_SIZE This will allow to query the underlying drivers for the maximum total storage size of all variables declared as <shared> with PIPE_COMPUTE_CAP_MAX_LOCAL_SIZE. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/main/mtypes.h
|
837f74aa511321c87bee768e463a0248d689c55d |
|
02-Feb-2016 |
Marek Olšák <marek.olsak@amd.com> |
mesa: implement GL_ATI_meminfo (v2) v2: rebase Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1d79b9958090d5606212a56c2173626519f00ca8 |
|
02-Feb-2016 |
Marek Olšák <marek.olsak@amd.com> |
mesa: implement GL_NVX_gpu_memory_info (v2) v2: implement eviction queries properly add gl_memory_info structure Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
eb9cf3cfc99db0cff0a5a584941e8be43ac9b961 |
|
04-Feb-2016 |
Neil Roberts <neil@linux.intel.com> |
main: Use a derived value for the default sample count Previously the framebuffer default sample count was taken directly from the value given by the application. On the i965 driver on HSW if the value wasn't one that is supported by the hardware it would hit an assert when it tried to program the state for it. This patch fixes it by adding a derived sample count to the state for the default framebuffer. The driver can then quantize this to one of the valid values in its UpdateState handler when the _NEW_BUFFERS state changes. _mesa_geometric_samples is changed to use the new derived value. Fixes the piglit test arb_framebuffer_no_attachments-query Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93957 Cc: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/main/mtypes.h
|
2d0ec0c272d7b05c782802d32ff1993e8532307f |
|
27-Mar-2014 |
Rafal Mielniczuk <rafal.mielniczuk2@gmail.com> |
mesa: Add QueryBuffer to context Add QueryBuffer and initialise it to NullBufferObj on start Signed-off-by: Rafal Mielniczuk <rafal.mielniczuk2@gmail.com> [imirkin: also release QueryBuffer on free] Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
c5bab061dadea5627e8535a651ac5318bde9dad1 |
|
27-Mar-2014 |
Rafal Mielniczuk <rafal.mielniczuk2@gmail.com> |
mesa: Add ARB_query_buffer_object extension flag Signed-off-by: Rafal Mielniczuk <rafal.mielniczuk2@gmail.com> [imirkin: add string to extensions.c] Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
761c7d59c4403832c33d931bb097d060ed07e555 |
|
11-Jan-2016 |
Nicolai Hähnle <nicolai.haehnle@amd.com> |
vbo: disable the minmax cache when the hit rate is low When applications stream their index buffers, the caches for those BOs become useless and add overhead, so we want to disable them. The tricky part is coming up with the right heuristic for *when* to disable them. The first question is which hit rate to aim for. Since I'm not aware of any interesting borderline applications that do something like "draw two or three times for each upload", I just kept it simple. The second question is how soon we should give up on the caching. Applications might have a warm-up phase where they fill a buffer gradually but then keep reusing it. For this reason, I count the number of indices that hit and miss (instead of the number of calls that hit or miss), since comparing that to the size of the buffer makes sense. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
115c643b1669bd050af8d890adbfc771d9ff8126 |
|
11-Jan-2016 |
Nicolai Hähnle <nicolai.haehnle@amd.com> |
mesa: add USAGE_DISABLE_MINMAX_CACHE flag to buffer UsageHistory Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
6b057f8ecc43be2e190e53599bdd6b8cc96b6f19 |
|
11-Jan-2016 |
Nicolai Hähnle <nicolai.haehnle@amd.com> |
vbo: cache/memoize the result of vbo_get_minmax_indices (v3) Some games developers are unaware that an index buffer in a VBO still needs to be read by the CPU if some varying data comes from a user pointer (unless glDrawRangeElements and friends are used). This is particularly bad when they tell us that the index buffer should live in VRAM. This cache helps, e.g. lifting This War Of Mine (a particularly bad offender) from under 10fps to slightly over 20fps on a Carrizo. Note that there is nothing prohibiting a user from rendering from multiple threads simultaneously with the same index buffer, hence the locking. (The internal buffer map taken for the buffer still leads to a race, but at least the locks are a move in the right direction.) v2: disable the cache on USAGE_TEXTURE_BUFFER as well (Chris Forbes) v3: - use bool instead of GLboolean for MinMaxCacheDirty (Ian Romanick) - replace the sticky USAGE_PERSISTENT_WRITE_MAP bit by a direct AccessFlags check Reviewed-by: Chris Forbes <chrisf@ijw.co.nz> (v2) Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
fd7229b4374d7bd8f296e1da4123e0d678d67699 |
|
07-Jan-2016 |
Nicolai Hähnle <nicolai.haehnle@amd.com> |
mesa/main: add USAGE_PIXEL_PACK_BUFFER flag to buffer UsageHistory We will want to disable minmax index caching for buffers that are used in this way. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
54c4a9803bfd59e31bc092229779544b6e636bdf |
|
06-Jan-2016 |
Nicolai Hähnle <nicolai.haehnle@amd.com> |
mesa/main: add USAGE_TRANSFORM_FEEDBACK_BUFFER flag to buffer UsageHistory We will want to disable minmax index caching for buffers that are used in this way. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
0fddb677e6e8261fc7a12652224698838ac10b22 |
|
18-Jan-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa: add PROGRAM_IMMEDIATE, PROGRAM_BUFFER This makes PROGRAM_IMMEDIATE a first-class gl_register_file type, and adds PROGRAM_BUFFER to the list. These are used purely inside glsl_to_tgsi conversion. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1a882fd2ee84ae28a06cf07902dc4645d8ad4a6d |
|
18-Jan-2016 |
Emil Velikov <emil.velikov@collabora.com> |
nir: move shader_enums.[ch] to compiler This way one can reuse it in glsl, nir or other infrastructure without pulling nir as dependency. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Acked-by: Matt Turner <mattst88@gmail.com> Acked-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
af5a14d1e039ffc8a26e32c249ca2367221c8661 |
|
21-Jan-2016 |
Marta Lofstedt <marta.lofstedt@intel.com> |
glapi: add GL_OES_geometry_shader extension Add xml definitions for the GL_OES_geometry_shader extension and expose the extension for OpenGL ES 3.1. Signed-off-by: Marta Lofstedt <marta.lofstedt@linux.intel.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1f7a96e005be0c0941df5487a11c53f048ebd58a |
|
10-Aug-2015 |
Rob Clark <robclark@freedesktop.org> |
mesa: add GREMEDY_string_marker Signed-off-by: Rob Clark <robclark@freedesktop.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
8926dc87af72e55128402209993971ee00ca00c6 |
|
12-Jan-2016 |
Tapani Pälli <tapani.palli@intel.com> |
mesa: use gl_shader_variable in program resource list Patch changes linker to allocate gl_shader_variable instead of using ir_variable. This makes it possible to get rid of ir_variables and ir in memory after linking. v2: check that we do not create duplicate entries with packed varyings v3: document 'patch' bit (Ilia Mirkin) Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
cf66a8ffb75a7881f03222b2345c77f3b0be7e64 |
|
24-Oct-2015 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa: Map program UBOs and SSBOs to Interface Blocks v2: * Fill UboInterfaceBlockIndex and SsboInterfaceBlockIndex in split_ubos_and_ssbos (Iago) Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
4191c1a57c1e806a078bfc5b074b557ff2b54c35 |
|
02-Jan-2016 |
Marek Olšák <marek.olsak@amd.com> |
glsl: optionally declare gl_FragCoord & gl_FrontFacing as system values Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
9327e2d312e5da58f1cf4dbb806c67fcefd892f5 |
|
31-Dec-2015 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa: add parameter buffer, used for ARB_indirect_parameters Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
b3e2c21fe5af4ab2f0f1584b715a1ab3c5eb5ca3 |
|
31-Dec-2015 |
Ilia Mirkin <imirkin@alum.mit.edu> |
glapi: add ARB_indirect_parameters definitions Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
a1d664a0b7dbd8bbab0ff7a179e8960c25a52c0b |
|
05-Jan-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
Revert "i965/wm: use proper API buffer size for the surfaces." This reverts commit 8cf2e892fca20c4776b4a07c39918343cb2d4e0e. It's entirely bogus to attempt to store anything about the binding in the buffer object itself, which might be bound any number of times. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Cc: Samuel Iglesias Gonsálvez <siglesias@igalia.com> Cc: Marta Lofstedt <marta.lofstedt@intel.com> Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
8cf2e892fca20c4776b4a07c39918343cb2d4e0e |
|
15-Dec-2015 |
Samuel Iglesias Gonsálvez <siglesias@igalia.com> |
i965/wm: use proper API buffer size for the surfaces. Commit 5bb5eeea fixes a bug indicating that the surfaces should have the API buffer size. Hovewer it picked the wrong value. This patch adds a new variable, which takes into account glBindBufferRange() values. This patch fixes the following CTS regressions: ES31-CTS.shader_storage_buffer_object.advanced-unsizedArrayLength-cs-std430-vec-bindrangeOffset ES31-CTS.shader_storage_buffer_object.advanced-unsizedArrayLength-cs-std430-vec-bindrangeSize Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com> Reviewed-by: Marta Lofstedt <marta.lofstedt@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1a59aeaebd24e424deae7fb4b3d76b3ad22cf360 |
|
10-Dec-2015 |
Kristian Høgsberg Kristensen <krh@bitplanet.net> |
mesa: Add core mesa support for GL_ARB_shader_draw_parameters Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
5f8bb6fbb11f488bb3aa22c8067028fc51b2b9f9 |
|
18-Dec-2015 |
Iago Toral Quiroga <itoral@igalia.com> |
mesa: add SSBOs to the list of fragment shader side effects The i965 driver uses this function to decide if it can disable the FS unit in the absence of color/depth writes. We don't want to disable the unit in the presence of SSBOs, since the fragment shader could be writing to it. We could go a step further and check not just for the presence of SSBOs but also if the shader code writes to them. Does not look worth the trouble though and we are not doing this for atomic buffers either anyway. v2: put this into a generic _mesa_active_fragment_shader_has_side_effects function instead of having one specific for SSBOs (Jason). Fixes the following CTS test: ES31-CTS.shader_storage_buffer_object.advanced-usage-sync-vsfs Reviewed-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
1a95b87dad341e73e355b244a275d9b4d60537af |
|
18-Dec-2015 |
Iago Toral Quiroga <itoral@igalia.com> |
mesa: Add a _mesa_active_fragment_shader_has_side_effects helper Some drivers can disable the FS unit if there is nothing in the shader code that writes to an output (i.e. color, depth, etc). Right now, mesa has a function to check for atomic buffers and the i965 driver also checks for images. Refactor this logic into a generic function that we can use for any source of side effects in a fragment shader. Suggested by Jason. v2: - Use '_Shader', as suggested by Tapani, to fix the following CTS test: ES31-CTS.shader_atomic_counters.advanced-usage-many-draw-calls2 Reviewed-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
6723b61753102aae46833810ecedf2213cd714b4 |
|
16-Dec-2015 |
Miklós Máté <mtmkls@gmail.com> |
swrast: move two global defines to the only place where they are used Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1078d712d7ef8e07b772231e768898a04a066e06 |
|
28-Jul-2015 |
Jordan Justen <jordan.l.justen@intel.com> |
glsl: Add lowering pass for shared variable references In this lowering pass, shared variables are decomposed into intrinsic calls. v2: * Send mem_ctx as a parameter (Iago) v3: * Shared variables don't have an associated interface block (Iago) * Always use 430 packing (Iago) * Comment / whitespace cleanup (Iago) Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
ab0651ccfd8c8c4bca26a106225e188fe965d8d0 |
|
08-Dec-2015 |
Brian Paul <brianp@vmware.com> |
mesa: detect inefficient buffer use and report through debug output When a buffer is created with GL_STATIC_DRAW, its contents should not be changed frequently. But that's exactly what one application I'm debugging does. This patch adds code to try to detect inefficient buffer use in a couple places. The GL_ARB_debug_output mechanism is used to report the issue. NVIDIA's driver detects these sort of things too. Other types of inefficient buffer use could also be detected in the future. Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
09f74e6ef45859a3b595e2932e2be3e7d7ab6ca0 |
|
01-Dec-2015 |
Roland Scheidegger <sroland@vmware.com> |
mesa: fix VIEWPORT_INDEX_PROVOKING_VERTEX and LAYER_PROVOKING_VERTEX queries These are implementation-dependent queries, but so far we just returned the value of whatever the current provoking vertex convention was set to, which was clearly wrong. Just make this a variable in the context constants like for other things which are implementation dependent (I assume all drivers will want to set this to the same value for both queries), and set it to GL_UNDEFINED_VERTEX which is correct for everybody (and drivers can override it). Reviewed-by: Brian Paul <brianp@vmware.com> CC: <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
63b49e1711382c263acdcbe2d58c28ef64164059 |
|
25-Nov-2015 |
Marta Lofstedt <marta.lofstedt@intel.com> |
mesa: remove ARB_geometry_shader4 No drivers currently implement ARB_geometry_shader4, nor are there any plans to implement it. We only support the version of geometry shaders that was incorporated into OpenGL 3.2 / GLSL 1.50. Signed-off-by: Marta Lofstedt <marta.lofstedt@linux.intel.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
c2e146f4879b806e7178b8145645268c1ce0b4cd |
|
13-Nov-2015 |
Tapani Pälli <tapani.palli@intel.com> |
mesa: error out in indirect draw when vertex bindings mismatch Patch adds additional mask for tracking which vertex arrays have associated vertex buffer binding set. This array can be directly compared to which vertex arrays are enabled and should match when drawing. Fixes following CTS tests: ES31-CTS.draw_indirect.negative-noVBO-arrays ES31-CTS.draw_indirect.negative-noVBO-elements v2: update mask in vertex_array_attrib_binding v3: rename mask and make it track _BoundArrays which matches what was actually originally wanted (Fredrik Höglund) v4: code cleanup, check for GLES 3.1 (Fredrik Höglund) Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Fredrik Höglund <fredrik@kde.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
f7af69c350977f03c6648bdb0b21851933cb98ad |
|
08-Nov-2015 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl: add subroutine index qualifier support ARB_explicit_uniform_location allows the index for subroutine functions to be explicitly set in the shader. This patch reduces the restriction on the index qualifier in validate_layout_qualifiers() to allow it to be applied to subroutines and adds the new subroutine qualifier validation to ast_function::hir(). ast_fully_specified_type::has_qualifiers() is updated to allow the index qualifier on subroutine functions when explicit uniform locations is available. A new check is added to ast_type_qualifier::merge_qualifier() to stop multiple function qualifiers from being defied, before this patch this would cause a segfault. Finally a new variable is added to ir_function_signature to store the index. This value is validated and the non explicit values assigned in link_assign_subroutine_types(). Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
ff59700d29bb5db0010c3f7508336bf66a03d11f |
|
18-Nov-2015 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Extension tracking for EXT_shader_samples_indentical Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
/external/mesa3d/src/mesa/main/mtypes.h
|
79f68306d23bfb48ef645c4bded8ee7b74d2d661 |
|
16-Oct-2015 |
Nanley Chery <nanley.g.chery@intel.com> |
mesa: Replace gl_extensions::EXT_texture3D with ::dummy_true Mesa unconditionally sets this driver flag to true in _mesa_init_extensions(). There is therefore no need for the driver to communicate support for this extension. Replace the driver capability flag with ::dummy_true. Signed-off-by: Nanley Chery <nanley.g.chery@intel.com> Reviewed-by: Chad Versace <chad.versace@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
a16ffb743ced9fde80b2485dfc2d86ae74e86f25 |
|
15-Oct-2015 |
Nanley Chery <nanley.g.chery@intel.com> |
mesa: In helpers, only check driver capability for meta Make API context and version checks done by the helper functions pass unconditionally while meta is in progress. This transparently makes extension checks solely dependent on struct gl_extensions while in meta. v2: Use an 8-bit data type instead of a GLuint Signed-off-by: Nanley Chery <nanley.g.chery@intel.com> Reviewed-by: Chad Versace <chad.versace@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
82e4f22d1ec65269328bbd472261d6a8e0689558 |
|
04-Oct-2015 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa: add ARB_enhanced_layouts Reviewed-by: Emil Velikov <emil.velikov@collabora.co.uk>
/external/mesa3d/src/mesa/main/mtypes.h
|
60dd5287ff8dbbbe0dbe76bdff6d13c7a5ea9ef0 |
|
04-Nov-2015 |
Kristian Høgsberg Kristensen <krh@bitplanet.net> |
glsl: Lower UBO and SSBO access in glsl linker All GLSL IR consumers run this lowering pass so we can move it to the linker. This moves the pass up quite a bit, but that's the point: it needs to run before we throw away information about per-component vector access. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Signed-off-by: Kristian Høgsberg Kristensen <krh@bitplanet.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
2dd76ec16e599bd919962f439b59fdd73e85ff94 |
|
16-Sep-2015 |
Neil Roberts <neil@linux.intel.com> |
meta: Support 16x MSAA in the multisample scaled blit shader v2: Fix the x_scale in the shader. Remove the doubts in the commit message. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
4bc16ad2176efda5f8c59e222b4735ee35c434b5 |
|
24-Oct-2015 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa: rename UniformBlockStageIndex to InterfaceBlockStageIndex Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Cc: Samuel Iglesias Gonsálvez <siglesias@igalia.com> Cc: Iago Toral <itoral@igalia.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
e916d5e013f01a76f7f11b60aa8b7ca5987f5193 |
|
02-Oct-2015 |
Emil Velikov <emil.velikov@collabora.com> |
mesa: add infra for ARB_shader_clock Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
6ce0857e30a8484f1b190ccf37631d64e629a468 |
|
27-Oct-2015 |
Tapani Pälli <tapani.palli@intel.com> |
mesa: add fragdata_arrays list to gl_shader This is required to store information about fragdata arrays, currently these variables get lost and cannot be retrieved later in sensible way for program interface queries. List will be utilized by next patch. Patch also modifies opt_dead_builtin_varyings pass to build list when lowering fragdata arrays. This is identical approach as taken with packed varyings pass. Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Marta Lofstedt <marta.lofstedt@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
a3d0359aff7a9be90149c416844f330b4f9a15ed |
|
26-Oct-2015 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl: keep track of intra-stage indices for atomics This is more optimal as it means we no longer have to upload the same set of ABO surfaces to all stages in the program. This also fixes a bug where since commit c0cd5b var->data.binding was being used as a replacement for atomic buffer index, but they don't have to be the same value they just happened to end up the same when binding is 0. Reviewed-by: Francisco Jerez <currojerez@riseup.net> Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com> Cc: Ilia Mirkin <imirkin@alum.mit.edu> Cc: Alejandro Piñeiro <apinheiro@igalia.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90175
/external/mesa3d/src/mesa/main/mtypes.h
|
67f489ded3a4c575e203dc82368ebe645e72079a |
|
17-Oct-2015 |
Marek Olšák <marek.olsak@amd.com> |
mesa: replace UsesClipDistance with ClipDistanceArraySize This is more practical and needed by gallium. Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
16619477bc800d32b5bf2f38dd544960cf66c284 |
|
09-Oct-2015 |
Jason Ekstrand <jason.ekstrand@intel.com> |
mesa: Move gl_frag_depth_layout from mtypes.h to shader_enums.h Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
33de998230414bf5603927424ffca85792b176d1 |
|
09-Oct-2015 |
Rob Clark <robclark@freedesktop.org> |
glsl: couple shader_enums cleanups Add missing enum to gl_system_value_name() and move VARYING_SLOT_MAX / FRAG_RESULT_MAX / etc into shader_enums.h as suggested by Emil. v2: add STATIC_ASSERT()'s Reported-by: Emil Velikov <emil.l.velikov@gmail.com> Acked-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
d31f98a272e429d5782192919b7628494ad1adf3 |
|
01-Oct-2015 |
Iago Toral Quiroga <itoral@igalia.com> |
mesa: Add {Num}UniformBlocks and {Num}ShaderStorageBlocks to gl_shader{_program} These arrays provide backends with separate index spaces for UBOS and SSBOs. Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
27dccf097d053b085c498a7bcab47197a5e83525 |
|
01-Oct-2015 |
Iago Toral Quiroga <itoral@igalia.com> |
mesa: Rename {Num}UniformBlocks to {Num}BufferInterfaceBlocks Currently, these arrays in gl_shader and gl_shader_program hold both UBOs and SSBOs, so this looks like a better name. We were already using NumBufferInterfaceBlocks in gl_shader_program, so this makes things more consistent as well. In a later patch we will add {Num}UniformBlocks and {Num}ShaderStorageBlocks which will contain only references to UBOs and SSBOs respectively that will provide backends with a separate index space for both types of objects. Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
4a168ad797af26b31c64e408fb5f84838bf37b4e |
|
12-Oct-2015 |
Brian Paul <brianp@vmware.com> |
mesa: clean up comments for gl_current_attrib struct Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
c9b982b72d443b138cfbded2f40350771c0bb321 |
|
09-Oct-2015 |
Rob Clark <robclark@freedesktop.org> |
glsl: move shader_enums into nir First step towards inverting the dependency between glsl and nir (so nir can be used without glsl). Also solves this issue with 'make distclean' Making distclean in mesa make[2]: Entering directory '/mnt/sdb1/Src64/Mesa-git/mesa/src/mesa' Makefile:2486: ../glsl/.deps/shader_enums.Plo: No such file or directory make[2]: *** No rule to make target '../glsl/.deps/shader_enums.Plo'. Stop. make[2]: Leaving directory '/mnt/sdb1/Src64/Mesa-git/mesa/src/mesa' Makefile:684: recipe for target 'distclean-recursive' failed make[1]: *** [distclean-recursive] Error 1 make[1]: Leaving directory '/mnt/sdb1/Src64/Mesa-git/mesa/src' Makefile:615: recipe for target 'distclean-recursive' failed make: *** [distclean-recursive] Error 1 Reported-by: Andy Furniss <adf.lists@gmail.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
7e441bf025cf8c5d088430d546acb4c0ed58d27b |
|
29-Aug-2015 |
Francisco Jerez <currojerez@riseup.net> |
mesa: Get rid of texture-dependent image unit derived state. The point is to avoid having to re-validate all image units when _NEW_TEXTURE is flagged, which can be expensive if the driver exposes a large number of image units. This has been reported to fix a 36% performance regression in the Synmark2 Multithread benchmark on the i965 driver which exposes 192 image units. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91788 Reported-by: Wendy Wang <wendy.wang@intel.com> Tested-by: Ye Tian <yex.tian@intel.com> CC: "11.0" <mesa-stable@lists.freedesktop.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
6668eb5a451c43ac78a784711cf239fdf7ca75ef |
|
11-Sep-2015 |
Samuel Iglesias Gonsalvez <siglesias@igalia.com> |
mesa: rename gl_shader_program's NumUniformBlocks to NumBufferInterfaceBlocks Because it counts shader storage blocks too. v2: - Use NumBufferInterfaceBlocks instead (Jordan). Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
1dd943d7fb5bd374e871436ccf6546327687c761 |
|
30-Jul-2015 |
Matt Turner <mattst88@gmail.com> |
mesa: Add locking to programs. Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
3c57a102ebd2efc427a59bf8eb441b4e5dec8553 |
|
12-Jun-2015 |
Matt Turner <mattst88@gmail.com> |
mesa: Add locking to sampler objects. Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
8f0167c65b2df73cf2ef094358ba162fe0028d14 |
|
31-Aug-2015 |
Samuel Iglesias Gonsalvez <siglesias@igalia.com> |
glsl: Add parser/compiler support for std430 interface packing qualifier v2: - Fix a missing check in has_layout() v3: - Mention shader storage block in error message for layout qualifiers (Kristian). Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
a6b55beb78501e3447c55a2d3a4e4b5d6950b86c |
|
04-Sep-2015 |
Tapani Pälli <tapani.palli@intel.com> |
mesa: add packed_varyings list to gl_shader This is required to store information about packed varyings, currently these variables get lost and cannot be retrieved later in sensible way for program interface queries. List will be utilized by next patch. Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Marta Lofstedt <marta.lofstedt@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
12cf91db0236291ebaff71f602d929064b1ec096 |
|
17-Sep-2015 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa/cs: Support GL_DISPATCH_INDIRECT_BUFFER v2: * Use _mesa_has_compute_shaders (Ilia) Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
6efae687b7ef46eb1f738f1bc2acbde1805e364b |
|
28-Aug-2015 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa: add infra for ARB_shader_texture_image_samples Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
47b4efc710defee5a2bf81ad7c7626eee4e9aba5 |
|
31-Aug-2015 |
Jason Ekstrand <jason.ekstrand@intel.com> |
mesa: Move gl_vert_attrib from mtypes.h to shader_enums.h It is a shader enum after all... Acked-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
4143511b15e8f1d63176257ae8a83b4906e3204c |
|
20-May-2015 |
Nanley Chery <nanley.g.chery@intel.com> |
mesa: add ASTC extensions to the extensions table v2: alphabetize the extensions. remove OES ASTC extension. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
3d93f65ef2dbecbf615ee8041d92354ae660d71b |
|
27-Apr-2015 |
Martin Peres <martin.peres@linux.intel.com> |
main: add extension GL_ARB_shader_image_size Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net> Signed-off-by: Martin Peres <martin.peres@linux.intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
b97d8c95a91773dc002e3ba42bd02e84a00eada3 |
|
17-Aug-2015 |
Francisco Jerez <currojerez@riseup.net> |
mesa: Don't lose track of the shader image layer originally specified by the user. The spec requires that all layers of the image starting from the 0-th are bound to the image unit regardless of the Layer parameter when Layered is true, so I was setting gl_image_unit::Layer to zero in that case for the convenience of the driver back-end. However the ES31-CTS.shader_image_load_store.basic-api-bind conformance test checks that the layer value returned by glGetInteger is the same that was originally specified, regardless of the value of layered. Rename Layer to _Layer as is usual for other derived state and keep track of the original layer value as gl_image_unit::Layer. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
47e0d5b9b28b0753adda70cbfb3ad111ba6169a8 |
|
17-Aug-2015 |
Francisco Jerez <currojerez@riseup.net> |
mesa: Rename MaxCombinedImageUnitsAndFragmentOutputs to MaxCombinedShaderOutputResources. The name of both the GLSL built-in variable and the glGetInteger param with the same value changed in GLSL ES 3.1 and GL 4.5. Its semantics also changed slightly, since the limit now also takes into account the number of SSBs in use. Switch our internal data structures to the up-to-date name. Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
6ff3341fc77c8e22a62505eb374938db3c95144f |
|
04-Aug-2015 |
Eric Anholt <eric@anholt.net> |
mesa: Move varying slots and FS output names to shader_enums.h They're used by glsl_to_nir.cpp, and I want to use them in TGSI-to-NIR as well (our use of the var->index slot to store slot properties no longer works since it got truncated). The *_MAX defines are left in mtypes.h, because they depend on config.h. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
7d3939f0de7dcb5e68eca638d5832c683a124775 |
|
30-Jul-2015 |
Marek Olšák <marek.olsak@amd.com> |
mesa: save which transform feedback buffer is associated with which stream Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
44ea8b9b8edc5f59da546683fe64129a1c1be449 |
|
21-Jul-2015 |
Dave Airlie <airlied@redhat.com> |
mesa/mtypes: add gl_subroutine_function and uniform storage to shader (v2) This adds the necessary storage for subroutine info to gl_shader. v2: add comments, rename one member Acked-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
4c7b007104c63475ec080d0777a41603c78786f6 |
|
10-Aug-2014 |
Chris Forbes <chrisf@ijw.co.nz> |
mesa: Add extension tracking for arb_shader_subroutine (v2) v2: [airlied]: merge version check update. Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
0af240e9401c12f4237f4a36a2474fe2cc590404 |
|
13-Jun-2015 |
Marek Olšák <marek.olsak@amd.com> |
glsl: use separate varying slots for patch varyings The idea is to allow 32 normal varyings and 32 patch varyings, a total of 64. Previously, only a total of 32 was allowed. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
df16e0dd63dfeb7d5086339113ff7d7197010847 |
|
09-Sep-2014 |
Chris Forbes <chrisf@ijw.co.nz> |
glsl: analyze TES usage of gl_ClipDistance Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
73a9a1539a85ae8fe22e11b4064105d588597736 |
|
10-Mar-2014 |
Fabian Bieler <fabianbieler@fastmail.fm> |
glsl: lower gl_TessLevel* from float[n] to vecn. Similar to gl_ClipDistance -> gl_ClipDistanceMESA v2: - renamed is_mesa_var to lowered_builtin_array_variable - moved LowerTessLevel into gl_constants - cosmetic changes in lower_tess_level.cpp Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
1036b024d4c8ce2376ac41219dfda01d5a59b3ef |
|
20-Mar-2014 |
Fabian Bieler <fabianbieler@fastmail.fm> |
glsl: add tessellation shader defines and built-in variables. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
550a570c5325cc64a547fe4d6e1e75af2d0e9587 |
|
07-Mar-2014 |
Fabian Bieler <fabianbieler@fastmail.fm> |
mesa: add misc tessellation shader stuff Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
cb0c12512cf83ac412ecc78d4d4c5318c46c9b22 |
|
13-Jun-2015 |
Marek Olšák <marek.olsak@amd.com> |
mesa: allow setting of patch parameters. Based on a patch from Fabian Bieler <fabianbieler@fastmail.fm>. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
bb97cc66c149d0782ec269aab29700252fda9db0 |
|
20-Sep-2014 |
Chris Forbes <chrisf@ijw.co.nz> |
mesa: add tessellation shader state and limits Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
df3860a3e3269bfe77562058fd87b39ae2f57fcc |
|
07-Mar-2014 |
Fabian Bieler <fabianbieler@fastmail.fm> |
mesa: add tessellation shader structs Marek: remove unused members, cleanup Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
e2b59a39cbb64f6759f463f7bad162f5f03807b4 |
|
07-Mar-2014 |
Fabian Bieler <fabianbieler@fastmail.fm> |
mapi: add ARB_tessellation_shader Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
0aa83f3e90a5ca547593631bc1557412e5305bdd |
|
19-Mar-2015 |
Iago Toral Quiroga <itoral@igalia.com> |
mesa: Implement _mesa_BindBuffersBase for target GL_SHADER_STORAGE_BUFFER v2: - Add space before const (Jordan) Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
c717604dc4b5119fa9091241535c3efd1370438c |
|
14-May-2015 |
Samuel Iglesias Gonsalvez <siglesias@igalia.com> |
mesa: add MaxShaderStorageBlocks to struct gl_program_constants v2: - Set MaxShaderStorageBlocks to 8. Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
cd50906e0334d7ad0102e5733a152d55d672776b |
|
19-Mar-2015 |
Iago Toral Quiroga <itoral@igalia.com> |
mesa: Add shader storage buffer support to struct gl_context This includes the array of bindings, the current buffer bound to the GL_SHADER_STORAGE_BUFFER target and a set of general limits and default values for shader storage buffers. v2: - Use spec values for the new defined constants (Jordan) Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
df89ed1591c9d1c55e79fe8effb976c21b172a7d |
|
23-Mar-2015 |
Iago Toral Quiroga <itoral@igalia.com> |
glsl: Identify active uniform blocks that are buffer blocks as such. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
3095ee9b8bd4154cc63b6332c21b16954555e241 |
|
17-Mar-2015 |
Samuel Iglesias Gonsalvez <siglesias@igalia.com> |
mesa: define ARB_shader_storage_buffer_object extension Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
e4512e1581cf90f56d13cfa6a809832ef3517283 |
|
09-Jun-2015 |
Tapani Pälli <tapani.palli@intel.com> |
mesa/glsl: new compiler option EmitNoIndirectSampler Patch provides new compiler option for backend to force unroll loops that have non-constant expression indexing on sampler arrays. This makes sure that we can never end up with a shader that uses loop induction variable as sampler array index but does not unroll because of having too much instructions. This would not work without dynamic indexing support. v2: change option name as EmitNoIndirectSampler Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net> Cc: "10.5" and "10.6" <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
770f141866654dab969302f720228497f0fb35fd |
|
18-Jun-2015 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa: add GL_PROGRAM_PIPELINE support in KHR_debug calls This was apparently missed when ARB_sso support was added. Add label support to pipeline objects just like all the other debug-related objects. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au> Cc: "10.5 10.6" <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
bbb700967e9991a03ed6e8073c9bdc2ca0d1381d |
|
17-Jun-2015 |
Kevin Rogovin <kevin.rogovin@intel.com> |
mesa: function for testing if current frag-shader has atomics Add helper function that checks if current fragment shader active of gl_context has atomic buffer access. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Kevin Rogovin <kevin.rogovin@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
74987977a36a7111281e8fb53568dc05dbd3a8b4 |
|
17-Jun-2015 |
Kevin Rogovin <kevin.rogovin@intel.com> |
mesa: add helper functions for geometry of gl_framebuffer Add convenience helper functions for fetching geometry of gl_framebuffer that return the geometry of the gl_framebuffer instead of the geometry of the buffers of the gl_framebuffer when then the gl_framebuffer has no attachments. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Kevin Rogovin <kevin.rogovin@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
da81999bee7b1f1bc0bb296e903deb03617ae22c |
|
17-Jun-2015 |
Kevin Rogovin <kevin.rogovin@intel.com> |
mesa: Define infrastructure for ARB_framebuffer_no_attachments Define the infrastructure for the extension GL_ARB_framebuffer_no_attachments: - extension table - additions to gl_framebuffer Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Kevin Rogovin <kevin.rogovin@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
8af11afc38532c65a242f7d45c31cf098ce2fa2f |
|
13-Jun-2015 |
Marek Olšák <marek.olsak@amd.com> |
mesa: remove unused variables from gl_program Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
f9367191b30956b9cfe578dd8e426b28d2417b6b |
|
08-Jun-2015 |
Francisco Jerez <currojerez@riseup.net> |
mesa: Drop include of simple_list.h from mtypes.h. simple_list.h defines a number of macros with short non-namespaced names that can easily collide with other declarations (first_elem, last_elem, next_elem, prev_elem, at_end), and according to the comment it was only being included because of struct simple_node, which is no longer used in this file. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
f52e8572ae1d91bcb6aef9fd3aac02ede62dee4e |
|
28-May-2015 |
Marek Olšák <marek.olsak@amd.com> |
mesa: remove unused gl_config::colorIndexMode Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
b7ef7903b8f582438172ef1bdc72788be3aa0860 |
|
28-May-2015 |
Marek Olšák <marek.olsak@amd.com> |
mesa: remove useless gl_compute_program_state::Current This is for user assembly shaders only (not GLSL). We won't support those. Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
e8b040477e271324a88d35c003775337848a500c |
|
28-May-2015 |
Marek Olšák <marek.olsak@amd.com> |
mesa: remove unused geometry shader variables These states are for GS assembly shaders only. We don't support those. Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
87a4bc511811327a00f9bbc1b6870b7fa46675f7 |
|
21-May-2015 |
Martin Peres <martin.peres@linux.intel.com> |
mesa: reference built-in uniforms into gl_uniform_storage This change introduces a new field in gl_uniform_storage to explicitely say that a uniform is built-in. In the case where it is, no storage is defined to make it clear that it is read-only from the mesa side. I fixed all the places in the code that made use of the structure that I changed. Any place making a wrong assumption and using the storage straight away will just crash. This patch seems to implement the path of least resistance towards listing built-in uniforms in GL_ACTIVE_UNIFORM (and other APIs). Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Signed-off-by: Martin Peres <martin.peres@linux.intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
5c4aab58ee79a8bfa3d96f3ec442f37da587ff45 |
|
18-May-2015 |
Ian Romanick <ian.d.romanick@intel.com> |
Revert "mesa: Add an extension flag for ARB_direct_state_access" This reverts commit 30dcaaec356cc117d7227c6680620cd50ff534e7. Acked-by: Fredrik Höglund <fredrik@kde.org> Cc: "10.6" <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
30dcaaec356cc117d7227c6680620cd50ff534e7 |
|
10-May-2015 |
Fredrik Höglund <fredrik@kde.org> |
mesa: Add an extension flag for ARB_direct_state_access Signed-off-by: Fredrik Höglund <fredrik@kde.org> Reviewed-by: Adam Jackson <ajax@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
6c37acfbedb88b460d2997f8b2d7b0e04a8782df |
|
02-Mar-2015 |
Fredrik Höglund <fredrik@kde.org> |
mesa: Keep track of the last looked-up VAO This saves the cost of repeated hash table lookups when the same vertex array object is referenced in a sequence of calls such as: glVertexArrayAttribFormat(vao, ...); glVertexArrayAttribBinding(vao, ...); glEnableVertexArrayAttrib(vao, ...); ... Note that VAO's are container objects that are not shared between contexts. Reviewed-by: Laura Ekstrand <laura@jlekstrand.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
c4254ee526145ce9bab227264226f5d6f741ff0e |
|
20-Feb-2015 |
Dave Airlie <airlied@redhat.com> |
mesa/vbo: add support for 64-bit vertex attributes. (v1) This adds support in the vbo and array code to handle double vertex attributes. v0.2: merge code to handle doubles in vbo layer. v1: don't use v0, merge api_array elt code. Acked-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
023fc344daae3e38f5e250cd0ea36ea674cd84f9 |
|
08-Apr-2015 |
Dave Airlie <airlied@redhat.com> |
glsl: track which program inputs are doubles instead of doing the attempts at dual slot handling here, let the backend do it. Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
fc71ae7c5705ef1a80f4f43d113c7fb39d49b164 |
|
20-Feb-2015 |
Dave Airlie <airlied@redhat.com> |
mesa: add ARB_vertex_attrib_64bit to extensions. (v2) Just add the boilerplate bits. v2: add to version.c Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
ce0e15172157b6fa11feabb3ff0672abfb273884 |
|
28-Jan-2015 |
Francisco Jerez <currojerez@riseup.net> |
glsl: Keep track of the early_fragment_tests flag in gl_shader. And rename _mesa_glsl_parse_state::early_fragment_tests to fs_early_fragment_tests for consistency with other FS-specific flags in the same struct. Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1948880720a631f959c6fa7f5bc533f26619a31a |
|
22-Apr-2015 |
Jason Ekstrand <jason.ekstrand@intel.com> |
mesa: remove the gl_sl_pragmas structure This code was added by Brian Paul in 2009 but, as far as Matt and I can tell, it's been dead ever since the new GLSL compiler was added. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
c796ce4108ccc4987c24df43606d04a0f3658d44 |
|
06-Mar-2015 |
Tapani Pälli <tapani.palli@intel.com> |
mesa/glsl: build list of program resources during linking Patch adds ProgramResourceList to gl_shader_program structure. List contains references to active program resources and is constructed during linking phase. This list will be used by follow-up patches to implement hooks for GL_ARB_program_interface_query. It can be also used to implement any of the older shader program query APIs. v2: code cleanups + note for SSBO and subroutines (Ilia Mirkin) v3: code cleanups + assert(MESA_SHADER_STAGES < 8) (Martin Peres) Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
6f4d9418b41f650630e725e0a842de9bb1ad746f |
|
07-Apr-2015 |
Marius Predut <marius.predut@intel.com> |
main: replace __FUNCTION__ with __func__ Consistently just use C99's __func__ everywhere. The patch was verified with Microsoft Visual studio 2013 redistributable package(RTM version number: 18.0.21005.1) Next MSVC versions intends to support __func__. No functional changes. Acked-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Marius Predut <marius.predut@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
89c1feb78d010bc457f5d02be84c955eebf3549f |
|
08-Apr-2015 |
Kenneth Graunke <kenneth@whitecape.org> |
i965: Create NIR during LinkShader() and ProgramStringNotify(). Previously, we translated into NIR and did all the optimizations and lowering as part of running fs_visitor. This meant that we did all of that work twice for fragment shaders - once for SIMD8, and again for SIMD16. We also had to redo it every time we hit a state based recompile. We now generate NIR once at link time. ARB programs don't have linking, so we instead generate it at ProgramStringNotify time. Mesa's fixed function vertex program handling doesn't bother to inform the driver about new programs at all (which is rather mean), so we generate NIR at the last minute, if it hasn't happened already. shader-db runs ~9.4% faster on my i7-5600U, with a release build. v2: Check NirOptions != NULL in ProgramStringNotify(). Don't bother using _mesa_program_enum_to_shader_stage as we already know it. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
4b27391cadcc789a3befbd2b5a846012afa069b8 |
|
08-Apr-2015 |
Kenneth Graunke <kenneth@whitecape.org> |
nir: Move gl_shader_stage enum from mtypes.h to shader_enums.h. I want to use this in some code that doesn't currently include mtypes.h. It seems like a better place for it anyway. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
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/mtypes.h
|
a3a07d46d1a8e89136669dd4bb242c7bd5d10015 |
|
25-Mar-2015 |
Eric Anholt <eric@anholt.net> |
mesa: Make a shared header for 3D pipeline enum / #defines. NIR uses these enums/#defines in nir_variables and associated intrinsics, but I want to be able to use them from TGSI->NIR and NIR->TGSI. Otherwise, we had to pull in all of mtypes.h. This doesn't cover all of the enums we might want from a shared compiler core (like varying slots or vert attribs), but it at least covers what I need at the moment (system values and interp qualifiers). v2: Move to src/glsl since util/ is really vague. Include in Makefile.am list. Use plain bitshifts and stdint types instead of undefined BITFIELD64_BIT. v3: Rename to shader_enums.h. Move it into Makefile.sources. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v2, with recommendation to rename)
/external/mesa3d/src/mesa/main/mtypes.h
|
dbe67d76e0487b04a7b6081d9d46666db3c3ee3e |
|
27-Mar-2015 |
Brian Paul <brianp@vmware.com> |
glsl: allow ForceGLSLVersion to override #version directives Previously, the ctx->Const.ForceGLSLVersion setting only worked if the shader lacked a #version directive. Now, the ForceGLSLVersion setting will override the #version directive too. This change should be safe since it should be rare to have an app that has a mix of shader versions and we only wanted to override the #version for shaders which lacked the #version directive. Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/main/mtypes.h
|
d01a7cdae576162791813c131027a6e675a4e6c7 |
|
18-Mar-2015 |
Jose Fonseca <jfonseca@vmware.com> |
glsl: Avoid GLboolean vs bool arithmetic MSVC warnings. Note that GLboolean is an alias for unsigned char, which lacks the implicit true/false semantics that C++/C99 bool have. Reviewed-by: Brian Paul <brianp@vmware.com> v2: Change gl_shader::IsES and gl_shader_program::IsES to be bool as recommended by Ian Romanick. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
ad6ede260f7b2b7356217c4a0d196edba9ebd5e9 |
|
20-Mar-2015 |
Dave Airlie <airlied@redhat.com> |
mesa: reorder gl_light_attrib reduces from 2664->2656. Acked-by: Brian Paul <brianp@vmware.com> Reviewed-by: Alex Deucher alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
b99c7defaca2bd89d02c40b0c42dac105b46293c |
|
20-Mar-2015 |
Dave Airlie <airlied@redhat.com> |
mesa: reorder gl_framebuffer this reduces it from 1088 -> 1080 bytes Acked-by: Brian Paul <brianp@vmware.com> Reviewed-by: Alex Deucher alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
727eb4c4e7edc3eeb8126000379d9e2bab985773 |
|
20-Mar-2015 |
Dave Airlie <airlied@redhat.com> |
mesa: fix hole in vertex_array_object this just removes 4 bytes from this object. Acked-by: Brian Paul <brianp@vmware.com> Reviewed-by: Alex Deucher alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
974e4783a5c7ee9d378124f6dcfc6a0ffd9727db |
|
20-Mar-2015 |
Dave Airlie <airlied@redhat.com> |
mesa: repack gl_texture_attrib. This removes a hole, and puts the large allocation at the end, Acked-by: Brian Paul <brianp@vmware.com> Reviewed-by: Alex Deucher alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
2dbd8284e72c8b3fe412a7e1c7734e9685fedd7d |
|
20-Mar-2015 |
Dave Airlie <airlied@redhat.com> |
mesa: reduce gl_colorbuffer_attrib and gl_fog_attrib These 392->388 and 72->68. Acked-by: Brian Paul <brianp@vmware.com> Reviewed-by: Alex Deucher alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
2c016ed35fff36e39a457db8efbc82ec90d4f5da |
|
20-Mar-2015 |
Dave Airlie <airlied@redhat.com> |
mesa: reorder gl_image_unit reduces 40->32 but reduces use in context from 7680->6144. Acked-by: Brian Paul <brianp@vmware.com> Reviewed-by: Alex Deucher alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
0ff4726a0632b9c15d349cd05070b57fd61f1f98 |
|
20-Mar-2015 |
Dave Airlie <airlied@redhat.com> |
mesa: reorder gl_program, gl_shader, gl_shader_program gl_program : 1344->1336 gl_shader: 488->472 gl_shader_program: 352->344. Acked-by: Brian Paul <brianp@vmware.com> Reviewed-by: Alex Deucher alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
7b634fed5918bb55b7335170a57b297830d0817f |
|
20-Mar-2015 |
Dave Airlie <airlied@redhat.com> |
mesa: reorder gl_transform_feedback_object Reduces size from 184 to 176 bytes. Acked-by: Brian Paul <brianp@vmware.com> Reviewed-by: Alex Deucher alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
401b11843b91112e2f5957c2b174b564cd1825b3 |
|
20-Mar-2015 |
Dave Airlie <airlied@redhat.com> |
mesa: reorder gl_array_attrib drops 80 bytes to 72. Acked-by: Brian Paul <brianp@vmware.com> Reviewed-by: Alex Deucher alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
b3f6e0bb587457cbfab3c04cae9d062843369eb9 |
|
20-Mar-2015 |
Dave Airlie <airlied@redhat.com> |
mesa: reorder gl_client_array drops from 56 to 48 bytes, drops gl_vertex_array_object from 4584 to 4320 bytes Acked-by: Brian Paul <brianp@vmware.com> Reviewed-by: Alex Deucher alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
cbaff50828205188d738f5727261b8a95861ef38 |
|
20-Mar-2015 |
Dave Airlie <airlied@redhat.com> |
mesa: reorder gl_texture_unit drops size from 520 -> 512 bytes, which then makes gl_texture_attrib go from 99984 to 98440. Acked-by: Brian Paul <brianp@vmware.com> Reviewed-by: Alex Deucher alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
83606b490491adbe9f3b8af9413f2a23b7896ff1 |
|
20-Mar-2015 |
Dave Airlie <airlied@redhat.com> |
mesa: reorder gl_point_attrib this drops the size from 52 bytes to 48 bytes. Acked-by: Brian Paul <brianp@vmware.com> Reviewed-by: Alex Deucher alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
684c91401472a3bf60c219901dbc2727aab8c351 |
|
20-Mar-2015 |
Dave Airlie <airlied@redhat.com> |
mesa: reorder gl_multisample_attrib drops size from 28 bytes to 20. Acked-by: Brian Paul <brianp@vmware.com> Reviewed-by: Alex Deucher alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
a55da73be46b4576015417b2dff71a719bc8b797 |
|
06-Mar-2015 |
Kenneth Graunke <kenneth@whitecape.org> |
nir: Try to make sense of the nir_shader_compiler_options code. The code in glsl_to_nir is entirely dead, as we translate from GLSL to NIR at link time, when there isn't a _mesa_glsl_parse_state to pass, so every caller passes NULL. glsl_to_nir seems like the wrong place to try and create the shader compiler options structure anyway - tgsi_to_nir, prog_to_nir, and other translators all would have to duplicate that code. The driver should set this up once with whatever settings it wants, and pass it in. Eric also added a NirOptions field to ctx->Const.ShaderCompilerOptions[] and left a comment saying: "The memory for the options is expected to be kept in a single static copy by the driver." This suggests the plan was to do exactly that. That pointer was not marked const, however, and the dead code used a mix of static structures and ralloced ones. This patch deletes the dead code in glsl_to_nir, instead making it take the shader compiler options as a mandatory argument. It creates an (empty) options struct in the i965 driver, and makes NirOptions point to that. It marks the pointer const so that we can actually do so without generating "discards const qualifier" compiler warnings. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Jason Ekstrand <jason.ekstrand@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
028968a3ce317cead6aec29890308f8242d547dd |
|
05-Mar-2015 |
Brian Paul <brianp@vmware.com> |
mesa: include c11/threads.h in mtypes.h Let's directly include c11/threads.h instead of relying on glapi.h to provide it. Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
b21ad12485d24565fd7f21addb5c86c77cf64580 |
|
20-Feb-2015 |
Matt Turner <mattst88@gmail.com> |
mesa: Have configure define NDEBUG, not mtypes.h. mtypes.h had been defining NDEBUG (used by assert) if DEBUG was not defined. Confusing and bizarre that you don't get NDEBUG if you don't include mtypes.h. ... which is just what happened in commit bef38f62e. Let's let configure define this for us if not using --enable-debug. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
6227af26908251601b6a8ba6297ef6ce4fb34786 |
|
11-Jun-2014 |
Dave Airlie <airlied@redhat.com> |
mesa: add ARB_gpu_shader_fp64 extension info (v2) This just adds the entries to extensions.c and mtypes.h v2: use core profile only (Ian) Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/main/mtypes.h
|
f90bb54734bf03be6c736812226e3f65f2e11519 |
|
03-Feb-2015 |
Eric Anholt <eric@anholt.net> |
nir: Add a nir_shader_compiler_options struct pointed to by the shaders. This will be used to give the optimization passes a chance to customize behavior for the particular target device. v2: Rebase to master (no TGSI->NIR present) Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
/external/mesa3d/src/mesa/main/mtypes.h
|
86ffc36d3c971417e1c38b29c3b7863368b5c6d9 |
|
02-Jan-2015 |
Ben Widawsky <benjamin.widawsky@intel.com> |
mesa: Add support for the ARB_pipeline_statistics_query extension This was originally part of a single patch which added the extension, and implemented it for i965 classic. For information about the evolution of the patch, please see the subsequent commit. One difference here as compared to the original mega patch is this does build support for the compute shader query. Since it cannot be tested on any platform, it will always return NULL for now. Jordan has already written a patch to address this, and when that patch lands, this logic can be modified. v2: Fix typo in subject (Brian Paul) Add checks for desktop gl (Ilia) Fail for any callers for now (Ilia) Update QueryCounterBits for new tokens (Ilia) Jordan: Use _mesa_has_compute_shaders Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> v3: Rebased on patch which adds the proper information to unstub tessellation shaders. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
599cbe5508ccb246fe06b64116c84ce976165fed |
|
21-Sep-2014 |
Fabian Bieler <fabianbieler@fastmail.fm> |
mesa: Add ARB_tessellation_shader to extension table. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
11ebb03c26a7af4e975f5611303f6caf98f8a315 |
|
10-Feb-2015 |
Marek Olšák <marek.olsak@amd.com> |
mesa: implement GL_AMD_pinned_memory It's not possible to query the current buffer binding, because the extension doesn't define GL_..._BUFFER__BINDING_AMD. Drivers should check the target parameter of Drivers.BufferData. If it's equal to GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD, the memory should be pinned. That's all there is to it. A piglit test is on the piglit mailing list. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Christian König <christian.koenig@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
81998dda637cea18b1ec035e178dd829ce7e8645 |
|
31-Dec-2014 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa: add support for GL_EXT_polygon_offset_clamp Nothing enables the extension yet, but the values are now available. The spec calls for it to only be exposed for GL 3.3+, which is core-only in mesa. Instead we allow any driver to enable it, including in a compat context for any GL version. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Glenn Kennard <glenn.kennard@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
a63c8a524b01e802cf2505099f930c0cb97df0b2 |
|
08-Jan-2015 |
Kalyan Kondapally <kondapallykalyancontribute@gmail.com> |
Mesa: Add support for GL_OES_texture_*float* extensions. This patch series adds support for following GLES2 Texture Float extensions: 1)GL_OES_texture_float, 2)GL_OES_texture_half_float, 3)GL_OES_texture_float_linear, 4)GL_OES_texture_half_float_linear. This patch adds basic infrastructure and needed boolean flags to advertise support for these extensions, by default the support is disabled. Next patch in the series introduces support for HALF_FLOAT_OES token. v4: take assert away and make valid_filter_for_float conditional (Tapani), fix the alphabetical order (Emil) Signed-off-by: Kevin Rogovin <kevin.rogovin@intel.com> Signed-off-by: Kalyan Kondapally <kalyan.kondapally@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
8ab6759cef6dc5101be3badce10a52d1d046f2ea |
|
14-Nov-2014 |
Eric Anholt <eric@anholt.net> |
mesa: Move simple_list.h to src/util. We have two copies of it in the tree, I'm going to delete one. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
d36fa60191359af9ac1e1889bcdc95c3b9d65332 |
|
31-Dec-2014 |
Micah Fedke <micah.fedke@collabora.co.uk> |
mesa: Add ARB_shader_precision infrastructure Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
/external/mesa3d/src/mesa/main/mtypes.h
|
e1ed4f2532b4e9bafb5663cccbe28033c49b2e77 |
|
02-Dec-2014 |
Iago Toral Quiroga <itoral@igalia.com> |
mesa: Recompute LegalTypesMask if the GL API has changed The current code computes ctx->Array.LegalTypesMask just once, however, computing this needs to consider ctx->API so we need to make sure that the API for that context has not changed if we intend to reuse the result. The context API can change, at least, if we go through _mesa_meta_begin, since that will always force API_OPENGL_COMPAT until we call _mesa_meta_end. If any operation in between these two calls triggers a call to update_array_format, then we might be caching a value for LegalTypesMask that will not be right once we have called _mesa_meta_end and restored the context API. Fixes the following 179 dEQP tests in i965: dEQP-GLES3.functional.vertex_arrays.single_attribute.strides.fixed.* dEQP-GLES3.functional.vertex_arrays.single_attribute.normalize.fixed.* dEQP-GLES3.functional.vertex_arrays.single_attribute.output_types.fixed.* dEQP-GLES3.functional.vertex_arrays.single_attribute.usages.static_draw.*fixed* dEQP-GLES3.functional.vertex_arrays.single_attribute.usages.stream_draw.*fixed* dEQP-GLES3.functional.vertex_arrays.single_attribute.usages.dynamic_draw.*fixed* dEQP-GLES3.functional.vertex_arrays.single_attribute.usages.static_copy.*fixed* dEQP-GLES3.functional.vertex_arrays.single_attribute.usages.stream_copy.*fixed* dEQP-GLES3.functional.vertex_arrays.single_attribute.usages.dynamic_copy.*fixed* dEQP-GLES3.functional.vertex_arrays.single_attribute.usages.static_read.*fixed* dEQP-GLES3.functional.vertex_arrays.single_attribute.usages.stream_read.*fixed* dEQP-GLES3.functional.vertex_arrays.single_attribute.usages.dynamic_read.*fixed* dEQP-GLES3.functional.vertex_arrays.multiple_attributes.input_types.3_*fixed2* dEQP-GLES3.functional.draw.random.{2,18,28,68,83,106,109,156,181,191} Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
4ea8c8d56ca8d6b4af36e7750186821b4973355a |
|
08-Dec-2014 |
Abdiel Janulgue <abdiel.janulgue@linux.intel.com> |
glsl: Don't optimize min/max into saturate when EmitNoSat is set v3: Fix multi-line comment format (Ian) Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
0c0bfb2ead03789164cee364fbf405994d876ca3 |
|
28-Oct-2014 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Add infrastructure for "hidden" uniforms. In the compiler, we'd like to generate implicit uniforms for internal use. These should not be visible via the GL uniform introspection API. To support that, we add a new ir_variable::how_declared value of ir_var_hidden, and plumb that through to gl_uniform_storage. v2 (idr): Fix some memory management issues in move_hidden_uniforms_to_end. The comment block on the function has more details. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
4ded2ef5e84f4696b4e5ed5bd6ad1efe933bbc39 |
|
20-Aug-2014 |
Chia-I Wu <olvaffe@gmail.com> |
mesa: protect the debug state with a mutex We are about to change mesa to spawn threads for deferred glCompileShader and glLinkProgram, and we need to make sure those threads can send compiler warnings/errors to the debug output safely. Signed-off-by: Chia-I Wu <olv@lunarg.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
60ec95fa1e0c42bd42358185970b20c9b81591fa |
|
23-Sep-2014 |
Neil Roberts <neil@linux.intel.com> |
mesa: Add support for the GL_KHR_context_flush_control extension The GL side of this extension just provides an accessor via glGetIntegerv for the value of GL_CONTEXT_RELEASE_BEHAVIOR so it is trivial to implement. There is a constant on the context for the value of the enum which is initialised to GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH. The extension is always enabled because it doesn't need any driver interaction to retrieve the value. If the value of the enum is anything but FLUSH then _mesa_make_current will now refrain from calling _mesa_flush. This should only affect drivers that explicitly change the enum to a non-default value. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
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/mtypes.h
|
aafbd89c5e6c643e9c80edabda1fac2437bea927 |
|
20-Oct-2014 |
Brian Paul <brianp@vmware.com> |
mesa: fix 'feeedback' typo in comment Trivial.
/external/mesa3d/src/mesa/main/mtypes.h
|
953a0af8e3f73ce0a42a5dc2bf25355453d7a7b0 |
|
13-Oct-2014 |
Tapani Pälli <tapani.palli@intel.com> |
mesa: validate sampler uniforms during gluniform calls Patch fixes 'glsl-2types-of-textures-on-same-unit' in WebGL conformance test suite. No Piglit regressions, fixes gl-2.0-active-sampler-conflict. To avoid adding potentially heavy check during draw (valid_to_render), check is done during uniform updates by inspecting TexturesUsed mask. A new boolean variable is introduced to cache validation state. v2: take into account case where 2 uniforms use same unit (curro) also do the check only when SSO is not in use, SSO has own path for sampler validation. Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
7bd6dfe93401ad6d6ba5018cbe167be8ce29d09d |
|
11-Oct-2014 |
Chris Forbes <chrisf@ijw.co.nz> |
mesa: Mark buffer objects that are used as atomic counter buffers Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
8db38ba4d2f6dee62009f40208cb11bc6547167f |
|
01-Oct-2014 |
Chris Forbes <chrisf@ijw.co.nz> |
mesa: Mark buffer objects that are used as TexBOs Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
3d989467f1700219b053317e8aafd2965f051273 |
|
01-Oct-2014 |
Chris Forbes <chrisf@ijw.co.nz> |
mesa: Add usage history bitfield to buffer objects In the drivers, we occasionally want to reallocate the backing store for a buffer object; often to avoid waiting for the GPU to be finished with the previous contents. At the point that happens, we don't have a good way of determining where else the buffer object may be bound, and so no good way of determining which dirty flags need to be raised -- it's fairly expensive to go looking at all the possible binding points. Until now, we've considered any BO to be possibly bound as a UBO or TexBO, and flagged all that state to be reemitted. Instead, remember what kinds of binding point this buffer has ever been used with, so that the drivers can flag only what they need. I don't expect these bits to ever be reset, but that doesn't matter for reasonable apps. Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
38cd40faab8686023ac48e323014f951abf47098 |
|
23-Sep-2014 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: Add new variables in gl_context to store sample layout SampleMap{2,4,8}x variables are used in later patches to implement EXT_framebuffer_multisample_blit_scaled extension. V2: Use integer array instead of a string. Bump up the comment. V3: Use uint8_t type array. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
04e1357d97ae2d99dfbf0b6e91feee54eecd6eb5 |
|
09-Jul-2014 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Add context-level controls for whether temporaries have real names No change Valgrind massif results for a trimmed apitrace of dota2. v2: Minor rebase on _mesa_init_constants changes. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
2b76ee903187e22c9fa013579004bc5f51c9a6d8 |
|
05-Sep-2014 |
Eric Anholt <eric@anholt.net> |
mesa: Drop the always-software-primitive-restart paths. The core sw primitive restart code is still around, because i965 uses it in some cases, but there are no drivers that want it on all the time. Reviewed-by: Rob Clark <robdclark@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
10ffd98c34c2d730a50de21bc7b5c6fa483fbf9d |
|
12-Sep-2014 |
Marek Olšák <marek.olsak@amd.com> |
mesa: don't set ES versions to GLSLVersion in _mesa_init_constants No place in Mesa expects an ES version there. Drivers don't even set it like this. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
26ee6f23a9aec6b1f392baa0e3f1f2c62c038a57 |
|
15-Sep-2014 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Delete VAO _MaxElement code and index buffer bounds checking. Fredrik's implementation of ARB_vertex_attrib_binding introduced new gl_vertex_attrib_array and gl_vertex_buffer_binding structures, and converted Mesa's older gl_client_array to be derived state. Ultimately, we'd like to drop gl_client_array and use those structures directly. One hitch is that gl_client_array::_MaxElement doesn't correspond to either structure (unlike every other field), so we'd have to figure out where to store it. The _MaxElement computation uses values from both structures, so it doesn't really belong in either place. We could put it in the VAO, but we'd have to pass it around everywhere. It turns out that it's only used when ctx->Const.CheckArrayBounds is set, which is only set by the (rarely used) classic swrast driver. It appears that drivers/x11 used to set it as well, which was intended to avoid segmentation faults on out-of-bounds memory access in the X server (probably for indirect GLX clients). However, ajax deleted that code in 2010 (commit 1ccef926be46dce3b6b5c76e812e2fae4e205ce7). The bounds checking apparently doesn't actually work, either. Non-VBO attributes arbitrarily set _MaxElement to 2 * 1000 * 1000 * 1000. vbo_save_draw and vbo_exec_draw remark /* ??? */ when setting it, and the i965 code contains a comment noting that _MaxElement is often bogus. Given that the code is complex, rarely used, and dubiously functional, it doesn't seem worth maintaining going forward. This patch drops it. This will probably mean the classic swrast driver may begin crashing on out of bounds vertex buffer access in some cases, but I believe that is allowed by OpenGL (and probably happened for non-VBO accesses anyway). There do not appear to be any Piglit regressions, either. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> Acked-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
ec08b5e768271aa100be87c1ca6dd2b0109049d9 |
|
19-Jun-2014 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Add a lowering pass for gl_VertexID Converts gl_VertexID to (gl_VertexIDMESA + gl_BaseVertex). gl_VertexIDMESA is backed by SYSTEM_VALUE_VERTEX_ID_ZERO_BASE, and gl_BaseVertex is backed by SYSTEM_VALUE_BASE_VERTEX. v2: Put the enum in struct gl_constants and propoerly resolve the scope in C++ code. Fix suggested by Marek. v3: Reabase on Matt's foreach_in_list changes (was using foreach_list). v4 (Ken): Use a systemvalue instead of a uniform because STATE_BASE_VERTEX has been removed. v5: Use a boolean to select lowering, and only allow one lowering method. Suggested by Ken. v6 (Ken): Replace strcmp against literal "gl_BaseVertex"/"gl_VertexID" with SYSTEM_VALUE enum checks, for efficiency. v7: Rebase on context constant initialization work. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
1e87fbd78f15f262b3dd2cbc16099e9f484c42a0 |
|
21-Jun-2014 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add SYSTEM_VALUE_BASE_VERTEX This system value represents the basevertex value passed to glDrawElementsBaseVertex and related functions. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
5964a4f344fa4fd631bcccf67c065b9e66b94108 |
|
19-Jun-2014 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add SYSTEM_VALUE_VERTEX_ID_ZERO_BASE There exists hardware, such as i965, that does not implement the OpenGL semantic for gl_VertexID. Instead, that hardware does not include the value of basevertex in the gl_VertexID value. SYSTEM_VALUE_VERTEX_ID_ZERO_BASE is the system value that represents this semantic. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
9afb5ae8cae4460b87a5c03da3955f2e83434430 |
|
19-Jun-2014 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Document SYSTEM_VALUE_VERTEX_ID and SYSTEM_VALUE_INSTANCE_ID v2: Additions to the documentation for SYSTEM_VALUE_VERTEX_ID. Quote the GL_ARB_shader_draw_parameters spec and mention DirectX SV_VertexID. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
9f2050365851c61f21f83ce60bc628a3e192e1dc |
|
11-Jan-2014 |
Paul Berry <stereotype441@gmail.com> |
main/cs: Add gl_context::ComputeProgram Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
d035d50e0527ed2a471c5536bf327d7980167b2e |
|
07-Aug-2014 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa: Convert NewDriverState to 64-bits i965 will have more than 32 bits when BRW_STATE_COMPUTE_PROGRAM is added. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
941269f89c147a606787a10e41959ede98da5df6 |
|
28-Aug-2014 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Delete ctx->GeometryProgram.Cache. The VertexProgram and FragmentProgram have a Cache member for dealing with fixed function programs. There are no fixed function geometry programs, so this should never have existed, and was just copy and pasted. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
3246e11d33b346f904f441fb1772e9e88f29d214 |
|
14-Aug-2014 |
Timothy Arceri <t_arceri@yahoo.com.au> |
mesa: implement GL_MAX_VERTEX_ATTRIB_STRIDE V2: moved test for the VertexAttrib*Pointer() functions to update_array(), and made constant available for drivers to set Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
64cc1876fa2c9ecd2bee4363d1db27ffc487d5f2 |
|
16-Aug-2014 |
Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de> |
mesa: add ARB_conditional_render_inverted flags Also add an extension bit so we can safely enable Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Chris Forbes <chrisf@ijw.co.nz> Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
/external/mesa3d/src/mesa/main/mtypes.h
|
4a9c36c98559a988fe2bb9dd3f97d46c4459aaba |
|
14-Aug-2014 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa: add ARB_derivative_control extension bit Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
5ceb4bff33379907542dc3705e850c3eb5d45caf |
|
17-Jul-2014 |
Neil Roberts <neil@linux.intel.com> |
mesa: Add the GL_ARB_texture_compression_bptc extension This adds a boolean in the gl_extensions struct for GL_ARB_texture_compression_bptc as well as an entry in extension_table. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
002211f9eea258acc253528024ee104aa1fcd90d |
|
03-Aug-2014 |
Marek Olšák <marek.olsak@amd.com> |
mesa: move ShaderCompilerOptions into gl_constants Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/main/mtypes.h
|
41b6460e08bf878ec3372937f63bef2a7b63c484 |
|
28-Jun-2014 |
Jason Ekstrand <jason.ekstrand@intel.com> |
mesa: Add GL API support for ARB_copy_image This adds the API entrypoint, error checking logic, and a driver hook for the ARB_copy_image extension. v2: Fix a typo in ARB_copy_image.xml and add it to the makefile v3: Put ARB_copy_image.xml in the right place alphebetically in the makefile and properly prefix the commit message v4: Fixed some line wrapping and added a check for null v5: Check for incomplete renderbuffers Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com> Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Reviewed-by: Neil Roberts <neil@linux.intel.com> v6: Update dispatch_sanity for the addition of CopyImageSubData
/external/mesa3d/src/mesa/main/mtypes.h
|
4837b130a76a49b3a9edbd3543843091ee1a75ce |
|
19-Jun-2014 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Group gl_system_value values by the stage where they exist Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
6719914f982b5700217b34c97551018d1e02ca45 |
|
29-Jul-2014 |
Brian Paul <brianp@vmware.com> |
mesa: make vertex array type error checking a little more efficient Compute the bitmask of supported array types once instead of every time we call a GL vertex array function. Reviewed-by: Matthew McClure <mcclurem@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
c4067acd908322d79a4e08b9f4fffdd453c518ee |
|
01-Mar-2014 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa/main: add ARB_clear_texture entrypoints Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Neil Roberts <neil@linux.intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
b0ff18bd3441ce7f28354686934440a92826eaf8 |
|
08-Jul-2014 |
Marek Olšák <marek.olsak@amd.com> |
glsl: add a mechanism to allow #extension directives in the middle of shaders This is needed to make Unigine Heaven 4.0 and Unigine Valley 1.0 work with sample shading. Also, if this is disabled, the error message at least makes sense now. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
734e4946f50c1b83dafdb18ced652abc88e6a246 |
|
11-Jul-2014 |
Marek Olšák <marek.olsak@amd.com> |
mesa: fix crash in st/mesa after deleting a VAO This happens when glGetMultisamplefv (or any other non-draw function) is called, which doesn't invoke the VBO module to update _DrawArrays and the pointer is invalid at that point. However st/mesa still dereferences it to setup vertex buffers ==> crash. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
e593953b50883541e7dc137e59a53253a2f76c23 |
|
02-Jul-2014 |
Ilia Mirkin <imirkin@alum.mit.edu> |
mesa: add support for AMD_vertex_shader_viewport_index Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chris Forbes <chrisf@ijw.co.nz> Tested-by: Tobias Droste <tdroste@gmx.de>
/external/mesa3d/src/mesa/main/mtypes.h
|
ad6e1e12cc2ed8b07cebc555b2ea0029037f7d93 |
|
01-Jul-2014 |
Brian Paul <brianp@vmware.com> |
mesa: update comment for UniformBufferSize to indicate size is in bytes Reviewed-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
4000c0112a49c28793844f454278b50e00943173 |
|
27-Jun-2014 |
Jason Ekstrand <jason.ekstrand@intel.com> |
Remove the ATI_envmap_bumpmap extension As far as I can tell, the Intel mesa driver is the only driver in the world still supporting this legacy extension. If someone wants to do bump mapping, they can use shaders. Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> [v1] Reviewed-by: Chris Forbes <chrisf@ijw.co.nz> [v2] Reviewed-by: Ian Romanick <idr@freedesktop.org> [v3]
/external/mesa3d/src/mesa/main/mtypes.h
|
0b84fa2c52cbaff5963b7d7aa4f27c316fe0a89c |
|
10-Jun-2014 |
Iago Toral Quiroga <itoral@igalia.com> |
mesa: Enable simultaneous queries on different streams. It should be possible to query the number of primitives written to each individual stream by a geometry shader in a single draw call. For that we need to have up to MAX_VERTEX_STREAM separate query objects. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
ecd9960430a52cfea624cd836d68ee2c39738410 |
|
10-Jun-2014 |
Iago Toral Quiroga <itoral@igalia.com> |
mesa: Include stream information in indexed queries. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
6d3632c9c9c58f8fe1bae26871432342ccaaaf4b |
|
06-Jun-2014 |
Iago Toral Quiroga <itoral@igalia.com> |
glsl: Store info about geometry shaders that emit vertices to non-zero streams. On Intel hardware when a geometry shader outputs GL_POINTS primitives we only need to emit vertex control bits if it emits vertices to non-zero streams, so use a flag to track this. This flag will be set to TRUE when a geometry shader calls EmitStreamVertex() or EndStreamPrimitive() with a non-zero stream parameter in a later patch. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
f20c7230399f5d505631dafab4252d504323d0a8 |
|
05-Jun-2014 |
Iago Toral Quiroga <itoral@igalia.com> |
mesa: add StreamId information to transform feedback outputs. For now initialized to the default stream 0. Reviewed-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
c822db6a05d6f9919e6f0acf6cf6242c173ce21a |
|
20-Jun-2014 |
Iago Toral Quiroga <itoral@igalia.com> |
mesa: Make Geom.UsesEndPrimitive a bool instead of a GLboolean
/external/mesa3d/src/mesa/main/mtypes.h
|
51c82bddefb5db15ef1a6c3fa5d7a12e3161100a |
|
25-Jan-2014 |
Chris Forbes <chrisf@ijw.co.nz> |
mesa: Add extension plumbing for ARB_fragment_layer_viewport Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
bfe42ddd99e8702e2daf14238966069fd25b6d0e |
|
05-May-2014 |
Tapani Pälli <tapani.palli@intel.com> |
mesa: add new enum MAX_UNIFORM_LOCATIONS Patch adds new implementation dependent value required by the GL_ARB_explicit_uniform_location extension. Default value for user assignable locations is calculated as sum of MaxUniformComponents for each stage. v2: fix descriptor in get_hash_params.py (Petri) v3: simpler formula for calculating initial value (Ian) Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
d1a64aad16c27ca40b3568b38156f6cced98f2fb |
|
04-Mar-2014 |
Tapani Pälli <tapani.palli@intel.com> |
mesa: add enable bit for ARB_explicit_uniform_location Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
75a5823749420bbbb71a00abe482bd40d4d2c97b |
|
20-May-2014 |
Chris Forbes <chrisf@ijw.co.nz> |
mesa: Add new pixel pack/unpack state for ARB_compressed_texture_pixel_storage Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
dac82ceac5d726ff8851051f671396cfbd1abc63 |
|
23-Apr-2014 |
Petri Latvala <petri.latvala@intel.com> |
mesa: Add core support for the GL_INTEL_performance_query extension. Like AMD_performance_monitor, this extension provides an interface for applications (and OpenGL-based tools) to access GPU performance counters. Since the exact performance counters available vary between vendors and hardware generations, the extension provides an API the application can use to get the names, types, and minimum/maximum values of all available counters. Applications create performance queries based on available query types, and begin/end measurement collection. Multiple queries can be measuring simultaneously. v2: Whitespace changes v3: src/mapi/glapi/gen/gl_API.xml: Also expose the functions to GLES2. v4: Whitespace changes, static_dispatch="false" for all functions, fix dispatch_sanity test for GLES2 functions Signed-off-by: Petri Latvala <petri.latvala@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
f64bfb2e3955374be824b8b1bedc422c527105c9 |
|
27-Mar-2014 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Eliminate gl_shader_program::InternalSeparateShader This was a work-around to allow linking a program with only a fragment shader in a GLES context. Now that we have GL_EXT_separate_shader_objects in GLES contexts, we can just use that. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
fb615feafb848bbccbdb751f552263bd32a37d82 |
|
26-Mar-2014 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove support for desktop OpenGL GL_EXT_separate_shader_objects I don't know of any applications that actually use it. Now that Mesa supports GL_ARB_separate_shader_objects in all drivers, this extension is just cruft. The entrypoints for the extension remain in the XML. This is done so that a new libGL will continue to provide dispatch support for old drivers that try to expose this extension. Future patches will add OpenGL ES GL_EXT_separate_shader_objects, but that's a different thing. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
e608449d3e7dc86b90acfb31d9c948c57cf0e920 |
|
29-Jun-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/sso: Enable GL_ARB_separate_shader_objects by default Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
4bd82720880bef34895f34ac8141d0d9246b2b6d |
|
12-Nov-2013 |
Fredrik Höglund <fredrik@kde.org> |
mesa: Add a _BoundTextures field in gl_texture_unit This will be used by glBindTextures() when unbinding textures, to avoid having to loop over all the targets. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
6bf8ac846aeb8b6e53b4a3545ee5f8ce94055ae7 |
|
12-Nov-2013 |
Fredrik Höglund <fredrik@kde.org> |
mesa: Store the target index in gl_texture_object This will be used by glBindTextures() so we don't have to look it up for each texture. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
340658e44f87c98e840b98029c9b5a81d1bed837 |
|
19-Mar-2014 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: Add entry for extension ARB_texture_stencil8 V2: Alphabetize the new entry Cc: <mesa-stable@lists.freedesktop.org> Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
9bcb0a85321c128b6e5ff8fc6694c2eff613e65a |
|
10-Feb-2014 |
Anuj Phogat <anuj.phogat@gmail.com> |
glsl: Apply the link error conditions to GL_ARB_fragment_coord_conventions Link error conditions added in previous patch are equally applicable to GL_ARB_fragment_coord_conventions implementation. Extension's spec says: "If gl_FragCoord is redeclared in any fragment shader in a program, it must be redeclared in all the fragment shaders in that program that have a static use of gl_FragCoord. All redeclarations of gl_FragCoord in all fragment shaders in a single program must have the same set of qualifiers." Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Cc: <mesa-stable@lists.freedesktop.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
35f11e85cbe82b4bb77535e84e5515a5c49f67a6 |
|
06-Feb-2014 |
Anuj Phogat <anuj.phogat@gmail.com> |
glsl: Link error if fs defines conflicting qualifiers for gl_FragCoord GLSL 1.50 spec says: "If gl_FragCoord is redeclared in any fragment shader in a program, it must be redeclared in all the fragment shaders in that program that have a static use gl_FragCoord. All redeclarations of gl_FragCoord in all fragment shaders in a single program must have the same set of qualifiers." This patch causes the shader link to fail if we have multiple fragment shaders with conflicting layout qualifiers for gl_FragCoord. V2: Restructure the code and add conditions to correctly handle the following case: fragment shader 1: layout(origin_upper_left) in vec4 gl_FragCoord; void main() { foo(); gl_FragColor = gl_FragData; } fragment shader 2: layout(pixel_center_integer) in vec4 gl_FragCoord; void foo() { } V3: Allow linking in the following case: fragment shader 1: void main() { foo(); gl_FragColor = gl_FragCoord; } fragment shader 2: in vec4 gl_FragCoord; void foo() { ... } Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Cc: <mesa-stable@lists.freedesktop.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
973345fc2389e7f74b8732052e781672c4e135c2 |
|
26-Apr-2014 |
Eric Anholt <eric@anholt.net> |
mesa: Track maximum CurrentTexUnit to reduce glDeleteTextures() overhead. No more walking 96*6 pointers looking to see if they're the current texture, when we only use the first 2 out of 96 units. -6.26002% +/- 1.87817% effect on cairo runtime on no-fbo-cache glamor (n=36). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
e5e50fae6aaf2a1901f43f05f677e48f447087cc |
|
24-Apr-2014 |
Eric Anholt <eric@anholt.net> |
mesa: Finish removing the _ReallyEnabled field. Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
c703658b3965bf2e4f3593a0d54be03e8e8b1436 |
|
24-Apr-2014 |
Eric Anholt <eric@anholt.net> |
mesa: Drop _EnabledUnits. The field wasn't really valid, since we've got more than 32 units now. It turns out it was mostly just used for checking != 0, or checking for fixed function coordinates, though. v2: Fix mis-conversion in xm_line.c (caught by Ken). Reviewed-by: Matt Turner <mattst88@gmail.com> (v1) Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
cf61ea3029b7c9a3e334ea7f1b45844fad2d0a77 |
|
22-Apr-2014 |
Chia-I Wu <olvaffe@gmail.com> |
mesa: use accessors for struct gl_debug_state When GL_DEBUG_OUTPUT_SYNCHRONOUS is GL_TRUE, drivers are allowed to log debug messages from other threads. That requires gl_debug_state to be protected by a mutex, even when it is a context state. While we do not spawn threads in Mesa yet, this commit makes it easier to do when we want to. Since the definition of struct gl_debug_state is no longer needed by the rest of the driver, move it to main/errors.c. This should make it even harder to use the struct incorrectly. v2: add comments for the accessors Signed-off-by: Chia-I Wu <olv@lunarg.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
c4a98e76d7dcb84ba6a0337dc975351966c4dac7 |
|
12-Apr-2014 |
Chris Forbes <chrisf@ijw.co.nz> |
mesa: Track max enabled tex image unit This gives us a better bound for some hot loops in the drivers than MAX_COMBINED_TEXTURE_IMAGE_UNITS, which is ridiculously large on modern hardware, and only getting worse as more shader stages are added. Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
76ba50a25a8bbc1e5fbcdb24da7e09f8996cf2c5 |
|
27-Nov-2013 |
Dave Airlie <airlied@gmail.com> |
mesa/soft/llvmpipe: add fake MSAA support This adds a gallium cap that allows us to fake GL3.0 by not exposing MSAA on sw rendering. It also forces the extra extensions needed for GL3.2. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
5d76e4464323fd72af8bd5e455638004a6379e21 |
|
20-Mar-2014 |
Chia-I Wu <olvaffe@gmail.com> |
glsl: remove UBO fields from _mesa_glsl_parse_state They are not needed since 514f8c7ec7cc1ab18be93cebb5b9bf970b1955a9. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1c290680742ce5cb9a0a1019d0f971689335aabc |
|
29-Jun-2013 |
Gregory Hainaut <gregory.hainaut@gmail.com> |
mesa/sso: Implement ValidateProgramPipeline Implementation note: I don't use context for ralloc (don't know how). The check on PROGRAM_SEPARABLE flags is also done when the pipeline isn't bound. It doesn't make any sense in a DSA style API. Maybe we could replace _mesa_validate_program by _mesa_validate_program_pipeline. For example we could recreate a dummy pipeline object. However the new function checks also the TEXTURE_IMAGE_UNIT number not sure of the impact. V2: Fix memory leak with ralloc_strdup Formatting improvement V3 (idr): * Actually fix the leak of the InfoLog. :) * Directly generate logs in to gl_pipeline_object::InfoLog via ralloc_asprintf isntead of using a temporary buffer. * Split out from previous uber patch. * Change spec references to include section numbers, etc. * Fix a bug in checking that a different program isn't active in a stage between two stages that have the same program. Specifically, if (pipe->CurrentVertexProgram->Name == pipe->CurrentGeometryProgram->Name && pipe->CurrentGeometryProgram->Name != pipe->CurrentVertexProgram->Name) should have been if (pipe->CurrentVertexProgram->Name == pipe->CurrentFragmentProgram->Name && pipe->CurrentGeometryProgram->Name != pipe->CurrentVertexProgram->Name) v4 (idr): Rework to use CurrentProgram array in loops. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
aa46ad26b13a753858627088d1e8f7cc81beb64e |
|
29-Jun-2013 |
Gregory Hainaut <gregory.hainaut@gmail.com> |
mesa/sso: Add gl_pipeline_object::InfoLog support V2 (idr): * Keep the behavior of other info logs in Mesa: and empty info log reports a GL_INFO_LOG_LENGTH of zero. * Use a NULL pointer to denote an empty info log. * Split out from previous uber patch. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
b2bddaf7a000bf9830a7947b18d8e31fb25353ae |
|
28-Jun-2013 |
Gregory Hainaut <gregory.hainaut@gmail.com> |
mesa/sso: replace Shader binding point with _Shader To avoid NULL pointer check a default pipeline object is installed in _Shader when no program is current The spec say that UseProgram/UseShaderProgramEXT/ActiveProgramEXT got an higher priority over the pipeline object. When default program is uninstall, the pipeline is used if any was bound. Note: A careful rename need to be done now... V2: formating improvement V3 (idr): * Build fix. The original patch added calls to _mesa_use_shader_program with 4 parameters, but the fourth parameter isn't added to that function until a much later patch. Just drop that parameter for now. * Trivial reformatting. * Updated comment of gl_context::_Shader v4 (idr): Reformat spec quotations to look like spec quotations. Update comments describing what gl_context::_Shader can point to. Bot suggested by Eric. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
551d459af421a2eb937e9e16301bb64da4624f89 |
|
07-Mar-2014 |
Neil Roberts <neil@linux.intel.com> |
Add the EGL_MESA_configless_context extension This extension provides a way for an application to render to multiple surfaces with different buffer formats without having to use multiple contexts. An EGLContext can be created without an EGLConfig by passing EGL_NO_CONFIG_MESA. In that case there are no restrictions on the surfaces that can be used with the context apart from that they must be using the same EGLDisplay. _mesa_initialze_context can now take a NULL gl_config which will mark the context as ‘configless’. It will memset the visual to zero in that case. Previously the i965 and i915 drivers were explicitly creating a zeroed visual whenever 0 is passed for the EGLConfig. Mesa needs to be aware that the context is configless because it affects the initial value to use for glDrawBuffer. The first time the context is bound it will set the initial value for configless contexts depending on whether the framebuffer used is double-buffered. Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
56b1be4399d76c0fe5ddf099a7ac5b45ab58e8cf |
|
06-Mar-2014 |
Tapani Pälli <tapani.palli@intel.com> |
mesa/glsl: introduce a remap table for uniform locations Patch adds a remap table for uniforms that is used to provide a mapping from application specified uniform location to actual location in the UniformStorage. Existing UniformLocationBaseScale usage is removed as table can be used to set sequential values for array uniform elements. This mapping helps to implement GL_ARB_explicit_uniform_location so that uniforms locations can be reorganized and handled in a more easy manner. v2: small fixes + rename parameters for merge and split functions (Ian) improve documentation, remove old check for location bounds (Eric) Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
fb78fa58d2a60110bfd428ca8d41b746b69b6724 |
|
08-Mar-2014 |
Timothy Arceri <t_arceri@yahoo.com.au> |
mesa: make ARB_debug_output functions an alias of KHR_debug Also update dispatch sanity removing ARB_debug_output checks and removing KHR_debug placeholders as the checks have already been added V2: Make sure we exit case statements with conditional breaks rather than just dropping through. Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
23e81b93bbe3966a842de507988eeaa7342e12ca |
|
24-Feb-2014 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Add core API support for GL_ARB_stencil_texturing (from 4.3). While the GL_ARB_stencil_texturing extension does not allow the creation of stencil textures, it does allow shaders to sample stencil values stored in packed depth/stencil textures. Specifically, applications can call glTexParameter* with a pname of GL_DEPTH_STENCIL_TEXTURE_MODE and value of either GL_DEPTH_COMPONENT or GL_STENCIL_INDEX to select which component they wish to sample. The default value is GL_DEPTH_COMPONENT (for traditional depth sampling). Shaders should use an unsigned integer sampler (presumably usampler2D) to access stencil data. Otherwise, results are undefined. Using shadow samplers with GL_STENCIL_INDEX selected also is undefined behavior. This patch creates a new gl_texture_object field, StencilSampling, to indicate that stencil should be sampled rather than depth. (I chose to use a boolean since I figured it would be more convenient for drivers.) It also introduces the [Get]TexParameter code to get and set the value, and of course the extension plumbing. v2: Also consider textures incomplete when sampling stencil with non-NEAREST min/mag filters (caught by Eric Anholt). Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
d129ea7fa2e57288f64cd247a0ac6d876e1717d2 |
|
01-Mar-2014 |
Brian Paul <brianp@vmware.com> |
mesa: switch to c11 mutex functions Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
dca350201e00c7cf1cfb009158f4abf27fbc96d2 |
|
06-Feb-2014 |
Marek Olšák <marek.olsak@amd.com> |
mesa: allow buffers to be mapped multiple times OpenGL allows a buffer to be mapped only once, but we also map buffers internally, e.g. in the software primitive restart fallback, for PBOs, vbo_get_minmax_index, etc. This has always been a problem, but it will be a bigger problem with persistent buffer mappings, which will prevent all Mesa functions from mapping buffers for internal purposes. This adds a driver interface to core Mesa which supports multiple buffer mappings and allows 2 mappings: one for the GL user and one for Mesa. Note that Gallium supports an unlimited number of buffer and texture mappings, so it's not really an issue for Gallium. v2: fix unmapping in xm_dd.c, remove the GL errors there v3: fix the intel driver (by Fredrik) Reviewed-by: Fredrik Höglund <fredrik@kde.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
e592f1122782c64edbbf93bb30125f822d65b767 |
|
27-Jan-2014 |
Marek Olšák <marek.olsak@amd.com> |
mesa: implement glBufferStorage, immutable buffers; add extension enable flag Reviewed-by: Fredrik Höglund <fredrik@kde.org> v2: dropped the error that DYNAMIC_STORAGE is required for MAP_WRITE_BIT, the error is removed in the latest revision of GL 4.4
/external/mesa3d/src/mesa/main/mtypes.h
|
7e548d05076c430f9c532add478080bea82515ba |
|
27-Jan-2014 |
Marek Olšák <marek.olsak@amd.com> |
mesa: add storage flags parameter to Driver.BufferData It will be used by glBufferStorage. The parameters are chosen according to ARB_buffer_storage. Reviewed-by: Fredrik Höglund <fredrik@kde.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
8ed8592fd685727e568fc0d7f74b835efb03fbc4 |
|
28-Jun-2013 |
Gregory Hainaut <gregory.hainaut@gmail.com> |
mesa/sso: Add support for GL_PROGRAM_SEPARABLE query This was originally included in another patch, but it was split out by Ian Romanick. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
4177d39c1ec10d252f2d08cc9ab9141f0ca94421 |
|
28-Jun-2013 |
Gregory Hainaut <gregory.hainaut@gmail.com> |
mesa/sso: Implement _mesa_IsProgramPipeline Implement IsProgramPipeline based on the VAO code. This was originally included in another patch, but it was split out by Ian Romanick. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
f4c13a890fa24ff1f998e7cac0ecc31505a29403 |
|
28-Jun-2013 |
Gregory Hainaut <gregory.hainaut@gmail.com> |
mesa/sso: Add pipeline container/state V1: * Extend gl_shader_state as pipeline object state * Add a new container gl_pipeline_shader_state that contains binding point of the previous object * Update mesa init/free shader state due to the extension of the attibute * Add an init/free pipeline function for the context V2: * Rename gl_shader_state to gl_pipeline_object * Rename Pipeline.PipelineObj to Pipeline.Current * Formatting improvement V3 (idr): * Split out from previous uber patch. * Remove '#if 0' debug printfs. V4 (idr): * Fix some errors in comments. Suggested by Jordan. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
0f137a1d73c415dc8744d4b9e6c194232715f023 |
|
28-Jun-2013 |
Gregory Hainaut <gregory.hainaut@gmail.com> |
mesa: Add a mutex and refcounting to gl_shader_state Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
f3b184590fbd87ebb4778c9699547b189601aeee |
|
25-Sep-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/sso: Add extension tracking for ARB_separate_shader_objects This adds the necessary bits for both the API and the GLSL compiler. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
d09901993539385c015c6389310c186cba9bb263 |
|
25-Jan-2014 |
Jordan Justen <jordan.l.justen@intel.com> |
glsl: add gl_InvocationID variable for ARB_gpu_shader5 v2: * Make gl_InvocationID a system value Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
86d6b5546b75ac7d5eedc26c14f579a4bfb40406 |
|
25-Jan-2014 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa: initialize gl_geometry_program Invocations field Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
313402048fdad05d3401340129b9e412878d8957 |
|
25-Jan-2014 |
Jordan Justen <jordan.l.justen@intel.com> |
glsl/linker: produce gl_shader_program Geom.Invocations Grab the parsed invocation count, check for consistency during linking, and finally save the result in gl_shader_program Geom.Invocations. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1edca151a00134778b959366d5e7c0a3b63cc8f7 |
|
14-Jan-2014 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: GL_ARB_half_float_pixel is not optional Almost every driver already supported it. All current and future Gallium drivers always support it, and most existing classic drivers support it. This only changes radeon and nouveau. This extension only adds data types that can be passed to, for example, glTexImage2D. It does not add internal formats. Since you can already pass GL_FLOAT to glTexImage2D this shouldn't pose any additional issues with those drivers. Note that r200 and i915 already supported this extension, and they don't support floating-point textures either. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
6e8d04ac3e9074bffe25a1ef9e6b198caaa30385 |
|
07-Feb-2014 |
Brian Paul <brianp@vmware.com> |
mesa: allocate gl_debug_state on demand We don't need to allocate all the state related to GL_ARB_debug_output until some aspect of that extension is actually needed. The sizeof(gl_debug_state) is huge (~285KB on 64-bit systems), not even counting the 54(!) hash tables and lists that it contains. This change reduces the size of gl_context alone from 431KB bytes to 145KB bytes on 64-bit systems and from 277KB bytes to 78KB bytes on 32-bit systems. Reviewed-by: Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
020c43f401e671e80ac90182415cbbed1575dde4 |
|
25-Jan-2014 |
Jordan Justen <jordan.l.justen@intel.com> |
main/get: support ARB_gpu_shader5 If a driver enables ARB_gpu_shader5 and sets Const.MaxVertexSteams >= 4, then piglit's arb_gpu_shader5-minmax test should now pass. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
28ce604b7f2b08b967b6a27051ecab04adaed575 |
|
08-Jan-2014 |
Paul Berry <stereotype441@gmail.com> |
mesa/cs: Handle compute shader local size during linking. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
0fa74e848fd11c71bb70ea0a69650944e4f07571 |
|
06-Jan-2014 |
Paul Berry <stereotype441@gmail.com> |
glsl/cs: Handle compute shader local_size_{x,y,z} declaration. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
0398b69954eb8e73e9ae663ce200170ff70d216d |
|
08-Jan-2014 |
Paul Berry <stereotype441@gmail.com> |
mesa/cs: Implement MAX_COMPUTE_WORK_GROUP_COUNT constant. v2: Document that the 3-element array MaxComputeWorkGroupCount is indexed by dimension. Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
c85c50997f073993b86c694dda7c18bbaca30bbf |
|
07-Jan-2014 |
Paul Berry <stereotype441@gmail.com> |
mesa/cs: Implement MAX_COMPUTE_WORK_GROUP_INVOCATIONS constant. Reviewed-by: Matt Turner <mattst88@gmail.com> v2: Use CONTEXT_INT rather than CONTEXT_ENUM. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
347dde82e65663562d6d2930bf861ec8c8079362 |
|
06-Jan-2014 |
Paul Berry <stereotype441@gmail.com> |
mesa/cs: Implement MAX_COMPUTE_WORK_GROUP_SIZE constant. v2: Document that the 3-element array MaxComputeWorkGroupSize is indexed by dimension. Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
47d480e3e4850ef8934775570444feea503295d7 |
|
08-Jan-2014 |
Paul Berry <stereotype441@gmail.com> |
mesa/cs: Create the gl_compute_program struct, and the code to initialize it. Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
c61ec8d8e34e9bf30b3c4c84afa08f0a5b66b932 |
|
07-Jan-2014 |
Paul Berry <stereotype441@gmail.com> |
mesa/cs: Add a MESA_SHADER_COMPUTE stage and update switch statements. This patch adds MESA_SHADER_COMPUTE to the gl_shader_stage enum. Also, where it is trivial to do so, it adds a compute shader case to switch statements that switch based on the type of shader. This avoids "unhandled switch case" compiler warnings. Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
b7d05a58ae3655730f84c9786439e2461cdb77da |
|
06-Jan-2014 |
Paul Berry <stereotype441@gmail.com> |
mesa/cs: Add extension enable flags for ARB_compute_shader. Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
82c0914266ec53d59233b6d326bcfde7049da17b |
|
04-Feb-2014 |
Brian Paul <brianp@vmware.com> |
mesa: remove stray bits of GL_EXT_cull_vertex GL_EXT_cull_vertex was removed back in 2010 in commit 02984e3536 but these bits still lingered. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
cf62e5967340b97030e3e1f07c8ead14efc7414a |
|
02-Feb-2014 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Update some comments relating to VAOs. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
e1b1f2a687c219021f65219df59f412bc86daadd |
|
02-Feb-2014 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Rename ElementArrayBufferObj to IndexBufferObj. DirectX and most hardware documentation use the term "Index Buffer" to refer to a buffer containing indexes into arrays of vertex data, which allows random access to vertex data, rather than sequential access. OpenGL uses a different term for this concept: "Element Array Buffer". However, "Index Buffer" has become much more widespread. A quick Google search shows 29,300 hits for "Element Array Buffer" vs. 82,300 hits for "Index Buffer." Arguably, "Index Buffer" is clearer: an "element of an array" (or list) usually refers to an actual item stored in the array, not the index used to refer to it. The terminology is also already used in Mesa: some VBO module code for dealing with ElementArrayBufferObj names local variables "ib". Completely generated by: $ find . -type f -print0 | xargs -0 sed -i \ 's/ElementArrayBufferObj/IndexBufferObj/g' Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
aac1415b66fafedc50c4346dae2d652723156ed9 |
|
02-Feb-2014 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Rename "struct gl_array_object" to gl_vertex_array_object. I considered replacing it with "gl_vao", but spelling it out seemed to fit better with Mesa's traditional style. Mesa doesn't shy away from long type names - consider gl_transform_feedback_object, gl_fragment_program_state, gl_uniform_buffer_binding, and so on. Completely generated by: $ find . -type f -print0 | xargs -0 sed -i \ 's/gl_array_object/gl_vertex_array_object/g' v2: Rerun command to resolve conflicts with Ian's meta patches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
0dfe50f1a6cc5e1f979ac65cca4ed9359d18869d |
|
02-Feb-2014 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Rename ArrayObj to VAO and DefaultArrayObj to DefaultVAO. When reading through the Mesa drawing code, it's not immediately obvious to me that "ArrayObj" (gl_array_object) is the Vertex Array Object (VAO) state. The comment above the structure explains this, but readers still have to remember this and translate accordingly. Out of context, "array object" is a fairly vague. Even in context, "array" has a lot of meanings: glDrawArrays, vertex data stored in user arrays, gl_client_arrays, gl_vertex_attrib_arrays, and so on. Using the term "VAO" immediately associates these fields with the OpenGL concept, clarifying the situation and aiding programmer sanity. Completely generated by: $ find . -type f -print0 | xargs -0 sed -i \ -e 's/ArrayObj;/VAO;/g' \ -e 's/->ArrayObj/->VAO/g' \ -e 's/Array\.ArrayObj/Array.VAO/g' \ -e 's/Array\.DefaultArrayObj/Array.DefaultVAO/g' v2: Rerun command to resolve conflicts with Ian's meta patches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
7fd6ad7adcf8a1c0fc1b2746d47ba5f05b8a3c7f |
|
27-Nov-2013 |
Siavash Eliasi <siavashserver@gmail.com> |
mesa: GL_ARB_map_buffer_alignment is not optional Every driver supports it. All current and future Gallium drivers always support it, and all existing classic drivers support it. v2: Making GL_ARB_map_buffer_alignment a desktop OpenGL extension only. v3: Squash two commits together. v4 (idr): MIN_MAP_BUFFER_ALIGNMENT queries don't have any dependencies. In previous versions of the patch it depended on EXTRA_API_GL which would prevent the query from working in core profile contexts. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
71fe9437169cfdafda8814aa814bb85429fb6cfc |
|
04-Jan-2014 |
Mark Mueller <MarkKMueller@gmail.com> |
mesa: change gl_format to mesa_format s/\bgl_format\b/mesa_format/g. Use better name for Mesa Formats enum
/external/mesa3d/src/mesa/main/mtypes.h
|
6901c278cae5a24edeafcee93c35edbdc154b8ef |
|
24-Jan-2014 |
Ian Romanick <ian.d.romanick@intel.com> |
glcpp: Make sure GL_AMD_shader_trinary_minmax is defined The define was only available if gl_extensions::AMD_shader_trinary_minmax was set, but no driver set it. Since the extension is advertised by default, remove that field too. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Cc: Maxence Le Doré <maxence.ledore@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
a6729731af700d5a44525d583a83619b5e454084 |
|
13-Nov-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: GL_EXT_framebuffer_blit is not optional Every driver supports it. All current and future Gallium drivers always support it, and all existing classic drivers support it. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
e190709119d8eb85c67bfbad5be699d39ad0118e |
|
22-Jan-2014 |
Paul Berry <stereotype441@gmail.com> |
mesa: Ensure that transform feedback refers to the correct program. Previous to this patch, the _mesa_{Begin,Resume}TransformFeedback functions were using ctx->Shader.CurrentProgram[MESA_SHADER_VERTEX] to find the program that would be the source of transform feedback data. This isn't correct--if there's a geometry shader present it should be ctx->Shader.CurrentProgram[MESA_SHADER_GEOMETRY]. (These might be different if separate shader objects are in use). This patch creates a function get_xfb_source(), which figures out the correct program to use based on GL state, and updates _mesa_{Begin,Resume}TransformFeedback to call it. get_xfb_source() is written in terms of the gl_shader_stage enum, so it should not need modification when we add tessellation shaders in the future. It also creates a new driver flag, NewTransformFeedbackProg, which is flagged whenever this program changes. To reduce future confusion, this patch also rewords some comments and error message text to avoid referring to vertex shaders. Cc: 10.0 <mesa-stable@lists.freedesktop.org> v2: make the for loop in get_xfb_source() clearer. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
72288e0c7b7ec769da71fbaf124ec4ee8be7577b |
|
23-Jan-2014 |
Timothy Arceri <t_arceri@yahoo.com.au> |
mesa: Add ARB_arrays_of_arrays Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au> Reviewed-by: Paul Berry <stereotype441@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
3b22146dc714b6090f7423abbc4df53d7d1fdaa9 |
|
09-Jan-2014 |
Paul Berry <stereotype441@gmail.com> |
mesa: Replace ctx->Shader.Current{Vertex,Fragment,Geometry}Program with an array. These are replaced with ctx->Shader.CurrentProgram[MESA_SHADER_{VERTEX,FRAGMENT,GEOMETRY}]. In patches to follow, this will allow us to replace a lot of ad-hoc logic with a variable index into the array. With the exception of the changes to mtypes.h, this patch was generated entirely by the command: find src -type f '(' -iname '*.c' -o -iname '*.cpp' ')' \ -print0 | xargs -0 sed -i \ -e 's/\.CurrentVertexProgram/.CurrentProgram[MESA_SHADER_VERTEX]/g' \ -e 's/\.CurrentGeometryProgram/.CurrentProgram[MESA_SHADER_GEOMETRY]/g' \ -e 's/\.CurrentFragmentProgram/.CurrentProgram[MESA_SHADER_FRAGMENT]/g' Reviewed-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
ebf91993c18bdf90c4699b42e58cb84d0b160f25 |
|
03-Jan-2014 |
Matt Turner <mattst88@gmail.com> |
mesa: rename PreferDP4 to OptimizeForAOS. This flag was really just a proxy for determining whether the backend was vector (AOS) or scalar (SOA). It will be used to apply a future optimization only for vector backends. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
3815264d7d07e8dd216674a32568daa55aeed680 |
|
05-Nov-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add varying slot for viewport index Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
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/mtypes.h
|
5b84226c31e941219422f6d60c31524081b7a188 |
|
14-Nov-2013 |
Courtney Goeltzenleuchter <courtney@LunarG.com> |
mesa: Converty gl_viewport_attrib::X, ::Y, ::Width, and ::Height to float v4: Split out from a single megapatch. Suggested by Ken. Also make meta's save_state::ViewportX, ::ViewportY, ::ViewportW, and ::ViewportH to match gl_viewport_attrib. 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/mtypes.h
|
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/mtypes.h
|
a9c73fb778a41b422a811c67b4aba806d4dfb7c8 |
|
13-Nov-2013 |
Courtney Goeltzenleuchter <courtney@LunarG.com> |
mesa: Update gl_scissor_attrib to support ARB_viewport_array Update Mesa and drivers to access updated gl_scissor_attrib. Now have an enable bitfield and array of gl_scissor_rects. Drivers have been updated to the new scissor enable state attribute (gl_context.scissor.EnableFlags) but still treat it as a single boolean which is okay as mesa will only use bit 0 when communicating with a driver that does not support ARB_viewport_array. v2 (idr): Rebase fixes. v3 (idr): Small code formatting fix suggsted 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/mtypes.h
|
1f59e963b40a260d3087f83799de0a6fb0941d07 |
|
07-Jan-2014 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add new constants related to GL_ARB_viewport_array These limits will be queryable by GL_MAX_VIEWPORTS, GL_VIEWPORT_SUBPIXEL_BITS, and GL_VIEWPORT_BOUNDS_RANGE. Drivers that actually implement the extension must set values for these constants that comply with the minimum-maximums from the spec. Most of these changes were part of other patches. They were separated out because it make reordering of later patches easier. Also, MaxViewports wasn't set by that patch, and I completely overlooked it in review. It's now obvious that it's set. :) v2 (idr): Split these changes out from the original patches. Keep MaxViewportWidth and MaxViewportHeight as GLuint. 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/mtypes.h
|
b39bfa4f492fc88dc053a098893b0441f8aed496 |
|
20-Nov-2013 |
Courtney Goeltzenleuchter <courtney@LunarG.com> |
mesa: Add extension tracking bit for ARB_viewport_array v2 (idr): Split these changes out from the original patch. Only advertise GL_ARB_viewport_array in a core profile because it requires geometry shaders. 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/mtypes.h
|
eb0de7c4321cf3424b5e50e130151100c8ec20b3 |
|
23-Nov-2013 |
Francisco Jerez <currojerez@riseup.net> |
mesa: Add ARB_shader_image_load_store to the extension table. Reviewed-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Paul Berry <stereotype441@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
7a98741ef2bde20c33522ca4960253fa06cae2e2 |
|
23-Nov-2013 |
Francisco Jerez <currojerez@riseup.net> |
mesa: Add state data structures required for ARB_shader_image_load_store. v2: Increase MAX_IMAGE_UNITS to what i965 wants and add a separate MAX_IMAGE_UNIFORMS define, clarify a couple of comments. Reviewed-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Paul Berry <stereotype441@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
532b1fecd93fd30d3b1b101b55fd2c6e074088ad |
|
07-Jan-2014 |
Paul Berry <stereotype441@gmail.com> |
i965: Fix clears of layered framebuffers with mismatched layer counts. Previously, Mesa enforced the following rule (from ARB_geometry_shader4's list of criteria for framebuffer completeness): * If any framebuffer attachment is layered, all attachments must have the same layer count. For three-dimensional textures, the layer count is the depth of the attached volume. For cube map textures, the layer count is always six. For one- and two-dimensional array textures, the layer count is simply the number of layers in the array texture. { FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB } However, when ARB_geometry_shader4 was adopted into GL 3.2, this rule was dropped; GL 3.2 permits different attachments to have different layer counts. This patch brings Mesa in line with GL 3.2. In order to ensure that layered clears properly clear all layers, we now have to keep track of the maximum number of layers in a layered framebuffer. Fixes the following piglit tests in spec/!OpenGL 3.2/layered-rendering: - clear-color-all-types 1d_array mipmapped - clear-color-all-types 1d_array single_level - clear-color-mismatched-layer-count - framebuffer-layer-count-mismatch Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
/external/mesa3d/src/mesa/main/mtypes.h
|
84732a982c3eeaca2e2809532c8422dc5f7045c1 |
|
08-Jan-2014 |
Paul Berry <stereotype441@gmail.com> |
mesa: replace ctx->Const.{Vertex,Fragment,Geomtery}Program with an array. These are replaced with ctx->Const.Program[MESA_SHADER_{VERTEX,FRAGMENT,GEOMETRY}]. In patches to follow, this will allow us to replace a lot of ad-hoc logic with a variable index into the array. With the exception of the changes to mtypes.h, this patch was generated entirely by the command: find src -type f '(' -iname '*.c' -o -iname '*.cpp' -o -iname '*.py' \ -o -iname '*.y' ')' -print0 | xargs -0 sed -i \ -e 's/Const\.VertexProgram/Const.Program[MESA_SHADER_VERTEX]/g' \ -e 's/Const\.GeometryProgram/Const.Program[MESA_SHADER_GEOMETRY]/g' \ -e 's/Const\.FragmentProgram/Const.Program[MESA_SHADER_FRAGMENT]/g' Suggested-by: Brian Paul <brianp@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
65511e5f22e2ba0a5ebd9210319a55d80ea5334e |
|
07-Jan-2014 |
Paul Berry <stereotype441@gmail.com> |
mesa: Store gl_shader_stage enum in gl_shader objects. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
1722f5e73ee73e7c2ab58a4be39c95c2a55b154f |
|
07-Jan-2014 |
Paul Berry <stereotype441@gmail.com> |
mesa: Move declaration of gl_shader_stage earlier in mtypes.h. Also move the related #define MESA_SHADER_STAGES. This will allow gl_shader_stage to be used in struct gl_shader. Reviewed-by: Brian Paul <brianp@vmware.com> v2: Split from patch "mesa: Store gl_shader_stage enum in gl_shader objects." Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
665b8d7b6d8eae03c9dc0ef1a744fe59d9cc6cb6 |
|
07-Jan-2014 |
Paul Berry <stereotype441@gmail.com> |
mesa: Clean up nomenclature for pipeline stages. Previously, we had an enum called gl_shader_type which represented pipeline stages in the order they occur in the pipeline (i.e. MESA_SHADER_VERTEX=0, MESA_SHADER_GEOMETRY=1, etc), and several inconsistently named functions for converting between it and other representations: - _mesa_shader_type_to_string: gl_shader_type -> string - _mesa_shader_type_to_index: GLenum (GL_*_SHADER) -> gl_shader_type - _mesa_program_target_to_index: GLenum (GL_*_PROGRAM) -> gl_shader_type - _mesa_shader_enum_to_string: GLenum (GL_*_{SHADER,PROGRAM}) -> string This patch tries to clean things up so that we use more consistent terminology: the enum is now called gl_shader_stage (to emphasize that it is in the order of pipeline stages), and the conversion functions are: - _mesa_shader_stage_to_string: gl_shader_stage -> string - _mesa_shader_enum_to_shader_stage: GLenum (GL_*_SHADER) -> gl_shader_stage - _mesa_program_enum_to_shader_stage: GLenum (GL_*_PROGRAM) -> gl_shader_stage - _mesa_progshader_enum_to_string: GLenum (GL_*_{SHADER,PROGRAM}) -> string In addition, MESA_SHADER_TYPES has been renamed to MESA_SHADER_STAGES, for consistency with the new name for the enum. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> v2: Also rename the "target" field of _mesa_glsl_parse_state and the "target" parameter of _mesa_shader_stage_to_string to "stage". Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
ff50493bb34858811bc5e5f7b3b2428e9cd3fd25 |
|
03-Jan-2014 |
Maxence Le Doré <maxence.ledore@gmail.com> |
glsl: Add extension tracking for AMD_shader_trinary_minmax Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
a92b9e60aba8cd1fc5d935abc9fd8f37cae89168 |
|
13-Nov-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: GL_EXT_packed_depth_stencil is not optional Every driver supports it. All current and future Gallium drivers always support it, and all existing classic drivers support it. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
abab4385437bdcfbfff1cf772a5c418eb06ed822 |
|
16-Dec-2013 |
Paul Berry <stereotype441@gmail.com> |
main: Move MESA_SHADER_TYPES outside of gl_shader_type enum. This will avoid spurious compiler warnings in the patch that follows. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
c1e1dd22980c083b4eb341a4a7fd22eb0c269a53 |
|
08-Dec-2013 |
Chris Forbes <chrisf@ijw.co.nz> |
mesa: add SYSTEM_VALUE_SAMPLE_MASK_IN Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
668f3614caf123cd3505f7b07dab6dec939774f8 |
|
04-Nov-2013 |
Courtney Goeltzenleuchter <courtney@LunarG.com> |
mesa: update texture object for ARB_texture_view Add state needed by glTextureView to the gl_texture_object. Signed-off-by: Courtney Goeltzenleuchter <courtney@LunarG.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
2e8493af51477d3ce40e0d11e4b8ee20d4cc6477 |
|
04-Nov-2013 |
Courtney Goeltzenleuchter <courtney@LunarG.com> |
mesa: Tracking for ARB_texture_view extension Signed-off-by: Courtney Goeltzenleuchter <courtney@LunarG.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
6429cc05ca953dff2a49a44e9a1478fc6e4ccfa1 |
|
29-Nov-2013 |
Chris Forbes <chrisf@ijw.co.nz> |
mesa: add IsSample bitfield to gl_fragment_program Drivers will need to look at this to decide if they need to do per-sample fragment shader dispatch. Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
538a7f2a8082e748caa599636c01833332bd039a |
|
20-Nov-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Use a single enable for GL_EXT_texture_array and GL_MESA_texture_array Every driver that enables one also enables the other. The difference between the two is MESA adds support for fixed-function and assembly fragment shaders, but EXT only adds support for GLSL. The MESA extension was created back when Mesa did not support GLSL. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
5b331f6fcbf226f18e0c517ffdce30a39bb92982 |
|
23-Nov-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Simplify the built-in function linking code. Previously, we stored an array of up to 16 additional shaders to link, as well as a count of how many each shader actually needed. Since the built-in functions rewrite, all the built-ins are stored in a single shader. So all we need is a boolean indicating whether a shader needs to link against built-ins or not. During linking, we can avoid creating the temporary array if none of the shaders being linked need built-ins. Otherwise, it's simply a copy of the array that has one additional element. This is much simpler. This patch saves approximately 128 bytes of memory per gl_shader object. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
a95236cfc1d55750840a6ac7a5747da3ecd200d2 |
|
06-Nov-2013 |
Chris Forbes <chrisf@ijw.co.nz> |
mesa: Add binding point for indirect buffer Based on part of Patch 2 of Christoph Bumiller's ARB_draw_indirect series. Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
56e98fe2fe0cccd86d63f4465466a9e57659f8e0 |
|
06-Nov-2013 |
Chris Forbes <chrisf@ijw.co.nz> |
mesa: Add extension scaffolding for ARB_draw_indirect We will reuse the same extension flag for ARB_multi_draw_indirect since it can always be supported by looping. Based on part of Patch 2 of Christoph Bumiller's ARB_draw_indirect series. Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
95140740ad1c6cd8a34002c307556f5c49a34589 |
|
20-Nov-2013 |
Paul Berry <stereotype441@gmail.com> |
mesa: Track number of layers in layered framebuffers. In order to properly clear layered framebuffers, we need to know how many layers they have. The easiest way to do this is to record it in the gl_framebuffer struct when we check framebuffer completeness. This patch replaces the gl_framebuffer::Layered boolean with a gl_framebuffer::NumLayers integer, which is 0 if the framebuffer is not layered, and equal to the number of layers otherwise. v2: Remove gl_framebuffer::Layered and make gl_framebuffer::NumLayers always have a defined value. Fix factor of 6 error in the number of layers in a cube map array. Cc: "10.0" <mesa-stable@lists.freedesktop.org> Reviewed-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
bde5e4a1e64cd0ddd89556f654185d256743728f |
|
14-Nov-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Track whether a performance monitor has ever ended. If a monitor has ended, it means a result should eventually become available, pending some flushing. This is distinct from !m->Active; if a monitor has not been started, then m->Active == false and m->Ended == false. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
145138fb3c7d84e23382631a4c0e6039b61154b6 |
|
31-Oct-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Store the performance monitor object's name. Being able to print monitor->Name is really useful for debugging. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
e5885c119de1e508099cc1111e1c9f8ff00fab88 |
|
20-Sep-2013 |
Eric Anholt <eric@anholt.net> |
mesa: Dynamically allocate the storage for program local parameters. The array was 64kb per struct gl_program, plus we statically stored a copy of one on disk for _mesa_DummyProgram. Given that most struct gl_programs we generate are for GLSL shaders that don't have local parameters, this was a waste. Since you can store and fetch parameters beyond what the program actually uses, we do have to do a late allocation if necessary at GetProgramLocalParameter time. Reduces peak memory usage in the dota2 trace I made by 76MB (4.5%) Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
bb1f0969756fbb827c4b2520c632daa15342b064 |
|
13-Nov-2013 |
Eric Anholt <eric@anholt.net> |
mesa: Remove PROGRAM_ENV_PARAM enum. This has been replaced with referring to env parameters using PROGRAM_STATE_VAR and _mesa_load_state_parameters. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
33b0455211019988fe418cca5dfac62c7902c861 |
|
13-Nov-2013 |
Eric Anholt <eric@anholt.net> |
mesa: Remove PROGRAM_LOCAL_PARAM enum. This has been replaced with referring to local parameters using PROGRAM_STATE_VAR and _mesa_load_state_parameters. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
c8f3722129f2311583e605fb65bb4ab41252cf91 |
|
11-Nov-2013 |
Brian Paul <brianp@vmware.com> |
mesa: add comment for struct gl_vertex_buffer_binding
/external/mesa3d/src/mesa/main/mtypes.h
|
a6eb04c3d88c685de7db9c61e94c84d30325b845 |
|
06-Sep-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add gl_shared_state::ShareGroupReset and gl_context::ShareGroupReset These will be used to determine whether to signal a GPU reset after another context in the share group has observed a reset. v2: Change ShareGroupReset from GLboolean to bool. Suggested by Brian. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
114d360dfa4c293883538081298d620b26a45833 |
|
06-Sep-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove gl_context::ResetStatus This isn't going to be used in the actual implemenation of glGetGraphicsResetStatus. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
aba355b463e28afc7f990082f0eb9b2c7ce09a52 |
|
07-Nov-2013 |
Chris Forbes <chrisf@ijw.co.nz> |
mesa: Add extension scaffolding for ARB_vertex_type_10f_11f_11f_rev Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
59b01ca252bd6706f08cd80a864819d71dfe741c |
|
09-Apr-2013 |
Fredrik Höglund <fredrik@kde.org> |
mesa: Add ARB_vertex_attrib_binding update_array() and update_array_format() are changed to update the new attrib and binding states, and the client arrays become derived state. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
12cbe995edbbf2791459579918486413965d4bf0 |
|
03-Apr-2013 |
Fredrik Höglund <fredrik@kde.org> |
mesa: Rename gl_array_object::VertexAttrib to _VertexAttrib This will become derived state as part of the ARB_vertex_attrib_binding support. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
6a650fa787d8762762712049879897d7e257001e |
|
11-May-2013 |
Fredrik Höglund <fredrik@kde.org> |
mesa: Restore gl_array_object::NewArray This will be used by the ARB_vertex_attrib_binding implementation. This reverts commit db38e9a0e179441f59274f6f2a751912c29872e2. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
e849511c781672487aec416708abd1166b3b4983 |
|
30-Aug-2013 |
Anuj Phogat <anuj.phogat@gmail.com> |
glsl: Add new builtins required by GL_ARB_sample_shading New builtins added by GL_ARB_sample_shading: in vec2 gl_SamplePosition in int gl_SampleID in int gl_NumSamples out int gl_SampleMask[] V2: - Use SWIZZLE_XXXX for STATE_NUM_SAMPLES. - Use "result.samplemask" in arb_output_attrib_string. - Add comment to explain the size of gl_SampleMask[] array. - Make gl_SampleID and gl_SamplePosition system values. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
77b440e42d8e7247c22959020bb087c63d298f2e |
|
30-Aug-2013 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: Add new functions and enums required by GL_ARB_sample_shading New functions added by GL_ARB_sample_shading: glMinSampleShadingARB() New enums: GL_SAMPLE_SHADING_ARB GL_MIN_SAMPLE_SHADING_VALUE_ARB V2: Update comments. Create new GL4x.xml. Remove redundant code in get.c. Update the API_XML list in Makefile.am. Add extra_gl40_ARB_sample_shading predicate to get.c. V3: Fix make check failure. Add checks for desktop GL. Use GLfloat in place of GLclampf in glMinSampleShading(). Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Ken Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
e919e5ee4e0dd1bab511e402c1265208f139fcc1 |
|
30-Aug-2013 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: Add infrastructure for GL_ARB_sample_shading This patch implements the common support code required for the GL_ARB_sample_shading extension. V2: Move GL_ARB_sample_shading to ARB extension list. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Ian Romanick <idr@freedesktop.org> Reviewed-by: Ken Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
ded34f65ad6bd69a4af94945527de74761a866e6 |
|
27-May-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Add a new GetTransformFeedbackVertexCount() driver hook. DrawTransformFeedback() needs to obtain the number of vertices written to a particular stream during the last Begin/EndTransformFeedback block. The new driver hook returns exactly that information. Gallium drivers already implement this by passing the transform feedback object to the drawing function, counting the number of vertices written on the GPU, and using draw indirect. This is efficient, but doesn't always work: If vertex data comes from user arrays, then the VBO module needs to know how many vertices to upload, so we need to synchronously count. Gallium drivers are currently broken in this case. It also doesn't work if primitive restart is done in software. For normal drawing, vbo_draw_arrays() performs software primitive restart, splitting the draw call in two. vbo_draw_transform_feedback() currently doesn't because it has no idea how many vertices need to be drawn. The new driver hook gives it that information, allowing us to reuse the existing vbo_draw_arrays() code to do everything right. On Intel hardware (at least Ivybridge), using the draw indirect approach is difficult since the hardware counts primitives, rather than vertices, which requires doing some simple math. So we always use this hook. Gallium drivers will likely want to use this hook in some cases, but want to use the existing draw indirect approach where possible. Hence, I've added a flag to allow drivers to opt-in to this call. v2: Make it possible to implement this hook but only use this path when necessary (suggested by Marek). Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1c7dcfed7ceb9e47943d6adaacc1ca483c97fcf6 |
|
08-Oct-2013 |
Francisco Jerez <currojerez@riseup.net> |
mesa: Add support for ARB_shader_atomic_counters. This patch implements the common support code required for the ARB_shader_atomic_counters extension. It defines the necessary data structures for tracking atomic counter buffer objects (from now on "ABOs") associated with some specific context or shader program, it implements support for binding buffers to an ABO binding point and querying the existing atomic counters and buffers declared by GLSL shaders. v2: Fix extension checks. Drop unused MAX_ATOMIC_BUFFERS constant. Acked-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
80964226e9b8a05c39157f9305c06c0b2861e080 |
|
15-May-2013 |
Christian König <christian.koenig@amd.com> |
implement NV_vdpau_interop v7 v2: Actually implement interop between the gallium state tracker and the VDPAU backend. v3: Make it also available in non legacy contexts, fix video buffer sharing. v4: deny interop if we don't have the same screen object v5: rebased on upstream changes v6: implemented VDPAUGetSurfaceivNV, improved error handling, unregister all surfaces in VDPAUFiniNV v7: squash merge with Mareks changes Signed-off-by: Christian König <christian.koenig@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
11634e491bf6d7d930f00c5b4f62fd4e8cb4314d |
|
23-Oct-2013 |
Paul Berry <stereotype441@gmail.com> |
glsl: Move UsesClipDistance from gl_{vertex,geometry}_program into gl_program. This will make it easier for back-ends to share code between geometry shader and vertex shader compilation. Also, it is renamed to "UsesClipDistanceOut" to clarify that (a) in geometry shaders, it refers to the gl_ClipDistance output rather than the gl_ClipDistance input, and (b) it is irrelevant in fragment shaders. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
44b7ebe52d6f4b220a1c943bac2e571bb593f7e1 |
|
23-Oct-2013 |
Paul Berry <stereotype441@gmail.com> |
glsl/gs: Fix transform feedback of gl_ClipDistance. Since gl_ClipDistance is lowered from an array of floats to an array of vec4's during compilation, transform feedback has special logic to keep track of the pre-lowered array size so that attempting to perform transform feedback on gl_ClipDistance produces a result with the correct size. Previously, this special logic always consulted the vertex shader's size for gl_ClipDistance. This patch fixes it so that it uses the geometry shader's size for gl_ClipDistance when a geometry shader is in use. Fixes piglit test spec/glsl-1.50/transform-feedback-type-and-size. v2: Change the type of LastClipDistanceArraySize to "unsigned", and clarify the comment above it. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1bbd3bb98a90dc38679566083fd72d7480c7df00 |
|
20-Oct-2013 |
Rico Schüller <kgbricola@web.de> |
mesa: Add infrastructure for GL_ARB_texture_mirror_clamp_to_edge. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Rico Schüller <kgbricola@web.de>
/external/mesa3d/src/mesa/main/mtypes.h
|
6ce4e7672ed4ca2afe47ca5236f3444d4bc83a4e |
|
26-Sep-2013 |
Chris Forbes <chrisf@ijw.co.nz> |
mesa: add plumbing for GL_ARB_texture_query_levels Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
36e25ccd29056d965612523f82d973b43b85313e |
|
25-Sep-2013 |
Chris Forbes <chrisf@ijw.co.nz> |
glsl: flag shaders which use gather4 at all Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
d3575622b7897c88c62e4f57341c196eb913c960 |
|
24-Dec-2012 |
Maxence Le Dore <maxence.ledore@gmail.com> |
mesa: add texture gather changes Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
b2d5757831e2b67d87d3f80caa7f4ec10fce142b |
|
27-Sep-2013 |
Vinson Lee <vlee@freedesktop.org> |
mesa: Include stdint.h in mtypes.h for uint32_t symbol. This patch fixes the MSVC build error introduced with commit b2e327e08f8519da131dd382adcc99240d433404. api_arrayelt.c src\mesa\main/mtypes.h(1809) : error C2061: syntax error : identifier 'uint32_t' src\mesa\main/mtypes.h(1810) : error C2059: syntax error : '}' src\mesa\main/mtypes.h(1825) : error C2079: 'Minimum' uses undefined union 'gl_perf_monitor_counter_value' src\mesa\main/mtypes.h(1828) : error C2079: 'Maximum' uses undefined union 'gl_perf_monitor_counter_value' Signed-off-by: Vinson Lee <vlee@freedesktop.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
b2e327e08f8519da131dd382adcc99240d433404 |
|
11-Apr-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Add core support for the GL_AMD_performance_monitor extension. This provides an interface for applications (and OpenGL-based tools) to access GPU performance counters. Since the exact performance counters available vary between vendors and hardware generations, the extension provides an API the application can use to get the names, types, and minimum/maximum values of all available counters. Counters are also organized into groups. Applications create "performance monitor" objects, select the counters they want to track, and Begin/End monitoring, much like OpenGL's query API. Multiple monitors can be in flight simultaneously. v2: Pass ctx to all driver hooks (suggested by Christoph), and attempt to fix overallocation of bitsets (caught by Christoph). Incomplete. v3: Significantly rework core data structures. Store counters in groups rather than in a global list. Use their array index in the group's counter list as the ID rather than trying to store a globally unique counter ID. Use bitsets for active counters within a group, and also track which groups are active so that's easy to query. v4: Remove _mesa_ prefix on static functions; detect out of memory conditions in new_performance_monitor(); make BeginPerfMonitor hook return a boolean rather than setting m->Active or raising an error. Switch to GLuint/unsigned for NumGroups, NumCounters, and MaxActiveCounters (which also means switching a bunch of temporary variable types). All suggested by Brian Paul. Also, remove commented out code at the bottom of the block. Finally, fix the dispatch sanity test (noticed by Ian Romanick). Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> [v3] Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
2f5d41ce79af77eac1e7e4e8f7c855d128fa8871 |
|
20-Sep-2013 |
Dylan Noblesmith <nobled@dreamwidth.org> |
mesa: remove stale comment This line stopped making sense in the great sed replace of commit f9995b30756140724f41daf963fa06167912be7f Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
052c9ae1f3e5dc5ace88fe356036c2e566a79679 |
|
10-Sep-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove gl_constants::MaxVaryingComponents There are no longer any users. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Paul Berry <stereotype441@gmail.com> Cc: Zack Rusin <zackr@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
a384238c3dbcc89f7acc51027b123e50d2d3ae60 |
|
10-Sep-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Track per-stage shader input and output limits independently In OpenGL 3.2 these are independently queryable. In addition, the spec has different minimum-maximums for various values. GL_MAX_VERTEX_OUTPUT_COMPONENTS is 64, but GL_MAX_GEOMETRY_OUTPUT_COMPONENTS (and GL_MAX_FRAGMENT_INPUT_COMPONENTS) is 128. In OpenGL ES 3.0 these are also independently queryable. The spec has different minimum-maximums for various values. GL_MAX_VERTEX_OUTPUT_VECTORS is 16, but GL_MAX_FRAGMENT_INTPUT_VECTORS is 15. None of these values are used yet. I have just added space to the structures. Future patches will add users and eventually remove some old fields. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Paul Berry <stereotype441@gmail.com> Cc: Zack Rusin <zackr@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
ea373f03e8d7783f70c78f700cd80032fd6dc8c4 |
|
12-Sep-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Rename MESA_shader_integer_mix to EXT_shader_integer_mix Everyone at the Khronos meeting was as surprised that GLSL didn't already support this as we were. Several vendors said they'd ship it, but there didn't seem to be enough interest to put in the effort to make it ARB or KHR. v2: Fix a couple typos and rename the spec file to EXT_shader_integer_mix.spec. Suggested by Roland. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
c732f68cf4aca06bac03e6a70c49047057c0c357 |
|
06-Sep-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Track the vertex program active at BeginTransformFeedback() time. The next few patches will use this for API error checking. All of the drivers appear to CALLOC_STRUCT transform feedback objects, so this should be properly NULL initialized on creation. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1a33e0233ad5bfd0b7f62ae25811532c5784653f |
|
19-Aug-2013 |
Paul Berry <stereotype441@gmail.com> |
glsl: During linking, record whether a GS uses EndPrimitive(). This information will be useful in the i965 back end, since we can save some compilation effort if we know from the outset that the shader never calls EndPrimitive(). Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
56fff7063dd05232cf86aef9d2ae1c04c52a8360 |
|
29-Aug-2013 |
Matt Turner <mattst88@gmail.com> |
glsl: Implement MESA_shader_integer_mix extension. Because why doesn't GLSL allow you to do this already? Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
6964fa7ea3770b1c23fa84485abf0c51c78ffbbc |
|
26-Aug-2013 |
Timothy Arceri <t_arceri@yahoo.com.au> |
mesa: Remap debug type and severity Remap any type or severity exclusive to KHR_debug to something suitable for ARB_debug_output Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
b5c4795f386976830370f56d1fa5a1c4099d88e2 |
|
26-Aug-2013 |
Timothy Arceri <t_arceri@yahoo.com.au> |
mesa: Implement GL_DEBUG_OUTPUT Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
278372b47e4db8a022d57f60302eec74819e9341 |
|
26-Aug-2013 |
Timothy Arceri <t_arceri@yahoo.com.au> |
mesa: add debug Label field to several data structures Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
797b9dc3ffdba54724127bbfe6ef52e248bdfaf5 |
|
26-Aug-2013 |
Timothy Arceri <t_arceri@yahoo.com.au> |
mesa: Implement glPushDebugGroup and glPopDebugGroup V4: fixes _mesa_error() compiler warnings (BrianP). V3: removed C++ style comment V2: fixed spelling typo in comment Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
77d38fd3fb5a915911f81bca538c0f0b9d8ad64f |
|
26-Aug-2013 |
Timothy Arceri <t_arceri@yahoo.com.au> |
mesa: Add some constants and state variables for KHR_debug functions Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
644fbbd3ebe58ee2237395904f83e085f221d52d |
|
21-Mar-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Rename gl_context::swtnl_im to vbo_context; use proper type. The main GL context's swtnl_im field is the VBO module's vbo_context structure. Using the name "swtnl" in the name is confusing since some drivers use hardware texturing and lighting, but still rely on the VBO module for drawing. v2: Forward declare the type and use that instead of void * (suggested by Eric Anholt). v3: Remove unnecessary cast (pointed out by by Topi Pohjolainen). Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Paul Berry <stereotype441@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
44e07de3acb34152f68308f38c80c9885d8b2fcf |
|
11-Jun-2013 |
Paul Berry <stereotype441@gmail.com> |
glsl: Refactor handling of gl_ClipDistance/gl_ClipVertex linkage rules for GS. This patch extracts the following logic from validate_vertex_shader_executable(): (a) Generate an error if the shader writes to both gl_ClipDistance and gl_ClipVertex. (b) Record whether the shader writes to gl_ClipDistance in gl_shader_program for use by the back-end. (c) Record the size of gl_ClipDistance in gl_shader_program for use by transform feedback logic. And moves it into a function that is shared between vertex and geometry shaders. Strictly speaking we only need to have shared logic for (b) and (c) right now (since (a) only matters in compatibility contexts, and we're only implementing geometry shaders in core contexts right now). But the three are closely related enough that it seems sensible to keep them together. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
01bdad3173479176e579a8f6bb8309f683c5fa79 |
|
01-Aug-2013 |
Matt Turner <mattst88@gmail.com> |
mesa: Update comments to match newer specs. Old GL 1.x specs used 'b' but newer specs use 'p'. The line immediately above the second hunk also uses 'p'.
/external/mesa3d/src/mesa/main/mtypes.h
|
010a6a8fd343537101e7ac5e8dfcf9b07fc841fb |
|
13-Jun-2013 |
Eric Anholt <eric@anholt.net> |
glsl: Export the compiler's GS layout qualifiers to the gl_shader. Next step is to validate them at link time. v2 (Paul Berry <stereotype441@gmail.com>): Don't attempt to export the layout qualifiers in the event of a compile error, since some of them are set up by ast_to_hir(), and ast_to_hir() isn't guaranteed to have run in the event of a compile error. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> v3 (Paul Berry <stereotype441@gmail.com>): Use PRIM_UNKNOWN to represent "not set in this shader". Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
fc5fa56c86df066514e1ca4eff16c1f179884188 |
|
23-Mar-2013 |
Paul Berry <stereotype441@gmail.com> |
mesa: Copy linked program data for GS. The documentation for gl_shader_program.Geom and gl_geometry_program says that the former is copied to the latter at link time, but this wasn't happening. This patch causes _mesa_ir_link_shader() to perform the copy, and updates comment accordingly. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
13022c9c5f3cb67c76ed76eae9cd8a49355874a5 |
|
23-Mar-2013 |
Paul Berry <stereotype441@gmail.com> |
mesa: Refactor copying of linked program data. This patch creates a single function to copy the the UsesClipDistance flag from gl_shader_program.Vert to gl_vertex_program. Previously this logic was duplicated in the i965-specific function brw_link_shader() and the core mesa function _mesa_ir_link_shader(). This logic will have to be expanded to support geometry shaders, and I don't want to have to update it in two separate places. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
2548092ad80156a407281a124f833a6a93fbf2f3 |
|
15-Feb-2013 |
Bryan Cain <bryancain3@gmail.com> |
glsl: support compilation of geometry shaders This commit adds all of the parsing and semantics for GLSL 150 style geometry shaders. v2 (Paul Berry <stereotype441@gmail.com>): Add a few missing calls to get_pipeline_stage(). Fix some signed/unsigned comparison warnings. Fix handling of NULL consumer in assign_varying_locations(). v3 (Bryan Cain <bryancain3@gmail.com>): fix indexing order of 2D arrays. Also, allow interpolation qualifiers in geometry shaders. v4 (Paul Berry <stereotype441@gmail.com>): Eliminate get_pipeline_stage()--it is no longer needed thanks to 030ca23 (mesa: renumber shader indices according to their placement in pipeline). Remove 2D stuff. Move vertices_per_prim() to ir.h, so that it will be accessible from outside the linker. Remove inject_num_vertices_visitor. Rework for GLSL 1.50. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> v5 (Paul Berry <stereotype441@gmail.com>): Split out do_set_program_inouts() argument refactoring to a separate patch. Move geom_array_resizing_visitor to later in the series. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
986ae4306cea787ed0c71a52b6e92fce14a2a498 |
|
31-Jul-2013 |
Corey Richardson <corey@octayn.net> |
De-tab and align comments in gl_texture_object Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Corey Richardson <corey@octayn.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
0f6a7cb00c86fbdb415b01450bb1ece8cfe1e31d |
|
30-Jul-2013 |
Marek Olšák <marek.olsak@amd.com> |
mesa,glsl,st/dri: add a new driconf option force_glsl_version for Unigine See documentation in mtypes.h. Reviewed-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/mtypes.h
|
ab789393443629027dca16e0aad501d6c1c32cb0 |
|
30-Jul-2013 |
Marek Olšák <marek.olsak@amd.com> |
mesa: add MESA_GLSL debug flag to dump shaders on compile error Reviewed-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/mtypes.h
|
77311dab3aae6630e61fc50013754cf2f4e5f90c |
|
18-Jul-2013 |
Vinson Lee <vlee@freedesktop.org> |
mesa: Remove commas at end of enumerator lists. Fixes these build errors on OpenBSD 5.3. In file included from ../../src/mesa/main/errors.h:47, from ../../src/mesa/main/imports.h:41, from ../../src/mesa/main/ff_fragment_shader.cpp:32: ../../src/mesa/main/mtypes.h:3286: error: comma at end of enumerator list ../../src/mesa/main/mtypes.h:3296: error: comma at end of enumerator list ../../src/mesa/main/mtypes.h:3303: error: comma at end of enumerator list ../../src/mesa/main/mtypes.h:3356: error: comma at end of enumerator list Signed-off-by: Vinson Lee <vlee@freedesktop.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
cb2de08f27311166a44c379532a502c0b1b862d0 |
|
08-Jul-2013 |
Brian Paul <brianp@vmware.com> |
mesa: update glext.h to version 20130708 This update fixes the problem with duplicated typedefs for GLclampf and GLclampd in the previous version. It also changes some parameter types for glDebugMessageCallbackARB() and glTransformFeedbackVaryingsEXT(). Note we should someday update the glapi-gen code so that it understands void pointer parameters. Currently, the Python code only understands "GLvoid *" but not "void *". Luckily, the compilers don't seem to complain about mixing GLvoid and void.
/external/mesa3d/src/mesa/main/mtypes.h
|
3fb3e1e38c3ea1cd932a9fb291eef11f36e3d844 |
|
12-Jul-2013 |
Brian Paul <brianp@vmware.com> |
mesa: whitespace, formatting, 80-column wrapping
/external/mesa3d/src/mesa/main/mtypes.h
|
30c3e8718d8c89dedbf697e1340941d7712e5c41 |
|
13-Jun-2013 |
Marek Olšák <maraeo@gmail.com> |
mesa,glsl,gallium: remove GLSLSkipStrictMaxVaryingLimitCheck and dependencies Not needed with do_dead_builtin_varyings. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
030ca230e25192307336cb39f1ee414d0392b620 |
|
12-Jun-2013 |
Marek Olšák <maraeo@gmail.com> |
mesa: renumber shader indices according to their placement in pipeline See my explanation in mtypes.h. v2: don't do this in gallium v3: also updated the comment at the gl_shader_type definition Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
927f572c27f0e734896fa2b4f93210c7daf1a62a |
|
28-Jun-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: GL_EXT_shadow_funcs is not optional with GL_ARB_shadow Every driver left in Mesa that enables one also enables the other. There's no reason to let it be optional. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
41853b598c0a49b2e75d7013658806d46beceec0 |
|
28-Jun-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: GL_ARB_texture_storage_multisample is not optional with GL_ARB_texture_multisample In Mesa, this extension is implemented purely in software. Drivers may *optionally* provide optimized paths. If a driver enables, GL_ARB_texture_multisample, it gets GL_ARB_texture_storage_multisample for free. NOTE: This has the side effect of enabling the extension in Gallium drivers that enable GL_ARB_texture_multisample. v2 (Ken): Still prevent multisample texture targets in TexParameter for implementations that don't support multisampling. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
d5b6b7a39ba91f21278a2ad24c4ad00d454c73c6 |
|
28-Jun-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: GL_ARB_texture_storage is not optional In Mesa, this extension is implemented purely in software. Drivers may *optionally* provide optimized paths. NOTE: This has the side effect of enabling the extension in the radeon, r200, and nouveau drivers. v2: Minor whitespace tidying (suggested by Brian). Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
70966570f3e4275dc15b5a94c70698f6aef64150 |
|
28-Jun-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: GL_ARB_shading_language_100 is not optional This extension just provides some of the most basic software framework for GLSL. Without GL_ARB_vertex_shader or GL_ARB_fragment_shader, applications still cannot use GLSL. There's no value in conditionalizing support for this extension. NOTE: This has the side effect of enabling the extension in the radeon, r200, and nouveau drivers. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
e6ec425d6eeac95f466174267b2c18c0bffca3f0 |
|
28-Jun-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: GL_ARB_shader_objects is not optional This extension just provides some of the most basic software framework for GLSL. Without GL_ARB_vertex_shader or GL_ARB_fragment_shader, applications still cannot use GLSL. There's no value in conditionalizing support for this extension. NOTE: This has the side effect of enabling the extension in the radeon, r200, and nouveau drivers. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
9bc24b4fc4ee1eda60d4f4bde662f7a1d8474cc1 |
|
28-Jun-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: GL_NV_blend_square is not optional Every driver left in Mesa enables this extension all the time. There's no reason to let it be optional. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
338ea2e4d14b5bf30fe2820facd71333d5acd527 |
|
28-Jun-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: GL_EXT_fog_coord is not optional Every driver left in Mesa enables this extension all the time. There's no reason to let it be optional. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
c139708087ead063da7ac64126af69f2fe7bcf1e |
|
28-Jun-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: GL_EXT_secondary_color is not optional Every driver left in Mesa enables this extension all the time. There's no reason to let it be optional. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
b5305a303bd13f91a00f36f205b767d1bfef2ab5 |
|
28-Jun-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: GL_EXT_framebuffer_object is not optional Every driver left in Mesa enables this extension all the time. There's no reason to let it be optional. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
f4571640b8b9d158e33cc536abb9eac037560a73 |
|
28-Jun-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove GL_MESA_resize_buffers Commit bab755a made the implementation a no-op, and it was only ever enabled by software rasterizers. v2: Move the spec into docs/specs/OLD since it's now obsolete (squashed patch from Andreas Boll) Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
c74a7eb9c53fda10d77bec09801c0b619b29deea |
|
27-Jun-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove GL_EXT_clip_volume_hint As far as I can tell, no driver has enabled this extension since c6499a7 back in 2007. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
d7165b383da018ff666f789d555093fa3164dc73 |
|
20-Jun-2013 |
Eric Anholt <eric@anholt.net> |
mesa: Remove the Initialized field from framebuffers. This existed to tell the core not to call GetBufferSize, except that even if you didn't set it nothing happened because nobody had a GetBufferSize. v2: Remove two more instances of setting the field (from Brian) Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
cf7f424e18485edff381ad687201c6914bfc7ea5 |
|
20-May-2013 |
Todd Previte <tprevite@gmail.com> |
mesa: Add infrastructure for ARB_shading_language_420pack. v2 [mattst88] - Split infrastructure into separate patch. - Add preprocessor #define. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
26d86d26f9f972b19c7040bdb1b1daf48537ef3e |
|
10-Jun-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Add gl_shader_program::UniformLocationBaseScale This is used by _mesa_uniform_merge_location_offset and _mesa_uniform_split_location_offset to determine how the base and offset are packed. Previously, this value was hard coded as (1U<<16) in those functions via the shift and mask contained therein. The value is still (1U<<16), but it can be changed in the future. The next patch dynamically generates this value. NOTE: This is a candidate for stable release branches. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-and-tested-by: Chad Versace <chad.versace@linux.intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
38e77e545d06bf5ac0e185f2a1581a97bafdab56 |
|
23-May-2013 |
Eric Anholt <eric@anholt.net> |
glsl: Fix uniform buffer object counting. We were counting uniforms located in UBOs against the default uniform block limit, while not doing any counting against the specific combined limit. Note that I couldn't quite find justification for the way I did this, but I think it's the only sensible thing: The spec talks about components, so each "float" in a std140 block would count as 1 component and a "vec4" would count as 4, though they occupy the same amount of space. Since GPU limits on uniform buffer loads are surely going to be about the size of the blocks, I just counted them that way. Fixes link failures in piglit arb_uniform_buffer_object/maxuniformblocksize when ported to geometry shaders on Paul's GS branch, since in that case the max block size is bigger than the default uniform block component limit. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
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/mtypes.h
|
40e3298125e820da7aaad05f3bf23534e6a773ff |
|
19-Apr-2013 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: Implement ext_framebuffer_multisample_blit_scaled extension Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
e6efb900e7a7601797b2e8263388fe72f6820e9b |
|
29-May-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Delete the ctx->Array._RestartIndex derived state. It's incorrect and isn't used any longer. v2: Actually flush vertices/flag _NEW_TRANSFORM on RestartIndex change. NOTE: This is a candidate for the 9.1 branch. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
d4a06d77f5898726e2453ef32795a2183c033c05 |
|
13-May-2013 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix GLSL program objects with more than 16 samplers combined The problem is the sampler units are allocated from the same pool for all shader stages, so if a vertex shader uses 12 samplers (0..11), the fragment shader samplers start at index 12, leaving only 4 sampler units for the fragment shader. The main cause is probably the fact that samplers (texture unit -> sampler unit mapping, etc.) are tracked globally for an entire program object. This commit adapts the GLSL linker and core Mesa such that the sampler units are assigned to sampler uniforms for each shader stage separately (if a sampler uniform is used in all shader stages, it may occupy a different sampler unit in each, and vice versa, an i-th sampler unit may refer to a different sampler uniform in each shader stage), and the sampler-specific variables are moved from gl_shader_program to gl_shader. This doesn't require any driver changes, and it fixes piglit/max-samplers for gallium and classic swrast. It also works with any number of shader stages. v2: - converted tabs to spaces - added an assertion to _mesa_get_sampler_uniform_value Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
15a4b6db2192b0adc05c3dc07cf043316c556f2e |
|
14-May-2013 |
Marek Olšák <maraeo@gmail.com> |
mesa: declare UniformBufferBindings as an array with a static size Some Gallium drivers were crashing, because the array was not large enough. v2: clamp the per-shader maximum in st/mesa, then sum them all up NOTE: This is a candidate for the stable branches.
/external/mesa3d/src/mesa/main/mtypes.h
|
e98c39c109f9b38d6bb97e3890382fdf66c25176 |
|
10-May-2013 |
Eric Anholt <eric@anholt.net> |
mesa: Track the TexImage being rendered to in the gl_renderbuffer. We keep having to pass the attachments around with our gl_renderbuffers because that's the only way to find what the gl_renderbuffer actually refers to. This is a step toward removing that (though drivers still need the Zoffset as well). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
c810e67c55a8a2965b730317873fbdcc186a7514 |
|
10-May-2013 |
Eric Anholt <eric@anholt.net> |
mesa: Make gl_renderbuffers backed by EGL images use FinishRenderTexture. This is the opportunity that radeon and intel drivers rely on for flushing render targets that may get reused as textures. Before EGL, that only happened for GL_TEXTURE attachments. Fixes piglits: KHR_gl_renderbuffer_image/renderbuffer-texture OES_EGL_image/renderbuffer-texture NOTE: This is a candidate for the 9.1 branch. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
c9e981b8fb815cc14094ca09719819017e43024d |
|
27-Mar-2013 |
Jordan Justen <jordan.l.justen@intel.com> |
extensions: add AMD_vertex_shader_layer This extension will require driver support, so it must be enabled by the driver. http://www.opengl.org/registry/specs/AMD/vertex_shader_layer.txt Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
bbf029f7cf006d86a5dd13bf3bdd43f660ce2e51 |
|
18-Apr-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Move the mvp_with_dp4 flag to ShaderCompilerOptions. This flag essentially tells the compiler whether it prefers dot products or multiply/adds for matrix operations. As such, ShaderCompilerOptions seems like the right place for it. This also lets us specify it on a per-stage basis. This patch makes all existing users set the flag for the Vertex Shader stage only, as it's currently only used for fixed-function vertex programs. That will change soon, and I wanted to preserve the existing behavior. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
77d8fbcfd4b79fa022c021ed52bda157d72e1ca9 |
|
26-Apr-2013 |
Marek Olšák <maraeo@gmail.com> |
mesa: add & use a new driver flag for UBO updates instead of _NEW_BUFFER_OBJECT v2: move the flagging from intel_bufferobj_data to intel_bufferobj_alloc_buffer Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
db38e9a0e179441f59274f6f2a751912c29872e2 |
|
26-Apr-2013 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove unused gl_array_object::NewArray Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
74ca7f0974f4c5d794da263bf28b71a9d285a49a |
|
02-May-2013 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove unused gl_constants::MaxColorTableSize Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
286d06ddc4968c06848faf2b375a8d20f3e74595 |
|
02-May-2013 |
Marek Olšák <maraeo@gmail.com> |
mesa: unify MaxVertexVaryingComponents and MaxGeometryVaryingComponents The limits should not be different and OpenGL requires both to be at least 32, which is also the maximum limit on radeon. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
5e78433eec94fcaa87bdcb2526ec0910a69ed347 |
|
02-May-2013 |
Marek Olšák <maraeo@gmail.com> |
mesa: move max texture image unit constants to gl_program_constants Const.MaxTextureImageUnits -> Const.FragmentProgram.MaxTextureImageUnits Const.MaxVertexTextureImageUnits -> Const.VertexProgram.MaxTextureImageUnits etc. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
f99f78e49a10b92e236ee0909eb806d353e1f2e6 |
|
10-Apr-2013 |
Matt Turner <mattst88@gmail.com> |
mesa: Add infrastructure for ARB_gpu_shader5. Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
/external/mesa3d/src/mesa/main/mtypes.h
|
c1a5c5c13d838309cf88664edf159e6086408f28 |
|
02-May-2013 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused PRIM_INSIDE_UNKNOWN_PRIM constant Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
cce6e30613f8a7c28c83a5e0411689d6184cbf8f |
|
02-May-2013 |
Brian Paul <brianp@vmware.com> |
mesa: adjust PRIM_x constants for geometry shaders These values pertain to display lists, and the new types of geometry shader primitives can be used in display lists. And add new PRIM_MAX constant for follow-on changes. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
5da8288911bfd104756dfe6dc02be998208dd4cb |
|
18-Apr-2013 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa: add Layered field to framebuffers When checking framebuffer completeness, we test each attachment. We verify that all attachments are consistent in terms of layers. 1. They must all be layered, or all non-layered 2. If they are layered, they must match in depth Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
a62808085a09bbf45519567e3a3a83aa485821f6 |
|
18-Apr-2013 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa: add renderbuffer attachment Layered field If glFramebufferTexture is used, then the framebuffer attachment is layered. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
a05e201d4a142d0f5730cf63621f1999bff45e72 |
|
18-Apr-2013 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa: add renderbuffer Depth field With glFramebufferTexture, a renderbuffer may support all layers of the texture, so we need the depth of the renderbuffer to check for consistency which is required for framebuffer completeness. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
8fd0190278cc623ebc5310a3dbd6864152d6eaae |
|
22-Apr-2013 |
Chris Forbes <chrisf@ijw.co.nz> |
mesa: fix bogus comment about PrimitiveRestart fields Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
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/mtypes.h
|
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/mtypes.h
|
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/mtypes.h
|
d883d008780b61e9233cb7979cfaa8ef90d7b3b7 |
|
15-Apr-2013 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove _NEW_PACKUNPACK No driver checks the flag. Nobody uses it. I also removed the FLUSH_VERTICES calls, because PixelStorei has no effect on rendering. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
99bd76d834e0c771274f327e1efe9b089ff273d4 |
|
15-Apr-2013 |
Marek Olšák <maraeo@gmail.com> |
mesa: convert _NEW_RASTERIZER_DISCARD to a driver flag Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
b95cbe5e800e95d888d148e20e6a4e34c8857a9e |
|
15-Apr-2013 |
Marek Olšák <maraeo@gmail.com> |
mesa,i965: use NewDriverState to communicate TFB state changes with the driver _NEW_TRANSFORM_FEEDBACK is not used by core Mesa, so it can be removed. Instead, an new private flag is added to i965 to serve the same purpose. If you're new to this: * When creating a context. you can set private dirty flags in gl_context::DriverFlags, eg.: ctx->DriverFlags.NewStateX = BRW_NEW_STATE_X; * When StateX is changed, core Mesa does: ctx->NewDriverState |= ctx->DriverFlags.NewStateX; * When you have to draw, read and clear ctx->NewDriverState. * Pros: not touching NewState, the driver decides the mapping between GL states and hw state groups, unlimited number of flags in core Mesa (still limited number of flags in the driver though) Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
b76f6d9557ff27140e18cf8aa2b57db8876d5d4d |
|
17-Apr-2013 |
Brian Paul <brianp@vmware.com> |
mesa: remove #include "mfeatures.h" from numerous source files None of the remaining FEATURE_x symbols in mfeatures.h are used anymore. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
3350ca223e4319dce79d26652a3f9c1c63aaf9b3 |
|
17-Apr-2013 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_context::_TriangleCaps No longer used anywhere. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
cbbcb0247e6aa8d7adc274a94206ee02f9c70bea |
|
17-Apr-2013 |
Brian Paul <brianp@vmware.com> |
mesa: remove DD_TRI_LIGHT_TWOSIDE flag v2: use conditional operator instead of bit shifting Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
c9bb052e31b7952272e60d28969e90eafb6b3e1f |
|
17-Apr-2013 |
Brian Paul <brianp@vmware.com> |
mesa: remove DD_TRI_UNFILLED flag Use alternate code in intel, r200, radeon drivers. v2: use conditional operator instead of bit shifting Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
56dc53ed5bae2751eeadbfc1d163dfec72e8cfc8 |
|
17-Apr-2013 |
Brian Paul <brianp@vmware.com> |
mesa: remove DD_TRI_SMOOTH flag Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
b32fb8ac9e05b78d2bd07fcaf0d5f68525c4aa3b |
|
17-Apr-2013 |
Brian Paul <brianp@vmware.com> |
mesa: remove DD_TRI_STIPPLE flag Make it a local macro for the i915 driver. v2: use conditional operator instead of bit shifting Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
dfb1474aac97b94b36eed56954cbf2fadd0edded |
|
17-Apr-2013 |
Brian Paul <brianp@vmware.com> |
mesa: remove DD_TRI_OFFSET flag Make it a local macro for the i915 driver. v2: use conditional operator instead of bit shifting Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
c6a81448f8d55a510d8e32cf28e1e174bf2574dd |
|
17-Apr-2013 |
Brian Paul <brianp@vmware.com> |
mesa: remove DD_POINT_ATTEN flag For the i915 driver, make it a local macro. v2: use conditional operator instead of bit shifting Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
4f57fbb507c77a627c9660756ce1b7ab8bcfeb78 |
|
17-Apr-2013 |
Brian Paul <brianp@vmware.com> |
mesa: remove DD_POINT_SMOOTH flag Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
8ac8ae83609d5d5f28037ccd5b81ce5e40db2d33 |
|
17-Apr-2013 |
Brian Paul <brianp@vmware.com> |
mesa: remove DD_LINE_STIPPLE flag For the i915 driver, make it a local macro. v2: use conditional operator instead of bit shifting Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
55b2033f0a4896a7930469711a052083c15edd3f |
|
17-Apr-2013 |
Brian Paul <brianp@vmware.com> |
mesa: remove DD_SEPARATE_SPECULAR flag Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
c1c5d689c5a8cc3ae72b81391be30f5296cc2993 |
|
17-Apr-2013 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused DD_LINE_SMOOTH flag Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
67f226e179b7116379506f7b2c6c8d2b49ab97b2 |
|
07-Apr-2013 |
Paul Berry <stereotype441@gmail.com> |
glsl: Fix ir_print_visitor's handling of interpolation qualifiers. This patch updates the interp[] array to match the enum glsl_interp_qualifier. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> v2: Add a STATIC_ASSERT to make sure the array is the correct size. This required adding INTERP_QUALIFIER_COUNT to the enum.
/external/mesa3d/src/mesa/main/mtypes.h
|
755648c37fc7a54ed0b11c868fd4c7fe28b2f861 |
|
28-Mar-2013 |
Marek Olšák <maraeo@gmail.com> |
mesa: don't set _ClampFragmentColor to TRUE if it has no effect This should reduce shader recompilations with drivers that emulate fragment color clamping, because we want the clamping to be enabled only if there is a signed normalized or floating-point colorbuffer. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
21d407c1b8bf3be1eff87121d528d03c240ce207 |
|
28-Mar-2013 |
Marek Olšák <maraeo@gmail.com> |
mesa: refactor clamping controls, get rid of _ClampReadColor v2: cosmetic changes from Brian's email Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1e3235d36e45ee7565d322971dfa179f48d79767 |
|
02-Apr-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Add new ctx->Stencil._WriteEnabled derived state flag. i965 needs to know whether stencil writes are enabled in several places, and gets the test wrong sometimes. While we could create a function to compute this, it seems generally useful enough to warrant a new piece of derived state. Also, all the plumbing is already in place. NOTE: This is a candidate for stable branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Paul Berry <stereotype441@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
9cbfe98bfc6095b0d9e13c33440c687983218a76 |
|
16-Feb-2013 |
Chris Forbes <chrisf@ijw.co.nz> |
mesa: add enable bit for ARB_texture_storage_multisample Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
fdc5941972891711a1398440dd6b1f06f7598ef6 |
|
21-Mar-2013 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Delete VERT_ATTRIB_GENERIC_NV and VERT_BIT_GENERIC_NV macros. These haven't been used since we deleted NV_vertex_program support. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
110ca8b1f31e573210437e359723a4b0c16a5a0c |
|
23-Sep-2012 |
Dave Airlie <airlied@gmail.com> |
glsl: Implement ARB_texture_query_lod v2 [mattst88]: - Rebase. - #define GL_ARB_texture_query_lod to 1. - Remove comma after ir_lod in ir.h for MSVC. - Handled ir_lod in ir_hv_accept.cpp, ir_rvalue_visitor.cpp, opt_tree_grafting.cpp. - Rename textureQueryLOD to textureQueryLod, see https://www.khronos.org/bugzilla/show_bug.cgi?id=821 - Fix ir_reader of (lod ...). v3 [mattst88]: - Rename textureQueryLod to textureQueryLOD, pending resolution of Khronos 821. - Add ir_lod case to ir_to_mesa.cpp. Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
12dc4be8a66c92ce04637abc54ed85ac7ff9aa13 |
|
04-Mar-2013 |
Matt Turner <mattst88@gmail.com> |
mesa: Implement TEXTURE_IMMUTABLE_LEVELS for ES 3.0. NOTE: This is a candidate for the 9.1 branch. Fixes piglit's texture-immutable-levels test. Reported-by: Marek Olšák <maraeo@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
3f67251e3d0ce61a0e7fc16de91de6fb49cad768 |
|
10-Mar-2013 |
Christian König <christian.koenig@amd.com> |
glsl_to_tgsi: allocate arrays separately v2 Instead of allocating everything as temporaries, use the new array allocation functions. v2: fix bug in simplify_cmp, declare arrays on demand Signed-off-by: Christian König <christian.koenig@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
eed6baf7621fa94e7888f8079b155fc67a08540c |
|
23-Feb-2013 |
Paul Berry <stereotype441@gmail.com> |
Replace gl_frag_attrib enum with gl_varying_slot. This patch makes the following search-and-replace changes: gl_frag_attrib -> gl_varying_slot FRAG_ATTRIB_* -> VARYING_SLOT_* FRAG_BIT_* -> VARYING_BIT_* Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
f117abe66414e25be4f7bc61ca0df9e83ddaf543 |
|
23-Feb-2013 |
Paul Berry <stereotype441@gmail.com> |
Get rid of _mesa_frag_attrib_to_vert_result(). Now that there is no difference between the enums that represent vertex outputs and fragment inputs, there's no need for a conversion function. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
10a131211ef18fa1d368dee394045df945dcbb6e |
|
23-Feb-2013 |
Paul Berry <stereotype441@gmail.com> |
Get rid of _mesa_vert_result_to_frag_attrib(). Now that there is no difference between the enums that represent vertex outputs and fragment inputs, there's no need for a conversion function. But we still need to be able to detect when a given vertex output has no corresponding fragment input. So it is replaced by a new function, _mesa_varying_slot_in_fs(), which tells whether the given varying slot exists as an FS input or not. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
827c074fb1e3c138363673896777009f96a76bd8 |
|
23-Feb-2013 |
Paul Berry <stereotype441@gmail.com> |
mtypes.h: Modify gl_frag_attrib to refer to new gl_varying_slot enum. This paves the way for eliminating the gl_frag_attrib enum entirely. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
a6d807c86f9972335048ad21c33277385eec08e8 |
|
23-Feb-2013 |
Paul Berry <stereotype441@gmail.com> |
Replace gl_geom_result enum with gl_varying_slot. This patch makes the following search-and-replace changes: gl_geom_result -> gl_varying_slot GEOM_RESULT_* -> VARYING_SLOT_* Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
d453225efcfe9d8854e5dd58e4feb7cd753248b9 |
|
23-Feb-2013 |
Paul Berry <stereotype441@gmail.com> |
mtypes.h: Modify gl_geom_result to refer to new gl_varying_slot enum. This paves the way for eliminating the gl_geom_result enum entirely. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
d7c60a4a4fa4a0680f243376367c297a66a73343 |
|
23-Feb-2013 |
Paul Berry <stereotype441@gmail.com> |
Replace gl_geom_attrib enum with gl_varying_slot. This patch makes the following search-and-replace changes: gl_geom_attrib -> gl_varying_slot GEOM_ATTRIB_* -> VARYING_SLOT_* GEOM_BIT_* -> VARYING_BIT_* Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
094bcf399c9630707c92ccd8f78e2ade29323a4d |
|
23-Feb-2013 |
Paul Berry <stereotype441@gmail.com> |
mtypes.h: Modify gl_geom_attrib to refer to new gl_varying_slot enum. This paves the way for eliminating the gl_geom_attrib enum entirely. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
36b252e94724b2512ea941eff2b3a3abeb80be79 |
|
23-Feb-2013 |
Paul Berry <stereotype441@gmail.com> |
Replace gl_vert_result enum with gl_varying_slot. This patch makes the following search-and-replace changes: gl_vert_result -> gl_varying_slot VERT_RESULT_* -> VARYING_SLOT_* Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
9e729a79b0d5c7f2bf42262d57f6e0994c625dbe |
|
22-Feb-2013 |
Paul Berry <stereotype441@gmail.com> |
mtypes.h: Modify gl_vert_result to refer to new gl_varying_slot enum. This paves the way for eliminating the gl_vert_result enum entirely. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
8a076c5f057468830ed8606af50aeaa4a231a079 |
|
22-Feb-2013 |
Paul Berry <stereotype441@gmail.com> |
mtypes.h: Add new gl_varying_slot enum, and bitfield defines. Future patches will make use of the enum. It will eventually take the place of the existing enums gl_vert_result, gl_geom_attrib, gl_geom_result, and gl_frag_attrib, all of which represent essentially the same information but using inconsistent values. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
65afa11dc632ae83c58781201f1c8c75a1b89eb0 |
|
23-Feb-2013 |
Eric Anholt <eric@anholt.net> |
mesa: Remove the special enum for _mesa_error debug output. Now all the per-message enums from mtypes are gone. Now we can extend unique message IDs into all generators of debug output without having to update mtypes.h for each one. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
d9249935db113e1244510de0165dc96a0766bba9 |
|
23-Feb-2013 |
Eric Anholt <eric@anholt.net> |
mesa: Remove the enum for the oom-within-debug-output case. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
6816f67de63c57306445683b05e40ab63f35af49 |
|
23-Feb-2013 |
Eric Anholt <eric@anholt.net> |
mesa: Remove now-unused gl_winsys_error and gl_shader_error enums. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
7beb93456d808002b235cd638b0871a4974e245e |
|
12-Jul-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Merge handling of application-provided and built-in error sources. I want to have dynamic IDs so that we don't need to add to mtypes.h for every error we might want to add. To do so, I need to get rid of the static arrays and actually support all the crazy filtering of dynamic IDs that we already support for application-provided error sources. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
e0d1e3b785134ef38961e358d8474d027f856539 |
|
23-Feb-2013 |
Eric Anholt <eric@anholt.net> |
mesa: Move debug type/severity enums to mesa core. These will get reused by new ARB_debug_output messages in drivers/core, instead of having the caller pass GL enums and have us immediately switch-statement those into enums. Add source enums will be handled in the next commit, because the way different sources are handled at the moment is pretty strange. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1822496f3a7baf1c1726fda008cb89fbbade5c8d |
|
30-Nov-2012 |
Chris Forbes <chrisf@ijw.co.nz> |
mesa: implement sample mask V2: - fix multiline comment style - stop using ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH since that doesn't exist anymore. V3: - check for the extension being enabled - tidier flagging of _NEW_MULTISAMPLE - fix weird indentation in get.c V4: - move flush later in SampleMaski() Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
db5d5c30a603cb988dab8ed03cb99b68149826a8 |
|
30-Nov-2012 |
Chris Forbes <chrisf@ijw.co.nz> |
mesa: add new max sample count state - GL_MAX_COLOR_TEXTURE_SAMPLES - GL_MAX_DEPTH_TEXTURE_SAMPLES - GL_MAX_INTEGER_SAMPLES V2: initialize limits to 1 in _mesa_init_constants as suggested by Brian and Paul Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
d04a4dd0039d397c19e28cde878f51cad0877f07 |
|
24-Nov-2012 |
Chris Forbes <chrisf@ijw.co.nz> |
mesa: add texobj support for ARB_texture_multisample Adds the new texture targets, and per-image state for GL_TEXTURE_SAMPLES and GL_TEXTURE_FIXED_SAMPLE_LOCATIONS. V2: - Allow multisample texture targets in glInvalidateTexSubImage too. This was already partly there, but I missed it the first time around since the interaction is defined in a newer extension. Fixed weird indentation. - Allow multisample array textures in glFramebufferTextureLayer. This was overlooked as the tests originally only used 2d multisample textures. V3: - Set min/mag filters sensibly for multisample textures. This can't actually be changed by the user, so it's more sensible to initialize it correctly than to hack around it being bogus later. V4: - Tidy up initial min/mag filter setup. Setup in _mesa_initialize_texture_object was bogus, but benign since finish_texture_init() clobbered everything with correct values. For V4, just do the setup in finish_texture_init(). V5: - Don't break glPopAttrib(GL_TEXTURE_BIT) Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> [V2] Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
785a8c3bebac838b675ac891aaadff4efcb504d8 |
|
25-Jan-2013 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
mesa: implement GL_ARB_texture_buffer_range v2: Record texObj.BufferSize as -1 in TexBuffer(non-Range) instead of the buffer's current size so we know we always have to use the full size of the buffer object (i.e. even if it changes without the user calling TexBuffer again) for the texture. Clarify invalid offset alignment error message. v3: Use extra GL_CORE-only section in get_hash_params.py for TEXTURE_BUFFER_OFFSET_ALIGNMENT. v4: Remove unnecessary check for profile in _mesa_TexBufferRange. Add check for extension enable in get_tex_level_parameter_buffer. v5: Fix position in gl_API.xml. Add comment about meaning of BufferSize == -1. v6: Add back checks for core profile and add a note about it. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
12aa2fec5b4ffa89327551fbecd29acf1774959b |
|
22-Jan-2013 |
Matt Turner <mattst88@gmail.com> |
glsl: Add infrastructure for ARB_shading_language_packing Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Paul Berry <stereotype441@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
90b1dd03e52d125c95007e174028d17e5a01c336 |
|
22-Jan-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Add gl_uniform_buffer_variable::IndexName field glGetUniformIndices requires that the block instance index not be present in the name of queried uniforms. However, gl_uniform_buffer_variable::Name will include the instance index. The IndexName field is added to handle this difference. Note that currently IndexName will always point to the same string as Name. This will change soon. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Carl Worth <cworth@cworth.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
9a971ab695d8f3c58a5fb0f359443b6b053f0b97 |
|
13-Dec-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Track the packing mode of a UBO in gl_uniform_buffer This allows the next patch to verify that two uniform blocks match without first calculating the locations of the fields. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
a021881ccdaf1d81fb7c8bef4b58b4c037dc4f44 |
|
01-Dec-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Use a single flag for the S3TC extensions that don't require on-line compression Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Acked-by: Lee Salzman <lsalzman@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
c572251417ef20d1d560b849931321a42b1be578 |
|
17-Jan-2013 |
Eric Anholt <eric@anholt.net> |
mesa: Install a minimal dispatch table during glBegin()/glEnd(). This is a step toward getting rid of ASSERT_OUTSIDE_BEGIN_END() in Mesa. v2: Finish create_beginend_table() comment, move loopback API init into it, and add a const flag. (suggestions by Brian) Reviewed-by: Brian Paul <brianp@vmware.com> (v1) Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (v1)
/external/mesa3d/src/mesa/main/mtypes.h
|
0f899c2da8b5c1ee305b80e9053447d9663b98b2 |
|
19-Jan-2013 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add extension bit tracking for GL_OES_depth_texture_cube_map Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
56053b0a2d80c5f7041a588fdc442977b1362289 |
|
13-Dec-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove unused field gl_uniform_buffer_variable::Buffer Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
5e4bb063f03a066eb60225b544b81036ebf78638 |
|
30-Nov-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add extension tracking bit for GL_ARB_internalformat_query Though, I'm tempted to always expose this extension when GL_ARB_framebuffer_object is exposed. In that case, it would share the same enable bit. v2: Correctly sort extension names. Suggested by Eric Anholt. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
3dd76f7168bba6123c9ac5e2442b8c811f40399f |
|
13-Dec-2012 |
Carl Worth <cworth@cworth.org> |
queryobj: Add EverBound flag, making ISQuery() return false before BeginQuery() This flag allows for the specified behavior that GenQueries reserves a name, but does not associate an object with it until BeginQuery. We allocate the object immediately with the new EverBound flag set to false, and then set the flag to true at the time of BeginQuery. This allows us to implement a conformant IsQuery function by checking the state of the new EverBound flag. This fixes the following es3conform tests: occlusion_query_genqueries occlusion_query_is_query_nonzero and the following piglit test: occlusion_query_lifetime Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
fefd03e16c162a56dd543ad9a840abb61cc6e649 |
|
03-Dec-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add tracking for GL_PROGRAM_BINARY_RETRIEVABLE_HINT state Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
c0c9c9966f54b2e4a4eb2ffa2abe343c1b82b823 |
|
05-Dec-2012 |
Carl Worth <cworth@cworth.org> |
driconf: Add a new option: disable_glsl_line_continuations This is to enable a quirk for Savage2 which includes a shader with a stray '\' at the end of a comment line. Interpreting that backslash as a line continuation will break the compilation of the shader, so we need a way to disable this. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
42ed81a7c3eec215a543c47239cc30536f284ada |
|
11-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa/es3: Add support for GL_PRIMITIVE_RESTART_FIXED_INDEX This requires some derived state. The cut vertex used is either the value specified by glPrimitiveRestartIndex or it's hard-coded to ~0. The derived state gl_array_attrib::_RestartIndex captures this value. In addition, the derived state gl_array_attrib::_PrimitiveRestart is set whenever either gl_array_attrib::PrimitiveRestart or gl_array_attrib::PrimitiveRestartFixedIndex is set. v2: Use _mesa_is_gles3. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
532e05a9d094fdcdeb2c8dfd0bec6eab82dc8163 |
|
09-Dec-2012 |
Matt Turner <mattst88@gmail.com> |
mesa: Support querying GL_MAX_ELEMENT_INDEX in ES 3 The ES 3 spec says that the minumum allowable value is 2^24-1, but the GL 4.3 and ARB_ES3_compatibility specs require 2^32-1, so return 2^32-1. Fixes es3conform's element_index_uint_constants test. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
0cc018526f610deb4990587a6d1ac73d5d71bc90 |
|
14-Dec-2012 |
Matt Turner <mattst88@gmail.com> |
Add ES 3 handling to get.c and get_hash_generator.py Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
a585b8f3a6681d1138ed1a33ed4c3195a53c2a73 |
|
20-Dec-2012 |
Matt Turner <mattst88@gmail.com> |
Make IsVertexArray() return false before BindVertexArray() Rename existing _Used flag to EverBound. The GL 4.3 and ES 3.0 specs say These names are marked as used, for the purposes of GenVertexArrays only, but they do not acquire array state until they are first bound. This also affects Apple VAOs, which is fine since the APPLE_vertex_array_object spec says A vertex array object is created by binding an unused name. This binding is accomplished by calling BindVertexArrayAPPLE with id set to the name of the new vertex array object. Fixes arb_vertex_array_object_isvertexarray. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
fd93d55141f11069fb76a9b377ad1af88d0ecdd3 |
|
19-Dec-2012 |
Matt Turner <mattst88@gmail.com> |
Make IsTransformFeedback() return false before BindTransformFeedback() The GL 4.3 an ES 3.0 specs say A transform feedback object is created by binding a name returned by GenTransformFeedbacks with the command void BindTransformFeedback( enum target, uint id ); Fixes arb_transform_feedback2-istransformfeedback and part of es3conform's CoverageES30.test. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
1ad516207d2297b14fe26627e5bb599a9f704ac5 |
|
15-Dec-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa: Fix corner cases of BindBufferBase with transform feedback. This patch implements the following behaviours, which are mandated by the GL 4.3 and GLES3 specs. 1. Regarding the GL_TRANSFORM_FEEDBACK_BUFFER_SIZE query: "If the ... size was not specified when the buffer object was bound (e.g. if it was bound with BindBufferBase), ... zero is returned." (GL 4.3 section 6.7.1 "Indexed Buffer Object Limits and Binding Queries"). 2. "BindBufferBase binds the entire buffer, even when the size of the buffer is changed after the binding is established. It is equivalent to calling BindBufferRange with offset zero, while size is determined by the size of the bound buffer at the time the binding is used." (GL 4.3 section 6.1.1 "Binding Buffer Objects to Indexed Targets"). I interpret "at the time the binding is used" to mean "at the time of the call to glBeginTransformFeedback". 3. "Regardless of the size specified with BindBufferRange, or indirectly with BindBufferBase, the GL will never read or write beyond the end of a bound buffer. In some cases this constraint may result in visibly different behavior when a buffer overflow would otherwise result, such as described for transform feedback operations in section 13.2.2." (GL 4.3 section 6.1.1 "Binding Buffer Objects to Indexed Targets"). Item 1 has been part of the spec all the way back to the inception of the EXT_transform_feedback extension. Items 2 and 3 were added in GL 4.2 and GLES 3. Prior to GL 4.2, in place of items 2 and 3, the spec simply said "BindBufferBase is equivalent to calling BindBufferRange with offset zero and size equal to the size of buffer." For transform feedback, Mesa behaved as though this meant "...equal to the size of buffer at the time of the call to BindBufferBase". However, this was problematic because it left it ambiguous what to do if the buffer is shrunk between the call to BindBuffer{Base,Range} and the call to BeginTransformFeedback. Prior to this patch, Mesa's behaviour was to try to write beyond the end of the buffer, likely resulting in memory corruption. In light of this, I'm interpreting the spec change as a clarification, not an intended behavioural change, so I'm making the change apply regardless of API version. Fixes GLES3 conformance test transform_feedback2_pause_resume.test. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
b87e65c3b61caeaa4f97a34d62e148e59a0dd5b8 |
|
13-Dec-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa/gles3: Generate error on draw call if transform feedback would overflow. In desktop GL, if a draw call would cause transform feedback buffers to overflow, the draw call should succeed, and the extra primitives should simply not be recorded in the transform feedback buffers. In GLES3, however, if a draw call would cause transform feedback buffers to overflow, the draw call is supposed to produce an INVALID_OPERATION error and no drawing should occur. This patch implements the GLES3-required behaviour. Fixes GLES3 conformance test "transform_feedback_overflow.test". Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1b62c326ea36dcfe66e84a75d11b4bbbc4231c69 |
|
15-Dec-2012 |
Dave Airlie <airlied@gmail.com> |
mesa: add support for ARB_texture_buffer_object_rgb32 This adds the extensions + the tex buffer support for checking the formats. There is a piglit test enhancement sent to that list. Reviewed-by: Marek Olšák <maraeo@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
6ee500cfd28324bef27f145fbe03e77993810c45 |
|
13-Dec-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa: Add an option so driver can opt out of varying packing. On hardware that supports a limited number of texture indirections, varying packing will comsume an extra texture indirection, since ALU operations are needed in the fragment shader to unpack the varyings before any texturing can be done. This patch introduces a new driver option, ctx->Const.DisableVaryingPacking, which can be used by a driver to opt out of varying packing if the extra texture indirection is costly enough to outweigh the advantages of packing varyings. Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
0151237457f47a43fa64111e462da851c4b8ab4c |
|
08-Dec-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa syncobj: don't store a pointer to the set_entry The set_entry pointer can become invalid if the set table is re-hashed. This likely will fix https://bugs.freedesktop.org/show_bug.cgi?id=58012 (Regression since 56e95d3c) Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
91c92bb6fbacdf713e36a9702fbc2ab4d203152c |
|
03-Aug-2012 |
Paul Berry <stereotype441@gmail.com> |
glsl: Record in gl_shader_program whether the program uses GLSL ES. Previously we recorded just the GLSL version (or the max version, if GLSL 1.10 and GLSL 1.20 programs were linked together). [v2, idr]: s/IsEs(Shader|Prog)/IsES/ Suggested by Ken and Eric. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Acked-by: Carl Worth <cworth@cworth.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
c150e876b4bd8af1a0f0d7d8a76e9900045ac6be |
|
03-Aug-2012 |
Paul Berry <stereotype441@gmail.com> |
glsl: Record in gl_shader whether the shader uses GLSL ES. Previously we recorded just the GLSL version, with the knowledge that 100 means GLSL 1.00 ES. With the advent of GLSL 3.00 ES, this is going to get more complex, and eventually will probably become ambiguous (GLSL 4.00 already exists, and GLSL 4.00 ES is likely to be created some day). To reduce confusion, this patch simply records whether the shader is GLSL ES as an explicit boolean. [v2, idr]: s/IsEs(Shader|Prog)/IsES/ Suggested by Ken and Eric. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> [v1] Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Acked-by: Carl Worth <cworth@cworth.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
9a93ba306878693d9157d204743a82becbd5d53e |
|
06-Aug-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa: Add ARB_ES3_compatibility flag. Adding this now makes it easier to develop and test GLES3 features, since we can do initial development and testing using desktop GL. Later GLSL compiler patches check for either ctx->Extensions.ARB_ES3_compatibility or _mesa_is_gles3 to allow certain features (i.e., "#version 300 es"). [v2, idr]: Just edits to the commit message. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Carl Worth <cworth@cworth.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
56e95d3ca231110188e5b910f4e17104f3176d52 |
|
04-Dec-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa: validate that sync objects were created by mesa Previously, the user could send in a pointer that was not created by mesa. When we dereferenced that pointer, there would be an exception. Now we keep a set of pointers and verify that the pointer exists in that set before dereferencing it. Note: This fixes several crashing gles3conform tests. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
c73245882c7ff1277b190b97f093f7b423a22f10 |
|
30-Nov-2012 |
Brian Paul <brianp@vmware.com> |
mesa: pass context parameter to gl_renderbuffer::Delete() We sometimes need a rendering context when deleting renderbuffers. Pass it explicitly instead of trying to grab a current context (which might be NULL). The next patch will make use of this. Note: this is a candidate for the stable branches. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
dbd6135bc1ba285128ab991c03c4df6fbd6fefe8 |
|
27-Nov-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa: Rename API_OPENGL to API_OPENGL_COMPAT. This should help avoid confusion now that we're using the gl_api enum to distinguishing between core and compatibility API's. The corresponding enum value for core API's is API_OPENGL_CORE. Acked-by: Eric Anholt <eric@anholt.net> Acked-by: Matt Turner <mattst88@gmail.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
8111342e814304730bed34446ea816cbc17a5775 |
|
11-Nov-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: add MaxNumLevels to gl_texture_image, remove MaxLog2 MaxLog2 led to bugs, because it didn't work well with 1D and 3D textures. NOTE: This is a candidate for the stable branches. v2: correct the comment at MaxNumlevels Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
e0e7e29554b7a4a723315eef3df5fb9bad28a70a |
|
03-Nov-2012 |
Dave Airlie <airlied@gmail.com> |
mesa: add fbo/texture support for ARB_texture_cube_map_array (v2) This adds the mesa core + texture + fbo support for the texture cube map array extension. v2: add comment to _mesa_num_tex_faces related to cube map arrays (Brian) drop wrong comment cut-n-paste (Brian) fix / 6 maximum check issue (Kenneth) coalsece some array case statements (Kenneth) Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
5a5a80e02161f6ec9e36b25699183e0a6d3ad3eb |
|
03-Nov-2012 |
Dave Airlie <airlied@gmail.com> |
mesa: add ARB_texture_cube_map_array extension bits This just adds the bit + extension name. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
d6600f9d390f2d37e2f680376d559e5d547c80eb |
|
28-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove NV_read_buffer extension enable flag It's been enabled by default, so the flag isn't really useful. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
b8380e54b8567ee2b94102229c69f79e20176587 |
|
28-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove SGIS_texture_lod extension enable flag Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
01f0bedc2db2f49a9b1a4516b35cf16711008c8a |
|
28-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove NV_texgen_reflection extension enable flag Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
7857dbeb171d6d674157e1b3ba49fefe4831257e |
|
28-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove NV_light_max_exponent extension enable flag Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
cc07149276cc9ca310d41493f163978b4faad46b |
|
28-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove IBM_rasterpos_clip extension enable flag Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
f5543d6eb29bbd9aadf37055a20992d11f0263e2 |
|
28-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove IBM_multimode_draw_arrays extension enable flag Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
271b6aeccde49e466a6bc61f00336d78c06ad06c |
|
28-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove APPLE_packed_pixels extension enable flag Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
2266b1df231ccb408d7ad2b4d5f9db850045248c |
|
28-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove EXT_separate_specular_color extension enable flag Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
39a0223a87ba156decfa523ad8e171769eb18d6e |
|
28-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove EXT_rescale_normal extension enable flag Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
6f5fc612f3135d3f59d702a42547bf93cef2e699 |
|
28-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove EXT_packed_pixels extension enable flag Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
57b00c85b10244201c3875122fdae9581e4e0405 |
|
28-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove EXT_draw_range_elements extension enable flag Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
cf9acc3833ef3848c5d37a1e9b06285eec8a9dd6 |
|
28-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove EXT_compiled_vertex_array extension enable flag Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1301f91b31b4df7124eaee24fc65501da1dcb5d2 |
|
28-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove ARB_window_pos extension enable flag Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
d012e6d8fe2f4f1139af9e47a684960e8cde103e |
|
28-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove ARB_transpose_matrix extension enable flag Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
3bba7c5ab41405bd73bee1612e65d65bb3ac658d |
|
28-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove ARB_copy_buffer extension enable flag Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
f2f782d50fa9ba3e2352a404f812a51451b20ae5 |
|
28-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement ARB_map_buffer_alignment Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1e46d810c839c8dcfa4201bbbd2d967011046560 |
|
27-Oct-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use GLuint for more gl_constants fields To silence assorted MSVC warnings. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
d0021cb0fb7c28ff9f496f02b7bb3b2ab0722304 |
|
15-Oct-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Remove remnants of PROGRAM_VARYING. The previous patch removed the producer of things in this file. Since there aren't any, we can remove it. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
8d418d16165624a59b2049d4097b4ab0dc82ffa9 |
|
15-Oct-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Remove support for named parameters. These were only part of NV_fragment_program, so we can kill them. The fact that PROGRAM_NAMED_PARAM appears in r200_vertprog.c is rather comedic, but also demonstrates that people just spam the various types of parameters everywhere because they're confusing. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
58c466519d82fe040e9e20263058a03395a7b95b |
|
15-Oct-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Remove yet more remnants of NV_fragment_program. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
9dc2c28983b68f290558d070806b236c202b3744 |
|
15-Oct-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Remove the gl_program::Resident flag. It apparently was only used for NV programs. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
7742952f7eaf0af475aeff28a3ec084762d0ed23 |
|
15-Oct-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Remove the EmitNVTempInitialization shader compiler option. Nobody uses it anymore. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
8b2fe73897b1d50fd99de3f66bf78fe3fc44bfee |
|
10-Oct-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Remove miscellaneous remains of NV_vertex_program. v2: Rebase on top of get.c changes. Reviewed-by: Brian Paul <brianp@vmware.com> (v1)
/external/mesa3d/src/mesa/main/mtypes.h
|
c0120c250945dd4cc56685ab92e053fb60b661e9 |
|
10-Oct-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Remove support for NV_vertex_program's attribute evaluation. Note that the MAP2 getters were missing from the implementation. Neat. v2: Rebase on top of get.c changes. Reviewed-by: Brian Paul <brianp@vmware.com> (v1)
/external/mesa3d/src/mesa/main/mtypes.h
|
4f9d351ef186314a58e58795936de38e1b765f18 |
|
10-Oct-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Remove support for NV_vertex_program's special attributes aliasing Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
6ab9c0476992752ff3ac0c80b6952075a4679aeb |
|
10-Oct-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Remove support for NV_vertex_program's tracked matrices. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
856464979bb50c9209c19b66147c8f94cdf5be43 |
|
10-Oct-2012 |
José Fonseca <jfonseca@vmware.com> |
mesa: Avoid C99 indexed initializers. Not supported by MSVC. Reviewed-by: Imre Deak <imre.deak@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
d220435416bace2e4a1cf9c3b4c3e2352d8301cf |
|
10-Sep-2012 |
Imre Deak <imre.deak@intel.com> |
mesa: glGet: use the build time generated hash tables Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
2ad4a4754744e71aca472f77e64168dd1a962422 |
|
10-Sep-2012 |
Imre Deak <imre.deak@intel.com> |
mesa: glGet: fix parameter lookup for apps using multiple APIs The glGet hash was initialized only once for a single GL API, even if the application later created a context for a different API. This resulted in glGet failing for otherwise valid parameters in a context if that parameter was invalid in another context created earlier. Fix this by using a separate hash table for each API. Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
917d27392825719146a02acc684fb75f298f59ed |
|
29-Sep-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused gl_context::DriverCtx field
/external/mesa3d/src/mesa/main/mtypes.h
|
9545d9611fd983fd63960de787dff51aedd4a7f9 |
|
26-Sep-2012 |
Oliver McFadden <oliver.mcfadden@linux.intel.com> |
intel: add support for ANGLE_texture_compression_dxt. Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
35cf6aeb8c26821e704db737b61cf2623b3e8f6b |
|
22-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Enable GL_{ARB,APPLE}_vertex_array_object in all drivers This is a purely software extension. The drivers don't need to do any work to support it. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
b765119c5d2cd41a7f47cce10fd1fdbcf162b03d |
|
23-Aug-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add constants for the GL_QUERY_COUNTER_BITS per target. Drivers need to be able to communicate their actual number of bits populated in the field in order for applications to be able to properly handle rollover. There's a small behavior change here: Instead of reporting the GL_SAMPLES_PASSED bits for GL_ANY_SAMPLES_PASSED (which would also be valid), just return 1, because more bits don't make any sense. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
707f0679157f83ac45127e41647b96ed924d45c9 |
|
11-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Kill GL_ARB_shadow_ambient with fire No driver supports this extension, and it seems unlikely than any driver ever will. I think r300c may have supported it at one time, but that driver has already been removed. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
9c1b41879aab2ff7386c547a2ccce7686c018cf5 |
|
26-Jul-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Replace VersionMajor/VersionMinor with a Version field. As we get into supporting GL 3.x core, we come across more and more features of the API that depend on the version number as opposed to just the extension list. This will let us more sanely do version checks than "(VersionMajor == 3 && VersionMinor >= 2) || VersionMajor >= 4". v2: Fix a bad <= 30 check. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
8129dabb5f5ff717bb1ca32710ca6204d5345461 |
|
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
mesa: Make ARB_sampler_objects mandatory To allow meta acceleration operations to use sampler objects the ARB_sampler_objects extension needs to be mandatory for all drivers. Because the extension doesn't have any hardware dependencies it is trivial to implement. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
c37efbfe4c415b6fd2d4f968220d7c9b62f11ecf |
|
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
mesa: Move DepthMode to texture object GL_DEPTH_TEXTURE_MODE isn't meant to be part of sampler state based on compatibility profile specifications. OpenGL specification 4.1 compatibility 20100725 3.9.2: "... The values accepted in the pname parameter are TEXTURE_WRAP_S, TEXTURE_WRAP_T, TEXTURE_WRAP_R, TEXTURE_MIN_- FILTER, TEXTURE_MAG_FILTER, TEXTURE_BORDER_COLOR, TEXTURE_MIN_- LOD, TEXTURE_MAX_LOD, TEXTURE_LOD_BIAS, TEXTURE_COMPARE_MODE, and TEXTURE_COMPARE_FUNC. Texture state listed in table 6.25 but not listed here and in the sampler state in table 6.26 is not part of the sampler state, and remains in the texture object." The list of states is in Table 6.24 "Textures (state per texture object)" instead of 6.25 mentioned in the specification text. Same can be found from 3.3 compatibility specification. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
1c29b73f4d9f633e32c03bebc8d505b321d833d9 |
|
19-Jul-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa: add API_OPENGL_CORE api Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
f609cf782ab5e90ddf045dc4b0da8cebf99be0d1 |
|
27-Apr-2012 |
Eric Anholt <eric@anholt.net> |
glsl: Merge the lists of uniform blocks into the linked shader program. This attempts error-checking, but the layout isn't done yet. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
b3c093c79c2ec49c36af37aa290d5ae452149f6e |
|
27-Apr-2012 |
Eric Anholt <eric@anholt.net> |
glsl: Translate the AST for uniform blocks into some IR structures. We're going to need this structure to cross-validate the uniform blocks between shader stages, since unused ir_variables might get dropped. It's also the place we store the RowMajor qualifier, which is not part of the GLSL type (since that would cause a bunch of type equality checks to fail). Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
5e310e9f8300a357d6bdaf098c72098518b564f3 |
|
20-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa: Add UsesDFdy to struct gl_fragment_program. The i965 back-end needs to compile dFdy() differently for FBOs and window system framebuffers, because Y coordinates are flipped between the two (see commit 82d2596: i965: Compute dFdy() correctly for FBOs). This boolean will allow it to avoid unnecessarily recompiling shaders that don't use dFdy(). Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
d24ece97e5ac755b9fd11d1d00d2eafc8524ca04 |
|
18-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: add ARB_transform_feedback_instanced extension enable flag Acked-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
375e73d85948b43aa509e25f0a210ebd10238b6f |
|
18-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement glGet queries and error handling for ARB_transform_feedback3 Acked-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
21cb5ed20d1d7984b7695395327ed0ba0b0d16e2 |
|
18-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
glsl: implement ARB_transform_feedback3 in the linker Acked-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
b186a9df32bb90cfa50f28f3df56abaffac40d8b |
|
29-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove some unused gl_dlist_state fields
/external/mesa3d/src/mesa/main/mtypes.h
|
15ac66e331abdab12e882d80a6b4f647bc905298 |
|
18-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: rename MaxTransformFeedbackSeparateAttribs to MaxTransformFeedbackBuffers This is a cleanup for ARB_transform_feedback3, where GL_MAX_TRANSFORM_FEEDBACK_BUFFERS is introduced for interleaved attribs and has the same meaning as GL_MAX_.._SEPARATE_ATTRIBS for separate attribs. Also, the maximum number of TFB buffers is reduced from 32 to 4, which makes this patch useful even without the extension. I don't know of any hardware which can do more than 4. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
86ccd9aaacc5358984faa11c3b94281f0b1a85f9 |
|
26-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: move TEXGEN defines closer to gl_texgen struct
/external/mesa3d/src/mesa/main/mtypes.h
|
4cb3579e52fed48d623698610e31d05ac8c8946f |
|
26-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: rename ColorMaterialBitmask to _ColorMaterialBitmask Since it's a derived field.
/external/mesa3d/src/mesa/main/mtypes.h
|
b114ff3783c1aff636c4293eccfc9e04b802d3bf |
|
26-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: re-order, update comments on lighting-related structs
/external/mesa3d/src/mesa/main/mtypes.h
|
bebb0438113efdcc1c2aaed95c70ba87de1d3053 |
|
18-Jun-2012 |
Paul Berry <stereotype441@gmail.com> |
glsl: Add IsCentroid bitfield to gl_fragment_program. This bitfield tells the back-ends which of a fragment shader's inputs require centroid interpolation. It is only set for GLSL fragment shaders, since assembly fragment shaders don't support centroid interpolation. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
5527c2d22027e9e27e55372d8adf2ba4ff855b53 |
|
15-Jun-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add indexed binding points for uniform buffer objects. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
c5c696e7fbce2e0b598ed5d4b1d73f086a664a57 |
|
18-Jun-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for the GL_UNIFORM_BUFFER general binding point. Fixes piglit ARB_uniform_buffer_object/buffer-targets. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
5426b1ade9c97497bdf5ecd7c44701a6d5ef04dc |
|
14-Jun-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add state and getters for the GL_ARB_uniform_buffer_object maximums. Fixes piglit GL_ARB_uniform_buffer_object/minmax. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
ae5d7d5e8970f90b9713897387d7d46a2b4485ab |
|
18-Jun-2012 |
Fredrik Höglund <fredrik@kde.org> |
mesa: Add support for GL_ARB_base_instance Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
2d7b2d7a87f037fa435772b7ce7c7cc0f426d912 |
|
15-Jun-2012 |
Kristian Høgsberg <krh@bitplanet.net> |
gles2: Add GL_NV_read_buffer extension This lets us select the front buffer for reading under GLES2. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
199771bc325900eb1d3acc7fa03808894a94fdb2 |
|
30-Apr-2012 |
Olivier Galibert <galibert@pobox.com> |
glsl: Scaffolding for ARB_shader_bit_encoding. That adds support for activating the extension. It doesn't actually *do* anything yet, of course. Signed-off-by: Olivier Galibert <galibert@pobox.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
175ad8050e3337f7065306017ea4eb8eae599f6d |
|
18-May-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Keep a computed value for dual source blend func with each buffer. The i965 driver needed this as well for hardware setup, so instead of duplicating the logic, just save it off. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
0161691f3518db310411c5f02c05aa639050f129 |
|
17-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add GLSL_REPORT_ERRORS debug flag If the MESA_GLSL env var contains "errors", GLSL compilation and link errors will be reported to stderr. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
fc22fde9d8ba633f9f13ea0c46baa1c826d1377f |
|
08-May-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa: add PrimitiveRestartInSoftware to gl_context.Const If set, then the VBO module will handle all primitive restart scenarios before calling the driver draw_prims. Software primitive restart support is disabled by default. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
93bcf7825d023d3d7108bc47a7a0929338bba6b9 |
|
09-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add DEBUG_INCOMPLETE_TEXTURE, DEBUG_INCOMPLETE_FBO flags Instead of having to hack the code to enable these debugging options, set them through the MESA_DEBUG env var. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
da35c2b38c1419690b6647fbc2f930cb04c6877f |
|
09-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: define DEBUG_SILENT flag, use in output_if_debug()
/external/mesa3d/src/mesa/main/mtypes.h
|
c5e473fbe25b20cb27aac44ff6e269701abd33a8 |
|
16-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: add gl_context::NewDriverState and use it for vertex arrays The vbo module recomputes its states if _NEW_ARRAY is set, so it shouldn't use the same flag to notify the driver. Since we've run out of bits in NewState and NewState is for core Mesa anyway, we need to find another way. This patch is the first to start decoupling the state flags meant only for core Mesa and those only for drivers. The idea is to have two flag sets: - gl_context::NewState - used by core Mesa only - gl_context::NewDriverState - used by drivers only (the flags are defined by the driver and opaque to core Mesa) It makes perfect sense to use NewState|=_NEW_ARRAY to notify the vbo module that the user changed vertex arrays, and the vbo module in turn sets a driver-specific flag to notify the driver that it should update its vertex array bindings. The driver decides which bits of NewDriverState should be set and stores them in gl_context::DriverFlags. Then, Core Mesa can do this: ctx->NewDriverState |= ctx->DriverFlags.NewArray; This patch implements this behavior and adapts st/mesa. DriverFlags.NewArray is set to ST_NEW_VERTEX_ARRAYS. Core Mesa only sets NewDriverState. It's the driver's responsibility to read it whenever it wants and reset it to 0. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
50f7e75f9e945cfbb2ae868cc961a2205a0b6e73 |
|
23-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: move gl_client_array*[] from vbo_draw_func into gl_context In the future we'd like to treat vertex arrays as a state and not as a parameter to the draw function. This is the first step towards that goal. Part of the goal is to avoid array re-validation for every draw call. This commit adds: const struct gl_client_array **gl_context::Array::_DrawArrays. The pointer is changed in: * vbo_draw_method * vbo_rebase_prims - unused by gallium * vbo_split_prims - unused by gallium * st_RasterPos Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
b0e048f0b955ef79e2de794172de053d27d7d8fa |
|
18-Apr-2012 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_array_attrib::NewState to gl_array_object::NewArrays The field wasn't actually used before and it's not used now either. But this is a more logical place for it and will hopefully allow doing smarter draw/array validation (per array object) in the future. Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/mtypes.h
|
576c8c592a4be7047a00b0c8fe3851b09f10d8d4 |
|
16-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: add _NEW_VARYING_VP_INPUTS for gl_context::varying_vp_inputs This is a frequently-updated state and _NEW_ARRAY already causes revalidation of the vbo module. It's kinda counter-productive to recompute arrays in the vbo module if _NEW_ARRAY is set and then set _NEW_ARRAY again. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/mtypes.h
|
784dd51198433e5c299da4a7742c68d21d68d1c1 |
|
16-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa,vbo: properly detect when vertex arrays need to be recalculated This moves the RebindArrays flag into the vbo module, consolidates the code, and adds missing vbo_draw_method calls. Also with this change, the vertex arrays are not needlessly recalculated twice. The issue with the old code was: - If recalculate_input_bindings updates vp_varying_inputs, _NEW_ARRAY is set. - _mesa_update_state is called and the vp_varying_inputs change causes regeneration of the fixed-function shaders, which also sets _NEW_PROGRAM. - The occurence of either _NEW_ARRAY or _NEW_PROGRAM sets the recalculate_inputs flag to TRUE again. - The new code sets the flag to FALSE after the second _mesa_update_state, because there can't possibly be any change which would require recalculating the arrays. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/mtypes.h
|
f8cf79936b42405a8366613b80e3bde21aadaa02 |
|
24-Mar-2012 |
Dave Airlie <airlied@redhat.com> |
mesa: add support for ARB_blend_func_extended (v4) Add implementations of the two API functions, Add a new strings to uint mapping for index bindings Add the blending mode validation for SRC1 + SRC_ALPHA_SATURATE Add get for MAX_DUAL_SOURCE_DRAW_BUFFERS v2: Add check in valid_to_render to address case in spec ERRORS. v3: Add index to ir.h so this patch compiles on its own fixup comment v4: fixup Brian's comments The GLSL patch will setup the indices. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
664355f05b39303fa0995b72160c82f5bf50e95e |
|
27-Mar-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Track a gl_format for the texture buffer format. There was a function full of unused mappings from the GLenum to datatype/comps, but that wasn't all the information a driver would want, which includes the other fields that a gl_format has. Given that all the texture buffer formats were represented in gl_format, just use that as our description. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
73fd269d2f5aa2a0b9bc03ef904b81e263e3cc37 |
|
17-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add integer texture completeness check Per the spec, only nearest filtering is supported for integer textures. Otherwise, the texture is incomplete. Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
f4a93e0665881dd58a95abb6525676bd1cc2e6af |
|
17-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: rework texture completeness testing Instead of gl_texture_object::_Complete there are now two fields: _BaseComplete and _MipmapComplete. The former indicates whether the base texture level is valid. The later indicates whether the whole mipmap is valid. With sampler objects, a single texture can appear to be both complete and incomplete at the same time. See the GL_ARB_sampler_objects spec for more details. To implement this we now check if the texture is complete with respect to a sampler state. Another benefit of this is we no longer need to invalidate a texture's completeness state when we change the minification/magnification filters with glTexParameter(). Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
92c42d8170711d76568cd8caeaeacb2442814f49 |
|
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: renumber remaining DD_ constants Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
741bfef26c1f0d4f7c3d3a32479752cb6ee55ab6 |
|
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused DD_TRI_CULL_FRONT_BACK Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
d710bbcd7458f6d48cf86586865f91e47c30feb2 |
|
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused DD_FLATSHADE Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
d269b1f3107ed569663b96bfd6832c177df0050e |
|
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused DD_TRI_TWOSTENCIL Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
291e4104aeca61c51beda42cb53a4b99dfaf4bf9 |
|
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove _DD_NEW_x flags They're no longer used anywhere. Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
5edd7b8c46bbbaa59a421aa2c082374fc7dc101f |
|
12-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: define _MESA_NEW_SEPARATE_SPECULAR This will replace the soon-to-be-removed _DD_NEW_SEPARATE_SPECULAR flag. Note: there's a similar composite _MESA_NEW_NEED_EYE_COORDS flag set already. Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
41308d969921d28a3159099420c145d2dcf10fe6 |
|
04-May-2011 |
nobled <nobled@dreamwidth.org> |
mesa: add struct for managing client debug namespaces The final piece of the puzzle for GL_ARB_debug_output.
/external/mesa3d/src/mesa/main/mtypes.h
|
4667cb2162d02f5b0fe620a5394aee92c725fb86 |
|
02-May-2011 |
nobled <nobled@dreamwidth.org> |
mesa: add yet more context fields for GL_ARB_debug_output
/external/mesa3d/src/mesa/main/mtypes.h
|
76414cded8dcfc274fe47f347c64986680e8b95a |
|
02-May-2011 |
nobled <nobled@dreamwidth.org> |
mesa: add message-toggle booleans for GL_ARB_debug_output
/external/mesa3d/src/mesa/main/mtypes.h
|
ed087ee49808a692ce8a0389fcf6c9da27f99d8e |
|
01-May-2011 |
nobled <nobled@dreamwidth.org> |
mesa: add infrastructure for GL_ARB_debug_output Marek v2: don't add the extension to extensions.c yet
/external/mesa3d/src/mesa/main/mtypes.h
|
ba1d921bdf7a15fcc4a4e3162ea6fe9810f233d6 |
|
29-Feb-2012 |
Mathias Fröhlich <Mathias.Froehlich@gmx.net> |
mesa: Push the shine table into the tnl module. All users of the shine table outside of the tnl module are gone. Move the implementation into the tnl module and prefix the public functions with _tnl. Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/mtypes.h
|
619baeae3ca5b9f993d1c6ddd9c4c0541e5a4f11 |
|
29-Feb-2012 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Remove gl_light_attrib::_Flags. This variable is only used locally in _mesa_update_lighting. Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/mtypes.h
|
6b48d7e83d4ed09ae8db0da2f8a100d68d6e5e66 |
|
29-Feb-2012 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Remove _CosCutoffNeg from light state. It is only used as a temporary variable during computation of _CosCutoff. So, don't store it. Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/mtypes.h
|
84870e215667c999202be31057df6e31a0389bb7 |
|
28-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: reorder things in mtypes.h Move structs, enums, etc so they're in more logical order. In particular, the shader and transform feedback-related structs/enums were pretty scattered around.
/external/mesa3d/src/mesa/main/mtypes.h
|
c04db7f7fad883891084d7f2e9a0040a17c48fe8 |
|
04-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix _mesa_get_fallback_texture() to handle all texture targets Previously, this function only handled 2D textures. The fallback texture is used when we try to sample from an incomplete texture object. GLSL says sampling an incomplete texture should return (0,0,0,1). v2: use a 1-texel texture image, per José. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
5ee8969b11b8018ed3e1e785f34a6b8fe6abf0ff |
|
10-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused gl_shared_state::DriverData field
/external/mesa3d/src/mesa/main/mtypes.h
|
3e59fb570ae82d988a90d341d1ffdd5c3ece1aa4 |
|
10-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused gl_pixelmap::Map8[] array Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
ae509f88a54b9cc32f16099109330f2792593c83 |
|
09-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_light::_SpotExpTable field Just use pow() instead. Spot lights aren't too common and fixed-function lighting isn't as important as it used to me. This saves 32KB per context. Each table was 4KB and there's 8 lights.
/external/mesa3d/src/mesa/main/mtypes.h
|
068b9dc26882b85ff0c7d0894b4c11791a5b641e |
|
09-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix comment typo
/external/mesa3d/src/mesa/main/mtypes.h
|
e06b1c65bc576a9b239841cbe3a8a8c2d6a8d09f |
|
31-Jan-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Set the gl_array_object::ARBsemantics flag at the right time With 0963990 the flag was only set when Bind created the object. In all cases where ::ARBsemantics could be true, this path never happened. Instead, add a _Used flag to track whether a VAO has ever been bound. On the first Bind, set the _Used flag, and set the ARBsemantics flag to the correct value. NOTE: This is a candidate for release branches. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45423
/external/mesa3d/src/mesa/main/mtypes.h
|
b9e27cc1426e3242a003fa5ae91fab330694009a |
|
18-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add a flag for forcing all GLSL extensions to "warn". NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
69c8f468ba93dc2999d4fde8909f8051e910929a |
|
24-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: remove ctx->Const.sRGBCapable It always had the same value as ctx->Extensions.EXT_framebuffer_sRGB. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1da7d6c919e9a6d756b208caa6685bfa1146b543 |
|
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: update comments for gl_renderbuffer
/external/mesa3d/src/mesa/main/mtypes.h
|
1888dd52a32e114e7b3796db5a6b44921a2e04d4 |
|
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa/swrast/drivers: remove obsolete gl_renderbuffer fields This removes the last of the legacy fields from gl_renderbuffer.
/external/mesa3d/src/mesa/main/mtypes.h
|
59a5b5a193d5d9c5776aa586b34657b6e315479d |
|
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_renderbuffer::Wrapped There's no such thing as renderbuffer wrappers anymore.
/external/mesa3d/src/mesa/main/mtypes.h
|
7a36345f70a0b8ac2d480bb52eb2c74c2be5a978 |
|
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: rename gl_renderbuffer::Data to Buffer To better indicate that this pointer to the malloc'd memory.
/external/mesa3d/src/mesa/main/mtypes.h
|
f9874feef4d8952df5054bd8e8f4e0deda4ef44f |
|
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_renderbuffer::DataType
/external/mesa3d/src/mesa/main/mtypes.h
|
1e1b5cb01a10e39d01923e3c7e989c44210950cd |
|
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_renderbuffer:RowStride field
/external/mesa3d/src/mesa/main/mtypes.h
|
82846fea4d042466ccfd5b3c86d98e856086cc05 |
|
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: finally, remove the GetRow/PutRow/etc functions
/external/mesa3d/src/mesa/main/mtypes.h
|
827c1d66f671e50d9d96277b1fd3a59309626f66 |
|
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add new gl_renderbuffer fields These are temporary, actually, but they'll make follow-on work easier to implement in a step-by-step manner. Eventually the Map and RowStrideBytes fields will go into a new swrast_renderbuffer type, but adding that type now would involve touching a _lot_ of code that'll eventually be removed. The fields marked as obsolete will go away completely at some point.
/external/mesa3d/src/mesa/main/mtypes.h
|
09639901530da7df7347428512c2bee86af1ef8e |
|
23-Jan-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Rename gl_array_object::VBOonly to ::ARBsemantics There are more differences between Apple and ARB than just requiring that all arrays be stored in VBOs. Additional uses will be added in following commits. Also, set the flag at Bind time instead of Gen time. The ARB_vao spec specifies that behavior. NOTE: This is a candidate for release branches. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
d540af554adfe302387014c0f46d6ac3aaa75121 |
|
20-Jan-2012 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
mesa: allocate transform_feedback_info::Outputs array dynamically The nvc0 gallium driver is advertising 128 MAX_INTERLEAVED_COMPS which made it always assert in the linker when TFB was used since the Outputs array was smaller than that maximum. v2: added assertions NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Paul Berry <stereotype441@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
2a207c4bf95312b68093280b97229cc4316f5724 |
|
29-Dec-2011 |
Mathias Froehlich <Mathias.Froehlich@web.de> |
mesa: Introduce enabled bitfield helper functions. Depending on the installed shader type, different arrays are used from gl_array_object. Provide helper functions that compute the bitmask of these arrays that are finally enabled for a given shader type. The will be used in a followup change. Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
f60e892c5017f66282080983da87f638d13917c5 |
|
29-Dec-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Use BITFIELD64_RANGE for VERT_BIT_*_ALL. Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
6c0df75803e1944f82a1468dcca47d23de82ea6b |
|
15-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
linker: Calculate used samplers and shadow samplers in the linker It used to be done in ir_to_mesa, and that was kind of a bad place. I didn't change st_glsl_to_tgsi because there is some strange stuff happening in the code that generates glDrawPixels shaders. It looked like this would break horribly if I touched anything. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
6a992c3288b6f7a5d94172c9ad1908e71e58233e |
|
15-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
linker: Calculate the sampler to texture target mapping during linking Track the calculated data in gl_shader_program instead of the individual assembly shaders. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
b527dd65c830a2b008816cf390d5be906e29bb23 |
|
15-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Track fixed-function fragment shader as a shader Previously the fixed-function fragment shader was tracked as a gl_program. This means that it shows up in the driver as a Mesa IR program instead of as a GLSL IR program. If a driver doesn't generate Mesa IR from the GLSL IR, that program is empty. If the program is empty there is either no rendering or a GPU hang. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Acked-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
642e5b413e0890b2070ba78fde42db381eaf02e5 |
|
04-Jan-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa: Fix transform feedback of unsubscripted gl_ClipDistance array. On drivers that set gl_shader_compiler_options::LowerClipDistance (for example i965), we need to handle transform feedback of gl_ClipDistance specially, to account for the fact that the hardware represents it as an array of vec4's rather than an array of floats. The previous way this was accounted for (translating the request for gl_ClipDistance[n] to a request for a component of gl_ClipDistanceMESA[n/4]) doesn't work when performing transform feedback on the whole unsubscripted array, because we need to keep track of the size of the gl_ClipDistance array prior to the lowering pass. So I replaced it with a boolean is_clip_distance_mesa, which switches on the special logic that is needed to handle the lowered version of gl_ClipDistance. Fixes Piglit tests "EXT_transform_feedback/builtin-varyings gl_ClipDistance[{1,2,3,5,6,7}]-no-subscript". Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
c87247f6a8c5505fea3fa29dac372f9f5316a118 |
|
06-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_framebuffer:_DepthBuffer, _StencilBuffer fields These were used by swrast to make a combined depth+stencil buffer look like separate depth and stencil buffers. But that's no longer needed after rewriting the depth/stencil code in swrast. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
2169331d40e915d0d1065477a5c81d59f222a5c8 |
|
27-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Add gl_transform_feedback_info::ComponentOffset. When using transform feedback, there are three circumstances in which it is useful for Mesa to instruct a driver to stream out just a portion of a varying slot (rather than the whole vec4): (a) When a varying is smaller than a vec4, Mesa needs to instruct the driver to stream out just the first one, two, or three components of the varying slot. (b) In the future, when we implement varying packing, some varyings will be offset within the vec4, so Mesa will have to instruct the driver to stream out an arbitrary contiguous subset of the components of the varying slot (e.g. .yzw or .yz). (c) On drivers that set gl_shader_compiler_options::LowerClipDistance, if the client requests that an element of gl_ClipDistance be streamed out using transform feedback, Mesa will have to instruct the driver to stream out a single component of one of the gl_ClipDistance varying slots. Previous to this patch, only (a) was possible, since gl_transform_feedback_info specified only the number of components of the varying slot to stream out. This patch adds gl_transform_feedback_info::ComponentOffset, which indicates which components should be streamed out. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
501e2e3b6d64de9937d397b49ad3930d4bac3083 |
|
03-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Remove the dead Varyings list in the program. Reviewed-by: Paul Berry <stereotype441@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
9d36c96d6ec9f2c05c8e0b9ef18c5462cddee8c1 |
|
03-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fix glGetTransformFeedbackVarying(). The current implementation was totally broken -- it was looking in an unpopulated structure for varyings, and trying to do so using the current list of varying names, not the list used at link time. v2: Fix leaking of memory into the program per re-link. Reviewed-by: Paul Berry <stereotype441@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
ebfad9f6a125738b9bfc5d5f7d09a8b57856674a |
|
30-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Check that all buffers are bound in BeginTransformFeedback. From the EXT_transform_feedback spec: The error INVALID_OPERATION is generated by BeginTransformFeedbackEXT if any transform feedback buffer object binding point used in transform feedback mode does not have a buffer object bound. This required adding a new NumBuffers field to the gl_transform_feedback_info struct, to keep track of how many transform feedback buffers are required by the current program. Fixes Piglit tests: - EXT_transform_feedback/api-errors interleaved_unbound - EXT_transform_feedback/api-errors separate_unbound_0_1 - EXT_transform_feedback/api-errors separate_unbound_0_2 - EXT_transform_feedback/api-errors separate_unbound_1_2 Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
50e0091a9d70f9e6383ad322d4df7576bd7c38f7 |
|
22-Dec-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Convert RENDERINPUTS* macros to GLbitfield64. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Brian Paul <brianp@vmare.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
31bf243a92454758fb4b8efc6bd8ccac99b67b6e |
|
26-Dec-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: remove leftovers from color indexed rendering. Remove gl_light::_dli and gl_light::_sli. Both are only used for a value previously used in color indexed rendering. Also both variables are only used and never written. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/main/mtypes.h
|
7a7b521ff255f5511b6f42becf603c6893f8a51e |
|
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_renderbuffer::PutRowRGB() No longer used anywhere. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
fc41473b9f7d1171a2921a825807889b8fcbcaaf |
|
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_renderbufer::PutMonoRow() and PutMonoValues() The former was only used for clearing buffers. The later wasn't used anywhere! Remove them and all implementations of those functions. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
d44878e754e65550c0725feb76fe0cbab0ae5d93 |
|
21-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Add _NEW_RASTERIZER_DISCARD as synonym for _NEW_TRANSFORM. This makes it easier to keep track of which dirty bits correspond to which pieces of context, since it makes _NEW_RASTERIZER_DISCARD correspond with ctx->RasterDiscard. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
aee96806f049c17384a8edc11acce76257d98a57 |
|
21-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Move RasterDiscard to toplevel of gl_context. Previously we were storing the RasterDiscard flag (for GL_RASTERIZER_DISCARD) in gl_context::TransformFeedback. This was confusing, because we use the _NEW_TRANSFORM flag (not _NEW_TRANSFORM_FEEDBACK) to track state updates to it, and because rasterizer discard has effects even when transform feedback is not in use. This patch makes RasterDiscard a toplevel element in gl_context rather than a subfield of gl_context::TransformFeedback. Note: We can't put RasterDiscard inside gl_context::Transform, since all items inside gl_context::Transform need to be pieces of state that are saved and restored using PushAttrib and PopAttrib. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
942d452047431f7463d3fad5e7cb92dfd81fd0ac |
|
06-Dec-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Record transform feedback strides/offsets in linker output. This patch adds two new fields to the gl_transform_feedback_info struct: - BufferStride records the total number of components (per vertex) that transform feedback is being instructed to store in each buffer. - Outputs[i].DstOffset records the offset within the interleaved structure of each transform feedback output. These values are needed by the i965 gen6 and r600g back-ends, so it seems better to have the linker provide them rather than force each back-end to compute them independently. Also, DstOffset helps pave the way for supporting ARB_transform_feedback3, which allows the transform feedback output to contain holes between attributes by specifying gl_SkipComponents{1,2,3,4} as the varying name. Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
14bb957b996dcc5392b8fa589bd3ffa5c55cb6b4 |
|
09-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement DrawTransformFeedback from ARB_transform_feedback2 It's like DrawArrays, but the count is taken from a transform feedback object. This removes DrawTransformFeedback from dd_function_table and adds the same function to GLvertexformat (with the function parameters matching GL). The vbo_draw_func callback has a new parameter "struct gl_transform_feedback_object *tfb_vertcount". The rest of the code just validates states and forwards the transform feedback object into vbo_draw_func.
/external/mesa3d/src/mesa/main/mtypes.h
|
df809ae92343bb83c162ea4c807cefb67686717d |
|
10-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: add const flags to skip MaxVarying and MaxUniform linker checks (v2) This is only temporary until a better solution is available. v2: print warnings and add gallium CAPs Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
cbd65fe14917def9c0f401c973394d6456cbe83b |
|
10-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: update comments for _DepthBuffer, _StencilBuffer fields Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
a98ceee0ee3692783047c6f8f9f6bf6afbf4dd3b |
|
22-Nov-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Track changes to transform feedback state. This patch adds a new bit to the ctx->NewState bitfield, _NEW_TRANSFORM_FEEDBACK, to track state changes that affect ctx->TransformFeedback. This bit can be used by driver back-ends to avoid expensive recomputations when transform feedback state has not been modified. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
d4a38e86d4b4d66cca20ee63222f940cb73fa709 |
|
28-Nov-2011 |
Chia-I Wu <olv@lunarg.com> |
mesa: add support for GL_OES_compressed_ETC1_RGB8_texture Add support for GL_OES_compressed_ETC1_RGB8_texture to core mesa. There is no driver support yet. Unlike desktop GL compressed texture formats, GLES compressed texture formats usually can only be used with glCompressedTexImage2D. All other gl*Tex*Image* functions are updated to check for that. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
762c9766c93697af8d7fbaa729aed118789dbe8e |
|
31-Oct-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Use VERT_ATTRIB_* indexed array in gl_array_object. Replace the distinct struct gl_client_array members in gl_array_object by an array of gl_client_arrays indexed by VERT_ATTRIB_*. Renumber the vertex attributes slightly to keep the old semantics of the distinct array members. Make use of the upper 32 bits in VERT_BIT_*. Update all occurances of the distinct struct members with the array equivalents. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
dca6a28a14f22d77273d79d44f57b0d853c0242d |
|
31-Oct-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Make gl_program::InputsRead 64 bits. Make gl_program::InputsRead a 64 bits bitfield. Adapt the intel and radeon driver to handle a 64 bits InputsRead value. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
f364ac1da10ff67eba5196c1074aff579864f741 |
|
31-Oct-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Make gl_array_object::_Enabled 64 bits. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
104b81def4c09f3012e44778d104f00ff87dd4f0 |
|
31-Oct-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Replace _NEW_ARRAY_* bits with VERT_BIT_* Consolidate the two distinct set of flags to use VERT_BIT_*. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
b57101302d832f890b9a3b228513d930d91e1de0 |
|
31-Oct-2011 |
Mathias Fröhlich <Mathias.Froehlich@web.de> |
mesa: Introduce more symbolic VERT_{ATTRIB,BIT}* defines. Introduce a set of defines for VERT_ATTRIB_* and VERT_BIT_* that will be used in the followup patches. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
a0a5bd4bb30a73c10b02c3c3b914940a03f9b790 |
|
23-Nov-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: move ElementArrayBufferObj to gl_array_object According opengl spec 4.2.pdf table 6.12 (Vertex Array Object State) at page 515, the element buffer object is listed in vertex array object. So, move the ElementArrayBufferObj inside gl_array_object to make element buffer object per-vao. This would fix most of(3 left) intel oglc vao test fail NOTE: this is a candidate for the 7.11 branch. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
5c84e961e3984ff7116f14a630b2984c5b97413d |
|
28-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused gl_texture_object::DriverData field
/external/mesa3d/src/mesa/main/mtypes.h
|
bbcb648bc2f45dd85e33c7301527c8f6d97cbce6 |
|
19-Nov-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: rename the AMD_conservative_depth extension flag to ARB Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
ec174a424489664626796126f937fbce3e7d8cd8 |
|
18-Nov-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: set the gl_FragDepth layout in the GLSL linker Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
6d68855df133bdd4891e8aa428787b520739e0fe |
|
11-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: replace GLstencil with GLubyte
/external/mesa3d/src/mesa/main/mtypes.h
|
6ac895a664b25eb6252f33d5cfb0e9dd33190490 |
|
08-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
linker: Count the number of uniform components used by a shader during linking Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
812aa8839388042609f65ed00ae4fbfdb60a11d6 |
|
08-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
linker: Count the number of samplers used by a shader during linking Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
919c53e87a1f6f5322bc1f1486bb3e6b954b00d5 |
|
08-Nov-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Make gl_VertexID be a system value like gl_InstanceID. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
871ddb919b424293894a23a8f83200fed572d6a9 |
|
05-Nov-2011 |
Paul Berry <stereotype441@gmail.com> |
glsl: Assign transform feedback varying slots in linker. This patch modifies the GLSL linker to assign additional slots for varying variables used by transform feedback, and record the varying slots used by transform feedback for use by the driver back-end. This required modifying assign_varying_locations() so that it assigns a varying location if either (a) the varying is used by the next stage of the GL pipeline, or (b) the varying is required by transform feedback. In order to avoid duplicating the code to assign a single varying location, I moved it into its own function, assign_varying_location(). In addition, to support transform feedback in the case where there is no fragment shader, it is now possible to call assign_varying_locations() with a consumer of NULL. Reviewed-by: Marek Olšák <maraeo@gmail.com> Tested-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
63e7a4c6e5bf51d8090046ebc5adcb4207448565 |
|
09-Nov-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa,glsl,mapi: Put extern "C" { ... } where appropriate. Probably a several places missing, but enough to cover all headers (in)directly included by uniform_query.cpp, and fix the MSVC build.
/external/mesa3d/src/mesa/main/mtypes.h
|
b12b5d9ab5c0153c93ca5ad9cd93cb36e41be4eb |
|
05-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
linker: Use app-specified fragment data location during linking Fixes piglit's bindfragdata-link-error. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
be4524aeed7fb67bdc45861d299d4c5ca99c4d6c |
|
19-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
Delete code made dead by previous uniform related patches Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
9a21d4670ce88cd2476930f3c5f7945cc57579e8 |
|
18-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add structures for "new style" uniform tracking in shader programs Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
0c87f16817ff0bf1f05e0d634944fd47b097faee |
|
23-Oct-2011 |
Chia-I Wu <olv@lunarg.com> |
mesa: add support for GL_OES_EGL_image_external This is an OpenGL ES specific extension. External textures are textures that may be sampled from, but not be updated (no glTexSubImage* and etc.). The image data are taken from an EGLImage. Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
db73264e1471a594d49ca0bc397cbb6746ee1dce |
|
23-Oct-2011 |
Chia-I Wu <olv@lunarg.com> |
mesa: add GL_OES_EGL_image_external to the extension list Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
740467dd62962b4effdaf51e38edc032e2a39487 |
|
20-Sep-2011 |
Nicholas Miell <nmiell@gmail.com> |
mesa: Add the basics for the NV_fog_distance extension No driver implements it yet.
/external/mesa3d/src/mesa/main/mtypes.h
|
b296315881e4da60798e546f24c727a49deb9a89 |
|
31-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add new fields for GL_ARB_texture_storage
/external/mesa3d/src/mesa/main/mtypes.h
|
c488150dea083a9677429b4185c6b20d7facd52b |
|
21-Oct-2011 |
Paul Berry <stereotype441@gmail.com> |
glsl: Distinguish between no interpolation qualifier and 'smooth' Previously, we treated the 'smooth' qualifier as equivalent to no qualifier at all. However, this is incorrect for the built-in color variables (gl_FrontColor, gl_BackColor, gl_FrontSecondaryColor, and gl_BackSecondaryColor). For those variables, if there is no qualifier at all, interpolation should be flat if the shade model is GL_FLAT, and smooth if the shade model is GL_SMOOTH. To make this possible, I added a new value to the glsl_interp_qualifier enum, INTERP_QUALIFIER_NONE. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
cf45949d6a896651a5f3864d3b195e26d59eee74 |
|
26-Oct-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Expose GLSL interpolation qualifiers in gl_fragment_program. This patch makes GLSL interpolation qualifiers visible to drivers via the array InterpQualifier[] in gl_fragment_program, so that they can easily be used by driver back-ends to select the correct interpolation mode. Previous to this patch, the GLSL compiler was using the enum ir_variable_interpolation to represent interpolation types. Rather than make a duplicate enum in core mesa to represent the same thing, I moved the enum into mtypes.h and renamed it to be more consistent with the other enums defined there. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
9c4b02528752eb6392009e41025202fc9f9ca5b3 |
|
17-Oct-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Fold gallium's texture border stripping into a core Mesa option. We wanted to reuse this in the Intel driver. v2: Move the flag to ctx->Const Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1) Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
9ed88983b03114d66d527354248e26f77d8868b9 |
|
22-Oct-2011 |
Mathias Fröhlich <Mathias.Froehlich@gmx.net> |
mesa: Avoid ABA problem on buffer object bind. Make sure we do not run into the classic ABA problem on buffer object bind, reusing this name and may be never rebind since we get an new name that was just deleted and never rebound in between. The explicit rebinding to the debault object in the current context prevents the above in the current context, but another context sharing the same objects might suffer from this problem. Minor var renaming and comments edited by Brian. Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de> Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
6e0f9001fe3fb191c2928bd09aa9e9d05ddf4ea9 |
|
23-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_texture_image::Data, RowStride, ImageOffsets to swrast Only swrast and the drivers that fall back to swrast need these fields now. This removes the last of the fields related to software rendering from gl_texture_image.
/external/mesa3d/src/mesa/main/mtypes.h
|
57f7978b1de40be6eb138d391c8d9f95b68cbf62 |
|
22-Jul-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add a flag for shader programs to allow SSO linkage in GLES2. On converting fixed function programs to generate GLSL, the linker became cranky that we were trying to make something that wasn't a linked vertex+fragment program. Given that the Mesa GLES2 drivers also support desktop GL with EXT_sso, just telling the linker to shut up seems like the easiest solution.
/external/mesa3d/src/mesa/main/mtypes.h
|
bc4ef33108331db69ddfdbdd71546f4cb49ed809 |
|
14-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused gl_sampler_object::_CompleteTexture field
/external/mesa3d/src/mesa/main/mtypes.h
|
de772c402215b956ab3aa0875330fc1bf7cdf95b |
|
21-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Use gl_shader_program::_LinkedShaders instead of FragmentProgram Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
39348bf79fb247eec895c93e52f23afe138be46a |
|
20-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Use gl_shader_program::_LinkedShaders instead of GeometryProgram Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
010cc547ca8c1fb2107106b0ad0de560780ce9aa |
|
20-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Use gl_shader_program::_LinkedShaders instead of VertexProgram Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
8c3b5cf943808faa7c57c19a2b4c7b6fffe653d6 |
|
07-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: update gl_texture_image comments
/external/mesa3d/src/mesa/main/mtypes.h
|
0214712c3074dfef5569d032a00276182c4185bf |
|
06-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove some unneeded forward struct declarations
/external/mesa3d/src/mesa/main/mtypes.h
|
2c5bb57b509d03f5ae380524c61e1c0702d9e1b2 |
|
06-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused gl_texture_image::DriverData field Was only used by some older/removed DRI drivers.
/external/mesa3d/src/mesa/main/mtypes.h
|
d912669034eb7bf5c162358a7a574ec7a4c963c7 |
|
26-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
i965 Gen6: Implement gl_ClipVertex. This patch implements proper support for gl_ClipVertex by causing the new VS backend to populate the clip distance VUE slots using VERT_RESULT_CLIP_VERTEX when appropriate, and by using the untransformed clip planes in ctx->Transform.EyeUserPlane rather than the transformed clip planes in ctx->Transform._ClipUserPlane when a GLSL-based vertex shader is in use. When not using a GLSL-based vertex shader, we use ctx->Transform._ClipUserPlane (which is what we used prior to this patch). This ensures that clipping is still performed correctly for fixed function and ARB vertex programs. A new function, brw_select_clip_planes() is used to determine whether to use _ClipUserPlane or EyeUserPlane, so that the logic for making this decision is shared between the new and old vertex shaders. Fixes the following Piglit tests on i965 Gen6: - vs-clip-vertex-const-accept - vs-clip-vertex-const-reject - vs-clip-vertex-different-from-position - vs-clip-vertex-equal-to-position - vs-clip-vertex-homogeneity - vs-clip-based-on-position - vs-clip-based-on-position-homogeneity - clip-plane-transformation clipvert_pos - clip-plane-transformation pos_clipvert - clip-plane-transformation pos Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chad Versace <chad@chad-versace.us>
/external/mesa3d/src/mesa/main/mtypes.h
|
7d68c639ddb0f9df45cf698b8e8227bf1860b5fe |
|
26-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Add a gl_vert_result for gl_ClipVertex. Before this patch, clip planes didn't work properly in Mesa when using vertex shaders, because Mesa assigned both gl_ClipVertex and gl_Position to the same gl_vert_result (VERT_RESULT_HPOS). As a result, backends couldn't distinguish between the two variables, so any shader that wrote different values to them would fail to work properly. This patch paves the way for proper support of gl_ClipVertex by creating a new enumerated value in gl_vert_result for it (VERT_RESULT_CLIP_VERTEX). After this patch, a back-end may add support for gl_ClipVertex using the following algorithm: - If using a user-supplied GLSL vertex shader: - If the bit corresponding to VERT_RESULT_CLIP_VERTEX is set in gl_program::OutputsWritten: - Clip using the vertex shader output VERT_RESULT_CLIP_VERTEX and the clip planes defined in gl_context::Transform.EyeUserPlane. - Else: - Clip using the vertex shader output VERT_RESULT_HPOS and the clip planes defined in gl_context::Transform.EyeUserPlane. - Else (either using fixed function or an ARB vertex program): - Clip using the vertex shader output VERT_RESULT_HPOS and the clip planes defined in gl_context::Transform._ClipUserPlane (*) where (*) represents the normal Mesa behavior before this patch. An example of implementing the above algorithm can be found in the patch that follows this one, which implements gl_ClipVertex in i965 Gen6. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
35613afee3e038b70ada210b2dfbbc9abc883f4f |
|
19-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove unused gl_program::Attributes Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
a339ee8d852c08ce7af51a518e0b18b9f0ab324c |
|
19-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove unused gl_shader_program::Attributes Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
015d4f61ef9116c9e844299ab9f2b15c653c0450 |
|
18-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add gl_shader_program::AttributeBindings This currently mirrors the state tracking gl_shader_program::Attributes, but I'm working towards eliminating that. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
763b00f2c596e167299e81684763b52422956dfc |
|
03-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove ARB_draw_buffers extension enable flag All drivers in Mesa have supported this extension for eons. This extension is an optional features in desktop OpenGL (via GL_ARB_draw_buffers) and OpenGL ES 2.x (via GL_NV_draw_buffers). The extension is not usable in OpenGL ES 1.x. There is no glDrawBuffers* entry point in OpenGL ES 1.x contexts, and glGet*v generate errors when MAX_DRAW_BUFFERS or DRAW_BUFFERi is queried. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
9520f483b8f1e45fa474674b415554988de5d8d3 |
|
01-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: s/INLINE/inline/ INLINE is still seen in some files (some generated files, etc) but this is a good start. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
cd76f114e608ffb93a03ac3ffc3e11876d6a057e |
|
16-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove unused field gl_program::Varying Lots of things set and copy this field around, but nothing uses it. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
ed48df84246caa40398ccd6a822cbd9b650f8282 |
|
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove ARB_texture_mirrored_repeat extension enable flag All drivers remaining in Mesa support this extension. This extension is either required or optional features in desktop OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x. This extension was previously not supported on mach64, mga, and savage (Savage3D and other pre-Savage4). Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
b0824bd860f6d4b3ad28fc142c2eebd840ed6173 |
|
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove EXT_blend_subtract extension enable flag All drivers remaining in Mesa support this extension. This extension is either required or optional features in desktop OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x. This extension was previously not supported on i810, mach64, mga, savage, sis, and tdfx (Voodoo Banshee and Voodoo3). Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
1d5e49bf05f698374257707e2303b266d2a864da |
|
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove EXT_stencil_wrap extension enable flag All drivers remaining in Mesa support this extension. This extension is either required or optional features in desktop OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x. This extension was previously not supported on mach64. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
f9a2352c9569ef562e9507bfe09358f236aaf4b7 |
|
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove EXT_texture_lod_bias extension enable flag All drivers remaining in Mesa support this extension. This extension is either required or optional features in desktop OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x. This extension was previously not supported on mach64, mga, or r128. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
bde8bd99b64876b47f9d335320eb1ad5b3be8d9d |
|
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove EXT_texture_env_combine extension enable flag All drivers remaining in Mesa support this extension. This extension is either required or optional features in desktop OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x. The existing support is already partially broken in Mesa (e.g., querying GL_TEXTURE_ENV_MODE in OpenGL ES 2.x). This patch does not change the situation in any way. It looks like the only hardware supported by Mesa that cannot do ARB_texture_env_combine is pre-NV10 NVIDA chips. It appears that these chips cannot do the GL_SUBTRACT mode. Based on looking at older copies of nvOpenGLspecs.pdf found on the net, NVIDIA never supported ARB_texture_env_combine on those chips either. This extension was previously not supported on mach64, mga (G200), r128, savage, sis, and tdfx (Voodoo Banshee and Voodoo3). Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
5c4f914f9a883be67a93a78c853de103bb6a2d2a |
|
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove EXT_texture_env_add extension enable flag All drivers remaining in Mesa support this extension. This extension is either required or optional features in desktop OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x. The existing support is already partially broken in Mesa (e.g., querying GL_TEXTURE_ENV_MODE in OpenGL ES 2.x). This patch does not change the situation in any way. This extension was previously not supported on mach64, mga (G200), savage (Savage3D and other pre-Savage4), sis, and tdfx (Voodoo Banshee). Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
677743f7d598a599281d420a60e45be9f6af584f |
|
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove ARB_multitexture extension enable flag All drivers remaining in Mesa support this extension. This extension is either required or optional features in desktop OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x. The existing support is already partially broken in Mesa (e.g., querying GL_CLIENT_ACTIVE_TEXTURE in OpenGL ES 2.x). This patch does not change the situation in any way. This extension was previously not supported on i810, mga (G200), or tdfx (Voodoo Banshee). Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
e0553f6d4b9ec524bffd94dc6f72efe4ea50a347 |
|
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove EXT_abgr extension enable flag All drivers remaining in Mesa support this extension. This extension is required in desktop OpenGL. The existing support is already partially broken in Mesa (e.g., using format=GL_ABGR for glTexImage2D in OpenGL ES 2.x). This patch does not change the situation in any way. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
29386d1f2d60e905d63f4c5f045ff3794b2ff99c |
|
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove EXT_bgra and EXT_texture_format_BGRA8888 extension enable flags All drivers remaining in Mesa support this extension. This extension is either required or optional features in desktop OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x. EXT_texture_format_BGRA8888 is mostly a subset of EXT_bgra. The only difference seems to be that EXT_texture_format_BGRA8888 allows GL_BGRA as an internal format to glTexImage2D and friends. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
425284e88244e63a627b3fc4ae4514f064c71a83 |
|
24-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove OES_read_format extension enable flag This extension is always enabled, and drivers do not have to option to disable it. I kept this one separate from the others because I was a little uncertain about the changes to get.c. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
e5301b82ff66f3acd36d9e8467ee73a6a2573695 |
|
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove all mention of EXT_vertex_array_set Mesa has never any portion of this extension, and neither has any other vendor. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
34eae1c72a9b3a8eb0634cda52fca0208cd2f40d |
|
31-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove many extension enable flags The following extensions are always enabled, and drivers do not have to option to disable them: GL_ARB_multisample GL_ARB_texture_compression GL_ARB_vertex_buffer_object / GL_OES_mapbuffer GL_EXT_copy_texture GL_EXT_multi_draw_arrays / GL_SUN_multi_draw_arrays GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_edge_clamp / GL_SGIS_texture_edge_clamp GL_EXT_vertex_array GL_SGIS_generate_mipmap This set was picked because the are all either required or optional features in desktop OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x. The existing support for some is already partially broken in Mesa (e.g., proxy texture targets in OpenGL ES). This patch does not change the situation in any way. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
3d7c5a4f6f4155e249f6eac76d861eb1bc59eb69 |
|
19-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: set up gl_vert_result and gl_frag_attrib values for gl_ClipDistance. This patch assigns enumerated values for gl_ClipDistance in the gl_vert_result and gl_frag_attrib enums, so that driver back-ends can assign gl_ClipDistance to the appropriate hardware registers. It also adjusts the functions _mesa_vert_result_to_frag_attrib() and _mesa_frag_attrib_to_vert_result() (which translate between the two enums) to correctly translate the new enumerated values. Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1ad54ae0b1713e399c5db43d0eba87861075b4c7 |
|
17-Sep-2011 |
Paul Berry <stereotype441@gmail.com> |
mesa: Add a flag to indicate whether a program uses gl_ClipDistance. GLSL 1.30 requires us to use gl_ClipDistance for clipping if the vertex shader contains a static write to it, and otherwise use user-defined clipping planes. Since the driver needs to behave differently in these two cases, we need a flag to record whether the shader has written to gl_ClipDistance. The new flag is called UsesClipDistance. We initially store it in gl_shader_program (since that is the data structure that is available when we check to see whethe gl_ClipDistance was written to), and we later copy it to a flag with the same name in gl_vertex_program, since that is a more convenient place for the driver to access it (in i965, at least). Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
c06e32596735074536b0e613cbddb1c5fd7b367a |
|
12-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
glsl: Implement a lowering pass for gl_ClipDistance. In i965 GEN6+ (and I suspect most other hardware), gl_ClipDistance needs to be laid out as a pair of vec4's (the first containing clip distances 0-3, and the second containing clip distances 4-7). However, it is declared in GLSL as an array of 8 floats. This lowering pass acts at the GLSL level, modifying the declaration of gl_ClipDistance so that it is an array of vec4's rather than an array of floats, and renaming it to gl_ClipDistanceMESA. In addition, it modifies all accesses to the array so that they access the appropiate component of one of the vec4's. Since some hardware may not internally represent gl_ClipDistance as a pair of vec4's, this lowering pass is optional. To enable it, set the LowerClipDistance flag in gl_shader_compiler_options to true. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
9e9a76eea17bc92c8ac74323c99e10b9480ee583 |
|
22-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove support for GL_APPLE_client_storage extension AFAIK, there are few users of this extension and I can see a couple reasons why this is probably broken in Mesa anyway. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
980f6f1b37ca88529b3e000235156eab93254fac |
|
22-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_texture_image::Width/Height/DepthScale fields to swrast These fields were only used for swrast so move them into swrast_texture_image. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
eaf376ba354db11f7729452060570b48a029c9a0 |
|
22-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_texture_image::_IsPowerOfTwo into swrast It's only used by swrast. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
b68e3422ed9a0f16c7015940ffd5ac0361f0ca42 |
|
09-Sep-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add a context flag indicating whether two-sided lighting should happen. The 965 driver was ignoring the VERTEX_PROGRAM_TWO_SIDE flag and only looking at fixed-function state.
/external/mesa3d/src/mesa/main/mtypes.h
|
4d53fb525db56d0695eaa5b91bd8f0cefbc25866 |
|
18-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move last bits of GLchan stuff into swrast This removes the last remnants of the GLchan datatype and associated macros out of core Mesa and into swrast.
/external/mesa3d/src/mesa/main/mtypes.h
|
2836aab2031d5b6926923fbc70f867ec638301bd |
|
09-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Use ColorLogicOpEnabled instead of _LogicOpEnabled Since GL_EXT_blend_logic_op is removed, _LogicOpEnabled and ColorLogicOpEnabled always have the same value. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
113e8167de4500ea8b12176a938cbc4753f3a923 |
|
09-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove support for GL_EXT_blend_logic_op Support is removed for four reasons: 1. The implementation was broken with respect to separate blend equations. The GL_EXT_blend_equation_separate spec says: "If EXT_blend_logic_op and EXT_blend_equation_separate are both supported, the logic op blend equation should be supported separately for RGB and alpha as with the other blend equation modes." But Mesa's implementation of GL_LOGIC_OP specifically forbids this. 2. No hardware supported by Mesa can support separate blend equations involving GL_LOGIC_OP. 3. No applications could be found that use this extension. 4. No other Linux OpenGL drivers support this extension. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Marek Olšák <maraeo@gmail.com> Cc: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
a1661dc8957a35899d653e9fffd97f166c56be56 |
|
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_texture_image::FetchTexel fields to swrast This also involves passing swrast_texture_image instead of gl_texture_image into all the fetch functions.
/external/mesa3d/src/mesa/main/mtypes.h
|
4d21ecde7702852f30a4f3b90af0e9811b230c63 |
|
14-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: white space, comment fixes in mtypes.h "vale" was a typo. Fix that and do some other minor clean-ups.
/external/mesa3d/src/mesa/main/mtypes.h
|
093dc9e548537e6c77e33064a584f849ad90dfa5 |
|
12-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
mesa: introduce a clear color union to be used for int/unsigned buffers This introduces a new gl_color_union union and moves the current ClearColorUnclamped to use it, it removes current ClearColor completely and renames CCU to CC, then all drivers are modified to expected unclamped floats instead. also fixes st to use translated color in one place it wasn't. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1a65d098cea54352335460fedf97f705d20f2ab7 |
|
06-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: whitespace fixes, just to be consistent
/external/mesa3d/src/mesa/main/mtypes.h
|
51e7b058750cc480c296d45f773d7a5a662457f5 |
|
06-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: put _mesa_ prefix on vert_result_to_frag_attrib()
/external/mesa3d/src/mesa/main/mtypes.h
|
a794ad3709a6eb26bc96934203c20a8b3b8d8672 |
|
06-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix vert_result_to_frag_attrib() parameter type
/external/mesa3d/src/mesa/main/mtypes.h
|
37afceeee99264f93c0d3a588427a24218e2ec9d |
|
06-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: s/inline/INLINE/ to fix MSVC build
/external/mesa3d/src/mesa/main/mtypes.h
|
960f37a57a7fcbac213c0b4fb0daf2285a64bf97 |
|
29-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove unused struct gl_color_table Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
eba527bf9ffc2fd67c44fb77104107556f509b49 |
|
29-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove API facing bits of EXT_paletted_texture and EXT_shared_texture_palette This was also discussed at XDS 2010. However, actually making the change was delayed because several drivers still exposed these extensions to significant benefit (e.g., tdfx). Now that those drivers have been removed, this code can be removed as well. v2: A lot of bits that were missed in the previous patch have been removed. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
6489a1d5bab75589569658d374257bf23cb67a23 |
|
30-Aug-2011 |
Paul Berry <stereotype441@gmail.com> |
Refactor code that converts between gl_vert_result and gl_frag_attrib. Previously, this conversion was duplicated in several places in the i965 driver. This patch moves it to a common location in mtypes.h, near the declaration of gl_vert_result and gl_frag_attrib. I've also added comments to remind us that we may need to revisit the conversion code when adding elements to gl_vert_result and gl_frag_attrib. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
4e64cfbb4ec92877803e70257af8b97c484c00c0 |
|
05-Sep-2011 |
Bryan Cain <bryancain3@gmail.com> |
mesa: add a UniformBooleanTrue option Drivers supporting native integers set UniformBooleanTrue to the integer value that should be used for true when uploading uniform booleans. This is ~0 for Gallium and 1 for i965. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
488fe51cf823ccd137c667f1e92dd86f8323b723 |
|
01-Sep-2011 |
Bryan Cain <bryancain3@gmail.com> |
mesa: Replace the EmitNoIfs compiler flag with a MaxIfDepth flag. This is a better, more fine-grained way of lowering if statements. Fixes the game And Yet It Moves on nv50. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
a231d245514b43cf547ccb996b68efc0186e6821 |
|
15-Jul-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add gl_texture_image::Face, Level fields Several drivers have these fields in their subclasses of gl_texture_image. They'll be useful for core Mesa too... Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
01d81dedc795005ed235856ce762bb1981655716 |
|
15-Aug-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa, glsl_to_tgsi: Add new gl_context::NativeIntegers flag. Previously, native integer support was based on whether the driver advertised GLSL 1.30 or not. However, drivers that natively support integers may wish to do so for older GLSL versions as well. Adding this new opt-in flag allows them to do so. Currently disabled by default on all drivers, which was the existing behavior (no drivers currently implement GLSL 1.30). Fixes piglit tests on i965 with INTEL_GLSL_VERSION=130 set: - spec/glsl-1.10/fs-uniform-int-110.shader_test - spec/glsl-1.30/fs-uniform-int-130.shader_test (it was doubly converting the data) Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mtypes.h
|
69dc529da241747888efefdf0d3e58479dd6248c |
|
28-Jul-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Remove dead "MemPool" field of gl_shader_state.
/external/mesa3d/src/mesa/main/mtypes.h
|
86adc2b29effb573c18eb0de7016cef605ab1edc |
|
04-Jul-2011 |
Henri Verbeet <hverbeet@gmail.com> |
mesa: Allow sampling from units >= MAX_TEXTURE_UNITS in shaders. The total number of units used by a shader is limited to MAX_TEXTURE_UNITS, but the actual indices are only limited by MAX_COMBINED_TEXTURE_IMAGE_UNITS, since they're shared between vertex and fragment shaders. NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Henri Verbeet <hverbeet@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
f3f080e526017f9643fd25543b4e0039f1905f4b |
|
22-Jun-2011 |
Brian Paul <brianp@vmware.com> |
mesa: update comment for gl_texture_unit
/external/mesa3d/src/mesa/main/mtypes.h
|
1d4eb8d5d82fca2bc6689cff90a8b971feac8054 |
|
19-Oct-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Add ARB_shader_texture_lod to the extension list; off by default. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mtypes.h
|
a19c42ffc606b594558a0c4f981662442ad6bb83 |
|
03-May-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement AMD_seamless_cubemap_per_texture
/external/mesa3d/src/mesa/main/mtypes.h
|
6b329b9274b18c50f4177eef7ee087d50ebc1525 |
|
26-Apr-2011 |
Brian Paul <brianp@vmware.com> |
Squashed commit of the following: commit 864fe253b04105b7469e5f7b064dc37637b944f8 Author: Brian Paul <brianp@vmware.com> Date: Thu Apr 21 20:13:07 2011 -0600 mesa: s/exec/disp/ in _mesa_init_histogram_dispatch() This function isn't normally compiled (FEATURE_histogram). commit f4bf45e2b94b582cacd19cdca873c5be627e4250 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:58 2011 -0600 mesa: hook up GL_ARB_robustness dispatch functions ...and advertise the extension. Signed-off-by: Brian Paul <brianp@vmware.com> commit 2b89e38e5f572dc40cebc06381ae7c5d04386998 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:58 2011 -0600 mesa: regenerated API files for GL_ARB_robustness Signed-off-by: Brian Paul <brianp@vmware.com> commit 5d5ebfb7135cec9d833adef86cbf4d0f3d9beca8 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 glapi: add ARB_robustness xml Signed-off-by: Brian Paul <brianp@vmware.com> commit 0159d1d6d99f4bbc18381dc2081c20d3aff17ac9 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 mesa: implement GL_ARB_robustness functions Signed-off-by: Brian Paul <brianp@vmware.com> commit 938fd71f4c4742f274922d53492a7290ab8d9c9b Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 mesa: add context fields for GL_ARB_robustness Signed-off-by: Brian Paul <brianp@vmware.com> commit 72075137bc79e65be03dac7e97b6dba93c3a86a4 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 mesa: standardize more bounds-checking error messages Signed-off-by: Brian Paul <brianp@vmware.com> commit 32a3fc23746db49da903fbc08afa0135af3007d2 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 mesa: standardize some bounds-checking error messages Signed-off-by: Brian Paul <brianp@vmware.com> commit cecbf1f4d164207de373dec0cadee2e84e1f9656 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 mesa: add more bounds-checking support for client memory buffers Signed-off-by: Brian Paul <brianp@vmware.com> commit edc895b52383d5bd274422db56adead1d81daf5f Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 mesa: add bounds-checking support for client memory buffers Signed-off-by: Brian Paul <brianp@vmware.com> commit 3a96ef28a538f158a219b406cd090dee70470c85 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 mesa: use is_bufferobj() helper function Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
e4da46e007de5c83202976a12efb0e894494a354 |
|
21-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add some comments about FRAG_RESULT_COLOR vs FRAG_RESULT_DATAn. This came from reading what swrast does, and 965 now behaves the same and gallium appears to as well.
/external/mesa3d/src/mesa/main/mtypes.h
|
4d203a01e20dedcfaab09c18922e8ed9dcb39729 |
|
16-Apr-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Kill gl_fragment_program::FogOption with fire All drivers expect this to always be GL_NONE. Don't let there be any opportunity for a bad value to leak out and infect some unsuspecting driver. If any driver for hardware that had fixed-function per-fragment fog (i915 and perhaps some r300-ish) was ever going to add support, it would have done it by now. Reviewed-by: Eric Anholt <eric@anholt.net> Acked-by: Corbin Simpson <MostAwesomeDude@gmail.com> Acked-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
155200c15431f8364114d9a37ec527af81c773a5 |
|
15-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add a gl_renderbuffer.RowStride field like textures have. This will allow some drivers to reuse the core renderbuffer.c get/put row functions in place of using the spantmp.h macros. Note that unlike textures, we use a signed integer here to allow for handling FBO orientation. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
348ea34d0310cc862ad3c078d8703c6c1f0b602f |
|
15-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Repack single-byte fields in gl_renderbuffer. Cuts 8 out of 120 bytes in the struct. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
91226ce6487e9ea9c21f5a269f63cf98affa8ef4 |
|
15-Apr-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Remove renderbuffer deletion debug field. It has presumably served its purpose by now, and other object deletion doesn't do this. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
ecfaab88b2577bd0395bc05d75a036126806a9c4 |
|
10-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move sampler state into new gl_sampler_object type gl_texture_object contains an instance of this type for the regular texture object sampling state. glGenSamplers() generates new instances of gl_sampler_object which can override that state with glBindSampler().
/external/mesa3d/src/mesa/main/mtypes.h
|
874a2c0b7da62f4dd08dedcec221f55b22e40e95 |
|
06-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: core support for GL_ARB_texture_buffer_object No GLSL or driver support yet.
/external/mesa3d/src/mesa/main/mtypes.h
|
0be369975fdfa79bcb702d0c13aa0a221055f61b |
|
18-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: initial EXT_texture_snorm support The component ordering of some formats has been been reversed to match Gallium types.
/external/mesa3d/src/mesa/main/mtypes.h
|
e5c6a92a12b5cd7db205d72039f58d302b0be9d5 |
|
15-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement clamping controls (ARB_color_buffer_float) Squashed commit of the following: Author: Marek Olšák <maraeo@gmail.com> mesa: fix getteximage so that it doesn't clamp values mesa: update the compute_version function mesa: add display list support for ARB_color_buffer_float mesa: fix glGet query with GL_ALPHA_TEST_REF and ARB_color_buffer_float commit b2f6ddf907935b2594d2831ddab38cf57a1729ce Author: Luca Barbieri <luca@luca-barbieri.com> Date: Tue Aug 31 16:50:57 2010 +0200 mesa: document known possible deviations from ARB_color_buffer_float commit 5458935be800c1b19d1c9d1569dc4fa30a97e8b8 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Tue Aug 24 21:54:56 2010 +0200 mesa: expose GL_ARB_color_buffer_float commit aef5c3c6be6edd076e955e37c80905bc447f8a82 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Thu Aug 26 18:12:34 2010 +0200 mesa, mesa/st: handle read color clamping properly (I'll squash the st/mesa part to a separate commit. -Marek) We set IMAGE_CLAMP_BIT in the caller based on _ClampReadColor, where the operation mandates it. TODO: did I get the set of operations mandating it right? commit 3a9cb5e59b676b6148c50907ce6eef5441677e36 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Thu Aug 26 18:09:41 2010 +0200 mesa: respect color clamping in texenv programs (v2) Changes in v2: - Fix attributes other than vertex color sometimes getting clamped commit de26f9e47e886e176aab6e5a2c3d4481efb64362 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Thu Aug 26 18:05:53 2010 +0200 mesa: restore color clamps on glPopAttrib commit a55ac3c300c189616627c05d924c40a8b55bfafa Author: Luca Barbieri <luca@luca-barbieri.com> Date: Thu Aug 26 18:04:26 2010 +0200 mesa: clamp color queries if and only if fragment clamping is enabled commit 9940a3e31c2fb76cc3d28b15ea78dde369825107 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Wed Aug 25 00:00:16 2010 +0200 mesa: introduce derived _ClampXxxColor state resolving FIXED_ONLY To do this, we make ClampColor call FLUSH_VERTICES with the appropriate _NEW flag. We introduce _NEW_FRAG_CLAMP since fragment clamping has wide-ranging effects, despite being in the Color attrib group. This may be easily changed by s/_NEW_FRAG_CLAMP/_NEW_COLOR/g commit 6244c446e3beed5473b4e811d10787e4019f59d6 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Thu Aug 26 17:58:24 2010 +0200 mesa: add unclamped color parameters
/external/mesa3d/src/mesa/main/mtypes.h
|
12b9e079665915e610c1dbb5f830057bb319efbb |
|
23-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused _MESA_NEW_NEED_NORMALS
/external/mesa3d/src/mesa/main/mtypes.h
|
7ecb61c30c4984a8513b306b640f9d274d8ecf61 |
|
23-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove _MESA_NEW_TRANSFER_STATE
/external/mesa3d/src/mesa/main/mtypes.h
|
5fc5820cbc0faf57a48154466b4792294841a690 |
|
16-Mar-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa: Use typecast in BITFIELD64_BIT macro. Unsigned long is 32bit on several platforms (e.g., Windows), yielding 1UL << 32 to be zero. Note that BITFIELD64_BIT result is often assigned to variables of type GLbitfield, instead of GLbitfield64. That's probably wrong and should be addressed in a later change.
/external/mesa3d/src/mesa/main/mtypes.h
|
d029ba9ec0750f9ba3a6291745c986105b4ffbdb |
|
15-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use 1UL for 64-bit unsigned constant for C++ This fixes C++ warnings where BITFIELD64_BIT() is used.
/external/mesa3d/src/mesa/main/mtypes.h
|
867f9b07d42c2b49ddb9e5bb17f0ac5c4a80d8ac |
|
08-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: add NV_texture_barrier
/external/mesa3d/src/mesa/main/mtypes.h
|
07c420a3c6799a744088f1bbe1c1a5ff157a1771 |
|
13-Mar-2011 |
Eric Anholt <eric@anholt.net> |
Revert "mesa: Track a computed _CurrentFragmentProgram for current gl_shader_program" This reverts commit b4452c3baad6e0379eeb7f22f2e51d13999e1323.
/external/mesa3d/src/mesa/main/mtypes.h
|
b4452c3baad6e0379eeb7f22f2e51d13999e1323 |
|
12-Jan-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Track a computed _CurrentFragmentProgram for current gl_shader_program This is like how we track FragmentProgram._Current for the computed ARB fragment program for fixed function texenv, but this gives direct access to the gl_shader_program for drivers to codegen from, skipping ARB_fp.
/external/mesa3d/src/mesa/main/mtypes.h
|
e0e94026a0648d6b33d6b7cf2b9b01429cf945e4 |
|
11-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move location of some geometry program limits The gl_program_constants struct is for limits that are applicable to any/all shader stages. Move the geometry shader-only fields into the gl_constants struct. Remove redundant MaxGeometryUniformComponents field too.
/external/mesa3d/src/mesa/main/mtypes.h
|
69f16accd0aa3b8d414092a5e52ccc99649da01a |
|
07-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: add ATI_texture_compression_3dc LUMINANCE_ALPHA_LATC2 = LUMINANCE_ALPHA_3DC, so this is easy. Note that there is no specification for 3DC, just a few white papers from ATI.
/external/mesa3d/src/mesa/main/mtypes.h
|
7d16e2c0cd70dc5a23b746dbc8e44c58366b5353 |
|
07-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: add EXT_texture_compression_latc The encoding/decoding algorithms are shared with RGTC. Thanks to some magic with the base format, the RGTC texstore functions work for LATC too. swrast passes the related piglit tests besides two things: - The alpha channel is wrong (it's always 1), however the incorrect alpha channel makes some other tests fail too, so I guess it's unrelated to LATC. - Signed LATC fetches aren't correct yet (signed values are clamped to [0,1]), however RGTC has the same problem. Further testing (with other of my patches) shows that hardware drivers and softpipe work. BTW, ETQW uses this extension.
/external/mesa3d/src/mesa/main/mtypes.h
|
df818d572e4ddb1ceccd22a538bf98ce01caffee |
|
06-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: invalidate framebuffer if internal format of renderbuffer is changed RenderTexture doesn't have to be called in invalidate_rb, I guess.
/external/mesa3d/src/mesa/main/mtypes.h
|
8ad821df0a2d49964141f2ea4ef8179f4edc052f |
|
02-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: added gl_program_constants::MaxAddressOffset See https://bugs.freedesktop.org/show_bug.cgi?id=29418
/external/mesa3d/src/mesa/main/mtypes.h
|
9d20849516fe34bb0a430b007cef7878858cf0c7 |
|
01-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove GL_SGI_texture_color_table support It was only implemented in the swrast driver and probably not used by any applications. A modern app would use a dependent/chained texture lookup in the fragment shader.
/external/mesa3d/src/mesa/main/mtypes.h
|
30ed4ced1161ef61efd10de81ff3324d0e7ff39e |
|
17-Feb-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove the MESA_NO_DITHER env var This was sometimes useful back when 16-bit framebuffers were prominent.
/external/mesa3d/src/mesa/main/mtypes.h
|
fc5ab1b19780ef97c5e7f6257a2d91121503bd53 |
|
16-Feb-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use gl_format type instead of GLuint
/external/mesa3d/src/mesa/main/mtypes.h
|
cfaf217135d8a8e903b3fbf380f18170df018f0c |
|
12-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
vbo: bind arrays only when necessary We don't need to call bind_arrays in the vbo module if the states which the function depends on are not dirty.
/external/mesa3d/src/mesa/main/mtypes.h
|
3ee97ead0b827e6c6a40ec1a326f9d01d5e5b413 |
|
11-Feb-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove some unused gl_shader fields
/external/mesa3d/src/mesa/main/mtypes.h
|
3b0c2eb07cdffe372f816cc30a3e6108a510e946 |
|
09-Feb-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused BITFIELD64 macros
/external/mesa3d/src/mesa/main/mtypes.h
|
88ffa9ce5b8e5fe2b93238f8b9a7a888be28324e |
|
28-Jan-2011 |
Dave Airlie <airlied@gmail.com> |
mesa/965: add support for GL_EXT_framebuffer_sRGB (v2) This adds i965 support for GL_EXT_framebuffer_sRGB, it introduces a new constant to say that the driver can support sRGB enabled FBOs since enabling the extension doesn't mean the driver can actually support sRGB. Also adds the suggested state flush in the core code suggested by Brian. fix the ARB_fbo color encoding. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
a1b83464ffb1125b77e6f5664e0071f95167055d |
|
27-Jan-2011 |
Chad Versace <chad.versace@intel.com> |
mesa: Propagate gl_FragDepth layout from GLSL IR to Mesa IR
/external/mesa3d/src/mesa/main/mtypes.h
|
1aeecaa43346d5ab6feec5d7caf28bd5ce53a32b |
|
27-Jan-2011 |
Chad Versace <chad.versace@intel.com> |
mesa: Add AMD_conservative_depth to extension list The extension is off by default. First in a patchset that implements support for AMD_conservative_depth in the compiler.
/external/mesa3d/src/mesa/main/mtypes.h
|
fb7efb1b194831cc6cb0b69291949ac693f20f25 |
|
23-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: get rid of _NEW_ACCUM, clean-up _NEW_* #defines The _NEW_ACCUM flag was only set when changing the accumulation buffer clear color and never used anywhere. Reclaim that dirty bit. Clean up the definitions of the other dirty bit flags.
/external/mesa3d/src/mesa/main/mtypes.h
|
a637280e42b9a2f4ccbb5e7b209c5645073f584e |
|
17-Jan-2011 |
Dave Airlie <airlied@redhat.com> |
mesa: EXT_framebuffer_sRGB interface additions. This adds the get/enable enums and internal gl_config storage for this extension. In theory this is all that is needed to enable this extension from what I can see, since its not mandatory to implement the features if you don't advertise the visuals or the fb configs. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
887d2b647bae7f6536bab08649bad9f799995d08 |
|
20-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: clean-up _mesa_lookup_prim_by_nr() Remove the redundant public _mesa_prim_name[] array.
/external/mesa3d/src/mesa/main/mtypes.h
|
fe49dcb3b03454ec1451b610ea89f2374946e090 |
|
20-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move extra prim mode #defines
/external/mesa3d/src/mesa/main/mtypes.h
|
cfae745a8bcbc108611178b69c645cfe29f28b37 |
|
20-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: minor formatting fixes
/external/mesa3d/src/mesa/main/mtypes.h
|
751fe9058bc15f4f8608f0fdc02209542991ff23 |
|
20-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: document sRGBDecode field
/external/mesa3d/src/mesa/main/mtypes.h
|
3ee60a3558a3546b3c3a0a9732d384afcf02994a |
|
19-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: implement glGetShaderPrecisionFormat() Drivers should override the default range/precision info as needed. No drivers do this yet.
/external/mesa3d/src/mesa/main/mtypes.h
|
edc2dd8e4788e556d445c9f59974ed95b33c2bbc |
|
12-Jan-2011 |
Dave Airlie <airlied@gmail.com> |
mesa/swrast: implement EXT_texture_sRGB_decode This implements the extension by choosing a different set of texture fetch functions when the texture parameter changes. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
74713e2d293f9e796a4053a5a99ee5cb7df5c740 |
|
11-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: begin implementation of GL_ARB_draw_buffers_blend
/external/mesa3d/src/mesa/main/mtypes.h
|
1d1eb9578716913f4133786b30c6e6edc69a8a0c |
|
15-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: support for GL_ARB_instanced_arrays
/external/mesa3d/src/mesa/main/mtypes.h
|
652901e95b4ed406293d0e1fabee857c054119b1 |
|
15-Jan-2011 |
Brian Paul <brianp@vmware.com> |
Merge branch 'draw-instanced' Conflicts: src/gallium/auxiliary/draw/draw_llvm.c src/gallium/drivers/llvmpipe/lp_state_fs.c src/glsl/ir_set_program_inouts.cpp src/mesa/tnl/t_vb_program.c
|
9c6954fc9d254e0d6dc9bc7aac5badee04fe0f9b |
|
14-Jan-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add extension enable bit for GL_ARB_ES2_compatibility.
/external/mesa3d/src/mesa/main/mtypes.h
|
78838b2d1bd88f948030cd60479b832b661ccd3c |
|
13-Jan-2011 |
Chad Versace <chad.versace@intel.com> |
mesa: Change OES_standard_derivatives to be stand-alone extension Add a bit in struct gl_extensions for OES_standard_derivatives, and enable the bit by default. Advertise the extension only if the bit is enabled. Previously, OES_standard_derivatives was advertised in GLES2 contexts if ARB_framebuffer_object was enabled.
/external/mesa3d/src/mesa/main/mtypes.h
|
9b260c377f5b437b7e03607fefa022459ef758ed |
|
09-Jan-2011 |
Chad Versace <chad.versace@intel.com> |
mesa: Refactor handling of extension strings Place GL, GLES1, and GLES2 extensions in a unified extension table. This allows one to enable, disable, and query the status of GLES1 and GLES2 extensions by name. When tested on Intel Ironlake, this patch did not alter the extension string [as given by glGetString(GL_EXTENSIONS)] for any API. Reviewed-by: Ian Romanick <idr@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
001d944fd50e0579739b8865e6e09be5d267c05a |
|
24-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Make _mesa_choose_tex_format() choose formats out of a supported table. Right now this is just tweaking the current code to look at the table. Choosing actually supported formats will come later.
/external/mesa3d/src/mesa/main/mtypes.h
|
c6d74bcbfcb54e0c03f4c3d7e82bc1267f36ffe4 |
|
09-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add PROGRAM_SYSTEM_VALUE and related tokens System values are shader inputs which don't necessarily change from vertex to vertex or fragment to fragment. gl_InstanceID and gl_FrontFacing are examples.
/external/mesa3d/src/mesa/main/mtypes.h
|
4b08f35487fa439fd9ca4d653d3a146c3dc09c1c |
|
02-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: raise max texture sizes to 16K This allows 16K x 16K 2D textures, for example, but we don't want to allow that for 3D textures. The new gl_constants::MaxTextureMBytes field is used to prevent allocating too large of texture image. This allows a 16K x 32 x 32 3D texture, for example, but prevents 16K^3. Drivers can override this limit. The default is currently 1GB. Apps should use the proxy texture mechanism to determine the actual max texture size.
/external/mesa3d/src/mesa/main/mtypes.h
|
c4285be9a5bd1adaa89050989374b95a9a601cdc |
|
25-Nov-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Lower ir_binop_pow to a sequence of EXP2 and LOG2
/external/mesa3d/src/mesa/main/mtypes.h
|
c628fd743ee3c3305e9beac7f0e6efacf6982115 |
|
23-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: replace #defines with new gl_shader_type enum
/external/mesa3d/src/mesa/main/mtypes.h
|
aad65fa112754074d24d0b5a8397db2663dc9454 |
|
08-Nov-2010 |
Roland Scheidegger <sroland@vmware.com> |
mesa: remove unneeded DD_POINT_SIZE and DD_LINE_WIDTH tricaps DD_POINT_SIZE was broken for quite some time, and the only driver (r200) relying on this no longer needs it. Both DD_POINT_SIZE and DD_LINE_WIDTH have no users left outside of debugging output, hence instead of fixing DD_POINT_SIZE setting just drop both of them - there was a plan to remove tricaps flags entirely at some point.
/external/mesa3d/src/mesa/main/mtypes.h
|
0fefafb2e46fa7ead35ef05fda10368af0970c88 |
|
02-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: move the gl_config struct declaration It was in the middle of the lighting-related structures before. Also add some info about field sizes in this structure.
/external/mesa3d/src/mesa/main/mtypes.h
|
3b82ceec677e875d2f2f9edbcfceafd4d9a85cb7 |
|
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: state/queries for GL_MIN/MAX_PROGRAM_TEXEL_OFFSET_EXT
/external/mesa3d/src/mesa/main/mtypes.h
|
d1184d26bb14304a6a61d7729c90a7c7f3627086 |
|
29-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add gl_client_array::Integer field and related vertex array state code
/external/mesa3d/src/mesa/main/mtypes.h
|
84eba3ef71dfa822e5ff0463032cdd2e3515b888 |
|
13-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Track separate programs for each stage The assumption is that all stages are the same program or that varyings are passed between stages using built-in varyings.
/external/mesa3d/src/mesa/main/mtypes.h
|
75c6f472880706dcbb9d1e20727fa8f71db8b11c |
|
12-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Track an ActiveProgram distinct from CurrentProgram ActiveProgram is the GL_EXT_separate_shader_objects state variable used for glUniform calls. glUseProgram also sets this.
/external/mesa3d/src/mesa/main/mtypes.h
|
b97794c041f848a5c9481cfeac6401f5dc9f0e48 |
|
12-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add infrastructure to track GL_EXT_separate_shader_objects
/external/mesa3d/src/mesa/main/mtypes.h
|
f681ea4741c8136b2c169ff17c9d5b49b1d791ba |
|
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added new gl_framebuffer::_IntegerColor field
/external/mesa3d/src/mesa/main/mtypes.h
|
9ee07a0a27f515c11ae6d3061565863da757a8ed |
|
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added new gl_extensions::EXT_gpu_shader4 field
/external/mesa3d/src/mesa/main/mtypes.h
|
3322fbaf3b5e305ce00c1d08c26965bb98e0cef0 |
|
14-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Slightly change the semantic of _LinkedShaders Previously _LinkedShaders was a compact array of the linked shaders for each shader stage. Now it is arranged such that each slot, indexed by the MESA_SHADER_* defines, refers to a specific shader stage. As a result, some slots will be NULL. This makes things a little more complex in the linker, but it simplifies things in other places. As a side effect _NumLinkedShaders is removed. NOTE: This may be a candidate for the 7.9 branch. If there are other patches that get backported to 7.9 that use _LinkedShader, this patch should be cherry picked also.
/external/mesa3d/src/mesa/main/mtypes.h
|
81ccb3e2ce708619f4c23537a237d61bdffdd35f |
|
13-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop the "neutral" tnl module Just always check for FLUSH_UPDATE_CURRENT and call Driver.BeginVertices when necessary. By using the unlikely() macros, this ends up as a 10% performance improvement (for isosurf, anyway) over the old, complicated function pointer swapping.
/external/mesa3d/src/mesa/main/mtypes.h
|
f9995b30756140724f41daf963fa06167912be7f |
|
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/main/mtypes.h
|
31aca27c08d6a385c595d34fe4ee06390bf5b0e8 |
|
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop GLframebuffer typedef and just use struct gl_framebuffer
/external/mesa3d/src/mesa/main/mtypes.h
|
d3491e775fb07f891463b2185d74bbad62f3ed24 |
|
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Rename GLvisual and __GLcontextModes to struct gl_config
/external/mesa3d/src/mesa/main/mtypes.h
|
705e142dda047f24b563fc2bea0f922173e91d1b |
|
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
gl: Remove unused GLcontextModes fields
/external/mesa3d/src/mesa/main/mtypes.h
|
e3c1c5377c7fcd17085bfb22fbc1cf30646751ba |
|
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Get rid of GL/internal/glcore.h __GLcontextModes is always only used as an implementation internal struct at this point and we shouldn't install glcore.h anymore. Anything that needs __GLcontextModes should just include the struct in its headers files directly.
/external/mesa3d/src/mesa/main/mtypes.h
|
d9671863eaae41ba28b6fe82e3e7d1dac12f514c |
|
06-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
glsl: add support for shader stencil export This adds proper support for the GL_ARB_shader_stencil_export extension to the GLSL compiler. Thanks to Ian for pointing out where I need to add things.
/external/mesa3d/src/mesa/main/mtypes.h
|
bec341d00c5fbc9c5f1c19c1b6729de636ffbfcb |
|
06-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
mesa: add support for FRAG_RESULT_STENCIL. this is needed to add support for stencil shader export. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1d595c7cd4aefc7baf1942626f53bec8f6699f7f |
|
07-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
gles2: Add GL_EXT_texture_format_BGRA8888 support
/external/mesa3d/src/mesa/main/mtypes.h
|
e2a054b70cb5dace40fc1426cbf936366dc72fb9 |
|
02-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add ARB_texture_compression_rgtc as an alias for EXT_texture_compression_rgtc Change the name in the extension tracking structure to ARB (from EXT).
/external/mesa3d/src/mesa/main/mtypes.h
|
02984e3536bf9a4f149916b45d727659c8dc9a7c |
|
18-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Remove GL_EXT_cull_vertex This is only used in the i915 driver where it provides little benefit for very few applications that use it with fixed function TNL.
/external/mesa3d/src/mesa/main/mtypes.h
|
4b1f98241f9601c2b163bb41e45aa567f9cd61dd |
|
18-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Remove GL_MESA_packed_depth_stencil This extension was never enabled in any driver.
/external/mesa3d/src/mesa/main/mtypes.h
|
a62efdf82c20747feb11dfd7756f0579aa914b57 |
|
10-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Remove EXT_convolution. More optional code.
/external/mesa3d/src/mesa/main/mtypes.h
|
73578ba9c4938db3a23198c3a2ddf843cfc4f700 |
|
10-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Remove SGI_color_matrix. Another optional ARB_imaging subset extension.
/external/mesa3d/src/mesa/main/mtypes.h
|
6c227e57e69158e4da40c69322db0eac4c31086c |
|
10-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Remove SGI_color_table. Another optional ARB_imaging subset extension.
/external/mesa3d/src/mesa/main/mtypes.h
|
7126e38d9037da66fd531c4cb02b3843b68b84ff |
|
10-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Remove EXT_histogram. This has always been optional, and not useful.
/external/mesa3d/src/mesa/main/mtypes.h
|
907a6734fcd427a6ac6fe5fcfbeac5d6054d82ae |
|
10-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Remove the non-required ARB_imaging extension. Many of the EXT_ extensions in the subset have significant code overhead with no users. It is not a required part of GL -- though text describing the extension is part of the core spec since 1.2, it is always conditional on the ARB_imaging extension.
/external/mesa3d/src/mesa/main/mtypes.h
|
e7087175f8a04f777403366fb34b58edd00f4d60 |
|
22-Sep-2010 |
Brian Paul <brianp@vmware.com> |
mesa: don't advertise bogus GL_ARB_shading_language_120 extension Instead of using the invalid GL_ARB_shading_language_120 extension to determine the GLSL version, use a new ctx->Const.GLSLVersion field. Updated the intel and r600 drivers, but untested. See fd.o bug 29910 NOTE: This is a candidate for the 7.9 branch (but let's wait and see if there's any regressions).
/external/mesa3d/src/mesa/main/mtypes.h
|
a6ecd1c3724a78b76ab9e81ea39632f1279021f8 |
|
16-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl2: Add flags to enable variable index lowering
/external/mesa3d/src/mesa/main/mtypes.h
|
83f5f50f2f69adae497c71ac48e4e0177979ebff |
|
14-Sep-2010 |
Brian Paul <brianp@vmware.com> |
mesa: move, redefine MESA_GEOMETRY_PROGRAM
/external/mesa3d/src/mesa/main/mtypes.h
|
d8a36620089e72d431ae853ec168f193f3376782 |
|
10-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove unused Emit flags from gl_shader_compiler_options
/external/mesa3d/src/mesa/main/mtypes.h
|
042a333028eba49f21b45cafaf9dd15d34c68033 |
|
10-Sep-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Revert "glapi: Implement optional dispatch logging" This reverts commit b9abc6139a310677a37754ea7172d976dbf56979 and the follow on fixes (7aae704 and 6fe1b47). It's changing the glapi/driver ABI and causes a number of problems for debug/non-debug builds.
/external/mesa3d/src/mesa/main/mtypes.h
|
2b70dbfe091af5ae7c788e16275e1af2cb1c284c |
|
10-Sep-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl2: Add EmitNoNoise flag, use it to remove noise opcodes
/external/mesa3d/src/mesa/main/mtypes.h
|
b9abc6139a310677a37754ea7172d976dbf56979 |
|
09-Sep-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
glapi: Implement optional dispatch logging There's a useful feature buried in glapi to log all API calls to stderr. Unfortunately it requires editing the code and then it's enabled unconditionally for that build. This patch builds in API logging for debug builds and makes it run-time switchable by setting MESA_DEBUG=dispatch.
/external/mesa3d/src/mesa/main/mtypes.h
|
e591c4625cae63660c5000fbab366e40fe154ab0 |
|
05-Sep-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
glsl: add several EmitNo* options, and MaxUnrollIterations This increases the chance that GLSL programs will actually work. Note that continues and returns are not yet lowered, so linking will just fail if not supported. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
6d3a2c97f4a78e85545286e0e126cd3a27bd1cbd |
|
05-Sep-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
glsl: make compiler options per-target This allows us to specify different options, especially useful for chips without unified shaders. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
ede4205b245ee58bacf866d298273ebbe31feacf |
|
06-Sep-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
mesa: add PIPE_SHADER_* like constants and conversions to/from enums (v2) Changes in v2: - No longer adds tessellation enums
/external/mesa3d/src/mesa/main/mtypes.h
|
8680c1324097ec3df51e8bf6f25a3347df6f798c |
|
03-Sep-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix up a comment
/external/mesa3d/src/mesa/main/mtypes.h
|
f90b5936d07c4c8f280318ab5cf5894ecb67aef6 |
|
23-Aug-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Add core.h. core.h is the public header of core mesa. GLX, WGL, and GLSL are supposed to include this header file. It should be noted that headers included by core.h must not perform feature tests (#if FEATURE_xxx). Otherwise, we cannot, for example, mix a FEATURE_ES2 libmesagallium.a with a FEATURE_GL libglsl.a.
/external/mesa3d/src/mesa/main/mtypes.h
|
6c03c576cc49bbb008de66d374f4302ff0fe0390 |
|
17-Aug-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Merge branch 'glsl2' Conflicts: src/mesa/program/prog_optimize.c
|
443a7e4e9a360acbc3e662c098be436f180bf81d |
|
14-Aug-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Merge branch 'master' into glsl2
|
f6ca938bcb7ebf82721590c8e4059ebf4d073a0b |
|
10-Aug-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove obsolete comments
/external/mesa3d/src/mesa/main/mtypes.h
|
9846b0627149e221c9fbd7c3379e33fb68e68511 |
|
01-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove inclusion of compiler.h from mtypes.h. mtypes.h does not use any symbols from compiler.h. Also add the required headers for files that depended on symbols from compiler.h but were indirectly including compiler.h through mtypes.h.
/external/mesa3d/src/mesa/main/mtypes.h
|
56643096f1eb01eefa1a532ac096b32d23b6b8ba |
|
30-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added gl_program::IndirectRegisterFiles field Now drivers, etc. can know which register files are accessed with indirect addressing. Before we just checked gl_program::NumAddressRegs but didn't know if that was the constant buffer, temp regs, or what. The only user of this new field so far will be the gallium state tracker.
/external/mesa3d/src/mesa/main/mtypes.h
|
afe125e0a18ac3886c45c7e6b02b122fb2d327b5 |
|
27-Jul-2010 |
Eric Anholt <eric@anholt.net> |
Merge remote branch 'origin/master' into glsl2 This pulls in multiple i965 driver fixes which will help ensure better testing coverage during development, and also gets past the conflicts of the src/mesa/shader -> src/mesa/program move. Conflicts: src/mesa/Makefile src/mesa/main/shaderapi.c src/mesa/main/shaderobj.h
|
d5be2acae379783c4aa31243e0a88a9e67e6ca7e |
|
20-Jul-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
linker: Link built-in functions instead of including them in every shader This is an invasive set of changes. Each user shader tracks a set of other shaders that contain built-in functions. During compilation, function prototypes are imported from these shaders. During linking, the shaders are linked with these built-in-function shaders just like with any other shader.
/external/mesa3d/src/mesa/main/mtypes.h
|
25f51d3b9b8c36c41cd23d2797b6a06f6e27ff86 |
|
17-Jul-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
linker: Track and validate GLSL versions used in shaders
/external/mesa3d/src/mesa/main/mtypes.h
|
95c08920ea3d040360e5cc51d8a852d21a0329ee |
|
19-Jul-2010 |
Eric Anholt <eric@anholt.net> |
i915: Ask the compiler to flatten out all the if statements that it can.
/external/mesa3d/src/mesa/main/mtypes.h
|
7c42390453e611367cf1ba11446692ec04e0abfb |
|
07-Jul-2010 |
Zack Rusin <zackr@vmware.com> |
gs: inject const int gl_VerticesIn at link time
/external/mesa3d/src/mesa/main/mtypes.h
|
6988f65e43297ae63bbce30bf882f870b370096c |
|
08-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: initial support for new GL 3.0 texture formats
/external/mesa3d/src/mesa/main/mtypes.h
|
ae8164a67b05cdc6d9b520b9704330537f3a6024 |
|
02-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add geometry shader fields to gl_shader_program These 3 fields are per shader-program. Copy them into the geometry program at link time for convenient access later. Also, add some missing glGetProgramiv() queries.
/external/mesa3d/src/mesa/main/mtypes.h
|
e3c961de3696911d8ab1351e64bd6e904de103d0 |
|
02-Jul-2010 |
Brian Paul <brianp@vmware.com> |
main: change some GS field types, added comments
/external/mesa3d/src/mesa/main/mtypes.h
|
44732103b2b7a8765299e586fb3b9bf91e32f6d4 |
|
02-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: extension flags and version testing for GL 3.x features
/external/mesa3d/src/mesa/main/mtypes.h
|
ef5f1948316664055c1444d12076c7d86589a8b9 |
|
30-Jun-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
linker: Don't dynamically allocate slots for linked shaders The can be at most one shader per stage. There are currently only two stages. There is zero reason to dynamically size this array.
/external/mesa3d/src/mesa/main/mtypes.h
|
849e18153cd91d812f694b806a84008498860bc3 |
|
30-Jun-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Use Mesa's gl_shader_program instead of our own struct glsl_program. This avoids more allocation and shuffling of data around.
/external/mesa3d/src/mesa/main/mtypes.h
|
16b68b1952d0da14b9ce8306efa64988ce46b4b7 |
|
30-Jun-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Move our data from a glsl_shader* on the side to the main gl_shader *. This saves recompiling at link time. gl_shader->ir is made a pointer so that we don't have to bring exec_list into mtypes.h.
/external/mesa3d/src/mesa/main/mtypes.h
|
da7bd6a90e1fee5c16327338fd251c0f6be34e36 |
|
28-Jun-2010 |
Zack Rusin <zackr@vmware.com> |
mesa: initial support for ARB_geometry_shader4 laying down the foundation for everything and implementing most of the stuff. linking, gl_VerticesIn and multidimensional inputs are left.
/external/mesa3d/src/mesa/main/mtypes.h
|
fef6e36e0736a68e24d7844bae65a01de8359214 |
|
11-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: more transform feedback infrastructure Includes GL_ARB_transform_feedback2 which encapsulates transform feedback state in objects.
/external/mesa3d/src/mesa/main/mtypes.h
|
bef9460dcdbda9e3f4caa55871d21cd42a0984ed |
|
05-May-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove trailing comma in enum list Some compilers complain about this.
/external/mesa3d/src/mesa/main/mtypes.h
|
08fae07f5246052dccdd89689e27dc8820a24ff7 |
|
25-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Handle GL_TEXTURE_GEN_STR_OES in _mesa_Enable()
/external/mesa3d/src/mesa/main/mtypes.h
|
2ab18d63cb71d988265eeab431e4363081978144 |
|
22-Apr-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
mesa: Track the OpenGL API we're implementing in the context This introduces a new way to create or initialize a context: _mesa_create_context_for_api and _mesa_initialize_context_for_api which in addition to the current arguments take an api enum to indicate which OpenGL API the context should implement. At this point the API field in GLcontext isn't used anywhere, but later commits will key certain functionality off of it. The _mesa_create_context and _mesa_initialize_context functions are kept in place as wrappers around the *_for_api versions, passing in API_OPENGL to get the same behavior as before.
/external/mesa3d/src/mesa/main/mtypes.h
|
a40e6f220ac7e41126b9815db27d362bda719bf6 |
|
21-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: API and state for GL 3.1 primitive restart
/external/mesa3d/src/mesa/main/mtypes.h
|
bd1d35fb5d3c889b11de5a1d493f711fc091fbed |
|
21-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add GL 3.2 GL_CONTEXT_PROFILE_MASK query
/external/mesa3d/src/mesa/main/mtypes.h
|
2002e4d06e2627241cd4af88f65b54d2101ef151 |
|
06-Apr-2010 |
Chia-I Wu <olv@lunarg.com> |
mesa: Add OES_EGL_image to extension list.
/external/mesa3d/src/mesa/main/mtypes.h
|
3258dfbbbda69b46003362e94e75129c277c7a61 |
|
05-Apr-2010 |
Brian Paul <brianp@vmware.com> |
mesa: new extension flag for GL_EXT/ARB_draw_instanced
/external/mesa3d/src/mesa/main/mtypes.h
|
066f0097959fe705c57556b658a09af0ba6be8fb |
|
31-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: initial data structures for transform feedback
/external/mesa3d/src/mesa/main/mtypes.h
|
00225af999acabcd5eced0b075b0a56018fd5eb8 |
|
20-Mar-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added GL3 ContextFlags field and query code
/external/mesa3d/src/mesa/main/mtypes.h
|
99864d595f7d4c13e9548f83d5972db9af64e67b |
|
13-Nov-2009 |
Chris Wilson <chris@chris-wilson.co.uk> |
APPLE_object_purgeable: core Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/mesa/main/mtypes.h
|
06ceba0a7cab39e770a68b3ae8b8b4f17c0347d2 |
|
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove unused RasterIndex field With the preceeding changes, gl_current_attrib::RasterIndex is not used. Remove it. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
1edd444c2e9afadb56df55682ae606b5cefd811c |
|
26-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added new extension flag for GL_EXT_texture_array
/external/mesa3d/src/mesa/main/mtypes.h
|
eeec2c3d951fed0d22e5dbf436d4a2d887e24221 |
|
08-Feb-2010 |
Michal Krol <michal@vmware.com> |
mesa: Protect buffer objects reference counting with a mutex.
/external/mesa3d/src/mesa/main/mtypes.h
|
b2a30497cc8b107ea74c3d8fbb646e59a4d55a05 |
|
03-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: increase number of texture units to MAX_COMBINED_TEXTURE_IMAGE_UNITS We were misinterpretting GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS previously. It's the number of texture units for which we need to keep state; not just the total number of texture units addressable by the vertex shader plus fragment shader. Since sw Mesa independently supports 16 texture units in vertex shaders and 16 texture units in fragment shaders, the max combined units is 32. Note that the docs for glActiveTexture() indicate the max legal unit is MAX(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, MAX_TEXTURE_COORDS) - 1. A new piglit test (texunits.c) tests the various texture unit limits. I'm pretty sure I've got this all right now, but additional reviews are welcome...
/external/mesa3d/src/mesa/main/mtypes.h
|
ea81daf9544205b892926bdbbcdfdfc63fd7d872 |
|
03-Feb-2010 |
Brian Paul <brianp@vmware.com> |
mesa: re-dimension RasterTexCoords and CoordReplace These are limited to the number of texture coordinate units.
/external/mesa3d/src/mesa/main/mtypes.h
|
cfe884e2030466df673881da8e830c300dda40db |
|
18-Jan-2010 |
Dave Airlie <airlied@linux.ie> |
mesa: add core support for ARB_half_float_vertex. Adds the extension to the list + support to the APIs. also add t_draw.c support to convert for sw rast. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
e59353f592ef587d34279f0735f06053e289a7b4 |
|
21-Jan-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
mesa: support for GL_ARB_fragment_coord_conventions Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
562c127693200822f04a145db50add1be2425d7b |
|
12-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
Merge branch 'master' into opengl-es-v2 Conflicts: src/mesa/main/dd.h
|
e16fd07225b07e87b79015988b9806aefa032dd3 |
|
06-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: added version fields to GLcontext
/external/mesa3d/src/mesa/main/mtypes.h
|
f6c2d1f94ffa8f87b22ed1ff5c465d0e9aa1489e |
|
05-Jan-2010 |
Brian Paul <brianp@vmware.com> |
mesa: make texture BorderColor a union of float/int/uint When we have integer-valued texture formats, the texture border color must also store integer and uint values. With GL 3.0, the new glTexParameterIiv() and glTexParameterIuiv() functions can set the border color to int or uint values.
/external/mesa3d/src/mesa/main/mtypes.h
|
2be0d77a97cbe92f09dd97fb85a3d5372e52ad4c |
|
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add flag for GL_NV_conditional_render extension
/external/mesa3d/src/mesa/main/mtypes.h
|
0fbe828c1d2a7e7d9155a3ef64e91da4ec2b79ee |
|
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: _mesa_Begin/EndConditionalRender() functions For GL_NV_conditional_render and GL3. The drawing functions don't check the query object yet. No API dispatch yet.
/external/mesa3d/src/mesa/main/mtypes.h
|
802b80893943cf129039a37fb2afe26444b09332 |
|
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: implement GL3 GL_NUM_EXTENSIONS query
/external/mesa3d/src/mesa/main/mtypes.h
|
8f6f1124634cf659dde4c75549b84e35505d892d |
|
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added infrastructure for GL_EXT_draw_buffers2
/external/mesa3d/src/mesa/main/mtypes.h
|
fd5511d27fc44096117c47ab503fb5b47f993061 |
|
30-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: implement per-buffer color masking This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0. The ctx->Color.ColorMask field is now a 2-D array. Until drivers are modified to support per-buffer color masking, they can just look at the 0th color mask. The new _mesa_ColorMaskIndexed() function will be called by glColorMaskIndexedEXT() or glColorMaski().
/external/mesa3d/src/mesa/main/mtypes.h
|
3728673bd1b974e54858fbab6ff62d3607b0d3f0 |
|
29-Dec-2009 |
Brian Paul <brianp@vmware.com> |
mesa: per-buffer blend enabled flags ctx->Color.BlendEnabled is now a GLbitfield instead of a GLboolean to indicate blend on/off status for each color/draw buffer. This is infrastructure for GL_EXT_draw_buffers2 and OpenGL 3.x New functions include _mesa_EnableIndexed(), _mesa_DisableIndexed(), and _mesa_IsEnabledIndexed(). The enable function corresponds to glEnableIndexedEXT() for GL_EXT_draw_buffers2 or glEnablei() for GL3. Note that there's quite a few tests for ctx->Color.BlendEnabled != 0 in drivers, etc. Those tests can remain as-is since the mask will be 0 or ~0 unless GL_EXT_draw_buffers2 is enabled.
/external/mesa3d/src/mesa/main/mtypes.h
|
a087eb590d780cb82b49464e05ffc85123adce7e |
|
11-Dec-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_7_branch' Conflicts: src/gallium/state_trackers/xorg/xorg_xv.c src/mesa/drivers/dri/intel/intel_span.c
|
cd6b8dd9e82fedc55d033131fbc0f8ee950567c8 |
|
09-Dec-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Move OES_read_format support from drivers into the core. The assertion is that the correct read type to be using is the native type of the underlying read renderbuffer. For some fallback paths, this may be worse than GL_RGBA/GL_UNSIGNED_BYTE for reads today, but it gets all drivers the expected GL_BGRA/GL_UNSIGNED_BYTE for ARGB8888 or GL_BGR//GL_UNSIGNED_SHORT_5_6_5_REV for rgb565 with no work. This fixes the intel (and other) DRI drivers to report read formats that should hit blit PBO readpixels paths.
/external/mesa3d/src/mesa/main/mtypes.h
|
853d4807fe220b17cf5af5a76b24f2466238013b |
|
01-Dec-2009 |
Michal Krol <michal@vmware.com> |
mesa: Update vertex texture code after gallium changes.
/external/mesa3d/src/mesa/main/mtypes.h
|
5606dfb572bf4b89b4882265924705bacc8c182b |
|
18-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Merge branch 'outputswritten64' Add a GLbitfield64 type and several macros to operate on 64-bit fields. The OutputsWritten field of gl_program is changed to use that type. This results in a fair amount of fallout in drivers that use programs. No changes are strictly necessary at this point as all bits used are below the 32-bit boundary. Fairly soon several bits will be added for clip distances written by a vertex shader. This will cause several bits used for varyings to be pushed above the 32-bit boundary. This will affect any drivers that support GLSL. At this point, only the i965 driver has been modified to support this eventuality. I did this as a "squash" merge. There were several places through the outputswritten64 branch where things were broken. I foresee this causing difficulties later for bisecting. The history is still available in the branch. Conflicts: src/mesa/drivers/dri/i965/brw_wm.h
/external/mesa3d/src/mesa/main/mtypes.h
|
4d6ec214396461c0cf3ad8ede449b299ff06c1aa |
|
12-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB_fbo: Enable GL_EXT_framebuffer_multisample All of this functionality is already included in ARB_fbo. This just enables the string. I was a bit lazy in using FEATURE_ARB_framebuffer_object for this feature as well. I don't think it makes much difference in the long run.
/external/mesa3d/src/mesa/main/mtypes.h
|
34064756a5e2c8952c9de26eaebafddabd562540 |
|
22-Sep-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/es: Add support for GL_OES_draw_texture. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
960d49b387ff4b64f802097c5013beee4de3649d |
|
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move some gl_texture_image and gl_renderbuffer fields around
/external/mesa3d/src/mesa/main/mtypes.h
|
1f196b786d6bd0c6a5dbdc638574ff716cc3d4de |
|
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'texformat-rework' Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c
|
a335d334d45701a42c283257fa44f2f7148e186d |
|
16-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix/update some comments
/external/mesa3d/src/mesa/main/mtypes.h
|
f0503726bf8113919e4b00fbca504d7cbdcd0151 |
|
16-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move a comma
/external/mesa3d/src/mesa/main/mtypes.h
|
2ee7fd8d584abf051c552f455aeb588e2936b0ea |
|
15-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added MESA_GLSL=useprog debug flag This logs glUseProgram() calls to stderr.
/external/mesa3d/src/mesa/main/mtypes.h
|
2fd5cb713338e91999a036399a4bea4406687ca0 |
|
15-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added VERBOSE_SWAPBUFFERS
/external/mesa3d/src/mesa/main/mtypes.h
|
ade1cc992410c8696fdfe0f84fb613fd0dc8099f |
|
15-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added MESA_VERBOSE option 'draw' to debug glDrawArrays/Elements, etc.
/external/mesa3d/src/mesa/main/mtypes.h
|
d9099f8602eb6d15e9fc2e0b0987e7a58fb98b68 |
|
14-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rename VERBOSE_IMMEDIATE->VERBOSE_MATERIAL to reflect what it does
/external/mesa3d/src/mesa/main/mtypes.h
|
45e76d2665b38ba3787548310efc59e969124c01 |
|
09-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove a bunch of gl_renderbuffer fields _ActualFormat is replaced by Format (MESA_FORMAT_x). ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are all replaced by MESA_FORMAT_x queries.
/external/mesa3d/src/mesa/main/mtypes.h
|
33e9ac20e3b399c6ec6ec2f586a9402b68590992 |
|
08-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_list_instruction and gl_list_extensions to dlist.c
/external/mesa3d/src/mesa/main/mtypes.h
|
32aa40eee46fd0b15f3873069f2440ea2dd75408 |
|
02-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: removed gl_texture_image::CompressedSize field Just call ctx->Driver.CompressedTextureSize() when we need to get the compressed image size.
/external/mesa3d/src/mesa/main/mtypes.h
|
b6bdafdf2cf1110b4a5ca7cf9e1c3dcb124b800f |
|
02-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_texture_image::IsCompressed field Use _mesa_is_format_compressed() instead.
/external/mesa3d/src/mesa/main/mtypes.h
|
bdc761b0f9c8856193de6e8617c566851d010783 |
|
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_texture_format
/external/mesa3d/src/mesa/main/mtypes.h
|
1f7c914ad0beea8a29c1a171c7cd1a12f2efe0fa |
|
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: replace gl_texture_format with gl_format Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum. ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x. gl_texture_format will go away next.
/external/mesa3d/src/mesa/main/mtypes.h
|
cb0de06301cd086a02ca709917819119dc1a8fd9 |
|
29-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added nopfrag/nopvert options for MESA_GLSL These options can be used to force vertex/fragment shaders to be no-op shaders (actually, simple pass-through shaders). For debug/test purposes.
/external/mesa3d/src/mesa/main/mtypes.h
|
a608257a02d2ba4e8119be462bbd40ed238b184a |
|
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused gl_texture_format fields
/external/mesa3d/src/mesa/main/mtypes.h
|
cccdc43fa9a8c49cdbdb545de8ff91c528b1ed47 |
|
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move StoreTexImageFunc to texstore.h
/external/mesa3d/src/mesa/main/mtypes.h
|
05e73cc8e23e348ea8243dd2584a44ee5d3a4dd2 |
|
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: replace function pointer types with void * These fields are no longer used and will be removed soon.
/external/mesa3d/src/mesa/main/mtypes.h
|
8130375e775bd5ba6a47412b0ea8ec9f23dc5972 |
|
26-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Merge branch 'asm-shader-rework-2' Conflicts: src/mesa/shader/program_parse.tab.c
|
e33ea11c143596d511331aceabbf60016869c304 |
|
24-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove: unused gl_vertex_program::TnlData field
/external/mesa3d/src/mesa/main/mtypes.h
|
29d27229a95837d085db785a2b4abb654457dafa |
|
25-Sep-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch' Conflicts: src/mesa/vbo/vbo_exec_array.c
|
726a04a2cd1bf159a6c40584b4b2b9bc5948a82e |
|
24-Sep-2009 |
Eric Anholt <eric@anholt.net> |
i965: Emit zero initialization for NV VP temporaries as required. This is similar to what r300 does inside the driver, but I've added it as a generic option since it seems most hardware will want it. Fixes piglit nv-init-zero-reg.vpfp and nv-init-zero-addr.vpfp.
/external/mesa3d/src/mesa/main/mtypes.h
|
b8e1e8d2d8ae6ffbf8f271b46ee89788a926b3b0 |
|
11-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Merge branch 'master' into asm-shader-rework-2 Conflicts: src/mesa/shader/lex.yy.c src/mesa/shader/program_parse.tab.c src/mesa/shader/program_parse.tab.h
|
92d7ed8a20d4a018ce5324e6537ae7b478b9e5bf |
|
27-Aug-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for ARB_draw_elements_base_vertex.
/external/mesa3d/src/mesa/main/mtypes.h
|
b4922b533155cc139ebafb111502bb55d2ad2ccf |
|
26-Aug-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for ARB_depth_clamp. This currently doesn't include fixing up the cliptests in the assembly paths to support ARB_depth_clamp, so enabling depth_clamp forces the C path.
/external/mesa3d/src/mesa/main/mtypes.h
|
e059885ce357dee8b847f10e8e8c515a4a20042e |
|
03-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rename gl_sync_object::Status to StatusFlag There's a symbol collision with X11/Xlib.h #define Status int in the Mesa xlib code. This seems the simpliest way to work around this.
/external/mesa3d/src/mesa/main/mtypes.h
|
16b393d05990b6e917e144f9de87d0103b4c3e6d |
|
31-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB sync: Fix delete behavior and context destruction behavior I believe this resolves the outstanding issues WRT sync object deletetion. I have also added a large comment at the top of syncobj.c describing the expected memory management behavior. I'm still a little uncertain about the locking on ctx->Shared.
/external/mesa3d/src/mesa/main/mtypes.h
|
f37070bab6af350caec905ea7658e9241042b6cc |
|
29-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
ARB sync: Add support for GL_ARB_sync to swrast This isn't quite right yet. The delete behavior and the context clean-up needs some work.
/external/mesa3d/src/mesa/main/mtypes.h
|
efff7aa980e78dc3ee1782308f0c9f3861c9992a |
|
01-Sep-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
NV fp: Add tracking for NV_fragment_program_option
/external/mesa3d/src/mesa/main/mtypes.h
|
2050baba9692600da7038dd18cbfee794caf4bf4 |
|
26-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use gl_texture_index type for gl_program::SamplerTargets
/external/mesa3d/src/mesa/main/mtypes.h
|
9d5bb3c6f820a5a99e1f55b2fd14d250761fcddc |
|
14-Aug-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
Infrastructure for GL_ARB_seamless_cube_map
/external/mesa3d/src/mesa/main/mtypes.h
|
71b1610941f9bfefa01d827fd19cc2368e6cdae3 |
|
14-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: append uniform values to the log file the first time we use a shader This info is essential to using/debugging a shader outside of its normal application.
/external/mesa3d/src/mesa/main/mtypes.h
|
f3b215cba2bca92d6582cc0c34702b73289f909c |
|
13-Aug-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'new-frag-attribs' This branch introduces new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment program inputs for GLSL gl_FrontFacing and gl_PointCoord. Before, these attributes were packed with the FOG attribute. That made things complicated elsewhere.
|
e9d9dab0cd8614898ecc2aceb49d8faf354cdbdf |
|
10-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added GLcontext::Meta field for meta rendering state
/external/mesa3d/src/mesa/main/mtypes.h
|
b501263bf5965aa89c408cb8f0db3688847a8384 |
|
04-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added gl_shader::SourceChecksum field (for debug purposes)
/external/mesa3d/src/mesa/main/mtypes.h
|
9d0b8d72d8d704ff4d8e10448b60cbb42f07eecb |
|
30-Jul-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment program inputs Previously, the FOGC attribute contained the fragment fog coord, front/back- face flag and the gl_PointCoord.xy values. Now each of those things are separate fragment program attributes. This simplifies quite a few things in Mesa and gallium. Need to test i965 driver and fix up point coord handling in the gallium/draw module...
/external/mesa3d/src/mesa/main/mtypes.h
|
b96ae1b2c463d6d99ee0418083ef68f4027b7cd7 |
|
18-Jul-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch' Conflicts: Makefile progs/glsl/multitex.c src/mesa/main/enums.c src/mesa/main/state.c src/mesa/main/texenvprogram.c src/mesa/main/version.h
|
fdeb77899052302053459b8a840a747346e30468 |
|
15-Jul-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: recognize and eliminate repeated error messages
/external/mesa3d/src/mesa/main/mtypes.h
|
862488075c5537b0613753b0d14c267527fc6199 |
|
03-Jul-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
Merge branch 'mesa_7_5_branch' Conflicts: src/mesa/main/dlist.c src/mesa/vbo/vbo_save_api.c
|
47173cf67f0ed55012b0820397f6d620d8ad4473 |
|
30-Jun-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/dlist: shortcircuit some redundant statechanges at compile time Currently, state-changes in mesa display lists are more or less a verbatim recording of the GL calls made during compilation. This change introduces a minor optimization to recognize and eliminate cases where the application emits redundant state changes, eg: glShadeModel( GL_FLAT ); glBegin( prim ) ... glEnd() glShadeModel( GL_FLAT ); glBegin( prim ) ... glEnd() The big win is when we can eliminate all the statechanges between two primitive blocks and combine them into a single VBO node. This commit implements state-change elimination for Material and ShadeModel only. This is enough to make a start on debugging, etc.
/external/mesa3d/src/mesa/main/mtypes.h
|
4031ea1520f582fa36a6b964de7d565fe33a538d |
|
17-Jun-2009 |
Brian Paul <brianp@vmware.com> |
glsl: Added gl_shader_state::EmitContReturn field This is the start of a glsl-continue-return feature branch to support a GLSL code generator option for 'continue' and 'return' statements. Some targets don't support CONT or RET statements so we'll need to try to generate code that does not use them...
/external/mesa3d/src/mesa/main/mtypes.h
|
00e203fe17cbf2127abc422c785cf9fad3232adb |
|
01-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: create/use a fallback texture when bound texture is incomplete When a GLSL sampler reads from an incomplete texture it should return (0,0,0,1). Instead of jumping through hoops in all the drivers to make this happen, just create/install a fallback texture with those texel values. Fixes piglit/fp-incomplete-tex on i965 and more importantly, fixes some GPU lockups when trying to sample from missing surfaces. If a binding table entry is NULL, it seems that sampling sometimes works, but not always (lockup). Todo: create a fallback texture for each type of texture target? (cherry picked from commit 3f25219c7bf0f090502489928f0f018e62c4f6cf)
/external/mesa3d/src/mesa/main/mtypes.h
|
3f856c6b6b7fa95ef97a8712876de88d7d57932e |
|
17-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rework viewport/scissor initialization code The first time a context is bound to a drawable, the viewport and scissor bounds are initialized to the buffer's size. This is actually a bit tricky. A new _mesa_check_init_viewport() function is called in several places to check if the viewport has been initialized. We also use a new ctx->ViewportInitialized flag instead of the overloaded ctx->FirstTimeCurrent flag.
/external/mesa3d/src/mesa/main/mtypes.h
|
f57280cc7360d0eee40df6d34befbfad2288d297 |
|
27-Jun-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'arb_vertex_array_object'
|
a18e209edb5348eb167e9d7184597031bbbbe622 |
|
27-Jun-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch' Conflicts: Makefile src/gallium/drivers/softpipe/sp_screen.c src/mesa/main/version.h
|
7ebadecd8758f2a4d965bc57068eccd05f9b1470 |
|
23-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added extension flag for ARB_vertex_array_object
/external/mesa3d/src/mesa/main/mtypes.h
|
9342e6f5a94d3b884dcb98b4741295f1aa23e282 |
|
20-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: implement _mesa_GenVertexArrays() for GL_ARB_vertex_array_object This also involves adding a gl_array_object::VBOonly field. For the ARB extension, all arrays in the object must reside in a VBO. This flag keeps track of that requirement.
/external/mesa3d/src/mesa/main/mtypes.h
|
12cf98f5fc5eaa4743134387ce3f8e584aa20bc4 |
|
20-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move vertex array objects from shared state to per-context The ARB version requires VAOs to be per-context while the Apple extension was ambiguous.
/external/mesa3d/src/mesa/main/mtypes.h
|
9038b6c8bbda49c544d777c7cf7b107887421c77 |
|
19-Jun-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'ext-provoking-vertex' Conflicts: docs/relnotes-7.6.html progs/tests/Makefile src/gallium/drivers/softpipe/sp_prim_vbuf.c src/glx/x11/indirect.c src/mesa/glapi/Makefile src/mesa/glapi/dispatch.h src/mesa/glapi/glapioffsets.h src/mesa/glapi/glapitable.h src/mesa/glapi/glapitemp.h src/mesa/glapi/glprocs.h src/mesa/main/dlist.c src/mesa/main/enums.c src/mesa/sparc/glapi_sparc.S src/mesa/x86-64/glapi_x86-64.S src/mesa/x86/glapi_x86.S
|
a04af335a42ce3b28e59ff9b85b2bd433a9d7b12 |
|
24-Jun-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_5_branch' Conflicts: src/mesa/drivers/dri/i915/i915_tex_layout.c src/mesa/drivers/dri/i965/brw_wm_glsl.c src/mesa/drivers/dri/intel/intel_buffer_objects.c src/mesa/drivers/dri/intel/intel_pixel_bitmap.c src/mesa/drivers/dri/intel/intel_pixel_draw.c src/mesa/main/enums.c src/mesa/main/texstate.c src/mesa/vbo/vbo_exec_array.c
|
e75b283b45add351dbe5a09289fe85546df8a79a |
|
09-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: implement GL_ARB_map_buffer_range Only enabled for software drivers at this point. Note that the gl_buffer_object::Access enum field has been replaced by a gl_buffer_object::AccessFlags bitfield. The new field is a mask of the GL_MAP_x_BIT flags which is a superset of the old GL_READ_ONLY, GL_WRITE_ONLY and GL_READ_WRITE modes. When we query GL_BUFFER_ACCESS_ARB we translate the bitfield into the conventional enum values.
/external/mesa3d/src/mesa/main/mtypes.h
|
462a9525c78d5757afd2a8d4dc60afc68a69579b |
|
08-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: reorder fields, update comments for gl_buffer_object
/external/mesa3d/src/mesa/main/mtypes.h
|
96a30b06dbc60ff63392cf8ae9dcb3d245b41c27 |
|
03-Jun-2009 |
Brian Paul <brianp@vmware.com> |
mesa: new state for GL_ARB_copy_buffer
/external/mesa3d/src/mesa/main/mtypes.h
|
89966cdb1b5974059c32308d74b5bb09943a6fa1 |
|
28-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: data structure updates for GL_EXT_provoking_vertex
/external/mesa3d/src/mesa/main/mtypes.h
|
2ead49f98bcc18ab0ebc7942de78e280ec56d77a |
|
22-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: reduce gl_array_object::VertexAttrib[] array from 32 to 16 elements This array was mistakenly dimensioned with VERT_ATTRIB_MAX (32) but it should really be MAX_VERTEX_GENERIC_ATTRIBS (16). The generic vertex attributes are in addition to the conventional arrays (except in NV vertex program mode- they alias/overlay in that case) so the total of all conventional attributes plus generic attributes should total 32 (not 48).
/external/mesa3d/src/mesa/main/mtypes.h
|
8fa0cb2b422abaeee1b69f82ca7e9f02dc8393b9 |
|
21-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added gl_array_object::Weight array field We don't really implement vertex weights but in the VBO code this fixes and odd case for the legacy_array[] setup. Before, the vbo->draw_prims() call was always indicating that the vertex weight array was present/enabled when it really wasn't.
/external/mesa3d/src/mesa/main/mtypes.h
|
15f21bf357980284d4aea6270f68bb9b83d26fbd |
|
15-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: updated comment for _MaxElement field It's the largest array index, plus one.
/external/mesa3d/src/mesa/main/mtypes.h
|
a185bcbdec856cc98c26098e4e447a683eed14d1 |
|
14-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_array_attrib::_MaxElement to gl_array_object::_MaxElement This value is per array object.
/external/mesa3d/src/mesa/main/mtypes.h
|
5568f2f601fbd974af402da92548904f6fafc6dc |
|
13-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: reference counting for gl_array_object Every kind of object that can be shared by multiple contexts should be refcounted. (cherry picked from commit 1030bf0ded2a88a5e27f7a4d393c11cfde3d3c5a)
/external/mesa3d/src/mesa/main/mtypes.h
|
b6e8256899a9a93c665c34e10efcc918f2fcc095 |
|
05-May-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: more complete fix for transform_invarient glitches Add a new flag mvp_with_dp4 in the context, and use that to switch both ffvertex.c and programopt.c vertex transformation code to either DP4 or MUL/MAD implementations.
/external/mesa3d/src/mesa/main/mtypes.h
|
1030bf0ded2a88a5e27f7a4d393c11cfde3d3c5a |
|
07-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: reference counting for gl_array_object Every kind of object that can be shared by multiple contexts should be refcounted.
/external/mesa3d/src/mesa/main/mtypes.h
|
9bb6684799f00fabc313ee50be671454e498d8a9 |
|
07-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: array object comments
/external/mesa3d/src/mesa/main/mtypes.h
|
4f6b704f9796775d8d9937c3cf75a2901b99b896 |
|
07-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move the NullBufferObj from GLcontext to gl_shared_state Since shared array objects may point to the null/default buffer object, the null/default buffer object should be part of the shared state.
/external/mesa3d/src/mesa/main/mtypes.h
|
6359ecebec860963886801656ab4e01c4e9ff988 |
|
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused gl_buffer_object::OnCard field
/external/mesa3d/src/mesa/main/mtypes.h
|
dcca97a3e3c1d8f5d27e1177257964eddb9effd3 |
|
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added gl_buffer_object::Written flag (for debug purposes) The flag is set when we data has been written into the buffer object.
/external/mesa3d/src/mesa/main/mtypes.h
|
b9d0f947f2bcc47047b162e3d7c8f91b6153e02c |
|
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: Compute gl_client_array->_MaxElement during array validation Used to be done in the glVertex/Normal/Color/etc/Pointer() calls but if the VBO was reallocated the size could change. New _NEW_BUFFER_OBJECT state flag.
/external/mesa3d/src/mesa/main/mtypes.h
|
0077c879b57f663c038becdde37b2f6671f59150 |
|
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added _ElementSize field to gl_client_array Will be handy for bounds checking later...
/external/mesa3d/src/mesa/main/mtypes.h
|
b102c1d8f9ea359879e6c1c4fd8c80c00d21cad5 |
|
06-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix/add comments
/external/mesa3d/src/mesa/main/mtypes.h
|
113403ef51e2ec764db061aabf569d6f1a1a3ef0 |
|
05-May-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa: more complete fix for transform_invarient glitches Add a new flag mvp_with_dp4 in the context, and use that to switch both ffvertex.c and programopt.c vertex transformation code to either DP4 or MUL/MAD implementations.
/external/mesa3d/src/mesa/main/mtypes.h
|
30b3d800917cc5b41ec508fd38a0ae1da8624a36 |
|
01-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix comment
/external/mesa3d/src/mesa/main/mtypes.h
|
3f25219c7bf0f090502489928f0f018e62c4f6cf |
|
01-May-2009 |
Brian Paul <brianp@vmware.com> |
mesa: create/use a fallback texture when bound texture is incomplete When a GLSL sampler reads from an incomplete texture it should return (0,0,0,1). Instead of jumping through hoops in all the drivers to make this happen, just create/install a fallback texture with those texel values. Fixes piglit/fp-incomplete-tex on i965 and more importantly, fixes some GPU lockups when trying to sample from missing surfaces. If a binding table entry is NULL, it seems that sampling sometimes works, but not always (lockup). Todo: create a fallback texture for each type of texture target?
/external/mesa3d/src/mesa/main/mtypes.h
|
64e331eb529e66ef678804594c8a3266c97e645f |
|
21-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: new _NEW_PROGRAM_CONSTANTS flag This state flag will be used to indicate that vertex/fragment program constants have changed. _NEW_PROGRAM will be used to indicate changes to the vertex/fragment shader itself, or misc related state. _NEW_PROGRAM_CONSTANTS is also set whenever a program parameter that's tracking GL state has changed. For example, if the projection matrix is in the parameter list, calling glFrustum() will cause _NEW_PROGRAM_CONSTANTS to be set. This will let to remove the need for dynamic state atoms in some drivers. For now, we still set _NEW_PROGRAM in all the places we used to. We'll no longer set _NEW_PROGRAM in glUniform() after drivers/etc have been updated.
/external/mesa3d/src/mesa/main/mtypes.h
|
7391ba1e9d81f15465059db25d1279eefdbeb1a9 |
|
03-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rename some gl_light fields to be clearer EyeDirection -> SpotDirection _NormDirection -> _NormSpotDirection
/external/mesa3d/src/mesa/main/mtypes.h
|
7fbae9f41d79fc410f6c6638e26be0ff2be545bd |
|
12-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: get rid of gl_texture_object::_BorderChan
/external/mesa3d/src/mesa/main/mtypes.h
|
bd9b2be8284fda3f8aac235908ded118b5648a38 |
|
09-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: texture combine clean-ups Use MAX_COMBINER_TERMS instead of 4. Rename some vars. Update comments.
/external/mesa3d/src/mesa/main/mtypes.h
|
49fb750a6884c3f647f46270ffce8652f664f908 |
|
02-Apr-2009 |
Brian Paul <brianp@vmware.com> |
glsl: implement compiling/linking of separate compilation units A shader program may consist of multiple shaders (source code units). If we find there are unresolved functions after compiling the unit that defines main(), we'll concatenate all the respective vertex or fragment shaders then recompile. This isn't foolproof but should work in most cases.
/external/mesa3d/src/mesa/main/mtypes.h
|
c6a6cc191813e8343a17b028146a34f193a6ce44 |
|
27-Mar-2009 |
Roland Scheidegger <sroland@vmware.com> |
mesa: add new signed rgba texture format This is a (partial) backport of the signed texture format support in OGL 3.1. Since it wasn't promoted from an existing extension roll our own.
/external/mesa3d/src/mesa/main/mtypes.h
|
65fc2ca82a38bc00ae4223124932af6771765041 |
|
19-Mar-2009 |
Brian Paul <brianp@vmware.com> |
glsl: change GLSL #pragma initialization Initialize the shader's pragma settings before calling the compiler. Added pragma "Ignore" fields to allow overriding the #pragma directives found in shader source code.
/external/mesa3d/src/mesa/main/mtypes.h
|
29309b45b011b4c44721b8f7346272fb22a4d4c2 |
|
12-Mar-2009 |
Robert Ellison <papillo@vmware.com> |
i965: fix polygon stipple when rendering to FBO The polygon stipple pattern, like the viewport and the polygon face orientation, must be inverted on the i965 when rendering to a FBO (which itself has an inverted pixel coordinate system compared to raw Mesa). In addition, the polygon stipple offset, which orients the stipple to the window system, disappears when rendering to an FBO (because the window system offset doesn't apply, and there's no associated FBO offset). With these fixes, the conform triangle and polygon stipple tests pass when rendering to texture.
/external/mesa3d/src/mesa/main/mtypes.h
|
114152e068ec919feb0a57a1259c2ada970b9f02 |
|
12-Mar-2009 |
Roland Scheidegger <sroland@vmware.com> |
mesa: add support for ATI_envmap_bumpmap add new entrypoints, new texture format, etc translate in texenvprogram.c for drivers using the mesa-generated tex env fragment program also handled in swrast, but not tested (cannot work due to negative texel results not handled correctly)
/external/mesa3d/src/mesa/main/mtypes.h
|
6dceeb2eb804d708639d68a13a924d65f366458a |
|
11-Mar-2009 |
Robert Ellison <papillo@vmware.com> |
i965: fix polygon face orientation when rendering to FBO In the i965, the FBO coordinate system is inverted from the standard OpenGL/Mesa coordinate system; that means that the viewport and the polygon face orientation have to be inverted if rendering to a FBO. The viewport was already being handled correctly; but polygon face was not. This caused a conform failure when rendering to texture with two-sided lighting enabled. This fixes the problem in the i965 driver, and adds to the comment about the gl_framebuffer "Name" field so that this isn't a surprise to other driver writers.
/external/mesa3d/src/mesa/main/mtypes.h
|
548be3846db59ad43934a159c051b359db6e56db |
|
12-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove some last remnants of GL_MESA_program_debug
/external/mesa3d/src/mesa/main/mtypes.h
|
4dfa3757c58255c3ad8c3fe343541d2aa677f44c |
|
12-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: minor comments
/external/mesa3d/src/mesa/main/mtypes.h
|
590f6fe05030cb274067a9e58af9d8306d97d0b9 |
|
12-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_texture_object::_Function field and associated code It was only used in one place in swrast.
/external/mesa3d/src/mesa/main/mtypes.h
|
9457d9ff4482f9b3796e2989e9ac3385d7d5404d |
|
08-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: reorder register file enums
/external/mesa3d/src/mesa/main/mtypes.h
|
b4026d9be828bd0b6f60158456edf24994efb053 |
|
07-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: gl_register_file enum typedef
/external/mesa3d/src/mesa/main/mtypes.h
|
69e07bdeb42f2454f5052f86119adfb68f253098 |
|
07-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove GL_MESA_program_debug extension This was never fully fleshed out and hasn't been used.
/external/mesa3d/src/mesa/main/mtypes.h
|
8ad65a23d14f82461c00b1d8dcc1393167f36ab0 |
|
04-Mar-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Follow ARB_map_buffer_range more stricly. Namelly, FlushMappedBufferRange takes a subrange relative to the original range.
/external/mesa3d/src/mesa/main/mtypes.h
|
f352a80aec10c3faf2d84e0b35d59b4edc0395ef |
|
02-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add ctx->Stencil._Enabled field Only true if stenciling is enabled, and there's a stencil buffer.
/external/mesa3d/src/mesa/main/mtypes.h
|
e30f7657639d53dc87fa35aa2ec02ed13c70f796 |
|
01-Mar-2009 |
Brian Paul <brianp@vmware.com> |
mesa: clarify comments for per-unit texture bitfields
/external/mesa3d/src/mesa/main/mtypes.h
|
555f0a88182e2b1af809b2d97abdac02814a2f28 |
|
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused AUX buffers Remove all references to aux buffers 1..3. Keep AUX0 around for now just in case, but it'll probably go too someday. I don't know of any OpenGL drivers since the IRIX days that support aux color buffers.
/external/mesa3d/src/mesa/main/mtypes.h
|
8d475822e6e19fa79719c856a2db5b6a205db1b9 |
|
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rename, reorder FRAG_RESULT_x tokens s/FRAG_RESULT_DEPR/FRAG_RESULT_DEPTH/ s/FRAG_RESULT_COLR/FRAG_RESULT/COLOR/ Remove FRAG_RESULT_COLH (NV half-precision) output since we never used it. Next, we might merge the COLOR and DATA outputs (COLOR0, COLOR1, etc).
/external/mesa3d/src/mesa/main/mtypes.h
|
4c4268dd31ce119d5d3db090adf0935bf3c27831 |
|
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: convert some #defines to enums This makes debugging with gdb a bit easier. Ex: (gdb) p ctx->DrawBuffer.Attachment[BUFFER_STENCIL] Note however that gdb only seems to recognize enum types that are actually used to declare a variable somewhere. For example, gl_buffer_index isn't used to declare any vars so it's invisible to gdb. Work around this by adding a dummy function in context.c that declares some vars with these new types.
/external/mesa3d/src/mesa/main/mtypes.h
|
b7ebc270a4b464eb2136e9c45fdfeed798c007c8 |
|
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move #include "bitset.h" out of mtypes.h - not needed in core Mesa
/external/mesa3d/src/mesa/main/mtypes.h
|
389d50baff8234fdf4d7bcddeb09658d7d17012d |
|
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move GLfixed type and related macros to swrast module Fixed point is only used in swrast and sw-based drivers.
/external/mesa3d/src/mesa/main/mtypes.h
|
7f25d9ebb4856273c46ea4bbba4152b85f610a91 |
|
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_attrib_node struct to attrib.c too
/external/mesa3d/src/mesa/main/mtypes.h
|
55399c29511a47bd52c39862a246f29e6f35c3cf |
|
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_enable_attrib struct to attrib.c, the only place it's used
/external/mesa3d/src/mesa/main/mtypes.h
|
bedd20743b80b5a6d7d9954e4479a44a76c7ea02 |
|
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: lots of updated comments, formatting clean-ups
/external/mesa3d/src/mesa/main/mtypes.h
|
1d5a68970f1d8fcca29ce24e6667a143733197f0 |
|
23-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: #include, misc clean-ups
/external/mesa3d/src/mesa/main/mtypes.h
|
f2c023291a1f2887294d2aac504f8b82857ad092 |
|
22-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move a bunch of compiler-related stuff into new compiler.h header This trims down and cleans up imports.h and glheader.h quite a bit.
/external/mesa3d/src/mesa/main/mtypes.h
|
d909dbcc43c5c1d51a3946488e68a7cd1fbfe920 |
|
22-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unused ENABLE_TEXGENx, ENABLE_TEXMATx flags
/external/mesa3d/src/mesa/main/mtypes.h
|
d059d030342fc232a5b54298c0591f5f814f4adb |
|
21-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use enums for TEXTURE_x_INDEX values Plus, put them in the order of highest to lowest priority to simplify the texture_override() loop.
/external/mesa3d/src/mesa/main/mtypes.h
|
9818734e0148510967ca9ee0d1aa8b196b509f02 |
|
21-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use an array for current texture objects Use loops to consolidate lots of texture object code.
/external/mesa3d/src/mesa/main/mtypes.h
|
4d24b639d160fe485a3e8f7395e7654538be29e0 |
|
21-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use an array for default texture objects Replace Default1D/2D/3D/Cube/etc with DefaultTex[TEXTURE_x_INDEX]. The same should be done with the Current1D/2D/3D/etc pointers...
/external/mesa3d/src/mesa/main/mtypes.h
|
9705cff2033f1771a39ac3bb78eb5fcea522218a |
|
21-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: re-org texgen state New gl_texgen struct allows quite a bit of code reduction.
/external/mesa3d/src/mesa/main/mtypes.h
|
a304cc6cca2ee21c3b25041abf882ef0616e5244 |
|
19-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix/update/restore comments related to two-sided stencil
/external/mesa3d/src/mesa/main/mtypes.h
|
5761c64823c10093c0f72bc8a62c99b86362e4e5 |
|
19-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: convert VERT_RESULT_* from #defines to enum, like the others
/external/mesa3d/src/mesa/main/mtypes.h
|
5340b6dff73a0a23531ce2a5f28fba8303adab6e |
|
11-Feb-2009 |
Brian Paul <brianp@vmware.com> |
Merge commit 'origin/gallium-master-merge' This is the big merge of the gallium-0.2 branch into master. gallium-master-merge was just the staging area for it. Both gallium-0.2 and gallium-master-merge are considered closed now. Conflicts: progs/demos/Makefile src/mesa/main/state.c src/mesa/main/texenvprogram.c
|
1ed5fe5cbfb64c57997ec46684748f8ae516d19c |
|
10-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: s/_IMAGE_NEW_TRANSFER_STATE/_MESA_NEW_TRANSFER_STATE/ to be more consistant with other flags
/external/mesa3d/src/mesa/main/mtypes.h
|
e97681c7f551a2a2a6bd5eff0f4192a870c816c0 |
|
09-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: merge gallium-0.2 into gallium-master-merge Merge commit 'origin/gallium-0.2' into gallium-master-merge Conflicts: Makefile docs/relnotes-7.4.html docs/relnotes.html src/mesa/drivers/dri/i965/brw_wm.h src/mesa/main/imports.c src/mesa/main/mtypes.h src/mesa/main/texcompress.c src/mesa/main/texenvprogram.c src/mesa/main/version.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_draw.c
|
e01a03d2220199a4541f2cb8b42035237a571aa4 |
|
06-Feb-2009 |
Brian Paul <brianp@vmware.com> |
glsl: new MESA_GLSL env var for GLSL debugging features Replaces the VERBOSE_GLSL, VERBOSE_GLSL_DUMP flags which only worked in debug builds. MESA_GLSL will work both in debug and non-debug builds. Also add facility to dump glUniform() calls to stdout.
/external/mesa3d/src/mesa/main/mtypes.h
|
aafcc26642d5243944a1abb816c2657f644c0649 |
|
06-Feb-2009 |
Brian Paul <brianp@vmware.com> |
Revert "mesa: meaningless whitespace change to see if git's working (ignore)" This reverts commit b2e779988eeb595187933fe2122d86f8ccfe059c. I didn't mean to push this stuff yet. I'm having a bad git day...
/external/mesa3d/src/mesa/main/mtypes.h
|
b2e779988eeb595187933fe2122d86f8ccfe059c |
|
06-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: meaningless whitespace change to see if git's working (ignore)
/external/mesa3d/src/mesa/main/mtypes.h
|
0001deef1108b77cf4879fff4647401fb68c421e |
|
31-Jan-2009 |
Brian <brianp@vmware.com> |
mesa: more display list cleanups Remove some unneeded fields. Rename some function parameters.
/external/mesa3d/src/mesa/main/mtypes.h
|
446abc2799a143c32c4c48472f3f964f9288a623 |
|
31-Jan-2009 |
Brian <brianp@vmware.com> |
mesa: display list clean-ups Rename some structs and fields to be more consistant with the rest of mesa.
/external/mesa3d/src/mesa/main/mtypes.h
|
7721bf267b64ef28376f07daae7713814e91af35 |
|
31-Jan-2009 |
Brian <brianp@vmware.com> |
mesa: minor comments, clean-ups
/external/mesa3d/src/mesa/main/mtypes.h
|
2897cee99fb877e1f3cd9a881a61418c9c31867f |
|
29-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix a render to texture FBO validation bug When glTexImage() is called we need to re-validate any FBOs that point to the texture (i.e. render-to-texture) since changing the texture's size/format will effect FBO completeness. We don't keep a list of all FBOs rendering into each texture (which would be a bit messy) so we check all FBOs in existance. To optimize this, the gl_texture_object->_RenderToTexture flag is used to avoid checking textures that have never been used as renderbuffers. So, we only walk over all FBOs (there's usually only a few) when glTexImage() modifies a RTT texture. Fixes a bug seen in shadowtex.c when toggling packed depth/stencil mode.
/external/mesa3d/src/mesa/main/mtypes.h
|
26da28c995557c8b913e5ccfe31b31dc32e6c735 |
|
29-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove GL_SGIX_shadow, GL_SGIX_shadow_ambient and GL_SGIX_depth_texture Everyone should be using the newer/better ARB versions of these extensions.
/external/mesa3d/src/mesa/main/mtypes.h
|
4a89e51c5f88b57040b361b62e80a57c8248ba4b |
|
28-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: set/get new state for GL_EXT_texture_swizzle
/external/mesa3d/src/mesa/main/mtypes.h
|
f5d3027c0a03e26fe90efc067766c996dea05948 |
|
24-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: initial changes for GL_NV_texture_env_combine4
/external/mesa3d/src/mesa/main/mtypes.h
|
b8fc605cdb741bd409dbca44150a7ba262b6f157 |
|
23-Jan-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'vertex_array_bgra'
|
f7c1a2dacd1643a19fbf975c21ac3e64b708c8d7 |
|
23-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: initial bits for GL_EXT_vertex_array_bgra
/external/mesa3d/src/mesa/main/mtypes.h
|
dde7cb962860e72e1bf3175069767358cc5b3f3c |
|
10-Jan-2009 |
Ian Romanick <idr@freedesktop.org> |
Track two sets of back-face stencil state Track separate back-face stencil state for OpenGL 2.0 / GL_ATI_separate_stencil and GL_EXT_stencil_two_side. This allows all three to be enabled in a driver. One set of state is set via the 2.0 or ATI functions and is used when STENCIL_TEST_TWO_SIDE_EXT is disabled. The other is set by StencilFunc and StencilOp when the active stencil face is set to BACK. The GL_EXT_stencil_two_side spec has more details. http://opengl.org/registry/specs/EXT/stencil_two_side.txt
/external/mesa3d/src/mesa/main/mtypes.h
|
4fc16fb7e9b72c4535967804c031256637a97197 |
|
20-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: added NumSamples, MaxSamples for ARB_fbo
/external/mesa3d/src/mesa/main/mtypes.h
|
d9a2cf92468f318e4cd7f1cfdbb3faf53545ecad |
|
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: add new ColorEncoding and ComponentType to gl_renderbuffer
/external/mesa3d/src/mesa/main/mtypes.h
|
7d98f5ab6e207586dcac4b165221ea9852fcf035 |
|
22-Jan-2009 |
Brian Paul <brianp@vmware.com> |
mesa: initial extension bits for GL_ARB_framebuffer_object
/external/mesa3d/src/mesa/main/mtypes.h
|
658b1bdb1cc5f9910be910dc156a2e81ed999756 |
|
15-Jan-2009 |
Alan Hourihane <alanh@vmware.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: docs/install.html docs/relnotes-7.3.html src/mesa/shader/slang/slang_codegen.c src/mesa/shader/slang/slang_compile.c src/mesa/shader/slang/slang_emit.c src/mesa/shader/slang/slang_preprocess.c src/mesa/shader/slang/slang_preprocess.h
|
fae9604727c048834a7d5a90f8a652c86cff057a |
|
14-Jan-2009 |
Brian Paul <brianp@vmware.com> |
glsl: propagate pragma info down into compiler from preprocessor
/external/mesa3d/src/mesa/main/mtypes.h
|
510916f50961a3a9286807e7f75ba716f3e7f967 |
|
07-Jan-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Remove _Active and _UseTexEnvProgram flags from fragment programs. There was a note in state.c about _Active deserving to die, and there were potential issues with it due to i965 forgetting to set _UseTexEnvProgram. Removing both simplifies things. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
8fb727548a652c47d8cf9593e2ae412ef2040119 |
|
07-Jan-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Remove _Active and _UseTexEnvProgram flags from fragment programs. There was a note in state.c about _Active deserving to die, and there were potential issues with it due to i965 forgetting to set _UseTexEnvProgram. Removing both simplifies things. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mtypes.h
|
0815ebccfc0a12d8f3e831928f1c4210b7f75ad8 |
|
03-Jan-2009 |
Brian Paul <brianp@vmware.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: src/mesa/main/ffvertex_prog.c src/mesa/main/texenvprogram.c
|
e9b34885b8ff2ccb67a801cd1ce07e0df1b0e397 |
|
31-Dec-2008 |
Brian Paul <brianp@vmware.com> |
mesa: increase max texture image units and GLSL samplers to 16 The max texture coord units is still 8. All the fixed-function paths are still limited to 8 too. But GLSL shaders can use more samplers now. Note that some texcoord-related data structures are declared to be 16 elements in size rather than 8. This just simplifies the code in a few places; the extra elements aren't accessible to the user. These changes haven't been extensively tested yet, but sanity checking has been done. It should be possible to increase the max image units/samplers to 32 without doing anything special. Beyond that we'll need longer bitfields in a few places.
/external/mesa3d/src/mesa/main/mtypes.h
|
9585f8daef6681bf1ad62ff4ad9a4102cf5d1abd |
|
17-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: updated comments
/external/mesa3d/src/mesa/main/mtypes.h
|
20555835b68c58b52d7954a0b237a9a331013e68 |
|
17-Dec-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: updated comments
/external/mesa3d/src/mesa/main/mtypes.h
|
df6155fcff66034457b3165f5df0a61ccfc41314 |
|
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: progs/glsl/Makefile
|
b730d0d3e9b202b17a0815cb820fc9905f35cb98 |
|
24-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: add gl_program::Input/OutputFlags[] array These arrays will indicate per-input or per-output options for vertex/fragment programs such as centroid-sampling and invariance.
/external/mesa3d/src/mesa/main/mtypes.h
|
81c862205e32b163a9f5ecf3f59e4cdcccee36c6 |
|
01-Nov-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: src/mesa/shader/slang/library/slang_vertex_builtin_gc.h
|
131d42573ce1fc120c8ef75634979b6206e1eb0a |
|
01-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: additional debug flags for glsl debug/disassembly
/external/mesa3d/src/mesa/main/mtypes.h
|
cf85e413ad7672c1cef73215222ca1caa8e48b30 |
|
15-Oct-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/gallium-0.1' into gallium-0.2 Conflicts: src/mesa/main/context.c
|
6d4d51d647c27288aa625560bc080231099c0b01 |
|
10-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: new _mesa_set_vp_override() function for driver-override of vertex program Patch provide by Keith. Used in state tracker by DrawPixels to indicate that the state tracker (driver) is using its own vertex program. This prevents the texenvprogram code from replacing conventional shader inputs with state vars. Fixes glDraw/CopyPixels regressions.
/external/mesa3d/src/mesa/main/mtypes.h
|
3a3801c1431203fc4dca24d56577995ae2e78956 |
|
10-Oct-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: src/mesa/glapi/descrip.mms src/mesa/shader/grammar/descrip.mms
|
d7f1cb5b5a134b63227d5746a2dd1f05597c5c2f |
|
10-Oct-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/gallium-0.1' into gallium-0.2 Conflicts: src/gallium/auxiliary/gallivm/instructionssoa.cpp src/gallium/auxiliary/gallivm/soabuiltins.c src/gallium/auxiliary/rtasm/rtasm_x86sse.c src/gallium/auxiliary/rtasm/rtasm_x86sse.h src/mesa/main/texenvprogram.c src/mesa/shader/arbprogparse.c src/mesa/shader/prog_statevars.c src/mesa/state_tracker/st_draw.c src/mesa/vbo/vbo_exec_draw.c
|
239617fbe22d4dd7b2794510a6665f09602b5adf |
|
07-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: replace GLuint with GLbitfield to be clearer about usage Also, fix up some comments to be doxygen style.
/external/mesa3d/src/mesa/main/mtypes.h
|
1680ef869625dc1fe9cf481b180382a34e0738e7 |
|
03-Oct-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: avoid generating constant vertex attributes in fixedfunc programs Keep track of enabled/active vertex attributes. Keep track of potential vertex program outputs. When generating fragment program, replace references to fragment attributes which are effectively non-varying and non-computed passthrough attributes with references to the new CURRENT_ATTRIB tracked state value. Only downside is slight ugliness in VBO code where we need to validate state twice in succession.
/external/mesa3d/src/mesa/main/mtypes.h
|
fa1b533012030cd67148b5bf1e018fd5e30c96f8 |
|
03-Oct-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: add new internal state for tracking current vertex attribs
/external/mesa3d/src/mesa/main/mtypes.h
|
4741dbcbbc2514de370a760f4b78a17491014555 |
|
02-Oct-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
Unify ARB_depth_texture and SGIX_depth_texture The ARB extension is a superset of the older SGIX extension. Any hardware that can support the SGIX version can also support the ARB version. In Mesa, any driver that supports one also supports the other. This unification just simplifies some bits of code.
/external/mesa3d/src/mesa/main/mtypes.h
|
ec76910187adc88fc54907ffa3506309ee2abcf3 |
|
18-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: new gl_fragment_program fields indicating use of fog, front-facing, point coord (cherry picked from commit d7a7b0a10dd355fbeb7a404091a42d4ab558c820)
/external/mesa3d/src/mesa/main/mtypes.h
|
1b7e90984511cfa47597c255d73ca416ddd2db6f |
|
13-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: texture crop rect state (cherry picked from commit c01fbc7866d7cd5cf4263dffec6d9591470b4c23)
/external/mesa3d/src/mesa/main/mtypes.h
|
ce1685ce947545fac8c254cafdc0f133b6202ca9 |
|
14-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: comments about vectors vs components
/external/mesa3d/src/mesa/main/mtypes.h
|
1cf2c8a04313b80a01ef23b06993586ce62281a4 |
|
25-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: point size arrays
/external/mesa3d/src/mesa/main/mtypes.h
|
2dbc515a669be123a019aeb4aa5aae6b1679f6a9 |
|
14-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: move some glapi bits around Move _glapi_proc typedef from glapitable.h to glapi.h Also, don't include glapitable.h from glapi.h Before we were including the huge glapitable.h file in every .c file.
/external/mesa3d/src/mesa/main/mtypes.h
|
32ef6e75839d6be283e034436e5dd34eabb67958 |
|
20-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: move fixed function vertex program builder from tnl to core mesa Also unify caching of fragment and vertex programs in shader/prog_cache.c` Brought across from gallium-0.2
/external/mesa3d/src/mesa/main/mtypes.h
|
7ce597508e7400e962c8fdb2d255f9887cb9c710 |
|
20-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
mesa: improved driver query interface Brought over from gallium-0.2 branch.
/external/mesa3d/src/mesa/main/mtypes.h
|
a8d1521f30766b6a4707aa9966e1f2f9c0b3ac00 |
|
18-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/gallium-0.1' into gallium-0.2 Conflicts: src/mesa/shader/slang/slang_link.c
|
89ab66448e1bcd78caab6678261c2885dcff741c |
|
18-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge commit 'origin/master' into gallium-0.2 Conflicts: progs/trivial/Makefile src/mesa/glapi/glthread.c
|
d7a7b0a10dd355fbeb7a404091a42d4ab558c820 |
|
18-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: new gl_fragment_program fields indicating use of fog, front-facing, point coord
/external/mesa3d/src/mesa/main/mtypes.h
|
27341a97a17b23fdf57d33f78b475a474db71e4a |
|
17-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: rework GLSL vertex attribute binding Calls to glBindAttribLocation() should not take effect until the next time that glLinkProgram() is called. gl_shader_program::Attributes now just contains user-defined bindings. gl_shader_program::VertexProgram->Attributes contains the actual/final bindings.
/external/mesa3d/src/mesa/main/mtypes.h
|
e53296c928d80c6627a9551345c160533aa1a19e |
|
16-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: rework GLSL vertex attribute binding Calls to glBindAttribLocation() should not take effect until the next time that glLinkProgram() is called. gl_shader_program::Attributes now just contains user-defined bindings. gl_shader_program::VertexProgram->Attributes contains the actual/final bindings.
/external/mesa3d/src/mesa/main/mtypes.h
|
0397b2bb41b0f337af2949a15bcd7d0e7e8a7dc1 |
|
11-Sep-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge branch 'gallium-0.1' into gallium-0.2 A first attempt at moving gallium onto a branch directly off master... It will be interesting to see how much work this takes to get running. Have resolved the conflicts semi-arbitarily, not compiled or tested. Conflicts: .gitignore Makefile configs/config.mgw configs/darwin configs/darwin-x86ppc configs/default configs/freebsd-dri configs/linux-dri configs/linux-dri-xcb configs/linux-fbdev configs/linux-static configs/linux-x86-64-static configs/linux-x86-static doxygen/Makefile include/GL/gl.h progs/demos/Makefile progs/demos/descrip.mms progs/demos/texenv.c progs/egl/.gitignore progs/egl/Makefile progs/glsl/.gitignore progs/glsl/Makefile progs/glsl/convolutions.c progs/samples/Makefile.mgw progs/tests/.gitignore progs/trivial/.gitignore progs/trivial/point-param.c progs/trivial/tri.c progs/xdemos/.gitignore progs/xdemos/glthreads.c src/egl/drivers/demo/Makefile src/egl/drivers/dri/Makefile src/egl/main/Makefile src/glu/Makefile src/glu/sgi/Makefile src/glu/sgi/Makefile.mgw src/glut/glx/Makefile.mgw src/glut/os2/WarpWin.cpp src/glut/os2/glut_cindex.cpp src/glut/os2/glut_gamemode.cpp src/glut/os2/glut_win.cpp src/glut/os2/glut_winmisc.cpp src/glut/os2/os2_glx.cpp src/glut/os2/os2_menu.cpp src/glut/os2/os2_winproc.cpp src/glw/Makefile src/glx/x11/dri_glx.c src/glx/x11/glxext.c src/mesa/Makefile src/mesa/Makefile.mgw src/mesa/descrip.mms src/mesa/drivers/beos/Makefile src/mesa/drivers/common/descrip.mms src/mesa/drivers/common/driverfuncs.c src/mesa/drivers/directfb/Makefile src/mesa/drivers/dri/Makefile.template src/mesa/drivers/dri/common/dri_bufmgr.c src/mesa/drivers/dri/common/dri_bufmgr.h src/mesa/drivers/dri/common/dri_util.c src/mesa/drivers/dri/common/extension_helper.h src/mesa/drivers/dri/common/mmio.h src/mesa/drivers/dri/common/utils.c src/mesa/drivers/dri/common/utils.h src/mesa/drivers/dri/glcore/Makefile src/mesa/drivers/dri/i810/i810screen.c src/mesa/drivers/dri/i915/intel_ioctl.c src/mesa/drivers/dri/i915/intel_ioctl.h src/mesa/drivers/dri/i915/intel_screen.c src/mesa/drivers/dri/i915/server/i830_common.h src/mesa/drivers/dri/i915/server/i830_dri.h src/mesa/drivers/dri/i965/intel_screen.c src/mesa/drivers/dri/i965/server/i830_common.h src/mesa/drivers/dri/i965/server/i830_dri.h src/mesa/drivers/dri/mach64/mach64_screen.c src/mesa/drivers/dri/nouveau/nouveau_context.h src/mesa/drivers/dri/nouveau/nouveau_fifo.c src/mesa/drivers/dri/nouveau/nouveau_fifo.h src/mesa/drivers/dri/nouveau/nouveau_screen.c src/mesa/drivers/dri/nouveau/nouveau_screen.h src/mesa/drivers/dri/r128/r128_tex.h src/mesa/drivers/dri/savage/savageioctl.h src/mesa/drivers/fbdev/Makefile src/mesa/drivers/osmesa/Makefile src/mesa/drivers/osmesa/descrip.mms src/mesa/drivers/x11/Makefile src/mesa/drivers/x11/descrip.mms src/mesa/drivers/x11/xm_dd.c src/mesa/glapi/glapi.c src/mesa/glapi/glthread.c src/mesa/main/api_validate.c src/mesa/main/attrib.c src/mesa/main/bufferobj.c src/mesa/main/bufferobj.h src/mesa/main/buffers.c src/mesa/main/config.h src/mesa/main/context.c src/mesa/main/descrip.mms src/mesa/main/drawpix.c src/mesa/main/enums.c src/mesa/main/fbobject.c src/mesa/main/glheader.h src/mesa/main/imports.c src/mesa/main/mipmap.c src/mesa/main/mm.c src/mesa/main/mm.h src/mesa/main/mtypes.h src/mesa/main/points.c src/mesa/main/sources src/mesa/main/state.c src/mesa/main/texcompress_fxt1.c src/mesa/main/texenvprogram.c src/mesa/main/texobj.c src/mesa/main/texstate.c src/mesa/main/texstore.c src/mesa/math/descrip.mms src/mesa/shader/arbprogram.c src/mesa/shader/descrip.mms src/mesa/shader/prog_execute.c src/mesa/shader/prog_statevars.c src/mesa/shader/prog_statevars.h src/mesa/shader/prog_uniform.c src/mesa/shader/program.c src/mesa/shader/program.h src/mesa/shader/shader_api.c src/mesa/shader/slang/descrip.mms src/mesa/shader/slang/library/slang_vertex_builtin_gc.h src/mesa/sources src/mesa/swrast/descrip.mms src/mesa/swrast/s_drawpix.c src/mesa/swrast/s_fragprog.c src/mesa/swrast/s_readpix.c src/mesa/swrast/s_span.c src/mesa/swrast_setup/descrip.mms src/mesa/tnl/descrip.mms src/mesa/tnl/t_context.h src/mesa/tnl/t_vp_build.c src/mesa/tnl/tnl.h src/mesa/vbo/descrip.mms src/mesa/vbo/vbo_context.c src/mesa/vbo/vbo_exec_array.c src/mesa/x86-64/xform4.S src/mesa/x86/rtasm/x86sse.c src/mesa/x86/rtasm/x86sse.h windows/VC6/progs/glut/glut.dsp windows/VC7/mesa/gdi/gdi.vcproj windows/VC7/mesa/glu/glu.vcproj windows/VC7/mesa/mesa.sln windows/VC7/mesa/mesa/mesa.vcproj windows/VC7/mesa/osmesa/osmesa.vcproj windows/VC7/progs/glut/glut.vcproj windows/VC8/mesa/gdi/gdi.vcproj windows/VC8/mesa/glu/glu.vcproj windows/VC8/mesa/mesa.sln windows/VC8/mesa/mesa/mesa.vcproj windows/VC8/progs/glut/glut.vcproj
|
c01fbc7866d7cd5cf4263dffec6d9591470b4c23 |
|
13-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: texture crop rect state
/external/mesa3d/src/mesa/main/mtypes.h
|
3d500f00d2a09becccd62abc0472090c4faa53d6 |
|
24-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: only try to link shaders defining main()
/external/mesa3d/src/mesa/main/mtypes.h
|
90a3af7d9d0849afcee0d35ed0621fe24e1008a9 |
|
24-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: glsl: only try to link shaders defining main()
/external/mesa3d/src/mesa/main/mtypes.h
|
51654783ef0aa48560f70cd3944128a94a87d86b |
|
14-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: comments about vectors vs components
/external/mesa3d/src/mesa/main/mtypes.h
|
0bc2409e3808df54bf7d228475320e2ec4fe80a1 |
|
04-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX. Simplification in colortab.c too. cherry-picked from master (fe469007037d9d5cdbe1677d8ff7368b276e9e7c)
/external/mesa3d/src/mesa/main/mtypes.h
|
2fa7b3f78639114aec42fcbbfc29d3645832708b |
|
04-Jul-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: Implement mutex/locking around texture object reference counting. Use new _mesa_reference_texobj() function for referencing/unreferencing textures. Add new assertions/tests to try to detect invalid usage of deleted textures. cherry-picked from master (9e01b915f1243a3f551cb795b7124bd1e52ca15f)
/external/mesa3d/src/mesa/main/mtypes.h
|
489fc4d10a57538de59a89e19ce752e4b7253d22 |
|
02-Jul-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
mesa: fix issues around multisample enable multisample enable is enabled by default, however gl mandates multisample rendering rules only apply if there's also a multisampled buffer.
/external/mesa3d/src/mesa/main/mtypes.h
|
5ef4e4ffb8053db87f52df3c9b2ddb71d9c7d6e5 |
|
02-Jul-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
mesa: fix issues around multisample enable multisample enable is enabled by default, however gl mandates multisample rendering rules only apply if there's also a multisampled buffer.
/external/mesa3d/src/mesa/main/mtypes.h
|
429a08384c2ea66d446e46beb28e33ee3b764d52 |
|
27-Jun-2008 |
Roland Scheidegger <sroland@tungstengraphics.com> |
gallium: handle msaa
/external/mesa3d/src/mesa/main/mtypes.h
|
d378f7b3dfda3b549e4b02380e492671cc34bb59 |
|
25-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: point size arrays
/external/mesa3d/src/mesa/main/mtypes.h
|
8b11fa4d4496032246b33182b9285c1181d41f1f |
|
14-Jun-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: move some glapi bits around Move _glapi_proc typedef from glapitable.h to glapi.h Also, don't include glapitable.h from glapi.h Before we were including the huge glapitable.h file in every .c file.
/external/mesa3d/src/mesa/main/mtypes.h
|
ade508312c701ce89d3c2cd717994dbbabb4f207 |
|
15-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Updated GLSL uniform/sampler handling from gallium-0.1 branch Previously, the shader linker combined the uniforms used by the vertex and fragment shaders into a combined set of uniforms. This made the implementation of glUniform*() simple, but was rather inefficient otherwise. Now each shader gets its own set of uniforms (no more modelview matrix showing up in the fragment shader uniforms, for example). cherry-picked by hand from gallium-0.1 branch
/external/mesa3d/src/mesa/main/mtypes.h
|
5b5c9315275752add1215dba0f86d5f5068d856b |
|
08-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix refcounting bugs in tnl/tex program caches
/external/mesa3d/src/mesa/main/mtypes.h
|
a56a59ce74b7f18f25a13992d2a2c1ae7cf973ce |
|
07-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: implement full reference counting for vertex/fragment programs Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test. Another memory bug involving shaders yet to be fixed... Picked from gallium-0.1
/external/mesa3d/src/mesa/main/mtypes.h
|
df43fb661b2030d9b833a42dd47b8d7bf58d73aa |
|
07-May-2008 |
Brian <brian.paul@tungstengraphics.com> |
implement full reference counting for vertex/fragment programs Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test.
/external/mesa3d/src/mesa/main/mtypes.h
|
bc029247d9d886f4546a4c3a36737d09c488b7f9 |
|
05-Apr-2008 |
Brian <brian.paul@tungstengraphics.com> |
mesa: no longer combine vertex/fragment shader parameters/uniforms GLSL Vertex and fragment shaders now have independent parameter buffers. A new gl_uniform_list is used to keep track of program uniforms and where each uniform is located in each shader's parameter buffer. This makes better use of the space in each buffer and simplifies shader linking.
/external/mesa3d/src/mesa/main/mtypes.h
|
aef47c4dc87075fd63002b50c4b32b1049e5e4d1 |
|
31-Mar-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
Revert "mesa: separate shader program object from shader object." (bug#15244) This reverts commit 3ffd11f71d021f672b9bc15b3c39c155a0e2fecb.
/external/mesa3d/src/mesa/main/mtypes.h
|
3ffd11f71d021f672b9bc15b3c39c155a0e2fecb |
|
28-Feb-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: separate shader program object from shader object. Currently a callback delete_shader_cb is used for deleting shader and shader program objects. Mesa detaches all attached shaders in _mesa_free_shader_program_data when deleting shader program objects. However it is likely that these shaders have been freed in _mesa_free_shader, which will result in unexpected behaviour. This fix uses a single callback for shader program objects and deletes shader program objects before shader objects.
/external/mesa3d/src/mesa/main/mtypes.h
|
601a6b872c33bfe3cb4ea03a5a8ba5ebe92dedaf |
|
07-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Replace gl_framebuffer's _ColorDrawBufferMask with _ColorDrawBufferIndexes Each array element is now a BUFFER_x token rather than a BUFFER_BIT_x bitmask. The number of active color buffers is specified by _NumColorDrawBuffers. This builds on the previous DrawBuffer changes and will help with drivers implementing GL_ARB_draw_buffers.
/external/mesa3d/src/mesa/main/mtypes.h
|
ff73c783cc47361ff0dd819c82d067b4b85870dd |
|
06-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Simplify ctx->_NumColorDrawBuffers, _ColorDrawBuffers and fix bug 13835. These fields are no longer indexed by shader output. Now, we just have a simple array of renderbuffer pointers. If the shader writes to gl_FragData[i], send those colors to the N _ColorDrawBuffers. Otherwise, replicate the single gl_FragColor (or the fixed-function color) to the N _ColorDrawBuffers. A few more changes and simplifications can follow from this...
/external/mesa3d/src/mesa/main/mtypes.h
|
101abee6c4fc2c9284ff2ba6f9f9138327d6963d |
|
19-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Fix and reenable (software) SGIS_generate_mipmap The core problem was that _mesa_generate_mipmap was not respecting RowStride of the source image. Additionally, the intel private data associated with the images (level and face) was not being initialized for the _mesa_generate_mipmap-generated images.
/external/mesa3d/src/mesa/main/mtypes.h
|
fcd7c37fd3d0f61cf6ac81170bc0b3fca64ad9bb |
|
30-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix broken two-sided stencil
/external/mesa3d/src/mesa/main/mtypes.h
|
f4a5ea2ccb472958a4635c606e9510011bceaa3d |
|
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Update texenvprogram.c code to use prog_cache.c routines.
/external/mesa3d/src/mesa/main/mtypes.h
|
b26aae67f5fe4194b48a5d3ddf704797b804b58c |
|
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
alloc caches for fixed-func vertex/fragment progs
/external/mesa3d/src/mesa/main/mtypes.h
|
f18d4e058ed979c6e42e868c7febde4fa62c5810 |
|
29-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove ctx field from texenvprog_cache
/external/mesa3d/src/mesa/main/mtypes.h
|
8fed2466e4056668a76a87cf935b5fbff8ae15ca |
|
27-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Re-implement GLSL texture sampler variables. GLSL sampler variables indicate which texture unit to use for TEX instructions. Previously, this was baked into the fragment/vertex program and couldn't be readily changed once set. Now, SamplerUnits[] array indicates which texture unit is to be used for each sampler variable. These values are set with glUniform1i(). This is extra state that must be passed to the fragment/vertex program executor at runtime.
/external/mesa3d/src/mesa/main/mtypes.h
|
ed6d5ff6f8fdd34aaaa126119dbd8e1e321859d8 |
|
27-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Restore old _TriangleCaps code to fix Blender problem (bug 12164)
/external/mesa3d/src/mesa/main/mtypes.h
|
09fbb3837b6aa5dfc6c94f41ab5443820177c569 |
|
12-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Implement query object interface. This replaces the temporary occlusion counter functions we had before. Added new ctx->Driver.WaitQuery() function which should block until the result is ready. Sketch out some code for vertex transformation feedback counters.
/external/mesa3d/src/mesa/main/mtypes.h
|
dbef6158c6c19a28dc96a96357c9ed9bd9422b88 |
|
23-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unneeded CallStack array
/external/mesa3d/src/mesa/main/mtypes.h
|
09867b53a9add9c1a392ad46f850d40d50bbc536 |
|
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
replace Proxy1D/2D/etc fields with ProxyTex[] array
/external/mesa3d/src/mesa/main/mtypes.h
|
fe469007037d9d5cdbe1677d8ff7368b276e9e7c |
|
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX. Simplification in colortab.c too.
/external/mesa3d/src/mesa/main/mtypes.h
|
b3e3e72e25247a48c4f154e2971eff48ecb9d9ef |
|
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove old Saved1D/2D/etc fields
/external/mesa3d/src/mesa/main/mtypes.h
|
9e01b915f1243a3f551cb795b7124bd1e52ca15f |
|
13-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Implement mutex/locking around texture object reference counting. Use new _mesa_reference_texobj() function for referencing/unreferencing textures. Add new assertions/tests to try to detect invalid usage of deleted textures.
/external/mesa3d/src/mesa/main/mtypes.h
|
f5713c7d2e7ba8e1170fd9b1dd95379662ab6117 |
|
09-Aug-2007 |
Brian <brian@i915.localnet.net> |
Checkpoint intel_renderbuffer removal. Remove surface ptr from gl_renderbuffer. Use st_renderbuffer in most places. More clean-up.
/external/mesa3d/src/mesa/main/mtypes.h
|
4576d754c98e3fb5d413e294d48fb70a893defcf |
|
31-Jul-2007 |
Brian <brian@i915.localnet.net> |
Lots of improvements to the surface-related code. Z testing now works with i915 driver. Add gl_renderbuffer::surface pointer (and reverse pointer). Remove intel_surface and xmesa_surface types - no longer used.
/external/mesa3d/src/mesa/main/mtypes.h
|
e0a26b046764ae80748b347395ab1b27de83651e |
|
27-Jul-2007 |
michal <michal@michal-laptop.(none)> |
Merge branch 'master' of git+ssh://michal@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
|
03ec41ddc51e539c989a546f33d22daa2af69095 |
|
25-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove unused MAX_3D_TEXTURE_SIZE, reformattting
/external/mesa3d/src/mesa/main/mtypes.h
|
af2aa8e9cf88a9ee3ec338eddc9a47bf2f142cb7 |
|
21-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove ctx->Point._Size and ctx->Line._Width. The clamping for these values depends on whether we're drawing AA or non-AA points, lines. Defer clamping until drawing time. Drivers could compute and keep clamped AA and clamped non-AA values if desired.
/external/mesa3d/src/mesa/main/mtypes.h
|
3b8bc1f46758d4da9155419fcf558a493e729501 |
|
06-Jul-2007 |
michal <michal@michal-laptop.(none)> |
Merge branch 'master' of git+ssh://michal@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
|
c223c6b663cd5db39ba19c2be74b88cc3b8f53f3 |
|
04-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Be more consistant with paths in #includes. Eventually, eliminate a bunch of -I flags.
/external/mesa3d/src/mesa/main/mtypes.h
|
227315278dea9095cee6e508d03b28720b2e7880 |
|
12-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Replace texobj->Complete with texobj->_Complete since it's a derived field.
/external/mesa3d/src/mesa/main/mtypes.h
|
a28977a4c726ac5023fcefb58695498c0c5ae507 |
|
12-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
typo: s/derrived/derived/
/external/mesa3d/src/mesa/main/mtypes.h
|
7b559a91028d297b34df9ec939bd4d00fad6027c |
|
07-Jun-2007 |
Ian Romanick <idr@us.ibm.com> |
Add support for GL_ARB_fragment_program_shadow.
/external/mesa3d/src/mesa/main/mtypes.h
|
84d1b24647c0719551e8bcd5fa4601fbd3b1d555 |
|
07-Jun-2007 |
Ian Romanick <idr@us.ibm.com> |
Fix ARB_fp spec conformance bug WRT shadow sampling. The ARB_fp (and other assembly-level fragment program specs) say that the depth comparison function is always GL_NONE in fragment program mode.
/external/mesa3d/src/mesa/main/mtypes.h
|
b939adfa155f2b3ca5c5226e86da85629654d79b |
|
24-May-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Use the x11 driver as a test harness for the softpipe/state_tracker code. This has some limitations as we currently require a mapped framebuffer, so it only really works with double-buffered ximage rgba8888 windows.
/external/mesa3d/src/mesa/main/mtypes.h
|
98d2a4a2445bae3597e29472ebcf6deeef35a313 |
|
24-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
doxygen-ize some comments
/external/mesa3d/src/mesa/main/mtypes.h
|
c62da91f44c230b6476b5d7409d2c11e88f1620b |
|
22-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove the unused texobj Mutex field
/external/mesa3d/src/mesa/main/mtypes.h
|
bb372f1c9bc08e8b0dca983cb4ba36b2f2f039fb |
|
17-May-2007 |
Ian Romanick <idr@us.ibm.com> |
Initial implementation of MESA_texture_array Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
/external/mesa3d/src/mesa/main/mtypes.h
|
4e0a64675cbd815f6063977f3effbf21acced3fe |
|
21-Apr-2007 |
Brian <brian@yutani.localnet.net> |
added MemPool field
/external/mesa3d/src/mesa/main/mtypes.h
|
f3e8c32376d8bdf1c48a0a2ad97eddcde7fc2f00 |
|
18-Apr-2007 |
Brian <brian@yutani.localnet.net> |
s/GL_SHADER_PROGRAM/GL_SHADER_PROGRAM_MESA/ (a Mesa-specific token)
/external/mesa3d/src/mesa/main/mtypes.h
|
487f7a73cbb8534ab163ef8a3549caa71684b607 |
|
05-Apr-2007 |
George Sapountzis <gsap7@yahoo.gr> |
Remove SI imports/exports remnants.
/external/mesa3d/src/mesa/main/mtypes.h
|
0cae814f362bd7e648535c8ceae12ad286d20d73 |
|
05-Apr-2007 |
Brian <brian@yutani.localnet.net> |
temporary add some extra renderbuffer debug code
/external/mesa3d/src/mesa/main/mtypes.h
|
33c3739628616c0aaf10e51eae50611169ded0dd |
|
05-Apr-2007 |
Brian <brian@yutani.localnet.net> |
Remove the never-used SI-style imports/exports code.
/external/mesa3d/src/mesa/main/mtypes.h
|
3e45db67294faaf0a06c42bdd6dbdb96f87c8801 |
|
27-Mar-2007 |
Brian <brian@nostromo.localnet.net> |
Restore the UseTexEnvProgram logic. Was removed during glsl-compiler work. Still need to go back and revisit this because of the interaction with fragment shaders...
/external/mesa3d/src/mesa/main/mtypes.h
|
63556fa9949f543a8134b6b5ff3d216acb71dd9f |
|
23-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Add the ability to generate programs that doesn't use condition codes. ctx->Shader.EmitCondCodes determines if we use condition codes. If not, IF statement uses first operand's X component as the condition. Added OPCODE_BRK0, OPCODE_BRK1, OPCODE_CONT0, OPCODE_CONT1 to handle the common cases of conditional break/continue.
/external/mesa3d/src/mesa/main/mtypes.h
|
23d31efc167f09d47635352f697ffcb087d3ebbd |
|
21-Mar-2007 |
Brian <brian@yutani.localnet.net> |
merge from master
|
704cd61120443501530279937a144a5dd4b6399e |
|
21-Mar-2007 |
Xiang, Haihao <haihao.xiang@intel.com> |
mesa: revert f9f79c8d770e696249bd98c68b563f887562c974 to fix #10232 Table6.1(in gl2.1) has been applied for glGetTexImage before calling into _mesa_pack_rgba_span_float.
/external/mesa3d/src/mesa/main/mtypes.h
|
7573b58db659b32f3589fc955959710d44353239 |
|
16-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Colortable re-org. The pixel transfer path has three color table lookups. Use an array [3] to store that info, rather than separate variables.
/external/mesa3d/src/mesa/main/mtypes.h
|
d7049431a09a71a51768fc8cea292653557fc261 |
|
16-Mar-2007 |
Brian <brian@yutani.localnet.net> |
added a renderbuffer comment
/external/mesa3d/src/mesa/main/mtypes.h
|
b6adf336f41d2f0ed0ea33eaf53faee9635a2405 |
|
14-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Re-org of gl_pixel_attrib struct. Reorder fields according to the order in which the pixel transfer operations take place. Improve comments. Move the pixel maps out of gl_pixel_attrib since they're not supposed to be pushed/popped by glPush/PopAttrib. New gl_pixelmap and gl_pixelmaps structs to contain the pixelmaps.
/external/mesa3d/src/mesa/main/mtypes.h
|
1c09bcfdda4083636a3ac27d804a34ef87875ce7 |
|
12-Mar-2007 |
Brian <brian@nostromo.localnet.net> |
Implement support for GL_ARB_draw_buffers with GL_MAX_DRAW_BUFFERS > 1. GL_MAX_DRAW_BUFFERS is currently 4. Added gl_FragData[] output for fragment programs. In _swrast_write_rgba_span() loop over the color outputs/renderbuffers.
/external/mesa3d/src/mesa/main/mtypes.h
|
2cf5fd48d1586f961910a14324a457854cb66221 |
|
09-Mar-2007 |
Brian <brian@yutani.localnet.net> |
Merge branch 'origin' into glsl-compiler-1 Conflicts: src/mesa/main/context.c
|
f9f79c8d770e696249bd98c68b563f887562c974 |
|
09-Mar-2007 |
Brian <brian@yutani.localnet.net> |
New IMAGE_RED_TO_LUMINANCE flag passed to _mesa_pack_rgba_span_float() to fix glGetTexImage(GL_LUMINANCE) bug #10232.
/external/mesa3d/src/mesa/main/mtypes.h
|
0e1bd2302537a9684158cb353b876af4ce6346e7 |
|
27-Feb-2007 |
Brian <brian@yutani.localnet.net> |
s/matrix_stack/gl_matrix_stack/ and s/mesa_list_state/gl_dlist_state/
/external/mesa3d/src/mesa/main/mtypes.h
|
2cf8d24131edec78778d7b6ce49ead9157c2b266 |
|
27-Feb-2007 |
Brian <brian@yutani.localnet.net> |
remove unused DriverMgrCtx
/external/mesa3d/src/mesa/main/mtypes.h
|
fa4d0364246d24b3f86bc9a8486a9ad7db60f1b3 |
|
27-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Add EmitHighLevelInstructions, EmitComments booleans to gl_shader_state. These control code generation options. May be overridden by drivers, debuggers, etc.
/external/mesa3d/src/mesa/main/mtypes.h
|
e6a9381f78605072cab52447fce35eaa98c1e75c |
|
26-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Do proper framebuffer refcounting in _mesa_make_current(). Also, added DeletePending field to gl_framebuffer used when a window has been deleted, but there still may be rendering contexts attached to the gl_framebuffer object.
/external/mesa3d/src/mesa/main/mtypes.h
|
5e80c62f3178a65bebca942aa0b1e5d16c34b2a9 |
|
24-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Remove unneeded _Fragment/VertexShaderPresent fields, update comments.
/external/mesa3d/src/mesa/main/mtypes.h
|
b7aeac0de1c9c533f78c5d6acf358bdc206161ab |
|
22-Feb-2007 |
Brian <brian@yutani.localnet.net> |
added MAX_PROGRAM_ENV_PARAMS
/external/mesa3d/src/mesa/main/mtypes.h
|
29c471aafc6a3fef23d553e31a555d1782854a77 |
|
22-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Merge branch 'origin' into glsl-compiler-1 Conflicts: src/mesa/main/state.c src/mesa/shader/program.c src/mesa/shader/program.h src/mesa/shader/programopt.c src/mesa/shader/slang/slang_execute.c src/mesa/sources src/mesa/swrast/s_arbshader.c src/mesa/swrast/s_context.c src/mesa/swrast/s_span.c src/mesa/swrast/s_zoom.c src/mesa/tnl/t_context.c src/mesa/tnl/t_save_api.c src/mesa/tnl/t_vb_arbprogram.c src/mesa/tnl/t_vp_build.c src/mesa/tnl/t_vtx_eval.c
|
68fc4ff1d7f749670684119647e0ef945d23dfa9 |
|
03-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Add _NEW_PROGRAM flag to _MESA_NEW_NEED_EYE_COORDS. This fixes a segfault in the texgen code that can occur after we've disabled a vertex program.
/external/mesa3d/src/mesa/main/mtypes.h
|
49a17a45fb893f0b2e93f27b16d54fe86f51c08c |
|
03-Feb-2007 |
Brian <brian@yutani.localnet.net> |
Add _NEW_PROGRAM flag to _MESA_NEW_NEED_EYE_COORDS. This fixes a segfault in the texgen code that can occur after we've disabled a vertex program.
/external/mesa3d/src/mesa/main/mtypes.h
|
07373512c72ca0fc19cccd1d102f14f1a41fd1bd |
|
24-Jan-2007 |
Brian <brian@nostromo.localnet.net> |
added FRAG_BIT_TEX() and FRAG_BIT_VAR() macros
/external/mesa3d/src/mesa/main/mtypes.h
|
6a3fdc3a1ea6c306d9543791bf172dd1052d7382 |
|
16-Jan-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge branch 'master' of git+ssh://keithw@git.freedesktop.org/git/mesa/mesa into vbo-0.2 Conflicts: src/mesa/array_cache/sources src/mesa/drivers/dri/i965/brw_context.c src/mesa/drivers/dri/i965/brw_draw.c src/mesa/drivers/dri/i965/brw_fallback.c src/mesa/drivers/dri/i965/brw_vs_emit.c src/mesa/drivers/dri/i965/brw_vs_tnl.c src/mesa/drivers/dri/mach64/mach64_context.c src/mesa/main/extensions.c src/mesa/main/getstring.c src/mesa/tnl/sources src/mesa/tnl/t_save_api.c src/mesa/tnl/t_save_playback.c src/mesa/tnl/t_vtx_api.c src/mesa/tnl/t_vtx_exec.c src/mesa/vbo/vbo_attrib.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_api.c src/mesa/vbo/vbo_save_draw.c
|
3209c3ed0d82c158eed1020759aacf51ba1c1ad5 |
|
10-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Implement vertex attribute binding. Users can set explicit binding with glBindAttribLocation(), otherwise the linker will allocate generic attribute slots.
/external/mesa3d/src/mesa/main/mtypes.h
|
21f99792a916a62fcfae7c208f50f192d4ce5926 |
|
09-Jan-2007 |
Brian <brian@yutani.localnet.net> |
Moved NumTexInstructions, NumTexIndirections, etc. into gl_program since they can now apply to vertex programs.
/external/mesa3d/src/mesa/main/mtypes.h
|
288c5396e6aa484d88819bd28a7cd49a3873f283 |
|
06-Jan-2007 |
Brian <brian@yutani.localnet.net> |
added PROGRAM_SAMPLER
/external/mesa3d/src/mesa/main/mtypes.h
|
c9db223f902ce9d7e9f3038e6baac6da7f231b34 |
|
05-Jan-2007 |
Brian <brian@yutani.localnet.net> |
move TexturesUsed[] into gl_program since vertex programs/shaders can use textures nowadays
/external/mesa3d/src/mesa/main/mtypes.h
|
9e4bae9ccac5a76a2361c5c3cbe377a3c6b6a95b |
|
20-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Fix shader object reference counting and hash table deallocation.
/external/mesa3d/src/mesa/main/mtypes.h
|
65a18442e5d846940714bb662f5b1bb47ab60c29 |
|
20-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Clean-up and re-org of the main GLSL object types. Use the gl_shader struct as it should be. Renamed gl_linked_program to gl_shader_program. Store both shaders and programs in the same hash table and use the Type field to distinguish them.
/external/mesa3d/src/mesa/main/mtypes.h
|
0bf5dbe002a64e198f55724cc1542602c012490f |
|
20-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Overhaul of GLSL API functions, dispatching, etc.
/external/mesa3d/src/mesa/main/mtypes.h
|
a90046f1097ad95de2aa95ca65741dff5cddced9 |
|
15-Dec-2006 |
Brian <brian@yutani.localnet.net> |
Lots of assorted changes for new GLSL compiler backend. New datatypes, constants, variables.
/external/mesa3d/src/mesa/main/mtypes.h
|
61fd687c74610a5b3db5e9f3adb3ee2e9a5a6014 |
|
03-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Minor changes to get ready for OpenGL 2.1.
/external/mesa3d/src/mesa/main/mtypes.h
|
e812081253b2857b59d17f40dc6c9909e1957d87 |
|
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Undo some of yesterday's ATI_separate_stencil changes. The ATI extension doesn't exactly match OpenGL 2.0.
/external/mesa3d/src/mesa/main/mtypes.h
|
6d104cb932080c5c0d951fbc0ec6d30fb7ebef45 |
|
02-Nov-2006 |
Alan Hourihane <alanh@tungstengraphics.com> |
merge current trunk into vbo branch
/external/mesa3d/src/mesa/main/mtypes.h
|
467c773f798516f86425c14fe8406298e00baba1 |
|
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Add ATI_separate_stencil and use it in preference to EXT_stencil_two_side since the former is what's used for OpenGL 2.0.
/external/mesa3d/src/mesa/main/mtypes.h
|
5ac93f86210eb5c2a8dee74ec19b0ecd54376863 |
|
01-Nov-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge texmem-0-3-branch.
/external/mesa3d/src/mesa/main/mtypes.h
|
90fcf6ccc345c287309d7d17b2ff256cc22fb2b7 |
|
01-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added a few new ctx->Const. fields for shader-related limits.
/external/mesa3d/src/mesa/main/mtypes.h
|
fd2756006a0baf63f60548d8f509de5b9a143608 |
|
30-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Move edgeflag into the VERT_ATTRIB_SEVEN slot. This means that our NV_vertex_program implementation has slightly incorrect aliasing behaviour. I think this is reasonable given the simplification and the fact that the mainstream ARB_vp continues to have the correct behaviour.
/external/mesa3d/src/mesa/main/mtypes.h
|
99efde461d3b8615863bdb7308e05289e0db0422 |
|
30-Oct-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
better handling of current attributes. Trivial dlist and varray tests work
/external/mesa3d/src/mesa/main/mtypes.h
|
a23e668d40b10236fcf5ca83fdbda93ab36fa86f |
|
30-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move gl_vertex_program_machine struct out of mtypes.h and put into nvvertexec.h. Massage nvvertexec.c code to work more like s_nvfragprog.c - another step toward unifying vertex/fragment program execution.
/external/mesa3d/src/mesa/main/mtypes.h
|
0b26e826bda0da7aeec9a79ee07fe21d54bb1263 |
|
22-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Color clamping fixes.
/external/mesa3d/src/mesa/main/mtypes.h
|
c2074645cd23e23ff86ed7f0a71845a3209f0bea |
|
17-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move struct atifs_machine into s_atifragshader.c Add support for runtime colorbuffer types.
/external/mesa3d/src/mesa/main/mtypes.h
|
e5a6fcc345867b550a159a7d94912a81e618279c |
|
13-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Revamp color table code. Always store all color tables as both float and ubyte.
/external/mesa3d/src/mesa/main/mtypes.h
|
81968ec49d9e06be0e095fa0084aa61b68b23d75 |
|
11-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
a step toward moving run-time vertex program state out of GLcontext
/external/mesa3d/src/mesa/main/mtypes.h
|
39c4daa6bc15a83a97c3c0b456bf1795ef9e6099 |
|
10-Oct-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move the fp_machine struct into s_nvfragmprog.c since (except for program debug) it's only used there.
/external/mesa3d/src/mesa/main/mtypes.h
|
8c41c757fe8efa04df0dd5cdfb33a75b84891c19 |
|
15-Aug-2006 |
Ian Romanick <idr@us.ibm.com> |
Add support for GL_EXT_gpu_program_parameters. Any driver that enables either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this extension as well.
/external/mesa3d/src/mesa/main/mtypes.h
|
7b52bed98729a05feab28f6d2b0677e4f84c44c3 |
|
09-Aug-2006 |
Eric Anholt <anholt@FreeBSD.org> |
Add PROGRAM_FILE_MAX for i965 driver. While here, make PROGRAM_UNDEFINED just the next value in the enum.
/external/mesa3d/src/mesa/main/mtypes.h
|
8d214bc8044e5027e3fa9302b259d0c557270b00 |
|
03-Aug-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Initial work for GL_EXT_texture_sRGB.
/external/mesa3d/src/mesa/main/mtypes.h
|
122629f27925a9dc50029bebc5079f87f416a7e1 |
|
20-Jul-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Some structure renaming. Prefix vertex/fragment-related structs with "gl_" to match other structs.
/external/mesa3d/src/mesa/main/mtypes.h
|
9960ddcd66b9c2c6f4b12fc7db7326ba83d65956 |
|
15-Jun-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
comments for gl_array_object struct
/external/mesa3d/src/mesa/main/mtypes.h
|
ee34e6ef716bb630440299ac1efbc2055ef09ffd |
|
12-Jun-2006 |
Ian Romanick <idr@us.ibm.com> |
Add support for GL_APPLE_vertex_array_object. Several test programs and demos are also added. Adding basic support to drivers should be as easy as just enabling the extension, though thorough test would also be required.
/external/mesa3d/src/mesa/main/mtypes.h
|
d9736db6676948e06712d4bcba46b7040452f870 |
|
23-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Add const qualifiers in a number of places.
/external/mesa3d/src/mesa/main/mtypes.h
|
8065c120c45e89e49ca9f707408fd7bd14db6b23 |
|
22-May-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
memory usage fixes for glean/conform, use a better hash function
/external/mesa3d/src/mesa/main/mtypes.h
|
5ddc53f899598396003ec6c723f8132c76aafe79 |
|
22-May-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Better caching for texenv programs. Initialize some values correctly.
/external/mesa3d/src/mesa/main/mtypes.h
|
b0b6d1abe5c7e629baebd4bf3d3ee3b17ba6ff08 |
|
20-May-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
In gl_texture_image, replace ImageStride with an ImageOffsets array. Some hardware lays out 3D mipmaps in a manner that can't be expressed with a simple image stride. The ImageOffsets array is allocated and initialized to typical defaults in the _mesa_init_teximage_fields() function. If needed, a driver will then have to replace these offsets. TexStore and TexelFetch routines updated to use offsets array.
/external/mesa3d/src/mesa/main/mtypes.h
|
6717a7aca0aaab02bd9ef7b1a934f0853efdc953 |
|
05-May-2006 |
Keith Whitwell <keith@tungstengraphics.com> |
Define VERT_RESULT_EDGE
/external/mesa3d/src/mesa/main/mtypes.h
|
94b30dc390f1fdd526c080080830016fad3e2ee2 |
|
25-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Put color index attribute into the 6th attribute slot. Update a lot of loops, conditionals to use the _TNL_FIRST/LAST_* values instead of specific vertex attributes. Remove the EdgeFlagv function from the GLvertexformat struct.
/external/mesa3d/src/mesa/main/mtypes.h
|
095c6699f449ed4803f23e844cc0227743a9c3e1 |
|
25-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
No longer alias generic vertex attribs with conventional attribs for GL_ARB_vertex_program.
/external/mesa3d/src/mesa/main/mtypes.h
|
ee4e75bd6f768b7210436feeb32b4545ed62e025 |
|
14-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replace ctx->Const.MaxTextureUnits w/ ctx->Const.MaxTexture[Coord/Image]Units in various places. Note that ctx->Texture.CurrentUnit needs to be tested against Coord/Image limits when referenced, not just in glActiveTexture().
/external/mesa3d/src/mesa/main/mtypes.h
|
da238ee06a8d169eb590aa5e50998136f1b5aba5 |
|
13-Apr-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix comment about MaxTextureUnits, needs to be min of coord and image units. See bug 5994. Also add a few assertions. Use MaxTextureUnits in get.c code. There's probably other places where we need to clean-up the usage of the MaxTexture[Coord/Image]Units constants.
/external/mesa3d/src/mesa/main/mtypes.h
|
bb38cadb1c5f2dc13096a091bdaf61dc3e3cfa4d |
|
11-Apr-2006 |
Michal Krol <mjkrol@gmail.org> |
More GLSL code: - use macros to access and modify render inputs bit-field; - un-alias generic vertex attributes for ARB vertex calls; - use MAX_VERTEX_PROGRAM_ATTRIBS (NV code) or MAX_VERTEX_ATTRIBS (ARB code) in place of VERT_ATTRIB_MAX; - define VERT_ATTRIB_GENERIC0..15 for un-aliased vertex attributes for ARB_vertex_shader; - fix generic attribute index range check in arbprogparse.c; - interface GLSL varyings between vertex and fragment shader; - use 64-bit optimised bitset (bitset.h) for render inputs;
/external/mesa3d/src/mesa/main/mtypes.h
|
180b0dab8b87ef7987b9f2c44068d1eea3f54939 |
|
29-Mar-2006 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Removing <CR> Modified Files: Mesa/src/mesa/main/fog.c Mesa/src/mesa/main/hint.c Mesa/src/mesa/main/mtypes.h ----------------------------------------------------------------------
/external/mesa3d/src/mesa/main/mtypes.h
|
519a2e7cb7b8f026bd5fe711cdf12a20df1c46ae |
|
29-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move the computation of the viewport matrix into a new update_viewport_matrix() function since the matrix depends on the viewport params and the framebuffer's depth buffer resolution. Fixes some renderbuffer / depth range issues. This simplifies the _mesa_set_viewport() and _mesa_DepthRange() functions too.
/external/mesa3d/src/mesa/main/mtypes.h
|
0e26ca083441e3c76ddbae3699befde92b4933dd |
|
28-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated comment about framebuffer's Visual field
/external/mesa3d/src/mesa/main/mtypes.h
|
ea4fe661d7f3a95d9db17e1475076f1badf8e1a6 |
|
26-Mar-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
merge from texman branch
/external/mesa3d/src/mesa/main/mtypes.h
|
071357096e682e9af59ad45ea5abc444ab431837 |
|
21-Mar-2006 |
Michal Krol <mjkrol@gmail.org> |
GLSL fixes: - generate error on NULL pointers in glShaderSourceARB; - reinstall program object, if current, in glLinkProgramARB; - vertex and fragment shaders are optional in program object; - floor asm was wrongly computed for x86 back-end; - allow for (void) idiom in function prototypes; - all fixed-state uniforms are updated; - local variable initializers are working; - implement texture* and shadow* functions for vertex processor; - generate error if too many arguments in general constructor; - trim unused data in general constructor; - struct r-value field select was badly relocated; Changes: - add derived state gl_fog_attrib::_Scale; - add derived state gl_light::_CosCutoffNeg;
/external/mesa3d/src/mesa/main/mtypes.h
|
e1e03b32ab651e992f7b979eba046fdc84fedf2e |
|
03-Mar-2006 |
Roland Scheidegger <rscheidegger@gmx.ch> |
Use standard ARB names instead of vendor-specific NV names for the ARB/NV_vertex_program enums in common state handling code, and update comments accordingly. Change some slightly confusing code which gave the impression GL_VERTEX_PROGRAM_ARB and GL_VERTEX_PROGRAM_NV enums were different.
/external/mesa3d/src/mesa/main/mtypes.h
|
c92e688e151748d235b8477fe30888a9dded765d |
|
13-Feb-2006 |
Michal Krol <mjkrol@gmail.org> |
Rename current glsl program variable.
/external/mesa3d/src/mesa/main/mtypes.h
|
1add059bd114f90e32c4b574be411d314eca6d90 |
|
14-Dec-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can be done with fragment programs nowadays.
/external/mesa3d/src/mesa/main/mtypes.h
|
40332059e4f7b289e5524d10c5565232d27bffbe |
|
12-Dec-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Split _MaintainTexEnvProgram into two flags _Maintain and _Use. This restores the ability to run the software driver with program TNL but tradtional swrast.
/external/mesa3d/src/mesa/main/mtypes.h
|
0fa8c59e646b214ea61c077f723e8ffe1cc06733 |
|
07-Dec-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Updates for GL_EXT_timer_query: New GLint64EXT and GLuint64EXT types (use C99's long long types). New glGetQueryObject[u]i64vEXT() functions.
/external/mesa3d/src/mesa/main/mtypes.h
|
63d683091fe3a9600b65ae7ef3b554168b805406 |
|
19-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
No longer derive 'ati_fragment_shader' from 'program' class. Only the program->Id and program->RefCount fields were used and ATI fragment shaders didn't have too much in common with ARB/NV vertex/fragment programs anyway.
/external/mesa3d/src/mesa/main/mtypes.h
|
8c765ad31253e171375c24bb8d8cd418fe7b198c |
|
19-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
move a bunch of gl2/shading language structs from mtypes.h to shaderobjects.h
/external/mesa3d/src/mesa/main/mtypes.h
|
847160466cb7d1af55f294578c328b01fb3fd3d3 |
|
16-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Support for combined depth/stencil renderbuffers (GL_EXT_packed_depth_stencil). depthstencil.c provides wrappers for treating depth/stencil buffers either as regular depth or stencil renderbuffers.
/external/mesa3d/src/mesa/main/mtypes.h
|
ba3da6154c324cc916845bc5de3de077d0b59ffc |
|
12-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added OSMesaColorClamp(), bug 4917
/external/mesa3d/src/mesa/main/mtypes.h
|
de99760bf3511d05185799c4fb4347f9e5f420f4 |
|
12-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move stuff common to vertex/fragment_program into the base class, including: Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program().
/external/mesa3d/src/mesa/main/mtypes.h
|
1984aabe8362ee2b29711d2fa08e56e341eafddd |
|
10-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move code to enable FP exceptions into debug.c (set MESA_DEBUG=fpexceptions). Get rid of MESA_DEBUG preprocessor symbol, just use DEBUG instead.
/external/mesa3d/src/mesa/main/mtypes.h
|
5374e4ba7eaca2ee0ca73863ffbe9e639d090e3e |
|
08-Nov-2005 |
Ian Romanick <idr@us.ibm.com> |
At keithw's request, remove all traces of the "fragment program to C" and TCC experiment.
/external/mesa3d/src/mesa/main/mtypes.h
|
0bffb1192a599b11af11604ad590f6a50c054bf1 |
|
08-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
some initial work on upcoming GL_EXT_framebuffer_blit extension
/external/mesa3d/src/mesa/main/mtypes.h
|
7e807510d8c3e88ee7ae6c697393201cf08f992f |
|
05-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Unify vertex/fragment program instuctions. Based on patch by Ian (#4967) but also unify instruction opcodes.
/external/mesa3d/src/mesa/main/mtypes.h
|
613e1ad5d517d9964bd9cf94daa931dda33113fe |
|
05-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replace parameter_type enum in program.[ch], use register_file enums instead.
/external/mesa3d/src/mesa/main/mtypes.h
|
90ebb581e60d29bd565ad4d8a49e642de7b0ce5d |
|
02-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Rename FRAG_OUTPUT_* tokens to FRAG_RESULT_* to match vertex program convention
/external/mesa3d/src/mesa/main/mtypes.h
|
c3626a91cee5034528f3f92c802a8e5947ea5f92 |
|
01-Nov-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Several fp and vp tweaks: - Renumber VERT_RESULT_* values so that they match the numbers of the corresponding FRAG_ATTRIB_ values. - Add ctx->VertexProgram._Current and FragmentProgram._Current values which point to either the current client-supplied program if enabled, or otherwise to the current mesa-internal program. Thus this program is always the correct one for the current state, providing that the mesa flags to turn on automatic generation are enabled. - Add callbacks to ctx->Driver.BindProgram() in texenvprogram.c and t_vp_build.c so that the driver knows when the generated program changes. This is cleaner than trying to code all the possible _NEW_* flags into the driver, and more precise as well. - Add a UsesKill flag to identify fragment programs with that instruction, as these can require special treatment. - Move the FRAG_OUTPUT values to mtypes.h, near to similar defn's.
/external/mesa3d/src/mesa/main/mtypes.h
|
05051037101dfa053798cf5ad91d1975fd1aa6a7 |
|
01-Nov-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Re-org and clean-up of vertx/fragment program limits (instructions, temporaries, parameters, etc). glGetProgramivARB() now returns all the right things. Updated i915 and r300 code to initialize program native limits and current program's native instruction/temporary/etc counts.
/external/mesa3d/src/mesa/main/mtypes.h
|
3c2f8b22b9b87ccc06e33ecc088703c68d8230d8 |
|
29-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean-up comments
/external/mesa3d/src/mesa/main/mtypes.h
|
06f606ce5761e673fca3f6b1f7dd40dace8a9906 |
|
05-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove _IsPowerOfTwo from gl_texture_object, not really needed.
/external/mesa3d/src/mesa/main/mtypes.h
|
198a88923c185bb0530787cd80cb9e1d700f2c91 |
|
05-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table.
/external/mesa3d/src/mesa/main/mtypes.h
|
a9fc8ba756dd25a07dc19058fe60f65bda82a055 |
|
05-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
In gl_texture_image replace IntFormat with InternalFormat and Format with _BaseFormat to be consistant with gl_renderbuffer.
/external/mesa3d/src/mesa/main/mtypes.h
|
252194d74ef08b940395a2eb1c05415dfd0d6a91 |
|
01-Oct-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
updated comment
/external/mesa3d/src/mesa/main/mtypes.h
|
1ad7b99925e044f82e635f746c1ef2df77f69ac9 |
|
28-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Initial work for GL_EXT_packed_depth_stencil extension. glReadPixels done, glDrawPixels mostly done.
/external/mesa3d/src/mesa/main/mtypes.h
|
048b13df65f222b10564091df3dfa2b6cab77631 |
|
23-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replace gl_framebuffer's _ColorReadBufferMask with _ColorReadBufferIndex, Streamline the _mesa_update_framebuffer() function a bit.
/external/mesa3d/src/mesa/main/mtypes.h
|
0efc17c105f8239bf4fb128d570f2d343c45d430 |
|
23-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Add Wrapper field to gl_renderbuffer. Used for wrapping one renderbuffer with another, such as wrapping a hardware/win-sys RGB renderbuffer with a software-based alpha buffer. Previous alpha buffer wrapping was conflicting with the X driver's xmesa_renderbuffer structure containment/inheritance. That lead to memory corruption.
/external/mesa3d/src/mesa/main/mtypes.h
|
676d0accf5cc43e86057b14cfb8bba9316932582 |
|
22-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replace gl_renderbuffer.ComponentSizes[] with separate RedBits, GreenBits, BlueBits, etc fields.
/external/mesa3d/src/mesa/main/mtypes.h
|
978ef2bb6d9ca4996a24f95820a699e22c84f70b |
|
21-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove ACCUM_BITS.
/external/mesa3d/src/mesa/main/mtypes.h
|
3e37bafab0a339021354b9c78f983d05d433d735 |
|
21-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace GLdepth with GLuint and remove GLdepth
/external/mesa3d/src/mesa/main/mtypes.h
|
3211b28ee633707218fe7eb2bdfc604c10fd8d29 |
|
20-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove STENCIL_MAX
/external/mesa3d/src/mesa/main/mtypes.h
|
b3aefd1cfb6aacd1695c52911dd39da50d893ece |
|
19-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
additional wrapper updates, bug 4468
/external/mesa3d/src/mesa/main/mtypes.h
|
e00ac11d4dd05c56584622dc2707bbdcfe4b2707 |
|
15-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replace GLuint with GLbitfield where appropriate. Also replace GLuint with GLboolean in a few places.
/external/mesa3d/src/mesa/main/mtypes.h
|
42c34efd23d7ad05df9f3c71f7d52dd259e179d8 |
|
13-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
OpenGL 2.0's two-sided stencil feature wasn't implemented correctly. See comment near top of stencil.c for info about OpenGL 2.0 vs. GL_EXT_stencil_two_side.
/external/mesa3d/src/mesa/main/mtypes.h
|
b5932cfc9d48cf21554e2f9fdaccb7d8b52f2f8d |
|
13-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use GLuint/GLint intead of GLstencil for stencil state.
/external/mesa3d/src/mesa/main/mtypes.h
|
acafeeb6dce74382fb3a48b83ab72bf67b7581ea |
|
03-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove last remnants of pre-renderbuffer code.
/external/mesa3d/src/mesa/main/mtypes.h
|
4fb995084e1b4b629667f09331adf060aa0fac4c |
|
02-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Prototype implementation of new GL_EXT_timer_query extension (not finalized yet). Extends the query mechanism to query elapsed time while rendering.
/external/mesa3d/src/mesa/main/mtypes.h
|
f519a770d074dac9e188e3b450c828510506c46d |
|
02-Sep-2005 |
Roland Scheidegger <rscheidegger@gmx.ch> |
add error checking to the GL_ATI_FRAGMENT_SHADER entrypoints. Fix bug with scope of ati fragment shader constants. Fix issues with specifying color/alpha instructions not pair-wise. Change internal representation of the shader (to better fit how the extension works, should make driver implementations simpler, and saves some memory). (still doesn't work correctly with doom3 and swrast, but not worse than before)
/external/mesa3d/src/mesa/main/mtypes.h
|
23ffc3a85d6172f8a98d17d7f23610bab808d84e |
|
27-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Rearrange the code related to GL_ARB_occlusion_object to generalize query objects for future types of queries.
/external/mesa3d/src/mesa/main/mtypes.h
|
6e4f594a02fc384b17d5732be652d7d28618aec2 |
|
25-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed GL_HP_occlusion_test extension
/external/mesa3d/src/mesa/main/mtypes.h
|
8c9cd63c89923e7c3cb751a1f24038c199d226d8 |
|
10-Aug-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
the PIXEL_MAP_I_TO_I table should be GLfloat, not GLint
/external/mesa3d/src/mesa/main/mtypes.h
|
1585c234e0db4bfb7cd85c4111594f6da1582e6f |
|
28-Jul-2005 |
Ian Romanick <idr@us.ibm.com> |
Major rip-up of internal function insertion interface. The old _glapi_add_entrypoint has been replaced by a new routine called _glapi_add_dispatch. This new routine dynamically assignes dispatch offsets to functions added. This allows IHVs to add support for extension functions that do not have assigned dispatch offsets. It also means that a driver has no idea what offset will be assigned to a function. The vast majority of the changes in this commit account for that. An additional table, driDispatchRemapTable, is added. Functions not in the Linux OpenGL ABI (i.e., anything not in GL 1.2 + ARB_multitexture) has a fixed offset in this new table. The entry in this table specifies the offset in of the function in the real dispatch table. The internal interface was also bumped from version 20050725 to 20050727. This has been tested with various programs in progs/demos on: radeon (Radeon Mobility M6) r128 (Rage 128 Pro) mga (G400)
/external/mesa3d/src/mesa/main/mtypes.h
|
61e694f270d8a4a03a3245b5e6eea805915ed74b |
|
22-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Make the vertex program source register Index field a signed int since relative addressing can be negative. Change some GLuint indexes to GLint in the t_vp_build.c file. Added PROGRAM_UNDEFINED token for initializing the register File field to avoid a gcc 4.0 warning.
/external/mesa3d/src/mesa/main/mtypes.h
|
ce721143b4d44d239baefe965e499606149b15cb |
|
11-Jul-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Cache texenv programs to avoid repeated compilation (Ben Skeggs)
/external/mesa3d/src/mesa/main/mtypes.h
|
bb5c84fcbc22b4fef28cf4589d6410eb3c35a496 |
|
01-Jul-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove NEW_RENDERBUFFER stuff. Now, OLD_RENDERBUFFER marks code that needs to eventually be removed when all the drivers are updated to no longer need the SetBuffer() function.
/external/mesa3d/src/mesa/main/mtypes.h
|
81032030ff42dd78133d85f7cabab5fb4c9aaf1e |
|
09-Jun-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Store compiled vertex program representations in a pointer in the vertex_program struct. Allow switching between regular and vertex_program implementations of fixed function TNL with the MESA_TNL_PROG environment var (previously this required recompilation). Ensure program compilation only references program data, not the wider context. This means that compiled programs only need to be invalidated when the program string changes, not on other state changes.
/external/mesa3d/src/mesa/main/mtypes.h
|
df5e2b934bc18cd17ac512e6746df64019014a7d |
|
05-Jun-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
set OLD_RENDERBUFFER=0, need to clean up a few more things before totally removing that
/external/mesa3d/src/mesa/main/mtypes.h
|
269e3895d9837ac7303b91948f003ca5c12c0fe4 |
|
12-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
new MESA_DEBUG option: disassem
/external/mesa3d/src/mesa/main/mtypes.h
|
276330b2412910777f7016f427909085f02acbb8 |
|
09-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Use driver functions to create TexEnvProgram, TnlProgram
/external/mesa3d/src/mesa/main/mtypes.h
|
e4b2356c07d31fbeeabb13b2fb47db703b473080 |
|
04-May-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Major check-in of changes for GL_EXT_framebuffer_object extension. Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
/external/mesa3d/src/mesa/main/mtypes.h
|
47b29f511a8e917c65536fde90397d54d2ad23d3 |
|
04-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Add a facility to route all rasterization through a fragment program which is automatically generated to match the current texture environment state. Introduces a new value ctx->FragmentProgram._Active which is true when either _Enabled is true or there is such a fragment program ready to run. To test out on a driver running the software rasterizer, set MESA_TEX_PROG=t in the environment. It goes without saying that performance is lower for the software rasterizer in this mode.
/external/mesa3d/src/mesa/main/mtypes.h
|
6f973f33679e034b7cb63806f1ddfabdbdd70123 |
|
22-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Simplify the pipeline_stage structure - remove input/output fields, input tracking removed. - remove state fields, the validate function now called on every statechange. - add an explicit 'create' function. Add in code to build vertex program to implement current t&l state. Still disabled, but turn on with a #define in t_vp_build.h.
/external/mesa3d/src/mesa/main/mtypes.h
|
7c26b61f9366a397e353d7b7f1f1d1f6d0dcd0c7 |
|
21-Apr-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Reduce the size of mesa's internal fragment and vertex program representations by switching to packed structures for registers and instructions.
/external/mesa3d/src/mesa/main/mtypes.h
|
efb41b07ff213735e8ea08f38a7799f9d80459fc |
|
15-Apr-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove carriage returns
/external/mesa3d/src/mesa/main/mtypes.h
|
2a37053fd5591eeb21db33aa8f6ee444da1eee7a |
|
14-Apr-2005 |
Michal Krol <mjkrol@gmail.org> |
ARB_shading_language_100 bit; Fragment shader derivative hint
/external/mesa3d/src/mesa/main/mtypes.h
|
c1f2f9090bcca309b9aeef7ae57acc280704db81 |
|
03-Mar-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
change gl_buffer_object's Size field to GLsizeiptrARB type
/external/mesa3d/src/mesa/main/mtypes.h
|
2c6f911e10761c0946261d494bf149b19072821d |
|
24-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
More GL_EXT_framebuffer_object: rename some things, added device driver hooks.
/external/mesa3d/src/mesa/main/mtypes.h
|
3deaa01c2bd576ae81fc6d3ea67c583cb3c22159 |
|
07-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
additional work on GL_EXT_framebuffer_object
/external/mesa3d/src/mesa/main/mtypes.h
|
ddc82eefca591f0ee93d3a77e1268571629a6d5c |
|
05-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Some initial work on GL_EXT_framebuffer_object.
/external/mesa3d/src/mesa/main/mtypes.h
|
bb7d5f8837a9c7658a18dbaf02d52583e29443e3 |
|
05-Feb-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove the Shared->TexObjectList pointer and Next field from gl_texture_object. Was only used by two drivers to walk over all texture objects. Can do that via the hash table instead. Cleaned up some comments for struct gl_texture_object.
/external/mesa3d/src/mesa/main/mtypes.h
|
3aa69b39bf9a79f97f1e049e3a8429cdfc4389f4 |
|
30-Jan-2005 |
Dave Airlie <airliedfreedesktop.org> |
add number of passes count to ati_fragment_shader
/external/mesa3d/src/mesa/main/mtypes.h
|
36a35c5614336bffdac4827c1e04bcaa8ab2fa27 |
|
22-Jan-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
Determine ahead of time whether a display list will include vertices which have to be processed in the 'loopback' path. If so, send all vertices that way as the transition from playback->loopback has several problems.
/external/mesa3d/src/mesa/main/mtypes.h
|
ea2943efd95c0760a5423236ed37655d863b8a5e |
|
20-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Update glDeletePrograms/Buffers() so that the ID is freed immediately, like texture objects.
/external/mesa3d/src/mesa/main/mtypes.h
|
10378919d76a6ad4bc4fbb921424807cb469d791 |
|
19-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Removed gl_texture_object's DeletePending. Changed a comment.
/external/mesa3d/src/mesa/main/mtypes.h
|
434f622ede0fa8663025fd858d8f445a1bc3f494 |
|
17-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
add 3dlabs_shhandle interface
/external/mesa3d/src/mesa/main/mtypes.h
|
848ff851575241454935c205eace88e799966563 |
|
17-Jan-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
clean up gl2 structs
/external/mesa3d/src/mesa/main/mtypes.h
|
3d52858c784cebaafc80d51608898ef571fef7b7 |
|
13-Jan-2005 |
Michal Krol <mjkrol@gmail.org> |
add ARB_shader_objects interfaces, shared and context state
/external/mesa3d/src/mesa/main/mtypes.h
|
7f752fed993e5e9423abac200dd59141edbada56 |
|
19-Dec-2004 |
Dave Airlie <airliedfreedesktop.org> |
Implement software ATI_fragment_shader no error detection, slow, may not be 100% correct but a good start
/external/mesa3d/src/mesa/main/mtypes.h
|
65a66f5bc37383c00423c21baf8ba9d6771e0259 |
|
27-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove _mesa_ResizeBuffersMESA() call from _mesa_set_viewport(). Now, the driver's Viewport routine should call _mesa_ResizeBuffersMESA() if necessary. Cleaned up code related to GLframebuffer width/height initialization. Set initial viewport/scissor params in _mesa_make_current2(), instead of in the drivers' MakeCurrent functions.
/external/mesa3d/src/mesa/main/mtypes.h
|
4dafbc3dc75be565704f437016f70a63c48d1539 |
|
26-Nov-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Some new comments, clean-up formatting, etc.
/external/mesa3d/src/mesa/main/mtypes.h
|
f76be3d6f2b054e5316aeb7b265ed28bda28c8ae |
|
22-Nov-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
handle ENABLE_BIT for EXT_stencil_two_side
/external/mesa3d/src/mesa/main/mtypes.h
|
885f10706a096037eea815803dbf4b4d28c3bd27 |
|
12-Nov-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
added DD_TRI_TWOSTENCIL to ease EXT_stencil_two_side in device drivers
/external/mesa3d/src/mesa/main/mtypes.h
|
678ea6cd5cb68d22668c93bf4ed830226ef26b0c |
|
27-Oct-2004 |
Michal Krol <mjkrol@gmail.org> |
add entries for extensions ARB_shader_objects, ARB_fragment_shader and ARB_vertex_shader
/external/mesa3d/src/mesa/main/mtypes.h
|
33899b7c351fda77bed6dee5e5d02e31c2f7e0e5 |
|
16-Oct-2004 |
Ian Romanick <idr@us.ibm.com> |
Add support for OES_read_format. As soon as glext.h is updated with the enums for this extension, the changes to gl.h can be removed.
/external/mesa3d/src/mesa/main/mtypes.h
|
d09209f5530e8bba78e4e0ec62b2027c588cc8f3 |
|
08-Oct-2004 |
Eric Anholt <anholt@FreeBSD.org> |
Add Roland Scheidegger's S3TC patch. This patch does not implement the (patented) S3TC/DXTC algorithms, but adds an option to dlopen a library module providing functions to do so. Because it uses dlopen, it is only enabled if USE_EXTERNAL_DXTN_LIB=1 is defined (which is only in linux-dri config, so far). It adds support for S3TC to several DRI drivers, and adds a DRI config option to force enabling S3TC even if the software compression/decompression is unavailable. This may allow people to use apps that require S3TC even though they don't have a license to implement the patented material themselves, if those apps use precompressed textures. Ideally we would get permission from the current holder of the patents to implement the algorithm in Mesa, at which point the dlopen mess could go away. Until then, this allows some to run applications they couldn't otherwise, and hopefully will provide us with more push to get the final step of getting that permission done.
/external/mesa3d/src/mesa/main/mtypes.h
|
53f82c5aadbb15585754bfacf3237093eccdb2ce |
|
02-Oct-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added support for GL_ARB_draw_buffers
/external/mesa3d/src/mesa/main/mtypes.h
|
765f1a12c6256282fe175ec92a0d01b45e4322c7 |
|
15-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
also fix possible delete bugs with buffer objects and vertex/fragment programs
/external/mesa3d/src/mesa/main/mtypes.h
|
f18fc687071a71a6f821a779a83b435f80d55b64 |
|
14-Sep-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Repeatedly deleting a texture ID with glDeleteTextures() could lead to a crash. Added a DeletePending flag to texture object struct to fix that. Other misc clean-ups.
/external/mesa3d/src/mesa/main/mtypes.h
|
a9ea1628da5f17274cd7ee023f438046dc992073 |
|
13-Sep-2004 |
Daniel Borca <dborca@users.sourceforge.net> |
changes towards GL_ARB_point_sprite (two-zero)
/external/mesa3d/src/mesa/main/mtypes.h
|
1675058a346a57d89a18147799579c0ad574bfd2 |
|
02-Jul-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
a few comments
/external/mesa3d/src/mesa/main/mtypes.h
|
8b33258d07650a9c97e0ab0828fcee2c97feafdc |
|
12-Jun-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove the 3dfx CatchSignals stuff (the var was alwasy set)
/external/mesa3d/src/mesa/main/mtypes.h
|
a156b49800c1419785d0709b78ef0d35e6dab5df |
|
12-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added big-endian texture formats. Moved CI->RGBA palette lookup into texel fetch function.
/external/mesa3d/src/mesa/main/mtypes.h
|
352d4dbfb24c65f327759c00c7db7d30a9482e35 |
|
10-May-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Add EXT_vertex_cull support to mesa
/external/mesa3d/src/mesa/main/mtypes.h
|
bdd15b5749b45929fa642c3e47997f52eb07fbe5 |
|
04-May-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix minor warnings found with g++.
/external/mesa3d/src/mesa/main/mtypes.h
|
6d460af6af77a0d5a5b568bcd6094b98e249ba93 |
|
23-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragment program is enabled AND the currently bound program is valid. Check _Enable instead of Enable to prevent things from blowing up when someone calls glEnable(GL_VERTEX_PROGRAM_ARB) without actually defining a program.
/external/mesa3d/src/mesa/main/mtypes.h
|
f959f6e1dc27c71fc0ccc56e09b29101b3bf3b97 |
|
22-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
New glTexImage code. The gl_texture_format struct now has a StoreTexImageFunc that's called by glTex[Sub]Image[123]D to convert the user's texture data into the specific texture format layout. Now it's much easier to add new texture formats (like the 16/32-bit floating point formats). The texutil.[ch] and texutil_tmp.h files are obsolete.
/external/mesa3d/src/mesa/main/mtypes.h
|
05a6f2fd484bab59c6e6a381f58808adc26619f1 |
|
21-Apr-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix up some assorted issues with initialization of vertex program registers. Some need to be set per-vertex, other per-primitive. Cleared that up. Only need to init temp/result registers if executing an NV vertex program.
/external/mesa3d/src/mesa/main/mtypes.h
|
6fb235661a3a78174e7554b292332a1dbb24f171 |
|
14-Apr-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Use tcc and the emitted C code from s_fragprog_to_c.c to dynamically compile and execute fragment programs. Very limited and experimental, but works well enough to run arbfplight.c. http://fabrice.bellard.free.fr/tcc/ Compile with 'make linux-tcc', being sure to make clean first.
/external/mesa3d/src/mesa/main/mtypes.h
|
894844a8d956a0ee5f95836331dc318f49fdb845 |
|
21-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Implemented support for software-based AUX color buffers. Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
/external/mesa3d/src/mesa/main/mtypes.h
|
7a6b71ef2944bae1718e8167b2faaceb8422071c |
|
13-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Implementation of GL_EXT_pixel_buffer_object extension. Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
/external/mesa3d/src/mesa/main/mtypes.h
|
94ec525ba5bc763210b1fb0198beeee2fe601b99 |
|
04-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
yet another take on VBO deleting and reference counting
/external/mesa3d/src/mesa/main/mtypes.h
|
9a20a72cdcab2a6c1678b83c782b61c047e765e3 |
|
03-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
comments, capitalization, misc-clean-ups
/external/mesa3d/src/mesa/main/mtypes.h
|
4923e1926ad7b7eb7de017eda8e7db64d357e5c8 |
|
28-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove clamp parameter from _mesa_unpack_color_span_float(). Pass the IMAGE_CLAMP_BIT if needed. Added ClampVertexColors and ClampFragmentColors to GLcontext in anticipation of upcoming extensions (not fully used yet).
/external/mesa3d/src/mesa/main/mtypes.h
|
833d96aa913dcb0c5ca085cc7ebee3df90f7fbf8 |
|
28-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
consolidate image transfer operations in new _mesa_apply_rgba_transfer_ops() function
/external/mesa3d/src/mesa/main/mtypes.h
|
aaad687d510b3c933e4ca532e1c12ec723d33588 |
|
28-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace color table FloatTable boolean with Type enum
/external/mesa3d/src/mesa/main/mtypes.h
|
0f1e19c03cdf5bd8a7c3db59cf395a0833ab0173 |
|
24-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some const keywords
/external/mesa3d/src/mesa/main/mtypes.h
|
5cd79f9267c5ce71d9fc3355ab0ba8fe5fdf636a |
|
17-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added FogOption to fragment_program struct
/external/mesa3d/src/mesa/main/mtypes.h
|
c2f6d6d092cb769416af453a9b8e216b20747bec |
|
17-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
added FixedToDouble() macro
/external/mesa3d/src/mesa/main/mtypes.h
|
08a45d4d4f01100d3c99d1c8fc4b7db1242b78ef |
|
08-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fully parameterize the macros for fixed-point arithmetic
/external/mesa3d/src/mesa/main/mtypes.h
|
07d6a983595b7ee52c8448fc579d952ce36472b8 |
|
06-Feb-2004 |
Ian Romanick <idr@us.ibm.com> |
Refactor "class" texture environments to be implemented in terms of ARB_texture_env_combine state.
/external/mesa3d/src/mesa/main/mtypes.h
|
e5a94ba138f9a628b1237fa815c2af9c9da077eb |
|
06-Feb-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added flags for _all_ extensions to the gl_extensions struct so that drivers can disable any extension if necessary.
/external/mesa3d/src/mesa/main/mtypes.h
|
27413ed249d5614de3057eda3401a6cc9ca5b324 |
|
28-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Move FRAG_BIT_ definitions to mtypes.h so that NEED_SECONDARY_COLOR() macro works globally.
/external/mesa3d/src/mesa/main/mtypes.h
|
c93105eb9e2499efb237fd89dba0cebd48f18375 |
|
27-Jan-2004 |
Ian Romanick <idr@us.ibm.com> |
Added support for EXT_blend_equation_separate / ATI_blend_equation_separate. The internal driver interface was also changed to use BlendEquationSeparate instead of BlendEquation.
/external/mesa3d/src/mesa/main/mtypes.h
|
18fa367ac6e035341f5eb86ecc4231124b2921e3 |
|
27-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a single array, texObj->Image[face][level].
/external/mesa3d/src/mesa/main/mtypes.h
|
f2ce4dc7dae1a1878c182f3e06fd7d9b64ab9027 |
|
23-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Change software alpha plane pointers from void* to GLchan*, eliminate some casts.
/external/mesa3d/src/mesa/main/mtypes.h
|
3abf746a7eae52220485cd031aecec2ca9e6103e |
|
23-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Don't set extra bits in FLUSH_VERTICES, fix several state bugs.
/external/mesa3d/src/mesa/main/mtypes.h
|
4f295cee73bae1f687efe2dc062522b40d90b1e4 |
|
23-Jan-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Initial support for floating point and signed texture formats. New "FetchTexelFuncF()" function returns texels in floating point format. Only used for depth component images at this time. Changed original FetchTexelFunc to return GLchan instead of GLvoid, removing need for a bunch of ugly casts.
/external/mesa3d/src/mesa/main/mtypes.h
|
790734045b69c47b1525fbf9106a7ca5a8eb7416 |
|
05-Jan-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
Re-commit t_vertex.[ch] changes to fd.o server.
/external/mesa3d/src/mesa/main/mtypes.h
|
4a3110fb213f419a47822eb44c5f2fcd74bb3b0d |
|
12-Dec-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove TexCoordInterleaveFactor. Clean up _mesa_InterleavedArrays()
/external/mesa3d/src/mesa/main/mtypes.h
|
e90de7883a3bd9afd27ac83314f08cf9f03f60e3 |
|
29-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix generic/conventional vertex array glitches. Changed _NEW_ARRAY_ATTRIB_0 back to 0x10000 so that the conventional and generic enable bits do not alias. In ac_import.c test Array.Normal.Enabled instead of Array._Enabled & _NEW_ARRAY_COLOR0, etc. In t_array_import.c give priority for generic arrays over conventional arrays on an individual basis, not all or none.
/external/mesa3d/src/mesa/main/mtypes.h
|
0f3cd3f894612d156de454178effa4c732f96da7 |
|
25-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
current raster color index should be GLfloat
/external/mesa3d/src/mesa/main/mtypes.h
|
b65bc4f87b356cf6228151cd2f341432e80dc6b8 |
|
25-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Remove unnecessary usage of __FUNCTION__. #define MESA_FUNCTION to __FUNCTION__ if MESA_DEBUG is defined.
/external/mesa3d/src/mesa/main/mtypes.h
|
ae0eaf93e092ac8e8b1c98f3e986de96940663fa |
|
24-Nov-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge vtx-0-2-branch
/external/mesa3d/src/mesa/main/mtypes.h
|
663a9e1b7ef7b8384abe2f81e1a8749b942f6d3a |
|
21-Nov-2003 |
Daniel Borca <dborca@users.sourceforge.net> |
more texture compression
/external/mesa3d/src/mesa/main/mtypes.h
|
1c27a1e957546ed849b3fd0c35904e9680f113f8 |
|
19-Nov-2003 |
Karl Rasche <karlrasche@gmail.com> |
Initial checking of new ARB_frag/vertex program parser
/external/mesa3d/src/mesa/main/mtypes.h
|
57857ca0925116d6d254fef7e705cfe0b650d77f |
|
12-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Ville Syrjala's logic op patch
/external/mesa3d/src/mesa/main/mtypes.h
|
a2b9bad251b058f6255fa037b842c5465c0609a2 |
|
10-Nov-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Redo array element checking for vertex array buffers. Now, compute ctx->Array._MaxElement as the min of enabled array's max element. Test against ctx->Array._MaxElement in glDrawArrays/Elements. Note: testing in glArrayElement not done yet. Only do element checking if ctx->Const.CheckArrayBounds is set.
/external/mesa3d/src/mesa/main/mtypes.h
|
c5b1e81de48de5d8830bf5d92ff767ad1985e46e |
|
23-Oct-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Initial work for bounds checking of vertex arrays and vertex buffer objects. Only glDrawArrays() done so far. Simplified glVertex/Color/etcPointer functions. Misc casts added here and there.
/external/mesa3d/src/mesa/main/mtypes.h
|
bcb3957b6c22caf35d9b300440648c3e656e8b4c |
|
09-Oct-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Eric's mesa-depth32.diff
/external/mesa3d/src/mesa/main/mtypes.h
|
06588db3fa2c8292db57b3537bb3ad8811d82f46 |
|
18-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Move context ASSERT/FLUSH macros to context.h
/external/mesa3d/src/mesa/main/mtypes.h
|
3173277e20d7a2ed640298aa4f536f3903a0ef8b |
|
18-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove MESA_TRACE stuff
/external/mesa3d/src/mesa/main/mtypes.h
|
bd3096edc30530a2b77770b773d725081c4d804f |
|
18-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed unused NoRaster and Rendering fields from GLcontext
/external/mesa3d/src/mesa/main/mtypes.h
|
bbd9a0c2b4d314059e7212f973034fcc774093e0 |
|
17-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove unused Target field from gl_buffer_object
/external/mesa3d/src/mesa/main/mtypes.h
|
57d882b6847128fe5f72575f61a2b2dace7ac46c |
|
17-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_ARB_vertex_buffer_object working now, at least for non-indexed vertex arrays.
/external/mesa3d/src/mesa/main/mtypes.h
|
148a2847a105ce9d9189ad3081091de60f803a33 |
|
17-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
More work on ARB_vertex_buffer_object. Use GLubyte * instead of void * for gl_client_array->Ptr to simplify upcoming pointer arithmetic changes.
/external/mesa3d/src/mesa/main/mtypes.h
|
aa00d122b81a118eca3b43c66f17d988b1aa62d3 |
|
15-Sep-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Some work on ARB_vertex_buffer_object. Use GL_CLIENT_ACTIVE_TEXTURE when returning texcoord array values in get.c
/external/mesa3d/src/mesa/main/mtypes.h
|
0207b47aafebc06cf83fbdb8c9b01f63374fac66 |
|
09-Sep-2003 |
Ian Romanick <idr@us.ibm.com> |
Added most of the infrastructure required to support ARB_vertex_buffer_object. THIS IS INCOMPLETE.
/external/mesa3d/src/mesa/main/mtypes.h
|
c8363a31cfcd8e3c60387df31525158847ab1457 |
|
02-Sep-2003 |
Ian Romanick <idr@us.ibm.com> |
Added support for EXT_texture_mirror_clamp and the single wrap mode that it addes to ATI_texture_mirror_once. This includes updating the texwrap test to exercise the new mode.
/external/mesa3d/src/mesa/main/mtypes.h
|
04a81da03bef5020d863e46aa597eddf7aaac016 |
|
31-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Moved some shared vertex/fragment program code into new program.c file. Implemented new program_parameter_list type and functions for dealing with named program parameters, constants and GL state references. New state_index enum for describing GL state referenced within ARB vertex/ fragment programs. Plus, functions for fetching named GL state.
/external/mesa3d/src/mesa/main/mtypes.h
|
781fb93877ea3a6faeefcdb48d9b463da7d954a3 |
|
28-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added OpenGL 1.4's per-texture LOD bias.
/external/mesa3d/src/mesa/main/mtypes.h
|
63736723678ef30e7f90835cfbd48c520e39bf11 |
|
23-Aug-2003 |
Ian Romanick <idr@us.ibm.com> |
Trivial changes to add support for GL_ARB_point_sprite, which is a subset of GL_NV_point_sprite (which was already supported).
/external/mesa3d/src/mesa/main/mtypes.h
|
3baefe663bb15b4fd60921155de38c12ec2758c4 |
|
23-Aug-2003 |
Ian Romanick <idr@us.ibm.com> |
Added support for GL_IBM_multimode_draw_arrays. Added non-static entrypoints and the name string for GL_SUN_multi_draw_arrays (identical to GL_EXT_multi_draw_arrays). Made add_newer_entrypoints (in src/mesa/main/context.c) table driven. This reduced the size of context.o by about 3KB.
/external/mesa3d/src/mesa/main/mtypes.h
|
f2dd273322cc9ec0cfe80a609f9a1e5db5931e2e |
|
17-Aug-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Re-org of register files for vertex/fragment programs. Will be easier to hook in global state references, etc. for ARB programs.
/external/mesa3d/src/mesa/main/mtypes.h
|
ff56908e09c0351179478deb19677cf56eec1f64 |
|
05-Aug-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Store material attributes in an Attrib[] style array. This is a first step to reviving/rescuing the 'vtx' rework from the old mesa tree.
/external/mesa3d/src/mesa/main/mtypes.h
|
f7fda86c6dcb7894157bd35a0cf15d003d48b441 |
|
22-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Implement debugger callback, etc for vertex programs. Misc clean-ups.
/external/mesa3d/src/mesa/main/mtypes.h
|
08ff059f203f05a0cc417a46fe37f83929963db5 |
|
21-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Initial implementation of GL_MESA_program_debug - a vertex/fragment program debugging extension.
/external/mesa3d/src/mesa/main/mtypes.h
|
6dc85575000127630489b407c50a4b3ea87c9acb |
|
17-Jul-2003 |
Keith Whitwell <keith@tungstengraphics.com> |
Merge Jose's documentation and core Mesa changes from embedded branch
/external/mesa3d/src/mesa/main/mtypes.h
|
887e2cf01a99f7fe1b7c94320b7bdbbf0d6ad2f8 |
|
03-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Implemented GL_ARB_texture_non_power_of_two (except for auto mipmap generation).
/external/mesa3d/src/mesa/main/mtypes.h
|
de4f460e20cf76ece883530ffe3f82a0afc817f3 |
|
03-Jul-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Simplify extension string handling.
/external/mesa3d/src/mesa/main/mtypes.h
|
b17a722ca3989e8563ee04cb2939f4835f8a171e |
|
13-Jun-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Implemented GL_ARB_occlusion_query (not 100% finalized).
/external/mesa3d/src/mesa/main/mtypes.h
|
09dbc1e5aea9d584d7d031bcf0c945aa16cef2a1 |
|
02-Jun-2003 |
Ian Romanick <idr@us.ibm.com> |
Removed fields from 'struct gl_extensions' for extensions that don't need them. Added "always on" extensions for extensions that are part of core versions 1.1 and 1.2.
/external/mesa3d/src/mesa/main/mtypes.h
|
882caa18c6c551cbe60f205795b00a6a5361a986 |
|
30-May-2003 |
Ian Romanick <idr@us.ibm.com> |
Added support for NV_light_max_exponent.
/external/mesa3d/src/mesa/main/mtypes.h
|
92f9785c727ea10ff5f8dc9770f0e8f388fcea70 |
|
02-May-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use ctx->Const.MaxTextureImageUnits and MaxTextureCoordUnits in more places. Misc vertex array / vertex program changes.
/external/mesa3d/src/mesa/main/mtypes.h
|
e5b244ff7f984805c1bcc020342f1300f2639c71 |
|
21-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Implemented GL_EXT_depth_bounds_test.
/external/mesa3d/src/mesa/main/mtypes.h
|
edd677454dc38a590bd6fc1cd3e2759d2a4d55e3 |
|
18-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
minor re-org of program matrix, program local parameter limits
/external/mesa3d/src/mesa/main/mtypes.h
|
451f31093e950e2c76e8d7dee3cb097049a906b5 |
|
17-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
checkpoint: more infrastructure for GL_ARB_vertex/fragment_program.
/external/mesa3d/src/mesa/main/mtypes.h
|
d0492cf1377897c8113a109aa936ee7a7084b9c8 |
|
11-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Some groundwork for GL_ARB_vertex/fragment_program.
/external/mesa3d/src/mesa/main/mtypes.h
|
aac732546a235ca52b3236e3bceb493d77ba7326 |
|
09-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
basic work on GL_ARB_vertex_buffer_object
/external/mesa3d/src/mesa/main/mtypes.h
|
36a0a3252e1e20df69b53f70ba93bc74c4a4bf0e |
|
08-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added ctx->Texture._EnabledCoordUnits bitfield. Fixed some vertex array / vertex program glitches with glDrawElements. Fixed some fragment program runtime bugs. Non-trivial Cg programs are running now.
/external/mesa3d/src/mesa/main/mtypes.h
|
ce7f006e66533da9f6db61e368273f1ffcc12ace |
|
05-Apr-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
fragment program named constants and named program parameters basically work now
/external/mesa3d/src/mesa/main/mtypes.h
|
6061df09a45c42745253965df012ddf76910ea33 |
|
29-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Basic infrastructure for GL_ARB_vertex_buffer_object.
/external/mesa3d/src/mesa/main/mtypes.h
|
451566305287161d51eb5643a5fd398809ac03c1 |
|
19-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Rewrite of fragment program named parameters, constants, etc. Not done.
/external/mesa3d/src/mesa/main/mtypes.h
|
490a8b83152a5c6bf79ef6e9805eabe6230c812e |
|
02-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
remove some MESA_DEBUG stuff
/external/mesa3d/src/mesa/main/mtypes.h
|
27558a160a9fe91745728d7626995cd88f8fe339 |
|
01-Mar-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch] Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
/external/mesa3d/src/mesa/main/mtypes.h
|
14e6bbccffa0a4d6b9d505212e812521da3677b6 |
|
23-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
added TEXTURE_*_INDEX tokens
/external/mesa3d/src/mesa/main/mtypes.h
|
2c1912fe84d110d4c8cccc207827a154c09dd09a |
|
17-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
more work on DEFINE/DECLARATION statements, symbol tables
/external/mesa3d/src/mesa/main/mtypes.h
|
45b47d079f6a749c15498a6cef78d891f8acb665 |
|
26-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
Make GL_SGI_texture_color_table work per-texture unit. Clean-up and optimize _swrast_texture_table_lookup().
/external/mesa3d/src/mesa/main/mtypes.h
|
a7c52c61e5bb5dc1f1781453b757bdb9904f6a1e |
|
22-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
push/pop color table state (Eric Plante)
/external/mesa3d/src/mesa/main/mtypes.h
|
418ac00e7583bf3136816a43b3357e0d0b0c776d |
|
21-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_SGI_texture_color_table extension (Eric Plante)
/external/mesa3d/src/mesa/main/mtypes.h
|
943f0c6a41aa66705ffba90a55cf75296b0bde1d |
|
21-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_ATI_texture_env_combine3 extension
/external/mesa3d/src/mesa/main/mtypes.h
|
610d59981a9f43fefe29b34ef19c184d28e2bef5 |
|
14-Jan-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
First batch of code for GL_NV_fragment_program. Re-org of some GL_NV_vertex_program code. Replace MAX_TEXTURE_UNITS with MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS.
/external/mesa3d/src/mesa/main/mtypes.h
|
c7a219ec6f6047b691a9bb32e55ec4a889ba2814 |
|
21-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_ATI_texture_mirror_once extension (Ian Romanick)
/external/mesa3d/src/mesa/main/mtypes.h
|
8ad1076dc2afda8ed37e5a9f6a757583eba90375 |
|
11-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Another round of glRead/DrawBuffer() clean-ups and simplifications. Replaced ctx->Color._DriverDrawBuffer with swrast->CurrentBuffer. Replaced ctx->Pixel._DriverReadBuffer with ctx->Pixel._ReadSrcMask. swrast->Driver.SetBuffer() takes FRONT/BACK_LEFT/RIGHT_BIT values now. Added tokens and code for GL_AUX buffers, for completeness.
/external/mesa3d/src/mesa/main/mtypes.h
|
0670eb259d2ede9d1ca1762759737b8cc31a67a4 |
|
10-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed old TEXTURE0_ defines
/external/mesa3d/src/mesa/main/mtypes.h
|
59c5cf35c92e969f66eefd27809e72089b731701 |
|
09-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
finally get rid of ctx->Texture._ReallyEnabled field
/external/mesa3d/src/mesa/main/mtypes.h
|
fc80ad6e62fb2b53d53756593099330477a44c52 |
|
04-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Changed a number of context fields from GLchan to GLfloat (such as ClearColor). Also changed parameter types for some driver functions (like ctx->Driver.Clear- Color). Updated all the device drivers. Someday, we want to support 8, 16 and 32-bit channels dynamically at runtime.
/external/mesa3d/src/mesa/main/mtypes.h
|
be99e845bd7979fe46d38d9b294c1ba0a0aa95b8 |
|
03-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
finished up GL_EXT_stencil_two_side
/external/mesa3d/src/mesa/main/mtypes.h
|
0adce5d0ed20910a41c2115e4dd0173fdcc53cdb |
|
03-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed unused ctx->Polygon.OffsetMRD
/external/mesa3d/src/mesa/main/mtypes.h
|
641b2307ec77e70a5b1db75934438d2fbb75613c |
|
02-Oct-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed ctx->Polygon._OffsetAny - not really needed
/external/mesa3d/src/mesa/main/mtypes.h
|
89fb06fcc11cbe3f23521312155d6c55d869f526 |
|
27-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
new texture compression infrastructure
/external/mesa3d/src/mesa/main/mtypes.h
|
681b8c9d1ba06c8c82e687a5ced369b72e6b1eb9 |
|
23-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
merge gl_texture_image RowStride from DRI 4.0.4
/external/mesa3d/src/mesa/main/mtypes.h
|
551b65f13754e6760e5c272ff86f8873c9c13e5c |
|
21-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_MESA_pack_invert
/external/mesa3d/src/mesa/main/mtypes.h
|
c5b995066020191982b2315fc45d05e068eee761 |
|
21-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
updates from 4.0.4 (MESA_ycbcr_texture, APPLE_client_storage, etc)
/external/mesa3d/src/mesa/main/mtypes.h
|
5f60a0b50ada1865d4fc6a724366e8ea0cc9a72f |
|
06-Sep-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
GL_EXT_stencil_two_side extension, not 100% complete yet.
/external/mesa3d/src/mesa/main/mtypes.h
|
3b4fbbc129c711a5aec8d653d5c6eb2e195f947c |
|
09-Jul-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer() indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
/external/mesa3d/src/mesa/main/mtypes.h
|
487047c06040112e1a2648982e378e0cca4874b8 |
|
29-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
prep for OpenGL 1.4 feature set
/external/mesa3d/src/mesa/main/mtypes.h
|
4e9676fb13f60ecdbc247b120031f18cd3febcb0 |
|
29-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Applied Matt Sealey's patch to remove/isolate all stdio.h function calls. Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
/external/mesa3d/src/mesa/main/mtypes.h
|
02c03ef6b4762adf33b73528c9fd672ef4697763 |
|
18-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Moved GL_PROGRAM_ERROR_POSITION_NV state (it's not per-program). Finished all glGet* queries for GL_NV_vertex_program. Improved error reporting in glEnable/Disable/Get, etc.
/external/mesa3d/src/mesa/main/mtypes.h
|
8afe7de8deaf3c9613fd68b344de8c52b02b1879 |
|
15-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Implemented GL_NV_texture_rectangle extension. Replace struct gl_texure_object's Dimension w/ Target field. Added _EnabledUnits to struct gl_texture_attrib - the _ReallyEnabled field is obsolete, but still present for now. This effectively removes the 8-texture units limit, 32 units now possible, but unlikely! New TEXTURE_1D/2D/3D/CUBE/RECT_BIT tokens for unit->_ReallyEnabled field. Updated device drivers to use ctx->Texture._EnabledUnits.
/external/mesa3d/src/mesa/main/mtypes.h
|
4753d60dd070bb08d0116076bcc08025c86ce857 |
|
15-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added ctx parameter to _mesa_debug() Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
/external/mesa3d/src/mesa/main/mtypes.h
|
9a33a11d714c90162d32781ebbd2c1dfab52cfd1 |
|
13-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
New _mesa_debug() function to replace fprintf() calls. Some source files updated to call _mesa_debug(), but not finished. Added __GLimports as a parameter to _mesa_create/init_context() and updated drivers accordingly. Fleshed-out more of the __GLimports and __GLexports functionality. Removed run-time config file support (config.c)
/external/mesa3d/src/mesa/main/mtypes.h
|
f21a4872e8218c0454107686a531eb0ff19c36bb |
|
06-Jun-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced hard-coded 4 with NUM_TEXTURE_TARGETS
/external/mesa3d/src/mesa/main/mtypes.h
|
6c408b46678637959dba04663fbc34eb9c4bc397 |
|
27-May-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
replaced experimental MESA_sprite_point with NV_point_sprite
/external/mesa3d/src/mesa/main/mtypes.h
|
002483e009e7c8610a5abfbf61a43694cb34e1d3 |
|
09-May-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Minor change to current raster position and texcoords.
/external/mesa3d/src/mesa/main/mtypes.h
|
f595212336ae63c981f0f39f4ea1dec67ff7fe25 |
|
02-May-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Implemented GL_ARB_texture_env_crossbar. Simplification of some of the texture application code.
/external/mesa3d/src/mesa/main/mtypes.h
|
12bab63f09975504c20a5dc9b9831a8072c43506 |
|
21-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Vertex program attribute arrays seem to work now. This includes fallbacks to the conventional arrays when attribute arrays aren't enabled.
/external/mesa3d/src/mesa/main/mtypes.h
|
b7752724d930aa8b93617829d814b20509f85069 |
|
21-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
vertex program attribute array work
/external/mesa3d/src/mesa/main/mtypes.h
|
4fa66fa85ccc1b35411c1deb65119cde6c9d44a4 |
|
19-Apr-2002 |
Karl Schultz <kschultz@freedesktop.org> |
Provide a reasonable replacement for __FUNCTION__ when using non GNU C compilers. This allows Mesa to compile with non GNU C compilers again.
/external/mesa3d/src/mesa/main/mtypes.h
|
306d3fcdbad523428501833405e47e9897896def |
|
09-Apr-2002 |
Keith Whitwell <keith@tungstengraphics.com> |
bring in changes from dri tcl branch
/external/mesa3d/src/mesa/main/mtypes.h
|
103bc0f75c00dfcf671dc50d8d9666f88a42a59d |
|
29-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replaced ClipEnabled[] array and _AnyClip with ClipPlanesEnabled bitmask.
/external/mesa3d/src/mesa/main/mtypes.h
|
636b2801d981872d3111be0cd11aa79b4cc8643b |
|
23-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Test implementation of proposed GL_EXT_shadow_funcs extension. This just generalizes the R/texture comparision operators to include all eight of the depth test comparisons.
/external/mesa3d/src/mesa/main/mtypes.h
|
18a285a5e244b7405b85feb7315a30d99920ec5d |
|
16-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Lots of changes related to framebuffer/window buffer resizing. Basically, instead of passing a GLcontext* to ResizeBuffers(), pass a GLframebuffer*. The idea is that a window can be resized without it being bound to a rendering context. This makes for a nice clean-up in the XFree86 server-side GLX code. Renamed ctx->Driver.ResizeBuffersMESA() to ctx->Driver.ResizeBuffers().
/external/mesa3d/src/mesa/main/mtypes.h
|
f9708e45ac819a0c589e14ea81e635fbbc8033f8 |
|
13-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
initial work for NV_vertex_program1_1 extension
/external/mesa3d/src/mesa/main/mtypes.h
|
2e47ff7b9c4b7092c9a1d6c29eb03f440cd701a0 |
|
15-Feb-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Finished up GL_ARB_depth_texture and GL_ARB_shadow
/external/mesa3d/src/mesa/main/mtypes.h
|
0cb28418d06c30e431bdff515c1d36a812d5950d |
|
13-Feb-2002 |
Keith Whitwell <keith@tungstengraphics.com> |
More suport for t&l drivers Fix GLuint compare bugs Fix RESET_STIPPLE calls
/external/mesa3d/src/mesa/main/mtypes.h
|
4c8fadc6d996c8c433826c4c763104b7d69cf7e5 |
|
22-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Clean-up/renaming of the per-vertex attribute bits, specifically, the VERT_BIT_* flags are new and used in many places (esp in T&L code). Updated some comments for doxygen. Various code clean-ups.
/external/mesa3d/src/mesa/main/mtypes.h
|
3e276d43a22b043c1aa33c21ef3513a66d382dca |
|
12-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
added some comments
/external/mesa3d/src/mesa/main/mtypes.h
|
2edd1807f85a5118dcd0c20156a2d68f5c23d145 |
|
11-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Moved _mesa_VertexAttribPointerNV into varray.c. Removed dead placeholder functions from vpstate.[ch]. Changed gl_client_array's Enabled field to GLuint so it can actually hold the flags we're storing in it! Always do the switch (type) code in the vertex array functions to that <type> gets error checked!
/external/mesa3d/src/mesa/main/mtypes.h
|
571a1ac6eead573777b990b31fce16987d894adb |
|
06-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
implemented vertex program point size control
/external/mesa3d/src/mesa/main/mtypes.h
|
363049160da54f4aafe88f99bb2140a9bfed142b |
|
06-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Another vertex program checkpoint: clean-up of vertex attribute storage in vertex_buffer. Improved vertex program pipeline stage such that output registers can be processed in a loop. Getting closer to where we need to be in order to implement performance optimizations...
/external/mesa3d/src/mesa/main/mtypes.h
|
bc42c19f22c3b719712529d86faea818f34150a2 |
|
05-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
infrastructure for vertex program attribute evaluators
/external/mesa3d/src/mesa/main/mtypes.h
|
bd1a9dacf6a45e6aa6954eeb490d55ebcc80ace8 |
|
05-Jan-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Vertex program checkpoint commit: converted all vertex attributes (color, normal, texcoords, fogcoord, secondary color, etc) to GLfloat[4] datatype. Aliasing of glVertex, glNormal, glColor, glFogCoord, etc. to glVertexAttrib now complete.
/external/mesa3d/src/mesa/main/mtypes.h
|
30f51ae067379c2b3573c06b707d25a9704df7be |
|
18-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replace old matrix stacks with new code based on struct matrix_stack. Moved vertex program hash table into shared context state. Implemented reference counting for vertex programs. Replaced tnl "ProjectedClip" with "Ndc" (normalized device coordinates).
/external/mesa3d/src/mesa/main/mtypes.h
|
86b842790b720cd6b1499ce8edca8a4e9c8dc029 |
|
14-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
vertex program check-in
/external/mesa3d/src/mesa/main/mtypes.h
|
014ec1ac5e98e86836285a176d7674bc43a00cd7 |
|
05-Dec-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
prototype implementation of GL_ARB_depth_texture, GL_ARB_shadow, GL_ARB_shadow_ambient
/external/mesa3d/src/mesa/main/mtypes.h
|
5b7dab2e4c7df1fde0a7fcf28b8b54745b9fcd2e |
|
19-Nov-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added test implementation of GL_ARB_window_pos
/external/mesa3d/src/mesa/main/mtypes.h
|
87c964d3885d84959f86d5d7d9c4358240b6da3c |
|
06-Nov-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added missing GL_MAX_TEXTURE_LOD_BIAS_EXT query
/external/mesa3d/src/mesa/main/mtypes.h
|
e11f089f821ea90754d8cbe56278eba4cf5665f4 |
|
17-Oct-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_ARB_texture_mirrored_repeat
/external/mesa3d/src/mesa/main/mtypes.h
|
46af1f87c897ef03470d205e9fd147e93911cbce |
|
28-Jul-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove _BaseAlpha, fix reflect lighting bug.
/external/mesa3d/src/mesa/main/mtypes.h
|
f431a3fb4dc1bf860203d79e54657e3a62bc50df |
|
13-Jul-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
assorted changes for supporting GLfloat color channels (not done)
/external/mesa3d/src/mesa/main/mtypes.h
|
acc722d4b890da7ed0ede24751e2bcaf28cc1468 |
|
26-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
More raster fog coord fixes. New truncate vs. floor comments in drawpixels.c Added current raster secondary color state, not used yet.
/external/mesa3d/src/mesa/main/mtypes.h
|
8c2f6c5059a60d845716277973c826f4069926e6 |
|
26-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_IBM_rasterpos_clip extension
/external/mesa3d/src/mesa/main/mtypes.h
|
cd1cefae9146fc14b35ee93a04bdb1b1590fba7b |
|
13-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Allow different max texture sizes for 1/2D, 3D and cube maps.
/external/mesa3d/src/mesa/main/mtypes.h
|
ae47121fa336f53c5ab51df3dc699db018feff18 |
|
13-Jun-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed old, redundant CurrentTransformUnit state var
/external/mesa3d/src/mesa/main/mtypes.h
|
b5d3f2c52103c6bd834838695cd753ca26991bd6 |
|
30-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added current raster fog coord and related code
/external/mesa3d/src/mesa/main/mtypes.h
|
736fcbec4732830e7976fb5eb309b13e03be132c |
|
29-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
infrastructure for GL_ARB_multisample
/external/mesa3d/src/mesa/main/mtypes.h
|
3893e638e6521b9c070e01c0b31d22754ff97a88 |
|
21-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
initial support for GL_SGIS_generate_mipmap extension
/external/mesa3d/src/mesa/main/mtypes.h
|
51c0c71811508b6658e0d5dcff8426b618322a73 |
|
28-Apr-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Support for floating point color representation in tnl module.
/external/mesa3d/src/mesa/main/mtypes.h
|
1c85aa33321821b44bea83d3dee702ab4e05f406 |
|
20-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fixed a texture conversion problem: sometimes need to produce an intermediate texture image in the base internal format between user->Mesa format conversion. See comments in texstore.c
/external/mesa3d/src/mesa/main/mtypes.h
|
bcfe3936a8722f43639ad853649c7f0ea8591cf3 |
|
17-Apr-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fixed a number of minor GL_ARB_texture_env_combine/dot3 issues.
/external/mesa3d/src/mesa/main/mtypes.h
|
ed39a43b8cb2e1cf69b097fc89365cde470ebf51 |
|
29-Mar-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove ENABLE_* flags, ctx->_Enabled. Replace with ctx->Texture._TexMatEnabled, ctx->Texture._TexGenEnabled.
/external/mesa3d/src/mesa/main/mtypes.h
|
3d5815f4636be0aa9f1788ca80908d5809d26481 |
|
29-Mar-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Removed DD_STENCIL, DD_FEEDBACK, DD_SELECT. Added some switchable debug to s_context.c
/external/mesa3d/src/mesa/main/mtypes.h
|
ee403ff0ba272f5be539ddc921d3fffb3d250cc4 |
|
29-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Removed DD_Z_NEVER. Replaced SEPERATE with SEPARATE. Renumbered _NEW_ flags. Removed _NEW_COLORTABLE.
/external/mesa3d/src/mesa/main/mtypes.h
|
16a8e986cebae6560d00992b6b9f54549e1d03c6 |
|
28-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
- Restore texImage->IntFormat. - Fix FX driver texture image conversions.
/external/mesa3d/src/mesa/main/mtypes.h
|
38f28665bf9fb5b2464738ca5074848ec2777ae1 |
|
28-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
More texture format updates. Drivers now need only plug an appropriate format into texImage->TexFormat, the rest is handled by core Mesa.
/external/mesa3d/src/mesa/main/mtypes.h
|
19d1e432612cf7db797da11793b13a6c1c6aac16 |
|
27-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Updates required for DRI drivers on mesa-3-5-branch.
/external/mesa3d/src/mesa/main/mtypes.h
|
2bb04cad14f5edd9e2657a1122ceeb1fb468f4a9 |
|
26-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added GL_ARB_texture_border_clamp
/external/mesa3d/src/mesa/main/mtypes.h
|
425fea1c346438f1c60a768514e74f655f05417a |
|
24-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
- Minor cleanups of ctx->Driver.Current*Primitive usage. - Remove unused gl_reduce_prim array.
/external/mesa3d/src/mesa/main/mtypes.h
|
b3678f108044302dc6f50a14568d47c1b345df9b |
|
23-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Some more minor cleanups of macros.
/external/mesa3d/src/mesa/main/mtypes.h
|
8b7dfa852626f73894763e278e365609e81f1220 |
|
23-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Remove compiler warnings about ASSERT_OUTSIDE_BEGIN_END() macro.
/external/mesa3d/src/mesa/main/mtypes.h
|
709892459922a32096fe9dd8261d0d92337bb02f |
|
19-Mar-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Split driver struct into swrast/tnl/core components.
/external/mesa3d/src/mesa/main/mtypes.h
|
2c3d34c905fa6b831a066afae83b938de05eb241 |
|
18-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
- Port 3.4 texture utils, texture format work to 3.5 (including new FetchTexel routines). - Initial hooks for GL_EXT_texture_filter_anisotropic.
/external/mesa3d/src/mesa/main/mtypes.h
|
47489c0721348d8f5e5f17b4af63b1c601045116 |
|
17-Mar-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove dead #define. Add case for triangles culled front and back -- not handled by the culling code inside swrast triangle routines.
/external/mesa3d/src/mesa/main/mtypes.h
|
24fab8e2507d9ccc45c1a94de0ad44088cfb8738 |
|
15-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed ARB_texture_env_add bool flag, use EXT_texture_env_add flag
/external/mesa3d/src/mesa/main/mtypes.h
|
d8aa0269cdadba1608522287bcb3b446c5848c09 |
|
11-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Support for swappable tnl modules. Core Mesa provides a neutral tnl module that verifies the currently module before installing the tnl function pointers in a lazy fashion. It also records which tnl functions have been swapped out, and only restores these when tnl modules themselves are swapped. Fallback strategies: Drivers set a bitmask of dangerous stage changes. When such a state change occurs, the driver should restore the neutral tnl module via _mesa_restore_exec_vtxfmt(). The neutral tnl module will call _mesa_update_state(), followed by ctx->Driver.ValidateTnlModule() if the validation bitmask matches the new state bitmask. The driver should call _tnl_wakeup_exec() if it can no longer handle the current state, which will revert to the default tnl module. In this case, previous vertices should be replayed as required (depending on the current primitive) after the new tnl module is installed. If the driver uses chooser functions for any part of the tnl module, these should generally be reinstalled as part of the fallback to the neutral tnl module. For example, if the lighting state changes, a driver might fall back to the neutral tnl module, verify that the current lighting state can be handled, and use the chooser function to pick the most efficient implementation of the current lighting state. It is up to the drivers to detect and handle fallback cases caused by tnl function calls themselves (such as glTexCoord4f* if the current tnl module can't handle projected textures, for example).
/external/mesa3d/src/mesa/main/mtypes.h
|
08836341788a9f9d638d9dc8328510ccd18ddeb5 |
|
03-Mar-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
lots of gl_*() to _mesa_*() namespace clean-up
/external/mesa3d/src/mesa/main/mtypes.h
|
be3602da412ae56b5ee019fc47cc282eb3d66fad |
|
28-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
GLvisual inside GLframebuffer is no longer a pointer, copy the struct instead. Added context/drawbuffer visual config sanity checking in _mesa_make_current2(). Added some 'const' keywords.
/external/mesa3d/src/mesa/main/mtypes.h
|
c499ce31baf820e84d133c2189f88e15a1a36672 |
|
20-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Implemented GL_SGIX_shadow and GL_SGIX_shadow_texture. Added some const keywords in the s/w texturing code.
/external/mesa3d/src/mesa/main/mtypes.h
|
e75d2424e53d6023f4414e40694cd467e5392b96 |
|
17-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Changed FetchTexel() function pointer arguments. Implemented glGetTexImage(format=GL_COLOR_INDEX). Changed _mesa_unpack_depth_span() args. Minor changes/clean-ups in mtypes.h. Histogram counter component sizes were wrong.
/external/mesa3d/src/mesa/main/mtypes.h
|
f7e1dfeaefda8865252513bc4d880ea8640efe4d |
|
17-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Work in glGetTexImage() to return GL_COLOR_INDEX images. Prototype code for GL_SGIX_depth_texture / more flexible teximage code.
/external/mesa3d/src/mesa/main/mtypes.h
|
8e39ad2cd67d49be40ff0822f3269affdf83d601 |
|
06-Feb-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Overhaul of texture image handling. 1. gl_texture_image struct's Data pointer points to images in driver's format. 2. Added FetchTexel() function pointer to struct gl_texture_image. 3. Changed Driver Tex[Sub]Image functions, return void now. 4. Texture storage/fetch code in new texstore.c file. 5. Removed texture.[ch] - functions moved to state.c Note: FX driver updates not finished yet.
/external/mesa3d/src/mesa/main/mtypes.h
|
5c1e7fa6ee72f4403d9ec9d12830dd689b966e71 |
|
29-Jan-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Removed knowledge of swrast Clear/Bitmap/Accum/Draw/Read/CopyPixels functions from core mesa -- if drivers need these fallbacks they must now call them themselves. Introduced hooks for clip-vertex-interpolation and the rendering of clipped lines and polygons. Allows drivers to interpolate their hardware-format vertices directly. Used in dri drivers to replace fastpath code. Slight optimizations to pipeline build/run routines.
/external/mesa3d/src/mesa/main/mtypes.h
|
ab36c9aa1c4af92dd9f4ec48028f1eb2e98d1ccc |
|
24-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed the unused/broken GL_PGI_misc_hints extension
/external/mesa3d/src/mesa/main/mtypes.h
|
74b493a5e61237de081a438e774e5d8139d4c6b7 |
|
24-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Lots of GLchan datatype changes. Added GLvector4us datatype in math/m_vector.[ch] Added _math_trans_4us() in math/m_translate.[ch] Choose GLvector4ub, GLvector4us, GLvector4f at compile time based on CHAN_BITS. Made Driver.ClearColor() and Driver.ClearIndex() optional driver functions. Changed args to Driver.ClearColor(), updated drivers. Reordered files in Makefile.X11
/external/mesa3d/src/mesa/main/mtypes.h
|
b6bcae5698df88f7730d40004ce7ce0462e97a20 |
|
24-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h. Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
/external/mesa3d/src/mesa/main/mtypes.h
|
ce656b6a0a103ae9cb41d509be353f0e661e3574 |
|
08-Jan-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Fixed 'IRound' to 'IROUND' in mmath.h Fixed fallback path for drawarrays/_tnl_hard_begin. Removed disabled debug code.
/external/mesa3d/src/mesa/main/mtypes.h
|
b980b2eeb62dc48101a7481d02d196c80b9da397 |
|
08-Jan-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Add a 'RenderPrimitive' callback to t_vb_render.c. Helps out drivers that used to require a 'ReducedPrimitiveChange' callback. Various compilation fixes for XFree86. Reverted to the older version of glcore.h used internally in XFree86, and moved it to 'Mesa/include/GL/internal/glcore.h', for compatibility with XFree86.
/external/mesa3d/src/mesa/main/mtypes.h
|
ba8f6172bdfb44594537a304225b54152584d701 |
|
06-Jan-2001 |
Gareth Hughes <gareth@valinux.com> |
Implementation of GL_EXT_texture_env_dot3.
/external/mesa3d/src/mesa/main/mtypes.h
|
58e991705392a2e17a1c8b034f4083a0adaf1943 |
|
05-Jan-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertex is always the last vertex parameter. Modify clipping to preserve pv colors. Modify swrast and X11 driver to expect the pv in the last vertex (was looking in the first vertex previously). Remove all handling of flatshading from swrast_setup. Allow drivers to override the unclipped render tabs in tnl_render_stage directly. (Like in 3.4). Removed fxsimplerender stage. Modified t_vb_rendertmp.h to remove the need for 'parity' arguments in RENDER_TRI macros.
/external/mesa3d/src/mesa/main/mtypes.h
|
3041d05bbcccfddba01a1eeaba01e5da0e1e99af |
|
02-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
Removed fixed.h (GLfixed now in mtypes.h, fixed-pt macros in mmath.h) Clean-up of color conversion macros. New mmath.h macros (IROUND, IFLOOR, ICEIL, FRAC) used in various places.
/external/mesa3d/src/mesa/main/mtypes.h
|
376d022e4a5a56f81f089a13a34438981fe83178 |
|
27-Dec-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
fix demos/fire, enable lazy vertex flushing
/external/mesa3d/src/mesa/main/mtypes.h
|
cab974cf6c2dbfbf5dd5d291e1aae0f8eeb34290 |
|
26-Dec-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Major rework of tnl module New array_cache module Support 8 texture units in core mesa (now support 8 everywhere) Rework core mesa statechange operations to avoid flushing on many noop statechanges.
/external/mesa3d/src/mesa/main/mtypes.h
|
083e466f88e1203f08b7699fa34b05d0e45b3172 |
|
14-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Renamed texture object _P to _MaxLevel and _M to _MaxLambda. Now add BaseLevel in _MaxLevel computation.
/external/mesa3d/src/mesa/main/mtypes.h
|
06d05afdd687fcd1d59d46c6a86c2e5707e1859b |
|
08-Dec-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Initial work on GL_MESA_sprite_point extension. Still need to resolve clipping issues, finalize the spec.
/external/mesa3d/src/mesa/main/mtypes.h
|
45015e4d79d63183f6d9c4e4fad655921e07b0ab |
|
28-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Pass scale and bias values to _mesa_scale_and_bias_rgba(). Implemented post-convolution scale and bias operation.
/external/mesa3d/src/mesa/main/mtypes.h
|
a864432fb4333dfbbe669554de7485d8426e1c38 |
|
27-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Added MaxClipPlanes and MaxLights to gl_constants struct so T&L drivers can report non-default numbers of lights and clip planes.
/external/mesa3d/src/mesa/main/mtypes.h
|
ad2ac216fa0cbebc36530bf9e5256e902710b892 |
|
24-Nov-2000 |
Keith Whitwell <keith@tungstengraphics.com> |
Support for swappable t&l modules, including an example one in the FX driver (enable with FX_ALLOW_VTXFMT=t).
/external/mesa3d/src/mesa/main/mtypes.h
|
5e3bc0c2a2bcdf59949410f94c9b705fc1281ce8 |
|
22-Nov-2000 |
Jouk Jansen <joukj@hrem.stm.tudelft.nl> |
Committing in . Modified Files: Mesa/macos/gli_api/gliapi1.h Mesa/macos/gli_api/gliapi2.h Mesa/macos/gli_api/gliapiext.h Mesa/macos/src-gli/fxgli.c Mesa/macos/src-gli/fxgli.h Mesa/macos/src-gli/fxgli2.c Mesa/macos/src-gli/fxgli_tridebug.c Mesa/src/accum.c Mesa/src/accum.h Mesa/src/all.h Mesa/src/alpha.c Mesa/src/alpha.h Mesa/src/attrib.c Mesa/src/attrib.h Mesa/src/bitmap.c Mesa/src/bitmap.h Mesa/src/blend.c Mesa/src/blend.h Mesa/src/buffers.c Mesa/src/buffers.h Mesa/src/clip.c Mesa/src/clip.h Mesa/src/colortab.h Mesa/src/config.c Mesa/src/context.c Mesa/src/context.h Mesa/src/convolve.c Mesa/src/convolve.h Mesa/src/copypix.c Mesa/src/copypix.h Mesa/src/debug.c Mesa/src/depth.c Mesa/src/depth.h Mesa/src/dlist.c Mesa/src/dlist.h Mesa/src/drawpix.c Mesa/src/drawpix.h Mesa/src/enable.c Mesa/src/enable.h Mesa/src/eval.c Mesa/src/eval.h Mesa/src/extensions.c Mesa/src/extensions.h Mesa/src/feedback.c Mesa/src/feedback.h Mesa/src/fog.c Mesa/src/fog.h Mesa/src/get.c Mesa/src/get.h Mesa/src/glapi.c Mesa/src/glthread.h Mesa/src/highpc.c Mesa/src/hint.h Mesa/src/histogram.h Mesa/src/image.c Mesa/src/image.h Mesa/src/imports.c Mesa/src/light.c Mesa/src/light.h Mesa/src/lines.c Mesa/src/lines.h Mesa/src/logic.c Mesa/src/logic.h Mesa/src/masking.c Mesa/src/masking.h Mesa/src/matrix.c Mesa/src/matrix.h Mesa/src/pixel.c Mesa/src/pixel.h Mesa/src/points.c Mesa/src/points.h Mesa/src/polygon.c Mesa/src/polygon.h Mesa/src/rastpos.c Mesa/src/readpix.c Mesa/src/scissor.c Mesa/src/scissor.h Mesa/src/state.c Mesa/src/state.h Mesa/src/stencil.c Mesa/src/stencil.h Mesa/src/teximage.c Mesa/src/teximage.h Mesa/src/texobj.c Mesa/src/texobj.h Mesa/src/texstate.c Mesa/src/texstate.h Mesa/src/texture.c Mesa/src/texture.h Mesa/src/texutil.c Mesa/src/texutil.h Mesa/src/varray.c Mesa/src/varray.h Mesa/src/X/fakeglx.c Mesa/src/X/xm_api.c Mesa/src/X/xm_dd.c Mesa/src/X/xm_line.c Mesa/src/X/xm_span.c Mesa/src/X/xm_tri.c Mesa/src/swrast/s_aaline.c Mesa/src/swrast/s_aaline.h Mesa/src/swrast/s_aatriangle.h Mesa/src/swrast/s_accum.h Mesa/src/swrast/s_alpha.h Mesa/src/swrast/s_alphabuf.h Mesa/src/swrast/s_blend.h Mesa/src/swrast/s_context.c Mesa/src/swrast/s_context.h Mesa/src/swrast/s_depth.h Mesa/src/swrast/s_drawpix.h Mesa/src/swrast/s_feedback.h Mesa/src/swrast/s_fog.h Mesa/src/swrast/s_histogram.h Mesa/src/swrast/s_lines.h Mesa/src/swrast/s_logic.h Mesa/src/swrast/s_masking.h Mesa/src/swrast/s_pb.h Mesa/src/swrast/s_pixeltex.h Mesa/src/swrast/s_points.h Mesa/src/swrast/s_quads.c Mesa/src/swrast/s_quads.h Mesa/src/swrast/s_scissor.h Mesa/src/swrast/s_span.h Mesa/src/swrast/s_stencil.h Mesa/src/swrast/s_texture.h Mesa/src/swrast/s_triangle.h Mesa/src/swrast/s_zoom.h Mesa/src/swrast/swrast.h Mesa/src/swrast_setup/ss_context.h Mesa/src/swrast_setup/ss_triangle.c Mesa/src/swrast_setup/ss_triangle.h Mesa/src/swrast_setup/ss_vb.h Mesa/src/tnl/t_clip.c Mesa/src/tnl/t_clip.h Mesa/src/tnl/t_context.c Mesa/src/tnl/t_context.h Mesa/src/tnl/t_cva.c Mesa/src/tnl/t_cva.h Mesa/src/tnl/t_debug.c Mesa/src/tnl/t_debug.h Mesa/src/tnl/t_dlist.h Mesa/src/tnl/t_eval.c Mesa/src/tnl/t_eval.h Mesa/src/tnl/t_fog.c Mesa/src/tnl/t_fog.h Mesa/src/tnl/t_light.c Mesa/src/tnl/t_light.h Mesa/src/tnl/t_pipeline.c Mesa/src/tnl/t_pipeline.h Mesa/src/tnl/t_shade.c Mesa/src/tnl/t_shade.h Mesa/src/tnl/t_stages.c Mesa/src/tnl/t_stages.h Mesa/src/tnl/t_texture.c Mesa/src/tnl/t_texture.h Mesa/src/tnl/t_trans_elt.c Mesa/src/tnl/t_trans_elt.h Mesa/src/tnl/t_varray.c Mesa/src/tnl/t_varray.h Mesa/src/tnl/t_vb.c Mesa/src/tnl/t_vb.h Mesa/src/tnl/t_vbcull.c Mesa/src/tnl/t_vbcull.h Mesa/src/tnl/t_vbfill.c Mesa/src/tnl/t_vbfill.h Mesa/src/tnl/t_vbindirect.c Mesa/src/tnl/t_vbindirect.h Mesa/src/tnl/t_vbrender.c Mesa/src/tnl/t_vbrender.h Mesa/src/tnl/t_vbxform.c Mesa/src/tnl/t_vbxform.h Mesa/src/tnl/tnl.h Added Files: Mesa/src/mtypes.h Removed Files: Mesa/src/types.h Changed Mesa/src/types to Mesa/src/mtypes.h to avoid conflicts while compiling on a VMS system. ----------------------------------------------------------------------
/external/mesa3d/src/mesa/main/mtypes.h
|