platform/upstream/VK-GL-CTS.git
9 years agoRemove eglEnums.hpp includes from framework headers
Pyry Haulos [Tue, 3 Feb 2015 19:23:07 +0000 (11:23 -0800)]
Remove eglEnums.hpp includes from framework headers

Platform ports may need to include egl(ext).h, and that will confilict
with defines in eglwEnums.hpp. This change removes eglwEnums.hpp
references from EGL framework headers to allow including actual EGL
headers if necessary.

Change-Id: I4aaa0d40196a7cd041a5a36828f601cdda91d9cc

9 years agoMerge "Win32Window cleanup"
Pyry Haulos [Tue, 3 Feb 2015 19:36:21 +0000 (19:36 +0000)]
Merge "Win32Window cleanup"

9 years agoMerge "Build system cleanups"
Pyry Haulos [Tue, 3 Feb 2015 19:35:27 +0000 (19:35 +0000)]
Merge "Build system cleanups"

9 years agoMerge "Fix couple of implicit conversion warnings reported by MSVC"
Pyry Haulos [Tue, 3 Feb 2015 19:33:29 +0000 (19:33 +0000)]
Merge "Fix couple of implicit conversion warnings reported by MSVC"

9 years agoFix couple of implicit conversion warnings reported by MSVC
Pyry Haulos [Tue, 3 Feb 2015 18:41:01 +0000 (10:41 -0800)]
Fix couple of implicit conversion warnings reported by MSVC

Change-Id: If6dd153b8927e4f8e0cc5629d4dd051a9a96dcdf

9 years agoWin32Window cleanup
Pyry Haulos [Tue, 3 Feb 2015 19:26:43 +0000 (11:26 -0800)]
Win32Window cleanup

 * Use TCU_THROW instead of manually passing in __FILE__ and __LINE__.

 * Use more descriptive window title.

Change-Id: Ide66250640f0b4d6b8e1b6d9768f19e753e6783a

9 years agoBuild system cleanups
Pyry Haulos [Tue, 3 Feb 2015 18:48:09 +0000 (10:48 -0800)]
Build system cleanups

 * Remove references to OpenCL support

 * Remove OpenCL-specific targets

 * Always enable EGL support in "default" target as EGL code doesn't
have any compile-time dependencies any more.

 * Remove DELIBS_DIR indirection as delibs is now always located under
framework/ directory.

Change-Id: I74e5eae2201c1bbd689fe86d377b603ba193bccc

9 years agoFix couple of trivial warnings reported by MSVC
Pyry Haulos [Tue, 3 Feb 2015 18:09:28 +0000 (10:09 -0800)]
Fix couple of trivial warnings reported by MSVC

Change-Id: I971ead9d6280aa16b7dc4c8970c7ba48e3d1ba30

9 years agoam 539a78ce: am a52483de: am e8ef2961: Allow for larger LOD difference and fix anothe...
Pyry Haulos [Fri, 30 Jan 2015 21:41:58 +0000 (21:41 +0000)]
am 539a78ce: am a52483de: am e8ef2961: Allow for larger LOD difference and fix another offset bug

* commit '539a78cea43da2a64291f1399b5215867c36bb96':
  Allow for larger LOD difference and fix another offset bug

9 years agoam 2dfca38e: am 8d83d91e: Terminate test process after first OOM in compute_interop...
Jarkko Pöyry [Fri, 30 Jan 2015 21:35:20 +0000 (21:35 +0000)]
am 2dfca38e: am 8d83d91e: Terminate test process after first OOM in compute_interop tests.

* commit '2dfca38eceaf93d7b7e48ab00fb15d8e17b5b54a':
  Terminate test process after first OOM in compute_interop tests.

9 years agoam 2a8065fa: am 72a9510d: Merge "Add support for fatal errors to framework." into...
Jarkko Pöyry [Fri, 30 Jan 2015 21:35:16 +0000 (21:35 +0000)]
am 2a8065fa: am 72a9510d: Merge "Add support for fatal errors to framework." into lmp-mr1-dev

* commit '2a8065fa3b04357c35d05492595a5f30cf2bb34c':
  Add support for fatal errors to framework.

9 years agoam a52483de: am e8ef2961: Allow for larger LOD difference and fix another offset bug
Pyry Haulos [Fri, 30 Jan 2015 21:33:05 +0000 (21:33 +0000)]
am a52483de: am e8ef2961: Allow for larger LOD difference and fix another offset bug

* commit 'a52483de6bee171002514a1ec1275d9c4c99fc07':
  Allow for larger LOD difference and fix another offset bug

9 years agoam 8d83d91e: Terminate test process after first OOM in compute_interop tests.
Jarkko Pöyry [Fri, 30 Jan 2015 21:22:43 +0000 (21:22 +0000)]
am 8d83d91e: Terminate test process after first OOM in compute_interop tests.

* commit '8d83d91e1b85fa69359aed7ea15358f770f9eb82':
  Terminate test process after first OOM in compute_interop tests.

