Searched defs:gl (Results 201 - 225 of 354) sorted by relevance

1234567891011>>

/external/deqp/modules/gles2/functional/
H A Des2fDefaultVertexAttributeTests.cpp82 virtual tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const = 0;
99 tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const \
104 gl.glVertexAttrib ##COMPS ##TYPECODE VALUES; \
133 tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const \
138 gl.glVertexAttrib ##COMPS ##TYPECODE (index, value.getPtr()); \
266 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
268 gl.genBuffers(1, &m_bufID);
269 gl.bindBuffer(GL_ARRAY_BUFFER, m_bufID);
270 gl.bufferData(GL_ARRAY_BUFFER, sizeof(fullscreenQuad), fullscreenQuad, GL_STATIC_DRAW);
271 GLU_EXPECT_NO_ERROR(gl
[all...]
H A Des2fDepthStencilClearTests.cpp278 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
279 int colorLoc = gl.getUniformLocation(m_visProgram->getProgram(), "u_color");
280 int positionLoc = gl.getAttribLocation(m_visProgram->getProgram(), "a_position");
284 gl.clearDepthf (1.0f);
285 gl.clearStencil (0);
286 gl.clearColor (1.0f, 0.0f, 0.0f, 1.0f);
287 gl.clear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
289 GLU_EXPECT_NO_ERROR(gl.getError(), "Before clears");
295 gl.enable(GL_SCISSOR_TEST);
296 gl
[all...]
H A Des2fFboApiTest.cpp24 * All gl calls are passed thru sgl2::Context class. Reasons:
568 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
570 GLU_EXPECT_NO_ERROR(gl.getError(), "Before test case");
581 GLU_EXPECT_NO_ERROR(gl.getError(), "After test case");
H A Des2fFloatStateQueryTests.cpp71 StateVerifier (const glw::Functions& gl, tcu::TestLog& log, const char* testNamePostfix);
90 StateVerifier::StateVerifier (const glw::Functions& gl, tcu::TestLog& log, const char* testNamePostfix) argument
91 : glu::CallLogWrapper (gl, log)
111 GetBooleanVerifier (const glw::Functions& gl, tcu::TestLog& log);
119 GetBooleanVerifier::GetBooleanVerifier (const glw::Functions& gl, tcu::TestLog& log) argument
120 : StateVerifier(gl, log, "_getboolean")
253 GetIntegerVerifier (const glw::Functions& gl, tcu::TestLog& log);
261 GetIntegerVerifier::GetIntegerVerifier (const glw::Functions& gl, tcu::TestLog& log) argument
262 : StateVerifier(gl, log, "_getinteger")
416 // check if test range outside of gl stat
446 GetInteger64Verifier(const glw::Functions& gl, tcu::TestLog& log) argument
631 GetFloatVerifier(const glw::Functions& gl, tcu::TestLog& log) argument
[all...]
H A Des2fShaderBuiltinVarTests.cpp233 const glw::Functions& gl = m_renderCtx.getFunctions(); local
244 gl.depthRangef(m_depthRange.zNear, m_depthRange.zFar);
245 GLU_EXPECT_NO_ERROR(gl.getError(), "glDepthRangef()");
273 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
311 const int scaleLoc = gl.getUniformLocation(program.getProgram(), "u_scale");
314 gl.useProgram(program.getProgram());
315 gl.uniform3fv(scaleLoc, 1, scale.getPtr());
321 GLU_EXPECT_NO_ERROR(gl.getError(), "Draw");
367 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
407 gl
454 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
575 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
[all...]
H A Des2fTextureFormatTests.cpp139 const glw::Functions& gl = m_renderCtx.getFunctions(); local
168 gl.viewport(viewport.x, viewport.y, viewport.width, viewport.height);
174 gl.activeTexture(GL_TEXTURE0);
175 gl.bindTexture(GL_TEXTURE_2D, m_texture->getGLTexture());
178 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, wrapS);
179 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, wrapT);
180 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, minFilter);
181 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, magFilter);
183 GLU_EXPECT_NO_ERROR(gl.getError(), "Set texturing state");
188 GLU_EXPECT_NO_ERROR(gl
314 const glw::Functions& gl = m_renderCtx.getFunctions(); local
448 const glw::Functions& gl = m_renderCtx.getFunctions(); local
559 const glw::Functions& gl = m_renderCtx.getFunctions(); local
[all...]
/external/deqp/modules/gles2/stress/
H A Des2sSpecialFloatTests.cpp256 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
258 const GLint positionLoc = gl.getAttribLocation(patternProgram.getProgram(), "a_pos");
276 gl.genTextures(1, &textureID);
277 gl.bindTexture(GL_TEXTURE_2D, textureID);
278 gl.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, textureSize, textureSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, buffer[0].getPtr());
279 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
280 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
283 gl.clearColor(0.0f, 0.0f, 0.0f, 1.0f);
284 gl.clear(GL_COLOR_BUFFER_BIT);
285 gl
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fBooleanStateQueryTests.cpp48 StateVerifier (const glw::Functions& gl, tcu::TestLog& log, const char* testNamePostfix);
59 StateVerifier::StateVerifier (const glw::Functions& gl, tcu::TestLog& log, const char* testNamePostfix) argument
60 : glu::CallLogWrapper (gl, log)
80 IsEnabledVerifier (const glw::Functions& gl, tcu::TestLog& log);
85 IsEnabledVerifier::IsEnabledVerifier (const glw::Functions& gl, tcu::TestLog& log) argument
86 : StateVerifier(gl, log, "_isenabled")
121 GetBooleanVerifier (const glw::Functions& gl, tcu::TestLog& log);
126 GetBooleanVerifier::GetBooleanVerifier (const glw::Functions& gl, tcu::TestLog& log) argument
127 : StateVerifier(gl, log, "_getboolean")
190 GetIntegerVerifier (const glw::Functions& gl, tc
196 GetIntegerVerifier(const glw::Functions& gl, tcu::TestLog& log) argument
265 GetInteger64Verifier(const glw::Functions& gl, tcu::TestLog& log) argument
334 GetFloatVerifier(const glw::Functions& gl, tcu::TestLog& log) argument
[all...]
H A Des3fColorClearTest.cpp103 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
119 gl.enable(GL_SCISSOR_TEST);
142 gl.scissor(clearX, clearY, clearWidth, clearHeight);
150 gl.clearColor(r/255.0f, g/255.0f, b/255.0f, a/255.0f);
158 gl.colorMask((clearMask&0x1) != 0, (clearMask&0x2) != 0, (clearMask&0x4) != 0, (clearMask&0x8) != 0);
161 gl.clear(GL_COLOR_BUFFER_BIT);
233 GLU_EXPECT_NO_ERROR(gl.getError(), "glReadPixels");
242 if (gl.isEnabled(GL_DITHER))
H A Des3fDepthStencilClearTests.cpp281 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
282 int colorLoc = gl.getUniformLocation(m_visProgram->getProgram(), "u_color");
283 int positionLoc = gl.getAttribLocation(m_visProgram->getProgram(), "a_position");
287 gl.clearDepthf (1.0f);
288 gl.clearStencil (0);
289 gl.clearColor (1.0f, 0.0f, 0.0f, 1.0f);
290 gl.clear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
292 GLU_EXPECT_NO_ERROR(gl.getError(), "Before clears");
298 gl.enable(GL_SCISSOR_TEST);
299 gl
[all...]
H A Des3fFboApiTests.cpp24 * All gl calls are passed thru sglr::Context class. Reasons:
544 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
546 GLU_EXPECT_NO_ERROR(gl.getError(), "Before test case");
558 GLU_EXPECT_NO_ERROR(gl.getError(), "After test case");
H A Des3fFboStateQueryTests.cpp46 void checkAttachmentComponentSizeAtLeast (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLenum target, GLenum attachment, int r, int g, int b, int a, int d, int s) argument
66 gl.glGetFramebufferAttachmentParameteriv(target, attachment, paramNames[ndx], &state);
70 gl.glGetError(); // just log the error
83 void checkAttachmentComponentSizeExactly (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLenum target, GLenum attachment, int r, int g, int b, int a, int d, int s) argument
103 gl.glGetFramebufferAttachmentParameteriv(target, attachment, paramNames[ndx], &state);
107 gl.glGetError(); // just log the error
144 void checkAttachmentParam(tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLenum target, GLenum attachment, GLenum pname, GLenum reference) argument
147 gl.glGetFramebufferAttachmentParameteriv(target, attachment, pname, &state);
153 void checkColorAttachmentParam(tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLenum target, GLenum pname, GLenum reference) argument
155 checkAttachmentParam(testCtx, gl, targe
[all...]
H A Des3fFloatStateQueryTests.cpp71 StateVerifier (const glw::Functions& gl, tcu::TestLog& log, const char* testNamePostfix);
91 StateVerifier::StateVerifier (const glw::Functions& gl, tcu::TestLog& log, const char* testNamePostfix) argument
92 : glu::CallLogWrapper (gl, log)
112 GetBooleanVerifier (const glw::Functions& gl, tcu::TestLog& log);
121 GetBooleanVerifier::GetBooleanVerifier (const glw::Functions& gl, tcu::TestLog& log) argument
122 : StateVerifier(gl, log, "_getboolean")
285 GetIntegerVerifier (const glw::Functions& gl, tcu::TestLog& log);
294 GetIntegerVerifier::GetIntegerVerifier (const glw::Functions& gl, tcu::TestLog& log) argument
295 : StateVerifier(gl, log, "_getinteger")
449 // check if test range outside of gl stat
500 GetInteger64Verifier(const glw::Functions& gl, tcu::TestLog& log) argument
706 GetFloatVerifier(const glw::Functions& gl, tcu::TestLog& log) argument
[all...]
H A Des3fFragDepthTests.cpp126 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
140 gl.viewport(viewportX, viewportY, viewportW, viewportH);
141 gl.clear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT);
142 gl.enable(GL_DEPTH_TEST);
171 gl.useProgram(basicQuadProgram.getProgram());
172 gl.uniform4f(gl.getUniformLocation(basicQuadProgram.getProgram(), "u_color"), 0.0f, 0.0f, 1.0f, 1.0f);
173 gl.depthFunc(GL_ALWAYS);
187 GLU_EXPECT_NO_ERROR(gl.getError(), "Draw base quads");
213 gl
297 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
[all...]
H A Des3fImplementationLimitTests.cpp56 T query (const glw::Functions& gl, deUint32 param);
100 GLint query<GLint> (const glw::Functions& gl, deUint32 param) argument
103 gl.getIntegerv(param, &val);
108 GLint64 query<GLint64> (const glw::Functions& gl, deUint32 param) argument
111 gl.getInteger64v(param, &val);
116 GLuint64 query<GLuint64> (const glw::Functions& gl, deUint32 param) argument
119 gl.getInteger64v(param, &val);
124 GLfloat query<GLfloat> (const glw::Functions& gl,deUint32 param) argument
127 gl.getFloatv(param, &val);
132 NegInt query<NegInt> (const glw::Functions& gl, deUint3 argument
138 query(const glw::Functions& gl, deUint32 param) argument
146 query(const glw::Functions& gl, deUint32 param) argument
154 query(const glw::Functions& gl, deUint32 param) argument
242 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
288 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
326 queryExtensionsNonIndexed(const glw::Functions& gl) argument
349 queryExtensionsIndexed(const glw::Functions& gl) argument
390 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
[all...]
H A Des3fTextureStateQueryTests.cpp52 TexParamVerifier (const glw::Functions& gl, tcu::TestLog& log, const char* testNamePostfix);
63 TexParamVerifier::TexParamVerifier (const glw::Functions& gl, tcu::TestLog& log, const char* testNamePostfix) argument
64 : glu::CallLogWrapper (gl, log)
81 GetTexParameterIVerifier (const glw::Functions& gl, tcu::TestLog& log);
87 GetTexParameterIVerifier::GetTexParameterIVerifier (const glw::Functions& gl, tcu::TestLog& log) argument
88 : TexParamVerifier(gl, log, "_gettexparameteri")
136 GetTexParameterFVerifier (const glw::Functions& gl, tcu::TestLog& log);
142 GetTexParameterFVerifier::GetTexParameterFVerifier (const glw::Functions& gl, tcu::TestLog& log) argument
143 : TexParamVerifier(gl, log, "_gettexparameterf")
/external/deqp/modules/gles3/stress/
H A Des3sLongRunningShaderTests.cpp275 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
290 gl.useProgram(m_program->getProgram());
293 gl.uniform1i(gl.getUniformLocation(m_program->getProgram(), "u_iterCount"), iterCounts[0]);
H A Des3sSpecialFloatTests.cpp264 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
266 const GLint positionLoc = gl.getAttribLocation(patternProgram.getProgram(), "a_pos");
284 gl.genTextures(1, &textureID);
285 gl.bindTexture(GL_TEXTURE_2D, textureID);
286 gl.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, textureSize, textureSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, buffer[0].getPtr());
287 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
288 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
291 gl.clearColor(0.0f, 0.0f, 0.0f, 1.0f);
292 gl.clear(GL_COLOR_BUFFER_BIT);
293 gl
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fComputeShaderBuiltinVarTests.cpp208 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
216 const deUint32 outVarIndex = gl.getProgramResourceIndex(program, GL_BUFFER_VARIABLE, "Output.result");
217 const InterfaceVariableInfo outVarInfo = getProgramInterfaceVariableInfo(gl, program, GL_BUFFER_VARIABLE, outVarIndex);
226 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer);
227 gl.bufferData(GL_SHADER_STORAGE_BUFFER, (glw::GLsizeiptr)bufferSize, DE_NULL, GL_STREAM_READ);
228 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, *outputBuffer);
229 GLU_EXPECT_NO_ERROR(gl.getError(), "Buffer setup failed");
231 gl.useProgram(program);
232 gl.uniform2uiv(gl
[all...]
H A Des31fDebugTests.cpp576 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
580 gl.enable(GL_DEBUG_OUTPUT);
581 gl.enable(GL_DEBUG_OUTPUT_SYNCHRONOUS);
582 gl.debugMessageControl(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, DE_NULL, false); // disable all
583 gl.debugMessageControl(GL_DEBUG_SOURCE_API, GL_DEBUG_TYPE_ERROR, GL_DONT_CARE, 0, DE_NULL, true); // enable API errors
584 gl.debugMessageControl(GL_DEBUG_SOURCE_APPLICATION, GL_DONT_CARE, GL_DONT_CARE, 0, DE_NULL, true); // enable application messages
585 gl.debugMessageControl(GL_DEBUG_SOURCE_THIRD_PARTY, GL_DONT_CARE, GL_DONT_CARE, 0, DE_NULL, true); // enable third party messages
586 gl.debugMessageCallback(callbackHandle, this);
590 gl.debugMessageCallback(DE_NULL, DE_NULL);
591 gl
644 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
667 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
[all...]
H A Des31fFboNoAttachmentTests.cpp68 const glw::Functions& gl = renderCtx.getFunctions(); local
97 gl.useProgram(program.getProgram());
98 gl.enable(GL_DEPTH_TEST);
99 gl.depthFunc(GL_ALWAYS);
100 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer);
101 gl.viewport(0, 0, size.x()*2, size.y()*2); // Oversized viewport so that it will not accidentally limit us to the correct size
107 TCU_CHECK(gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE);
124 gl.genQueries(1, &query);
125 gl.genVertexArrays(1, &vertexArray);
126 gl
175 const glw::Functions& gl = renderCtx.getFunctions(); local
290 const glw::Functions& gl = m_renderCtx.getFunctions(); local
361 const glw::Functions& gl = m_renderCtx.getFunctions(); local
392 const glw::Functions& gl = m_renderCtx.getFunctions(); local
407 const glw::Functions& gl = m_renderCtx.getFunctions(); local
422 const glw::Functions& gl = m_renderCtx.getFunctions(); local
465 const glw::Functions& gl = m_renderCtx.getFunctions(); local
[all...]
H A Des31fIndirectComputeDispatchTests.cpp159 static int getResultBlockAlignedSize (const glw::Functions& gl) argument
163 gl.getIntegerv(GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT, &alignment);
184 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
201 gl.bindBuffer(GL_DISPATCH_INDIRECT_BUFFER, buffer);
202 gl.bufferData(GL_DISPATCH_INDIRECT_BUFFER, (glw::GLsizeiptr)data.size(), &data[0], GL_STATIC_DRAW);
241 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
248 gl.useProgram(program.getProgram());
250 gl.bindBuffer(GL_DISPATCH_INDIRECT_BUFFER, buffer);
251 gl.bufferData(GL_DISPATCH_INDIRECT_BUFFER, (glw::GLsizeiptr)m_bufferSize, DE_NULL, GL_STATIC_DRAW);
252 gl
265 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
294 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
342 const glw::Functions& gl = renderCtx.getFunctions(); local
[all...]
H A Des31fProgramInterfaceQueryTestCase.cpp544 const glw::Functions& gl = m_renderContext.getFunctions(); local
551 gl.getProgramResourceName(m_programID, interface, propValue, (int)nameBuffer.size() - 1, &written, &nameBuffer[0]);
552 GLU_EXPECT_NO_ERROR(gl.getError(), "query block name");
702 const glw::Functions& gl = m_renderContext.getFunctions();
705 gl.getProgramInterfaceiv(m_programID, GL_ATOMIC_COUNTER_BUFFER, GL_ACTIVE_RESOURCES, &numActiveResources);
706 GLU_EXPECT_NO_ERROR(gl.getError(), "getProgramInterfaceiv(..., GL_ATOMIC_COUNTER_BUFFER, GL_ACTIVE_RESOURCES, ...)");
912 const glw::Functions& gl = m_renderContext.getFunctions();
926 const glw::GLint location = gl.getProgramResourceLocation(m_programID, interface, elementResourceName.c_str());
943 const glw::GLint location = gl.getProgramResourceLocation(m_programID, interface, resource.c_str());
1584 static void queryAndValidateProps (tcu::TestContext& testCtx, const glw::Functions& gl, gl
[all...]
H A Des31fTessellationGeometryInteractionTests.cpp187 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
189 gl.genBuffers(1, &m_patchBuffer);
190 gl.bindBuffer(GL_ARRAY_BUFFER, m_patchBuffer);
191 gl.bufferData(GL_ARRAY_BUFFER, sizeof(patchBufferData), patchBufferData, GL_STATIC_DRAW);
192 GLU_EXPECT_NO_ERROR(gl.getError(), "gen buffer");
209 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
225 gl.viewport(0, 0, RENDER_SIZE, RENDER_SIZE);
226 gl.clearColor(0.0f, 0.0f, 0.0f, 1.0f);
227 GLU_EXPECT_NO_ERROR(gl.getError(), "set viewport");
229 gl
488 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
508 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
[all...]
H A Des31fTextureFormatTests.cpp174 const glw::Functions& gl = m_renderCtx.getFunctions(); local
196 gl.clear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT);
197 gl.viewport(viewport.x, viewport.y, viewport.width, viewport.height);
203 gl.activeTexture(GL_TEXTURE0);
204 gl.bindTexture(GL_TEXTURE_CUBE_MAP_ARRAY, m_texture->getGLTexture());
207 gl.texParameteri(GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
208 gl.texParameteri(GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
209 gl.texParameteri(GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
210 gl.texParameteri(GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
212 GLU_EXPECT_NO_ERROR(gl
313 const glw::Functions& gl = m_renderCtx.getFunctions(); local
[all...]

Completed in 814 milliseconds

1234567891011>>