HomeSort by relevance Sort by last modified time
    Searched defs:gl (Results 226 - 250 of 358) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/deqp/modules/gles3/functional/
es3fFlushFinishTests.cpp 228 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
229 const int posLoc = gl.getAttribLocation(m_program->getProgram(), "a_position");
243 gl.viewport(0, 0, viewportW, viewportH);
244 gl.useProgram(m_program->getProgram());
245 gl.enableVertexAttribArray(posLoc);
246 gl.vertexAttribPointer(posLoc, 2, GL_FLOAT, GL_FALSE, 0, &s_positions[0]);
247 gl.enable(GL_BLEND);
248 gl.blendFunc(GL_ONE, GL_ONE);
249 gl.blendEquation(GL_FUNC_ADD);
250 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to set up render state")
255 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
261 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
273 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
    [all...]
es3fFragDepthTests.cpp 126 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.useProgram(program.getProgram())
297 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
    [all...]
es3fLifetimeTests.cpp 89 const Functions& gl = m_renderCtx.getFunctions(); local
91 m_scaleLoc = gl.getUniformLocation(getProgram(), "scale");
92 m_posLoc = gl.getAttribLocation(getProgram(), "pos");
128 const Functions& gl = m_renderCtx.getFunctions(); local
133 gl.clearColor(0, 0, 0, 1);
134 gl.clear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
136 gl.bindVertexArray(vao);
137 gl.enableVertexAttribArray(m_posLoc);
138 GLU_CHECK_CALL_ERROR(gl.useProgram(getProgram()),
139 gl.getError())
157 const Functions& gl = m_renderCtx.getFunctions(); local
    [all...]
es3fTextureWrapTests.cpp 293 const glw::Functions& gl = m_renderCtx.getFunctions(); local
306 gl.activeTexture(GL_TEXTURE0);
307 gl.bindTexture(GL_TEXTURE_2D, m_texture->getGLTexture());
310 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, m_wrapS);
311 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, m_wrapT);
312 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, m_minFilter);
313 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, m_magFilter);
315 GLU_EXPECT_NO_ERROR(gl.getError(), "Set texturing state");
324 gl.viewport(viewport.x, viewport.y, viewport.width, viewport.height);
  /external/deqp/modules/gles31/functional/
es31fIndirectComputeDispatchTests.cpp 159 static int getResultBlockAlignedSize (const glw::Functions& gl)
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.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, buffer)
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...]
es31fTessellationGeometryInteractionTests.cpp 187 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.enable(GL_BLEND)
488 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
508 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
    [all...]
  /external/deqp/modules/gles31/stress/
es31sVertexAttributeBindingTests.cpp 316 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog());
317 const int positionLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_position");
318 const int colorLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_color");
319 const int colorUniformLoc = gl.glGetUniformLocation(m_program->getProgram(), "u_color");
321 gl.enableLogging(true);
323 gl.glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
324 gl.glClear(GL_COLOR_BUFFER_BIT);
325 gl.glViewport(0, 0, dst.getWidth(), dst.getHeight());
326 gl.glBindVertexArray(m_vao);
327 GLU_EXPECT_NO_ERROR(gl.glGetError(), "set vao")
442 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
547 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
    [all...]
  /external/deqp/modules/glshared/
glsBufferTestUtil.cpp 454 const glw::Functions& gl = m_renderCtx.getFunctions(); local
455 m_posLoc = gl.getAttribLocation(m_program->getProgram(), "a_position");
456 m_byteVecLoc = gl.getAttribLocation(m_program->getProgram(), "a_byteVec");
458 gl.genVertexArrays(1, &m_vao);
459 gl.genBuffers(1, &m_positionBuf);
460 gl.genBuffers(1, &m_indexBuf);
461 GLU_EXPECT_NO_ERROR(gl.getError(), "Initialization failed");
466 const glw::Functions& gl = m_renderCtx.getFunctions(); local
468 if (m_vao) gl.deleteVertexArrays(1, &m_vao);
469 if (m_positionBuf) gl.deleteBuffers(1, &m_positionBuf)
    [all...]