9 years agoam 72a9510d: Merge "Add support for fatal errors to framework." into lmp-mr1-dev
Jarkko Pöyry [Fri, 30 Jan 2015 21:22:42 +0000 (21:22 +0000)]
am 72a9510d: Merge "Add support for fatal errors to framework." into lmp-mr1-dev

* commit '72a9510d9503034c678cdb18384b3fe19f124714':
  Add support for fatal errors to framework.

9 years agoam e8ef2961: Allow for larger LOD difference and fix another offset bug
Pyry Haulos [Fri, 30 Jan 2015 21:14:23 +0000 (21:14 +0000)]
am e8ef2961: Allow for larger LOD difference and fix another offset bug

* commit 'e8ef296162c99669d786b805a148b9a3e8ae5831':
  Allow for larger LOD difference and fix another offset bug

9 years agoTerminate test process after first OOM in compute_interop tests.
Jarkko Pöyry [Fri, 30 Jan 2015 00:19:14 +0000 (16:19 -0800)]
Terminate test process after first OOM in compute_interop tests.

Bug: 19197749
Change-Id: I30eff574ba699b1ee3d28c8fa4c85a5ceea146c1

9 years agoMerge "Add support for fatal errors to framework." into lmp-mr1-dev
Jarkko Pöyry [Fri, 30 Jan 2015 20:09:14 +0000 (20:09 +0000)]
Merge "Add support for fatal errors to framework." into lmp-mr1-dev

9 years agoAllow for larger LOD difference and fix another offset bug
Pyry Haulos [Fri, 30 Jan 2015 17:50:46 +0000 (09:50 -0800)]
Allow for larger LOD difference and fix another offset bug

Certain valid implementations were failing couple of
mipmap.cube.projected tests and the reason appears to be that sampling
analytical derivatives around pixel neighborhood may give too tight LOD
bounds, especially if one or more samples fall into different faces.

This change compensates for the difference by reducing assumed LOD
precision down to 3 bits.

In addition this change fixes another LOD offset issue missed by
previous CL.

Bug: 19170879
Change-Id: I5c154294f2b47222f6910e89dfdd372d7d8233bd

9 years agoam c9843818: am 60ce86ed: Merge "Avoid leaking VAO in compute_interop tests." into...
Jarkko Pöyry [Fri, 30 Jan 2015 02:33:41 +0000 (02:33 +0000)]
am c9843818: am 60ce86ed: Merge "Avoid leaking VAO in compute_interop tests." into lmp-mr1-dev

* commit 'c9843818f4eeab0c62d484bd56a1c6c48b2a8605':
  Avoid leaking VAO in compute_interop tests.

9 years agoam 065852c7: am 67fa8c54: am 2e736e5c: Fix derivate offset in cube map verification...
Pyry Haulos [Fri, 30 Jan 2015 02:33:38 +0000 (02:33 +0000)]
am 065852c7: am 67fa8c54: am 2e736e5c: Fix derivate offset in cube map verification code

* commit '065852c710bfd99acf8245ba66b7bf92e0e974e4':
  Fix derivate offset in cube map verification code

9 years agoam 60ce86ed: Merge "Avoid leaking VAO in compute_interop tests." into lmp-mr1-dev
Jarkko Pöyry [Fri, 30 Jan 2015 02:26:52 +0000 (02:26 +0000)]
am 60ce86ed: Merge "Avoid leaking VAO in compute_interop tests." into lmp-mr1-dev

* commit '60ce86edd4316c2e96b35d94844d870cdfa99d55':
  Avoid leaking VAO in compute_interop tests.

9 years agoam 67fa8c54: am 2e736e5c: Fix derivate offset in cube map verification code
Pyry Haulos [Fri, 30 Jan 2015 02:26:51 +0000 (02:26 +0000)]
am 67fa8c54: am 2e736e5c: Fix derivate offset in cube map verification code

* commit '67fa8c5472adfcad106901e7fad1e76ede4f79a1':
  Fix derivate offset in cube map verification code

9 years agoMerge "Avoid leaking VAO in compute_interop tests." into lmp-mr1-dev
Jarkko Pöyry [Fri, 30 Jan 2015 02:05:15 +0000 (02:05 +0000)]
Merge "Avoid leaking VAO in compute_interop tests." into lmp-mr1-dev

9 years agoAdd support for fatal errors to framework.
Jarkko Pöyry [Thu, 29 Jan 2015 23:59:37 +0000 (15:59 -0800)]
Add support for fatal errors to framework.

- Allow any test type to be fatal, not just resource error.

Bug: 19197749
Change-Id: I6834889c147fb6d93264738308c0293dec9b53b4

9 years agoam 2e736e5c: Fix derivate offset in cube map verification code
Pyry Haulos [Thu, 29 Jan 2015 22:54:26 +0000 (22:54 +0000)]
am 2e736e5c: Fix derivate offset in cube map verification code

* commit '2e736e5cc21486837e98cae3c9303751f9a15c79':
  Fix derivate offset in cube map verification code

