lp://staging/~kphillisjr/piglit/trunk
- Get this branch:
- bzr branch lp://staging/~kphillisjr/piglit/trunk
Branch merges
Branch information
Recent revisions
- 3391. By Ken Phillis Jr
-
egl-create-
context- verify- gl-flavor: fix issues with outdated headers.
- Minor check to make sure that EGL_OPENGL_ES3_BIT_ KHR is defined
- Return skip if EGL_OPENGL_ES3_BIT_ KHR is not defined. - 3390. By Kenneth Graunke <email address hidden>
-
Revert "texture-
integer- glsl130: Expect 1 for alpha in R, RG, RGB cases." This reverts commit cf47699087f74a6
fd94c59a74837fc 6c3c6422a8. While I still believe the test is wrong, apparently this change made it
worse; the test doesn't quite work like I thought. More investigation
is needed. In the meantime, restore the old behavior. - 3389. By Vinson Lee
-
util: Do not use setrlimit/getrlimit if RLIMIT_AS is not defined.
OpenBSD is one platform that does not define the symbol RLIMIT_AS.
Signed-off-by: Vinson Lee <email address hidden>
- 3388. By Kenneth Graunke <email address hidden>
-
texture-
integer- glsl130: Expect 1 for alpha in R, RG, RGB cases. Table 3.23 (on page 221) of the OpenGL 3.0 specification is:
+------
------- ------- ------- ------- ------+
| Texture Base | Texture source color |
| Internal Format | C_s A_s |
+------------- ----+-- ------- ------- ------+
| ALPHA | (0, 0, 0) | A |
| LUMINANCE | (L, L, L) | 1 |
| LUMINANCE_ALPHA | (L, L, L) | A |
| INTENSITY | (I, I, I) | I |
| RED | (R, 0, 0) | 1 |
| RG | (R, G, 0) | 1 |
| RGB | (R, G, B) | 1 |
| RGBA | (R, G, B) | A |
+------------- ----+-- ------- ------- ------+ From this, we see when sampling from RED, RG, and RGB textures, alpha
is supposed to be one.v2: Change commit message to quote the right part of the spec.
Reviewed-by: Eric Anholt <email address hidden>
- 3387. By Chad Versace <email address hidden>
-
egl-create-
context- verify- gl-flavor: Test bogus versions Attempt to create contexts with bogus versions.
Tests Mesa commit 243cf7a924eaef7
8ce0d5150747fae 6c3c4e6974. Before that
commit, the Intel driver failed to validate requested OpenGL ES context
versions.Reviewed-by: Ian Romanick <email address hidden>
Reviewed-by: Kenneth Graunke <email address hidden>
Signed-off-by: Chad Versace <email address hidden> - 3386. By Chad Versace <email address hidden>
-
egl_khr_
create_ context: Check eglChooseConfig's errors If eglChooseConfig fails with EGL_BAD_ATTRIBUTE, then fail the test.
Piglit only requests valid attributes, therefore the error is incorrect.Regresses test egl-create-
context- verify- gl-flavor: gles3.0 on
mesa-5cf853669. Mesa fails to recoginize EGL_OPENGL_ES3_BIT_ KHR despite
exposing the EGL_KHR_create_ context extension. Reviewed-by: Ian Romanick <email address hidden>
Signed-off-by: Chad Versace <email address hidden> - 3385. By Chad Versace <email address hidden>
-
egl-create-
context- verify- gl-flavor: Test GLES3 - Request a config with the es3 bit, EGL_OPENGL_
ES3_BIT_ KHR.
- Try to create a GLES 3.0 context with the config.
- Verify that the context version is >= 3.0.Reviewed-by: Ian Romanick <email address hidden>
Signed-off-by: Chad Versace <email address hidden> - 3384. By Paul Berry
-
glx-multithread: Replace glFlush calls with glFinish
Currently, in Mesa with the i965 driver, calling glFlush() forces all
pending drawing operations to be sent to the kernel; this ensures that
any subsequent drawing operations will be performed after those
pending drawing operations, even if they come from other contexts.
The glx-multithread test was relying on this behaviour, however, the
GL and GLX specs do not garantee this.This patch modifies the glx-multithread test to use glFinish() instead
of glFlush().Reviewed-by: Chad Versace <email address hidden>
Reviewed-by: Eric Anholt <email address hidden> - 3383. By Paul Berry
-
glx-multithread: use XInitThreads
To use multithreading with xlib, you're supposed to call XInitThreads
before any other xlib call. Without this, xlib and GLX calls won't be
thread safe.(Based on a patch by Ian Romanick <email address hidden>)
- 3382. By Kenneth Graunke <email address hidden>
-
all.tests: Remove glean/rgbTriStrip.
It doesn't actually test anything, and thus can never fail.
Reviewed-by: Eric Anholt <email address hidden>
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)