glsStateChangePerfTestCases.cpp 234 const glw::Functions& gl = m_renderCtx.getFunctions(); local
248 gl.genBuffers(1, &buffer);
249 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenBuffers()");
251 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, buffer);
252 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindBuffer()");
253 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (GLsizeiptr)(indices.size() * sizeof(GLushort)), &(indices[0]), GL_STATIC_DRAW);
254 GLU_EXPECT_NO_ERROR(gl.getError(), "glBufferData()");
255 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0);
256 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindBuffer()");
264 const glw::Functions& gl = m_renderCtx.getFunctions() local
333 const glw::Functions& gl = m_renderCtx.getFunctions(); local
379 const glw::Functions& gl = m_renderCtx.getFunctions(); local
416 const glw::Functions& gl = m_renderCtx.getFunctions(); local
445 const glw::Functions& gl = m_renderCtx.getFunctions(); local
463 const glw::Functions& gl = m_renderCtx.getFunctions(); local
486 const glw::Functions& gl = m_renderCtx.getFunctions(); local
577 const glw::Functions& gl = m_renderCtx.getFunctions(); local
600 const glw::Functions& gl = m_renderCtx.getFunctions(); local
656 const glw::Functions& gl = m_renderCtx.getFunctions(); local
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
Grid.java 205 public static void beginDrawing(GL10 gl, boolean useTexture) {
206 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
209 gl.glEnableClientState(GL10.GL_TEXTURE_COORD_ARRAY);
210 gl.glEnable(GL10.GL_TEXTURE_2D);
212 gl.glDisableClientState(GL10.GL_TEXTURE_COORD_ARRAY);
213 gl.glDisable(GL10.GL_TEXTURE_2D);
217 public void beginDrawingStrips(GL10 gl, boolean useTexture) {
218 beginDrawing(gl, useTexture);
220 gl.glVertexPointer(3, mCoordinateType, 0, mVertexBuffer);
223 gl.glTexCoordPointer(2, mCoordinateType, 0, mTexCoordBuffer)
    [all...]
  /ndk/sources/host-tools/ndk-stack/regex/
engine.c 137 const sopno gl = g->laststate; local
181 endp = fast(m, start, stop, gf, gl);
195 endp = slow(m, m->coldp, stop, gf, gl);
216 dp = dissect(m, m->coldp, endp, gf, gl);
227 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0, 0);
239 endp = slow(m, m->coldp, endp-1, gf, gl);
250 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0, 0);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/
UiPackageAttributeNode.java 115 GridLayout gl = new GridLayout(2, false); local
116 gl.marginHeight = gl.marginWidth = 0;
117 composite.setLayout(gl);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/
KeyCheckPage.java 99 GridLayout gl = new GridLayout(3, false); local
100 gl.verticalSpacing *= 3;
101 composite.setLayout(gl);
KeyCreationPage.java 70 GridLayout gl = new GridLayout(2, false); local
71 composite.setLayout(gl);
  /system/core/include/pixelflinger/
format.h 114 uint8_t gl; // green low bit position member in struct:__anon81239::__anon81241::__anon81242
  /external/chromium_org/cc/output/
gl_renderer_unittest.cc 1708 gpu::gles2::GLES2Interface* gl = local
1740 gpu::gles2::GLES2Interface* gl = local
    [all...]
  /external/chromium_org/gpu/command_buffer/service/
gles2_cmd_decoder_unittest.cc 27 #include "ui/gl/gl_implementation.h"
28 #include "ui/gl/gl_mock.h"
29 #include "ui/gl/gl_surface_stub.h"
689 ::testing::StrictMock< ::gfx::MockGLInterface>* gl = test->GetGLMock(); local
696 EXPECT_CALL(*gl, GenQueriesARB(1, _))
699 EXPECT_CALL(*gl, BeginQueryARB(query_type.type, service_id))
709 EXPECT_CALL(*gl, EndQueryARB(query_type.type))
714 EXPECT_CALL(*gl, GetError())
720 EXPECT_CALL(*gl, Flush()).RetiresOnSaturation();
721 EXPECT_CALL(*gl, FenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0)
    [all...]
  /external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d11/