9 years agoFix derivate offset in cube map verification code
Pyry Haulos [Thu, 29 Jan 2015 21:47:02 +0000 (13:47 -0800)]
Fix derivate offset in cube map verification code

To accomodate implementations that use same derivative for a 2x2 pixel
quad when computing LOD, cube map verification code samples derivatives
in 3x3 neighborhood and computes bounds based on that.

This change fixes a typo that prevented the code from considering
(+1, +1) offset.

Bug: 19170879
Change-Id: I2de7aa422fc2fa3ff4432e802bb98c90aedeb548

9 years agoAvoid leaking VAO in compute_interop tests.
Jarkko Pöyry [Thu, 29 Jan 2015 21:48:00 +0000 (13:48 -0800)]
Avoid leaking VAO in compute_interop tests.

Bug: 19197749
Change-Id: I5ba9bafcc13e2b92df47e52d30e5e51a8ebb8b4c

9 years agoMerge "Add tcuMaybe that can be used for values that may not exist."
Mika Isojärvi [Thu, 29 Jan 2015 01:47:51 +0000 (01:47 +0000)]
Merge "Add tcuMaybe that can be used for values that may not exist."

9 years agoAdd tcuMaybe that can be used for values that may not exist.
Mika Isojärvi [Tue, 27 Jan 2015 21:06:51 +0000 (13:06 -0800)]
Add tcuMaybe that can be used for values that may not exist.

Fairly often we have values that may not exist. Most often with test
case parameters. This template class adds support for values that may
not exist. This class replaces use of pointers and magic numbers for
values that don't exist.

Change-Id: I58b5783f57a34db545909d0ac809e83cbef02792

9 years agoMerge "Add copyright banner to scripts."
Jarkko Pöyry [Wed, 28 Jan 2015 00:55:03 +0000 (00:55 +0000)]
Merge "Add copyright banner to scripts."

9 years agoEnable GL_EXT_draw_buffers_indexed instead of OES.
Mika Isojärvi [Mon, 26 Jan 2015 23:51:42 +0000 (15:51 -0800)]
Enable GL_EXT_draw_buffers_indexed instead of OES.

Enable GL_EXT_draw_buffers_indexed instead of
GL_OES_draw_buffers_indexed.

Change-Id: Id66e27f39393c11d9f0c5d78f642a624b969bf05

9 years agoAdd .gitignore for external/
Pyry Haulos [Mon, 26 Jan 2015 22:06:16 +0000 (14:06 -0800)]
Add .gitignore for external/

Change-Id: Ib25112f6e13f06e739baaaa223c6eb659508d665

9 years agoMerge "Add support for GL_OES_draw_buffers_indexed."
Mika Isojärvi [Mon, 26 Jan 2015 21:09:29 +0000 (21:09 +0000)]
Merge "Add support for GL_OES_draw_buffers_indexed."

9 years agoAdd support for GL_OES_draw_buffers_indexed.
Mika Isojärvi [Fri, 23 Jan 2015 23:09:27 +0000 (15:09 -0800)]
Add support for GL_OES_draw_buffers_indexed.

Add support for GL_OES_draw_buffers_indexed to OpenGL wrappers.

Change-Id: Ic52883c69a03ef217797a069ac10f97ce9ece5e3

9 years agoMerge "Generate GL wrappers from latest api registry xml."
Mika Isojärvi [Mon, 26 Jan 2015 18:34:36 +0000 (18:34 +0000)]
Merge "Generate GL wrappers from latest api registry xml."

9 years agoFix C++-style comments in C code
Pyry Haulos [Mon, 26 Jan 2015 17:14:43 +0000 (09:14 -0800)]
Fix C++-style comments in C code

Change-Id: I68667991f558edb0840dcf1d7e2346b742b744e6

9 years agoMerge "Add ipv6 support to deSocket"
Pyry Haulos [Mon, 26 Jan 2015 17:08:58 +0000 (17:08 +0000)]
Merge "Add ipv6 support to deSocket"

9 years agoam bdef91d6: (-s ours) am 654e1ec3: am 1fdbddf3: DO NOT MERGE: Add cube gather tests...
Pyry Haulos [Sat, 24 Jan 2015 16:57:34 +0000 (16:57 +0000)]
am bdef91d6: (-s ours) am 654e1ec3: am 1fdbddf3: DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass

* commit 'bdef91d604e1241705cb73a640cebf9be452f915':
  DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass

9 years agoam 654e1ec3: am 1fdbddf3: DO NOT MERGE: Add cube gather tests that avoid corners...
Pyry Haulos [Fri, 23 Jan 2015 23:08:36 +0000 (23:08 +0000)]
am 654e1ec3: am 1fdbddf3: DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass

* commit '654e1ec3442e2efd7fee0590df2e2b39782d026e':
  DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass

9 years agoGenerate GL wrappers from latest api registry xml.
Mika Isojärvi [Fri, 23 Jan 2015 23:01:53 +0000 (15:01 -0800)]
Generate GL wrappers from latest api registry xml.

