Lines Matching defs:target
1236 /** Returns a vector of texture+view target texture combinations that are known to be incompatible.
1598 * original texture target.
1605 /* Iterate again, but this time consider each texture target as a valid new target */
1841 /** Returns a string corresponding to a GL enum describing a texture target.
2088 * @param texture_target Texture target to be used.
2121 * given texture target that is of our interest */
2131 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexBuffer() call failed for GL_TEXTURE_BUFFER target");
2137 /* If level != 0 and we're trying to initialize a texture target which
2155 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexImage1D() call failed for GL_TEXTURE_1D texture target");
2170 "glTexImage2D() call failed for GL_TEXTURE_1D_ARRAY texture target" :
2172 "glTexImage2D() call failed for GL_TEXTURE_2D texture target" :
2173 "glTexImage2D() call failed for GL_TEXTURE_RECTANGLE texture target");
2187 "glTexImage3D() call failed for GL_TEXTURE_2D_ARRAY texture target" :
2188 "glTexImage3D() call failed for GL_TEXTURE_3D texture target");
2201 "glTexImage2DMultisample() call failed for GL_TEXTURE_2D_MULTISAMPLE texture target");
2214 "glTexImage3DMultisample() call failed for GL_TEXTURE_2D_MULTISAMPLE_ARRAY texture target");
2244 "glTexImage3D() call failed for GL_TEXTURE_CUBE_MAP_ARRAY texture target");
2251 TCU_FAIL("Unrecognized texture target");
2265 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexStorage1D() call failed for GL_TEXTURE_1D texture target");
2281 "glTexStorage2D() call failed for GL_TEXTURE_1D_ARRAY texture target" :
2283 "glTexStorage2D() call failed for GL_TEXTURE_2D texture target" :
2285 "glTexStorage2D() call failed for GL_TEXTURE_CUBE_MAP texture target" :
2286 "glTexStorage2D() call failed for GL_TEXTURE_RECTANGLE texture target");
2299 "glTexStorage3D() call failed for GL_TEXTURE_2D_ARRAY texture target" :
2300 "glTexStorage3D() call failed for GL_TEXTURE_3D texture target");
2312 "glTexStorage2DMultisample() call failed for GL_TEXTURE_2D_MULTISAMPLE texture target");
2325 "glTexStorage3DMultisample() call failed for GL_TEXTURE_2D_MULTISAMPLE_ARRAY texture target");
2338 "glTexStorage3D() call failed for GL_TEXTURE_CUBE_MAP_ARRAY texture target");
2345 TCU_FAIL("Unrecognized texture target");
2552 /** Tells whether a parent texture object using @param original_texture_target texture target
2553 * can be used to generate a texture view of @param view_texture_target texture target.
2555 * @param original_texture_target Texture target used by parent texture;
2556 * @param view_texture_target Texture target to be used for view texture;
2756 /* Take note of target-specific restrictions */
3093 /* Bind the texture object of our interest to the target */
3605 * already been bound and given a target.
3619 "already been bound to a texture target, whereas "
3625 " a texture target, to a glTextureView() call.");
3673 * application tries to generate a texture view for a target
3674 * that is incompatible with original texture's target. (as per
3677 * NOTE: All invalid original+view texture target combinations
3734 } /* for (all incompatible texture target pairs) */
3992 /* k) GL_INVALID_VALUE error should be generated if <target> is
4007 "5 instead of 6 for GL_TEXTURE_CUBE_MAP texture target, whereas "
4015 /* l) GL_INVALID_VALUE error should be generated if <target> is
4032 "texture target, whereas GL_INVALID_VALUE was expected."
4036 "argument for a GL_TEXTURE_CUBE_MAP_ARRAY texture target");
4039 /* m) GL_INVALID_VALUE error should be generated if <target> is
4054 "2 instead of 1 for GL_TEXTURE_1D texture target, whereas "
4059 "argument for a GL_TEXTURE_1D texture target");
4062 /* n) GL_INVALID_VALUE error should be generated if <target> is
4077 "2 instead of 1 for GL_TEXTURE_2D texture target, whereas "
4082 "argument for a GL_TEXTURE_2D texture target");
4085 /* o) GL_INVALID_VALUE error should be generated if <target> is
4100 "2 instead of 1 for GL_TEXTURE_3D texture target, whereas "
4105 "argument for a GL_TEXTURE_3D texture target");
4108 /* p) GL_INVALID_VALUE error should be generated if <target> is
4123 "2 instead of 1 for GL_TEXTURE_RECTANGLE texture target, whereas "
4128 "argument for a GL_TEXTURE_RECTANGLE texture target");
4131 /* q) GL_INVALID_VALUE error should be generated if <target> is
4146 "2 instead of 1 for GL_TEXTURE_2D_MULTISAMPLE texture target, whereas "
4151 "argument for a GL_TEXTURE_2D_MULTISAMPLE texture target");
4154 /* r) GL_INVALID_OPERATION error should be generated if <target> is
4178 /* s) GL_INVALID_OPERATION error should be generated if <target> is
4588 * 2) Make sure that all texels of current render-target are vec4(1).
4660 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture() call failed for GL_TEXTURE_2D texture target.");
4726 * Depending on the texture target, each reference color corresponds to an unique color
4802 glw::GLint TextureViewTestViewSampling::getMaxConformantSampleCount(glw::GLenum target, glw::GLenum internalFormat)
4813 gl.getInternalformativ(target, GL_RGBA8, GL_NUM_SAMPLE_COUNTS, 1, &gl_sample_counts);
4820 gl.getInternalformativ(target, GL_RGBA8, GL_SAMPLES, gl_sample_counts, gl_supported_samples);
4825 gl.getInternalformatSampleivNV(target, GL_RGBA8, gl_supported_samples[i], GL_CONFORMANT_NV, 1,
5082 TCU_FAIL("Unrecognized texture target");
5502 /* If we're dealing with a single-sampled texture target, then we can clear the
5521 /* Cube-map texture target cannot be directly used for a glFramebufferTexture2D() call. Instead,
5556 /* Use appropriate glFramebufferTexture*() API, depending on the texture target of the
5597 TCU_FAIL("Unrecognized texture target");
5620 /* We need to handle an either multisampled or arrayed texture target or
5640 * when rendering to multisampled texture target */
5934 * @param texture_target Texture target to use for the parent texture.
5935 * @param view_texture_target Texture target to use for the view texture.
5944 /* Quick check: make sure GL_TEXTURE_BUFFER texture target is not requested. This
6063 m_testCtx.getLog() << tcu::TestLog::Message << "Created a view for texture target "
6065 << "from a parent texture target "
6113 << "Created an immutable parent texture object for texture target "
6133 << "Created an immutable parent texture object for texture target "
6156 << "Created an immutable parent texture object for texture target "
6177 << "Created an immutable parent texture object for texture target "
6200 << "Created an immutable parent texture object for texture target "
6224 << "Created an immutable parent texture object for texture target "
6248 << "Created an immutable parent texture object for texture target "
6273 << "Created an immutable parent texture object for texture target "
6286 TCU_FAIL("Unrecognized texture target.");
6327 /* Iterate through all texture/view texture target combinations */
8090 GLU_EXPECT_NO_ERROR(gl.getError(), "glFramebufferTexture2D() call failed for GL_DRAW_FRAMEBUFFER target.");
8094 GLU_EXPECT_NO_ERROR(gl.getError(), "glFramebufferTexture2D() call failed for GL_READ_FRAMEBUFFER target.");
8200 * is used as a render-target. The function writes to user-specified texture type,
8256 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindFramebuffer() call failed for GL_FRAMEBUFFER target");