summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-04-02registry: Update gl.xml to Revision 29762.adsa-buffer-objectsLaura Ekstrand1-42/+840
Khronos removed GL_TEXTURE_BINDING, an enum introduced in GL_ARB_direct_state_access that was ruled unimplementable.
2015-04-02all.py: Change format for arb_direct_state_access-compressedtextureimage.Laura Ekstrand1-2/+2
arb_direct_state_access-compressedtextureimage should use a more mainstream compression format in all.py. This patch changes it to GL_COMPRESSED_RGBA_S3TC_DXT5_EXT.
2015-04-02arb_direct_state_access: Test errors thrown by CopyTex[ture]SubImage*D.Laura Ekstrand1-0/+48
2015-04-02arb_direct_state_access: Test errors thrown by CompressedTex[ture]SubImage*D.Laura Ekstrand1-0/+80
2015-04-02texturing: New test for GetCompressedTexImage.Laura Ekstrand3-0/+234
2015-04-02texturing: New test for GetTexImage targets.Laura Ekstrand3-0/+231
2015-04-02texturing: Remove over-complicated getteximage-targets test.Laura Ekstrand3-306/+0
2015-04-02arb_direct_state_access: New test for glGetTextureImage.Laura Ekstrand3-0/+231
v2: Added increased error checking Review from Ian Romanick and Ilia Mirkin: - Compat context 20 (and remove check for ARB_texture_cube_map) - Change global_pass from GL_boolean to bool - Clean up the texture in upload_subtest - Restructure download commands to simplify use_pbo logic - Use separate pack and unpack pbos I have not applied the pre-emptive R-b's because this patch series adds a new getteximage-targets test, and, because the tests are so similar, it makes sense to have the whole thing reviewed and pushed as a big chunk.
2015-04-02arb_direct_state_access: Remove over-complicated test gettextureimage-targets.Laura Ekstrand3-368/+0
2015-04-02arb_direct_state_access: New test for glCompressedTextureSubImage*D.Laura Ekstrand3-0/+258
v2: Added increased error checking Review from Ian Romanick and Ilia Mirkin: - Compat context 20 (and remove check for ARB_texture_cube_map) - Change global_pass from GL_boolean to bool - Clean up the texture in upload_subtest - Restructure download commands to simplify use_pbo logic - Use separate pack and unpack pbos I have not applied the pre-emptive R-b's because this patch series adds a new getteximage-targets test, and, because the tests are so similar, it makes sense to have the whole thing reviewed and pushed as a big chunk.
2015-04-02arb_direct_state_access: New test for GetCompressedTextureImage.Laura Ekstrand3-0/+232
v2: Added increased error checking Review from Ian Romanick and Ilia Mirkin: - Compat context 20 (and remove check for ARB_texture_cube_map) - Change global_pass from GL_boolean to bool - Clean up the texture in upload_subtest - Restructure download commands to simplify use_pbo logic - Use separate pack and unpack pbos I have not applied the pre-emptive R-b's because this patch series adds a new getteximage-targets test, and, because the tests are so similar, it makes sense to have the whole thing reviewed and pushed as a big chunk.
2015-04-02arb_direct_state_access: Remove over-complicated getcompressedtextureimage test.Laura Ekstrand3-450/+0
2015-04-02arb_map_buffer_range: Fix for bug in map_buffer_range_test?Laura Ekstrand1-1/+2
2015-04-02arb_direct_state_access: Fix gettextureimage-targets fall through.Laura Ekstrand1-4/+2
2015-04-02arb_direct_state_access: gettextureimage-targets.c has display.Laura Ekstrand1-2/+63
2015-04-02arb_direct_state_access: getcompressedtextureimage now has distinct layers.Laura Ekstrand1-6/+17
2015-04-02arb_direct_state_access: Testing glGetNamedBufferSubData.Laura Ekstrand3-0/+114
2015-04-02arb_direct_state_access: Testing glGetNamedBufferParameteri[64]v andLaura Ekstrand3-0/+225
GetNamedBufferPointerv.
2015-04-02arb_direct_state_access: Testing FlushMappedNamedBufferRange.Laura Ekstrand3-0/+148
2015-04-02arb_direct_state_access: Testing UnmapNamedBuffer.Laura Ekstrand3-0/+117
2015-04-02arb_direct_state_access: Testing MapNamedBuffer.Laura Ekstrand3-0/+130
2015-04-02arb_direct_state_access: Testing glClearNamedBufferSubData.Laura Ekstrand3-0/+102
2015-04-02arb_direct_state_access: Testing glClearNamedBufferData.Laura Ekstrand3-0/+167
Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
2015-04-02arb_direct_state_access: Testing NamedBufferSubData.Laura Ekstrand3-0/+108
Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
2015-04-02arb_direct_state_access: Testing NamedBufferStorage.Laura Ekstrand3-0/+269
Testing NamedBufferStorage, NamedBufferData, CopyNamedBufferSubData, and MapNamedBufferRange.
2015-04-02arb_direct_state_access: Testing glTextureBufferRange.Laura Ekstrand3-0/+146
2015-04-02arb_direct_state_access: Test for CreateBuffers.Laura Ekstrand3-0/+78
2015-04-02arb_sync: Test to demonstrate ClientWaitSync bug.Laura Ekstrand3-0/+205
glClientWaitSync(fence, GL_SYNC_FLUSH_COMMANDS_BIT, GL_TIMEOUT_IGNORED) often returns GL_TIMEOUT_EXPIRED, even though GL_TIMEOUT_IGNORED is a huge integer (18446744073709551615 on Intel Sandybridge with Mesa). The third argument to glClientWaitSync should represent the number of nanoseconds the implementation waits for the signal from fence before giving up and returning TIMEOUT_EXPIRED. This test, adapted from bufferstorage-persistent, demonstrates that glClientWaitSync(fence, GL_SYNC_FLUSH_COMMANDS_BIT, GL_TIMEOUT_IGNORED) must be called multiple times before the signal is actually recorded and either GL_CONDITION_SATISFIED or GL_ALREADY_SIGNALED is returned.
2015-03-09deqp_gles3.py: Fix PEP 8 issues.Vinson Lee1-8/+11
Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
2015-03-09all.py: Fix PEP 8 issues.Vinson Lee1-83/+105
Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
2015-03-09es3conform.py: Fix PEP 8 issues.Vinson Lee1-6/+9
Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
2015-03-09cl.py: Fix PEP 8 issues.Vinson Lee1-2/+4
Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
2015-03-09profile.py: Support automatic naming of tests with string argumentsDylan Baker2-4/+24
I made a somewhat silly assumption when writing the group_manager, that all Test classes would use list arguments. While this assumption is true for tests that require an entire command as their first argument it isn't true of GleanTest, where only the name of the subtest is passed. In this case it will be a string, and if a name isn't passed as well then name will end up being " ".join()'ed, ie, "api" -> "a p i". This patch adds support to the group_manager to support this feature. I considered two other approaches here. The first was to say screw correctness, and just add a duplicate name to the handful of tests that use the group_manager. The second was to change GleanTest to take a 1 element list. Both of these had downsides that I couldn't justify. This fixes a handful of glean tests that use the group_manager (fbo, api2, etc) Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Tested-by: Jose Fonseca <jfonseca@vmware.com> Tested-by: Michel Dänzer <michel.daenzer@amd.com>
2015-03-09igt.py: Use subprocess.check_output instead of subprocess.PopenDylan Baker1-18/+15
This is somewhat simpler way to handle this, since check_output monitors only stdout, and hides stderr, and it gives us a lovely exception if the returncode isn't 0, which allows us to completely bypass the error checking code if there is no error. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Thomas Wood <thomas.wood@intel.com>
2015-03-09igt.py: Use __future__ functions, mainly print_functionDylan Baker1-6/+7
This makes igt more like the rest of piglit which uses the __future__ version of print, division, and import Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Thomas Wood <thomas.wood@intel.com>
2015-03-09igt.py: add docstrings.Dylan Baker1-9/+20
In some cases this is really just about formatting. v3: - remove accidental whitespace insertion (Ian) v4: - Update the module docstring to be accurate after commit 443abf5 (Thomas) v5: - Fix small typo (Thomas) Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Thomas Wood <thomas.wood@intel.com>
2015-03-09igt.py: Use PEP8 specified whitespaceDylan Baker1-0/+5
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Thomas Wood <thomas.wood@intel.com>
2015-03-09igt.py: fix invalid name errorsDylan Baker1-10/+14
Make constants all caps, per PEP8, make functions all lowercase with underscores, and move some toplevel work into helper functions. v2: - drop one pylint disable line that wasn't needed (Thomas) v5: - Fix replacment of IGTTestProfile with TestProfile. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Thomas Wood <thomas.wood@intel.com>
2015-03-09igt.py: Replace igtTestRoot with PEP8 compliant IGT_TEST_ROOTDylan Baker1-9/+9
v2: - Add this patch to the series Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Thomas Wood <thomas.wood@intel.com>
2015-03-09igt.py: Change an empty string to a listDylan Baker1-4/+2
Currently there is a function that in some cases could return '', but the output is assumed to be a list. This patch ensures that it always returns a list. v3: - further simplify the function by using two return statements instead of a single return and assignment Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Thomas Wood <thomas.wood@intel.com>
2015-03-09igt.py: Fix whitepace warnings for pylintDylan Baker1-11/+9
v2: - Also remove stderr from subprocess.Popen Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Thomas Wood <thomas.wood@intel.com>
2015-03-08Delete redundant condition-07.vert test.Kenneth Graunke1-26/+0
This test is redundant with: glsl-1.20/compiler/structure-and-array-operations/array-selection.vert Both contain the same shader code and the same spec citation - the only difference is variable names and the exact portion of the text quoted. The other one has a better name, so keep it and delete condition-07. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
2015-03-08framework: Try to fix the exclusions of llvmpipe test list.Jose Fonseca2-1/+7
The del profile.test_list[key] statement was silently failing because the TestDict's key lowering magic was not happening for deleted items. Unfortunately this still is not enough to fix the glean exclusions: somehow all glean test names are being munged with extra whitespace. For example: $ ./piglit-print-commands.py tests/llvmpipe.py | grep '^glean/p' warning: test glean/pointAtten does not exist warning: test glean/texCombine does not exist [...] glean/p o i n t a t t e n ::: bin/glean -o -v -v -v -t +pointAtten --quick Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
2015-03-06tests/all.py: Fix typo that switched arb with extDylan Baker1-1/+1
This fixes several tests on platforms that support arb_transform_feedback3. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Mark Janes <mark.a.janes@intel.com>
2015-03-05all.py: Fix copy and paste errorDylan Baker1-1/+1
This corrects a copy and paste error in all.py that matches the wrong binary with a test name. This causes an artificial piglit regression on mesa, at least for the Intel driver. This patch fixes that typo. Trivial Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
2015-03-05all.py: disable pylint's bad-continuation errorDylan Baker2-0/+9
This is a bug (https://bitbucket.org/logilab/pylint/issue/461/incorrect-hanging-indent-detection-with) that misdetects the hanging indent of the context manager. This silences roughly 300 warnings. v2: - also turn this warning off in quick.py Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
2015-03-05all.py: use __future__ functionsDylan Baker1-3/+4
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
2015-03-05all.py: Remove run_concurrent=True flagDylan Baker2-1642/+1224
The previous commit made True the default value. This removes ~400 LOC from all.py (about 10%) Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
2015-03-05piglit_test.py: Change run_concurrent to True by defaultDylan Baker2-4/+4
This will flip the value of the flag for PiglitGLTest, ShaderTest, and GLSLParserTest. It will not affect PiglitCLTest (That's OpenCL), because of the previous patch, which causes PiglitCLTest to use a unique concurrency setting method. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
2015-03-05all.py: Set run_concurrent=False explicitlyDylan Baker1-506/+588
This will allow us to flip the default value of run_concurrent to True in the next patch. Since the majority of tests are concurrent safe (and honestly many of them that are marked not safe are), this change will help to reduce the number of tests that are marked serial by default by copy-n-paste. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>