Updated GL wrapper generation script to use latest version of of xml
api registry. Revision r29570.

Change-Id: I5d82bb80838a5ef24937d06fcaf607b7e54c6126

9 years agoam 1fdbddf3: DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F...
Pyry Haulos [Fri, 23 Jan 2015 22:59:03 +0000 (22:59 +0000)]
am 1fdbddf3: DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass

* commit '1fdbddf3d06656eea41db16182e4ba6f056b476a':
  DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass

9 years agoDO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass
Pyry Haulos [Wed, 19 Nov 2014 19:31:46 +0000 (11:31 -0800)]
DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass

This change adds new no_corners sub-groups to cube map texture gather
tests. Tests in those groups don't sample around cube map corners,
avoiding a HW issue on certain GPUs. All new tests are included in MR1
mustpass.

GL_DEPTH_COMPONENT32F cube gather cases that sample around corners are
removed from mustpass list as being too strict to enforce in the L
timeframe.

Additionally this resolves a bug with filling mipmap levels high up in
the mipmap chain in gather tests.

Bug: 18434194
Change-Id: Ib1635aefba4f1d64a15d22e481b79229573a64a7

9 years agoMerge "Add DeqpPlatformCapabilityQueryInstrumentation."
Jarkko Pöyry [Fri, 23 Jan 2015 01:07:49 +0000 (01:07 +0000)]
Merge "Add DeqpPlatformCapabilityQueryInstrumentation."

9 years agoAdd ipv6 support to deSocket
Pyry Haulos [Wed, 21 Jan 2015 20:34:46 +0000 (12:34 -0800)]
Add ipv6 support to deSocket

This change adds IPv6 support to deSocket. The change was inspired by a
MSVC warning about use of a deprecated API, for which the right fix was
to use a version that gave IPv6 for almost free.

Change-Id: I53d852db167159f84a7d0cd0ce4ca67d217dcdd0

9 years agoam ef075459: am 914bfa5f: am b9df7b5d: Allow geometry variation in 3D texture filteri...
Pyry Haulos [Thu, 22 Jan 2015 20:06:30 +0000 (20:06 +0000)]
am ef075459: am 914bfa5f: am b9df7b5d: Allow geometry variation in 3D texture filtering tests

* commit 'ef075459b073d1ded2442c5966d84fc7410b3aa7':
  Allow geometry variation in 3D texture filtering tests

9 years agoam 914bfa5f: am b9df7b5d: Allow geometry variation in 3D texture filtering tests
Pyry Haulos [Thu, 22 Jan 2015 19:59:11 +0000 (19:59 +0000)]
am 914bfa5f: am b9df7b5d: Allow geometry variation in 3D texture filtering tests

* commit '914bfa5f292c48e0954fbda993f93fe73d13ebd4':
  Allow geometry variation in 3D texture filtering tests

9 years agoAdd DeqpPlatformCapabilityQueryInstrumentation.
Jarkko Pöyry [Fri, 9 Jan 2015 22:33:57 +0000 (14:33 -0800)]
Add DeqpPlatformCapabilityQueryInstrumentation.

- Add Instrumentation for querying if the described render target is supported.
- Move chooseConfig() from egluGLContextFactory to egluGLUtil

Change-Id: I5f55d0d7c2c1f6c70de9333e42298deb32f19953

9 years agoMerge "Support platform attributes in eglu::NativeDisplay"
Pyry Haulos [Thu, 22 Jan 2015 17:48:55 +0000 (17:48 +0000)]
Merge "Support platform attributes in eglu::NativeDisplay"

9 years agoam b9df7b5d: Allow geometry variation in 3D texture filtering tests
Pyry Haulos [Thu, 22 Jan 2015 17:16:44 +0000 (17:16 +0000)]
am b9df7b5d: Allow geometry variation in 3D texture filtering tests

* commit 'b9df7b5d58961270c55c87000a38a8ccbbdc19e9':
  Allow geometry variation in 3D texture filtering tests

9 years agoSupport platform attributes in eglu::NativeDisplay
Pyry Haulos [Wed, 21 Jan 2015 22:54:52 +0000 (14:54 -0800)]
Support platform attributes in eglu::NativeDisplay

This change adds getPlatformAttributes() to eglu::NativeDisplay. Certain
platforms may need to pass extra attributes to eglGetPlatformDisplay()
and can now implement this function to achieve that.

Change-Id: I98be8145634c458d36fff7d2474300ac7a8917b2

9 years agoAllow geometry variation in 3D texture filtering tests
Pyry Haulos [Wed, 21 Jan 2015 18:10:44 +0000 (10:10 -0800)]
Allow geometry variation in 3D texture filtering tests

3D texture verification code was expecting geometry to match exactly
between the result and the reference. This was causing false negatives
on some HW.

Bug: 19092978
Change-Id: I7f20a0dc659e33c5ca3a6c88a0d242267f24fe6a

9 years agoAdd copyright banner to scripts.
Jarkko Pöyry [Tue, 6 Jan 2015 20:54:34 +0000 (12:54 -0800)]
Add copyright banner to scripts.