Renderer11.h 22 namespace gl namespace
62 virtual void generateSwizzle(gl::Texture *texture);
63 virtual void setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &sampler);
64 virtual void setTexture(gl::SamplerType type, int index, gl::Texture *texture);
66 virtual bool setUniformBuffers(const gl::Buffer *vertexUniformBuffers[], const gl::Buffer *fragmentUniformBuffers[]);
68 virtual void setRasterizerState(const gl::RasterizerState &rasterState);
69 virtual void setBlendState(gl::Framebuffer *framebuffer, const gl::BlendState &blendState, const gl::ColorF &blendColor
    [all...]
  /external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d9/
Renderer9.h 20 namespace gl namespace
62 virtual void generateSwizzle(gl::Texture *texture);
63 virtual void setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &sampler);
64 virtual void setTexture(gl::SamplerType type, int index, gl::Texture *texture);
66 virtual bool setUniformBuffers(const gl::Buffer *vertexUniformBuffers[], const gl::Buffer *fragmentUniformBuffers[]);
68 virtual void setRasterizerState(const gl::RasterizerState &rasterState);
69 virtual void setBlendState(gl::Framebuffer *framebuffer, const gl::BlendState &blendState, const gl::ColorF &blendColor
    [all...]
  /external/chromium_org/ui/gfx/
color_analysis.cc 545 float gl = t0 + tr * r + tg * g + tb * b; local
546 if (gl < 0)
547 gl = 0;
548 if (gl > 0xFF)
549 gl = 0xFF;
550 target_color_row[x] = static_cast<uint8_t>(gl);
  /external/deqp/framework/opengl/simplereference/
sglrReferenceContext.cpp 248 const glw::Functions& gl = renderCtx.getFunctions(); local
250 gl.getIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, &maxTextureImageUnits);
251 gl.getIntegerv(GL_MAX_TEXTURE_SIZE, &maxTexture2DSize);
252 gl.getIntegerv(GL_MAX_CUBE_MAP_TEXTURE_SIZE, &maxTextureCubeSize);
253 gl.getIntegerv(GL_MAX_RENDERBUFFER_SIZE, &maxRenderbufferSize);
254 gl.getIntegerv(GL_MAX_VERTEX_ATTRIBS, &maxVertexAttribs);
258 gl.getIntegerv(GL_MAX_ARRAY_TEXTURE_LAYERS, &maxTexture2DArrayLayers);
259 gl.getIntegerv(GL_MAX_3D_TEXTURE_SIZE, &maxTexture3DSize);
267 GLU_EXPECT_NO_ERROR(gl.getError(), GL_NO_ERROR);
    [all...]
  /external/deqp/modules/gles2/accuracy/
es2aTextureFilteringTests.cpp 194 const glw::Functions& gl = m_renderCtx.getFunctions(); local
219 gl.activeTexture(GL_TEXTURE0);
222 gl.bindTexture(GL_TEXTURE_2D, m_textures[curTexNdx]->getGLTexture());
223 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, m_wrapS);
224 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, m_wrapT);
225 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, m_minFilter);
226 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, m_magFilter);
237 gl.viewport(viewport.x, viewport.y, leftWidth, bottomHeight);
248 gl.viewport(viewport.x+leftWidth, viewport.y, rightWidth, bottomHeight);
262 gl.bindTexture(GL_TEXTURE_2D, m_textures[curTexNdx]->getGLTexture())
517 const glw::Functions& gl = m_renderCtx.getFunctions(); local
    [all...]
es2aTextureMipmapTests.cpp 249 const glw::Functions& gl = m_renderCtx.getFunctions(); local
293 gl.activeTexture(GL_TEXTURE0);
296 gl.bindTexture(GL_TEXTURE_2D, m_texture->getGLTexture());
297 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, m_wrapS);
298 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, m_wrapT);
299 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, m_minFilter);
300 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, magFilter);
302 GLU_EXPECT_NO_ERROR(gl.getError(), "After texture setup");
343 // Render with GL.
344 gl.viewport(viewport.x+curX, viewport.y+curY, curW, curH)
535 const glw::Functions& gl = m_renderCtx.getFunctions(); local
    [all...]
  /external/deqp/modules/gles2/functional/
es2fPolygonOffsetTests.cpp 48 using namespace glw; // GLint and other GL types
182 void verifyError (tcu::TestContext& testCtx, const glw::Functions& gl, GLenum expected)
184 deUint32 got = gl.getError();
295 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
303 gl.genRenderbuffers(1, &colorRboId);
304 gl.bindRenderbuffer(GL_RENDERBUFFER, colorRboId);
305 gl.renderbufferStorage(GL_RENDERBUFFER, GL_RGBA4, m_targetSize, m_targetSize);
306 verifyError(m_testCtx, gl, GL_NO_ERROR);
308 gl.genRenderbuffers(1, &depthRboId);
309 gl.bindRenderbuffer(GL_RENDERBUFFER, depthRboId)
367 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
495 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
614 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
764 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
877 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
994 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
1116 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
    [all...]
es2fShaderIndexingTests.cpp 200 const glw::Functions& gl = m_renderCtx.getFunctions(); local
204 int arrLoc = gl.getUniformLocation(programID, "u_arr");
215 gl.uniform1fv(arrLoc, 4, &arr[0]);
224 gl.uniform2fv(arrLoc, 4, arr[0].getPtr());
233 gl.uniform3fv(arrLoc, 4, arr[0].getPtr());
242 gl.uniform4fv(arrLoc, 4, arr[0].getPtr());
    [all...]

Completed in 738 milliseconds

1 2 3 4 5 6 7 8 91011>>