Change-Id: I76ada41d0783c658aa3208475650f7d8fb8e6fd4

9 years agoReturn info bundle on DeqpInstrumentation exception.
Jarkko Pöyry [Fri, 9 Jan 2015 20:08:20 +0000 (12:08 -0800)]
Return info bundle on DeqpInstrumentation exception.

Change-Id: I1c6ddc85af2d3e832d7dfa7698dd38cceda62cf3

9 years agoAdd support for dynamic loading of EGL entry points
Pyry Haulos [Fri, 19 Dec 2014 23:45:39 +0000 (15:45 -0800)]
Add support for dynamic loading of EGL entry points

This change adds eglu::Library abstraction for accessing any and all EGL
entry points. All code has been changed to use that interface instead of
calling EGL functions directly.

Having code use abstract interface instead of direct entry points allows
always builing EGL code paths and dynamically loading them if supported
by the environment. In the future analysis and logging facilities could
be layered on that interface.

This change required lots of small changes across all EGL code. As part
of that refactoring work tcu::egl utilities were finally put to rest for
good. All uses of glw.h were also removed from the EGL module.

Bug: 18269587
Change-Id: Ic81e24b7eecb9813d00fba5c65144d4f59a550e8

9 years agoMerge "Add class to build seeds from variables."
Mika Isojärvi [Thu, 15 Jan 2015 00:03:12 +0000 (00:03 +0000)]
Merge "Add class to build seeds from variables."

9 years agoAdd class to build seeds from variables.
Mika Isojärvi [Fri, 9 Jan 2015 19:01:57 +0000 (11:01 -0800)]
Add class to build seeds from variables.

Add simple stream like seed builder utility class for building seeds
from data types. This can be used to generate a seed for the rng from
the parameters of the test case instead of using name of the test case.

Change-Id: Ib276dc54a55c8a38878a220b17e3f9a2750cb774

9 years agoMerge "Remove error suppression from DebugTest expectMessage()."
Jarkko Pöyry [Tue, 13 Jan 2015 23:00:23 +0000 (23:00 +0000)]
Merge "Remove error suppression from DebugTest expectMessage()."

9 years agoMerge "Fix delete_active.transform_feedback case."
Jarkko Pöyry [Tue, 13 Jan 2015 23:00:00 +0000 (23:00 +0000)]
Merge "Fix delete_active.transform_feedback case."

9 years agoRemove error suppression from DebugTest expectMessage().
Jarkko Pöyry [Tue, 13 Jan 2015 02:11:08 +0000 (18:11 -0800)]
Remove error suppression from DebugTest expectMessage().

- Remove error suppression from various expectMessage() functions,
  state reset will do that automatically.
- Remove access to expectMessage() from Core negative test and allow
  access only from Debug tests. This will ensure that only debug tests
  can use debug functionality.

Bug: 18915042
Change-Id: I1d8f03feca0c61046d099b57912b2f0ea3e8d2e8

9 years agoFix delete_active.transform_feedback case.
Jarkko Pöyry [Mon, 12 Jan 2015 22:52:50 +0000 (14:52 -0800)]
Fix delete_active.transform_feedback case.

Set buffer binding point and set up active program that
has captured outputs before calling glBeginTransformFeedback.

Bug: 18915042
Change-Id: I6e5e7626a4752744445affa94c2661854603ea79

9 years agoFix undefined behavior in record_variable_selection test.
Jarkko Pöyry [Mon, 12 Jan 2015 21:52:22 +0000 (13:52 -0800)]
Fix undefined behavior in record_variable_selection test.

Tessellation shader expects patch size >= 3. Increase shader input
patch size to 3 from 1.

Bug: 18917835
Change-Id: I0eeadfca3690a1a1697aff538699d617b4bee93e

9 years agoMerge "Remove tcu::Surface::getSubAccess()"
Pyry Haulos [Fri, 9 Jan 2015 19:18:12 +0000 (19:18 +0000)]
Merge "Remove tcu::Surface::getSubAccess()"

9 years agoUpdate libpng URL in external/fetch_sources.py
Pyry Haulos [Fri, 9 Jan 2015 19:01:17 +0000 (11:01 -0800)]
Update libpng URL in external/fetch_sources.py

libpng entry was pointing to a non-existent file, and old version with
integer overflow vulnerability.

Change-Id: I1d6baaab6d6e44e581b6ceb70bcfc315a78988a8

9 years agoMerge "Expose RGB999E5 packing function from tcu::Texture."
Mika Isojärvi [Fri, 9 Jan 2015 18:37:55 +0000 (18:37 +0000)]
Merge "Expose RGB999E5 packing function from tcu::Texture."

9 years agoExpose RGB999E5 packing function from tcu::Texture.
Mika Isojärvi [Fri, 9 Jan 2015 01:48:01 +0000 (17:48 -0800)]
Expose RGB999E5 packing function from tcu::Texture.

Make packRGB999E5 function available outside of tcuTexture.cpp.

Change-Id: Id714766d9d7269875c8afe8842976677e2935f23

9 years agoMerge "Add GL_EXT_copy_image support to GL wrappers."
Mika Isojärvi [Fri, 9 Jan 2015 00:23:58 +0000 (00:23 +0000)]
Merge "Add GL_EXT_copy_image support to GL wrappers."

9 years agoMerge "Add function to map GL compressed tex format to tcu."
Mika Isojärvi [Fri, 9 Jan 2015 00:15:07 +0000 (00:15 +0000)]
Merge "Add function to map GL compressed tex format to tcu."

9 years agoAdd GL_EXT_copy_image support to GL wrappers.
Mika Isojärvi [Fri, 9 Jan 2015 00:11:32 +0000 (16:11 -0800)]
Add GL_EXT_copy_image support to GL wrappers.

Add GL_EXT_copy_image to list of extensions that should be supported by
OpenGL wrapper.

Change-Id: I554b1305f998be95ebafbbc58926344d07c0c243

9 years agoMerge "Add default texture decompression parameter."
Mika Isojärvi [Fri, 9 Jan 2015 00:08:45 +0000 (00:08 +0000)]
Merge "Add default texture decompression parameter."

9 years agoAdd default texture decompression parameter.
Mika Isojärvi [Thu, 8 Jan 2015 23:58:49 +0000 (15:58 -0800)]
Add default texture decompression parameter.

Change-Id: Id35d228b382d4619b914049cb50c6949914255a0

9 years agoAdd function to map GL compressed tex format to tcu.
Mika Isojärvi [Thu, 8 Jan 2015 23:42:40 +0000 (15:42 -0800)]
Add function to map GL compressed tex format to tcu.

Add function that can map OpenGL compressed texture formats to tcu
compressed texture format.

Change-Id: I0867e1e0445821b0a956e695bedf9acb6667da42

9 years agoExpose function for mapping GL cubemap face to tcu::CubeFace
Mika Isojärvi [Thu, 8 Jan 2015 23:20:07 +0000 (15:20 -0800)]
Expose function for mapping GL cubemap face to tcu::CubeFace

Expose and rename function to map GL cubemap face target to tcu::CubeFace.

Change-Id: Ie2a3220c496255dfde18968128edaf20c90d22a1

9 years agoRemove tcu::Surface::getSubAccess()
Pyry Haulos [Thu, 8 Jan 2015 21:30:57 +0000 (13:30 -0800)]
Remove tcu::Surface::getSubAccess()

Functionality is already provided by tcu::getSubregion(access).

Bug: 18862074
Change-Id: I5160c31b2fba168dd1ce944ef8389a86f4a8bbba

9 years agoDo not touch GL error state in postIterate()
Pyry Haulos [Thu, 8 Jan 2015 21:16:54 +0000 (13:16 -0800)]
Do not touch GL error state in postIterate()

EGL implementation of RenderContext::postIterate() calls glFlush() when
rendering into a pixmap or pbuffer. This change removes erroneus
glGetError() call, as test case may want to carry error state over
iterate() calls.

Bug: 18915339
Change-Id: Ic8f4a1df46f74e8375e4f346daa3d2288f9ee39a

9 years agoam ed1f0c93: (-s ours) am 45fe81cf: am 3cc483b1: DO NOT MERGE: Remove broken record_v...
Jarkko Pöyry [Thu, 8 Jan 2015 20:40:21 +0000 (20:40 +0000)]
am ed1f0c93: (-s ours) am 45fe81cf: am 3cc483b1: DO NOT MERGE: Remove broken record_variable_selection test from L must-pass.

* commit 'ed1f0c9396408c65bf33edcc1207e958251ac782':
  DO NOT MERGE: Remove broken record_variable_selection test from L must-pass.

9 years agoam 45fe81cf: am 3cc483b1: DO NOT MERGE: Remove broken record_variable_selection test...
Jarkko Pöyry [Thu, 8 Jan 2015 20:35:41 +0000 (20:35 +0000)]
am 45fe81cf: am 3cc483b1: DO NOT MERGE: Remove broken record_variable_selection test from L must-pass.

* commit '45fe81cf514655eac065fbefd6b8335aa632108d':
  DO NOT MERGE: Remove broken record_variable_selection test from L must-pass.

9 years agoam 3cc483b1: DO NOT MERGE: Remove broken record_variable_selection test from L must...
Jarkko Pöyry [Thu, 8 Jan 2015 20:21:06 +0000 (20:21 +0000)]
am 3cc483b1: DO NOT MERGE: Remove broken record_variable_selection test from L must-pass.

* commit '3cc483b18a439f3c4484601d351ea541a428b9c5':
  DO NOT MERGE: Remove broken record_variable_selection test from L must-pass.

9 years agoam aa771b2c: am 92582aed: am e641e248: Use gcc for mips target.
Chih-Hung Hsieh [Thu, 8 Jan 2015 02:08:32 +0000 (02:08 +0000)]
am aa771b2c: am 92582aed: am e641e248: Use gcc for mips target.

* commit 'aa771b2c3bb9bdceb3429fbd5ec7f4b50c591f02':
  Use gcc for mips target.

9 years agoam 92582aed: am e641e248: Use gcc for mips target.
Chih-Hung Hsieh [Thu, 8 Jan 2015 02:02:15 +0000 (02:02 +0000)]
am 92582aed: am e641e248: Use gcc for mips target.

* commit '92582aedc8542de989b289f14ba5d5635889a125':
  Use gcc for mips target.

9 years agoam e641e248: Use gcc for mips target.
Chih-Hung Hsieh [Thu, 8 Jan 2015 01:50:22 +0000 (01:50 +0000)]
am e641e248: Use gcc for mips target.

* commit 'e641e248d934c26847e48fc0d7854dcb18802f19':
  Use gcc for mips target.

9 years agoMerge "Add script for generating test case list files"
Pyry Haulos [Wed, 7 Jan 2015 23:31:35 +0000 (23:31 +0000)]
Merge "Add script for generating test case list files"

9 years agoUse gcc for mips target.
Chih-Hung Hsieh [Wed, 7 Jan 2015 23:29:24 +0000 (15:29 -0800)]
Use gcc for mips target.

Will enable clang mips compilation when the real error is fixed.

BUG: 18934246
Change-Id: If4474e1c6e4af794e4d49cbdec34bd2da8e70fb2

9 years agoFix invalid zero-sized array declaration
Pyry Haulos [Wed, 7 Jan 2015 21:22:32 +0000 (13:22 -0800)]
Fix invalid zero-sized array declaration

When compiling dEQP EGL support and dynamic GL function loading,
eglu::createStaticESLibrary() ended up having an empty array
declaration, which is not allowed in C++.

Change-Id: Ifb40aea5fcdf9001420c575cf677789427411100

9 years agoDO NOT MERGE: Remove broken record_variable_selection test from L must-pass.
Jarkko Pöyry [Wed, 7 Jan 2015 21:13:13 +0000 (13:13 -0800)]
DO NOT MERGE: Remove broken record_variable_selection test from L must-pass.

tessellation_geometry_interaction.feedback.record_variable_selection
reads gl_in[] element with index larger than patch size. This is
undefined behavior.

Bug: 18917835
Change-Id: I15c6925dfb79fa439d2e21db460ff7507ab066c1

9 years agoAdd script for generating test case list files
Pyry Haulos [Wed, 7 Jan 2015 19:50:55 +0000 (11:50 -0800)]
Add script for generating test case list files

This script builds dEQP to a temporary location, generates test case
lists in XML form, and copies them to a destination directory. Useful
with Cherry for example.

Change-Id: I00c7543268e8bfec7c31f4aaaba060c6c4802995

9 years agoam 88863180: am b7dc3b73: Remove broken record_variable_selection test from MR1 must...
Jarkko Pöyry [Tue, 6 Jan 2015 21:02:21 +0000 (21:02 +0000)]
am 88863180: am b7dc3b73: Remove broken record_variable_selection test from MR1 must-pass.

* commit '8886318090daae0f81c6c84d328755d0839b7281':
  Remove broken record_variable_selection test from MR1 must-pass.

9 years agoam b7dc3b73: Remove broken record_variable_selection test from MR1 must-pass.
Jarkko Pöyry [Tue, 6 Jan 2015 20:56:35 +0000 (20:56 +0000)]
am b7dc3b73: Remove broken record_variable_selection test from MR1 must-pass.

* commit 'b7dc3b735541fbe6bca15b6d69afb6eaf34f7fc9':
  Remove broken record_variable_selection test from MR1 must-pass.

9 years agoRemove broken record_variable_selection test from MR1 must-pass.
Jarkko Pöyry [Tue, 6 Jan 2015 20:41:02 +0000 (12:41 -0800)]
Remove broken record_variable_selection test from MR1 must-pass.

tessellation_geometry_interaction.feedback.record_variable_selection
reads gl_in[] element with index larger than patch size. This is
undefined behavior.

Bug: 18917835
Change-Id: Ic1a3dd56b98e4ed0d71292f6727a6fe5d0ce291b

9 years agoam dd7e6963: am 7f94bf05: Remove failing random ubo test from must pass list.
Mika Isojärvi [Tue, 6 Jan 2015 02:24:52 +0000 (02:24 +0000)]
am dd7e6963: am 7f94bf05: Remove failing random ubo test from must pass list.

* commit 'dd7e6963b818133424bdfb527bde21e50e755a10':
  Remove failing random ubo test from must pass list.

9 years agoam 7f94bf05: Remove failing random ubo test from must pass list.
Mika Isojärvi [Tue, 6 Jan 2015 02:20:38 +0000 (02:20 +0000)]
am 7f94bf05: Remove failing random ubo test from must pass list.

* commit '7f94bf05ab808862ba69c48b4966db456539f5d6':
  Remove failing random ubo test from must pass list.

9 years agoRemove failing random ubo test from must pass list.
Mika Isojärvi [Tue, 6 Jan 2015 00:00:02 +0000 (16:00 -0800)]
Remove failing random ubo test from must pass list.

Remove uniform buffer object test, that was killed by oomkiller from
must pass list.

Bug: 18707566
Change-Id: I16e09a160fe18f2c7180a293438052fe658e4ec2

9 years agoAdd ANDROID_extension_pack_es31a tests.
Jarkko Pöyry [Tue, 16 Dec 2014 19:33:56 +0000 (11:33 -0800)]
Add ANDROID_extension_pack_es31a tests.

- Check extension dependencies.
- Add implementation limit checks.
- Basic shader tests with AEP extension directive.
- Add 'expect build_successful' mode to ShaderLibrary. This mode checks
  only that the shaders compile and the programs link but does not
  attempt to execute the shader program. This is useful for example if
  test only wants to check that a certain sampler type is available.

Bug: 18337603
Change-Id: Ib9715074c6aaccb40c0070df211236d95c7ef66a

9 years agoMerge "Add EXT_primitive_bounding_box tests."
Jarkko Pöyry [Mon, 5 Jan 2015 23:00:00 +0000 (23:00 +0000)]
Merge "Add EXT_primitive_bounding_box tests."

9 years agoAdd EXT_primitive_bounding_box tests.
Jarkko Pöyry [Mon, 17 Nov 2014 22:21:54 +0000 (14:21 -0800)]
Add EXT_primitive_bounding_box tests.

- Add primitive bounding box state query tests.
- Add primitive bounding box render tests.
- Add primitive bounding box test spec.
- Add primitive_bounding_box to str_util and regen wrappers.
- Add primitive_bounding_box state reset.
- Add pritimive_bounding_box wrapper context no-op implementation.
- Add tcu::Vector::operator-= ()
- Pretty-printing return values of array returning queries.
- Add tessellation patch vertices state reset.

Bug: 18336498
Change-Id: I56f3301fc32bf016e2091163d35dced2afb80c0d

9 years agoam 949be649: am 1029ba1f: Fix srgb_unsigned_byte RBO test regression with NV_sRGB_for...
Jarkko Pöyry [Tue, 30 Dec 2014 18:57:41 +0000 (18:57 +0000)]
am 949be649: am 1029ba1f: Fix srgb_unsigned_byte RBO test regression with NV_sRGB_formats extension.

* commit '949be649c62281818b9e55d6cd3ad8e6bd317ba1':
  Fix srgb_unsigned_byte RBO test regression with NV_sRGB_formats extension.

9 years agoam 1029ba1f: Fix srgb_unsigned_byte RBO test regression with NV_sRGB_formats extension.
Jarkko Pöyry [Tue, 30 Dec 2014 18:52:57 +0000 (18:52 +0000)]
am 1029ba1f: Fix srgb_unsigned_byte RBO test regression with NV_sRGB_formats extension.

* commit '1029ba1f311daab764fa4e54f0c2a57124522ad0':
  Fix srgb_unsigned_byte RBO test regression with NV_sRGB_formats extension.

9 years agoFix srgb_unsigned_byte RBO test regression with NV_sRGB_formats extension.
Jarkko Pöyry [Tue, 30 Dec 2014 03:36:59 +0000 (19:36 -0800)]
Fix srgb_unsigned_byte RBO test regression with NV_sRGB_formats extension.

A bugfix to make unsized SRGB format with UNSIGNED_BYTE type renderable
on texture targets erroneously caused test cases to expect same
renderablity on RBO targets as well. RBOs cannot be created with an
unsized internal formats. This change removes the erroneously added
expectation of renderablity from RBO targets.

Bug: 18755796
Change-Id: I8beb906ebccc1305fa910f18f355121623a1aca1

10 years agoSupport parallel build and install in on-device apk scripts.
Jarkko Pöyry [Fri, 12 Dec 2014 02:22:05 +0000 (18:22 -0800)]
Support parallel build and install in on-device apk scripts.

Add -p flag to build.py to build native libs in parallel. Add -p
flag to install.py to install to multiple devices in parallel.

Change-Id: I042de5eae321e61455d330949c7f07577725ba15

10 years agoMerge "Fix GLES2 negative test issues."
Jarkko Pöyry [Wed, 17 Dec 2014 01:20:14 +0000 (01:20 +0000)]
Merge "Fix GLES2 negative test issues."

10 years agoFix GLES2 negative test issues.
Jarkko Pöyry [Wed, 17 Dec 2014 01:07:56 +0000 (17:07 -0800)]
Fix GLES2 negative test issues.

- Check GL_OES_fbo_render_mipmap extension in framebuffer_texture2d negative
  test.
- Check GL_EXT_draw_buffers in builtin_variable.max_draw_buffers_* tests.
- Fix invalid uniform location check in get_uniformfv negative state test.

Bug: 18620565
Change-Id: I2158a10ca859e3c40219bd324e7a02c0ff10e42b