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

1 2 3 4 5 67 8 91011>>

  /external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d11/
RenderStateCache.h 16 namespace gl namespace
33 ID3D11BlendState *getBlendState(const gl::Framebuffer *framebuffer, const gl::BlendState &blendState);
34 ID3D11RasterizerState *getRasterizerState(const gl::RasterizerState &rasterState, bool scissorEnabled);
35 ID3D11DepthStencilState *getDepthStencilState(const gl::DepthStencilState &dsState);
36 ID3D11SamplerState *getSamplerState(const gl::SamplerState &samplerState);
46 gl::BlendState blendState;
62 gl::RasterizerState rasterizerState;
76 static std::size_t hashDepthStencilState(const gl::DepthStencilState &dsState);
77 static bool compareDepthStencilStates(const gl::DepthStencilState &a, const gl::DepthStencilState &b)
    [all...]
  /external/chromium_org/third_party/angle/src/libGLESv2/
validationES3.cpp 21 namespace gl namespace
24 bool ValidateES3TexImageParameters(gl::Context *context, GLenum target, GLint level, GLenum internalformat, bool isCompressed, bool isSubImage,
30 return gl::error(GL_INVALID_ENUM, false);
36 return gl::error(GL_INVALID_VALUE, false);
42 return gl::error(GL_INVALID_VALUE, false);
50 return gl::error(GL_INVALID_VALUE, false);
53 gl::Texture *texture = NULL;
66 return gl::error(GL_INVALID_VALUE, false);
69 gl::Texture2D *texture2d = context->getTexture2D();
91 return gl::error(GL_INVALID_VALUE, false)
    [all...]
FramebufferAttachment.cpp 8 // FramebufferAttachment.cpp: the gl::FramebufferAttachment class and its derived classes
21 namespace gl namespace
425 return gl::GetRedBits(getActualFormat(), mRenderer->getCurrentClientVersion());
430 return gl::GetGreenBits(getActualFormat(), mRenderer->getCurrentClientVersion());
435 return gl::GetBlueBits(getActualFormat(), mRenderer->getCurrentClientVersion());
440 return gl::GetAlphaBits(getActualFormat(), mRenderer->getCurrentClientVersion());
445 return gl::GetDepthBits(getActualFormat(), mRenderer->getCurrentClientVersion());
450 return gl::GetStencilBits(getActualFormat(), mRenderer->getCurrentClientVersion());
455 return gl::GetComponentType(getActualFormat(), mRenderer->getCurrentClientVersion());
460 return gl::GetColorEncoding(getActualFormat(), mRenderer->getCurrentClientVersion())
    [all...]
ProgramBinary.h 7 // Program.h: Defines the gl::Program class. Implements GL program objects
38 namespace gl namespace
66 // Original GL name
ResourceManager.cpp 8 // ResourceManager.cpp: Implements the gl::ResourceManager class, which tracks and
21 namespace gl namespace
  /external/chromium_org/ui/android/java/src/org/chromium/ui/gl/
SurfaceTexturePlatformWrapper.java 5 package org.chromium.ui.gl;
  /external/clang/utils/VtableTest/
gen.cc 16 void gl(const char *c) { function
135 gl(" {");
144 g(" "); g(simple_types[t]); g(" field"); g(i); gl(";");
178 gl("); return 0; }");
180 gl("); }");
250 gl("); return 0; }");
252 gl("); }");
257 gl("public:");
258 gl(" void calc(char *t) {");
261 g(" mix(\"type num\", "); g(s); gl(");");
    [all...]
  /external/deqp/modules/gles2/functional/
es2fShaderFragDataTests.cpp 149 const glw::Functions& gl = renderCtx.getFunctions(); local
188 gl.clearColor (1.0f, 0.0f, 0.0f, 1.0f);
189 gl.clear (GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT);
191 gl.viewport (0, 0, viewportW, viewportH);
192 gl.useProgram (program.getProgram());
193 gl.uniform1i (gl.getUniformLocation(program.getProgram(), "u_index"), 0);
197 GLU_EXPECT_NO_ERROR(gl.getError(), "Rendering failed");
205 GLU_EXPECT_NO_ERROR(gl.getError(), "Reading pixels failed");
es2fColorClearTest.cpp 103 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))
  /external/deqp/modules/gles2/performance/
es2pTextureCases.cpp 44 using namespace glw; // GL types
197 const glw::Functions& gl = m_renderCtx.getFunctions(); local
200 int samplerLoc = gl.getUniformLocation(program, (string("u_sampler") + de::toString(texNdx)).c_str());
201 gl.uniform1i(samplerLoc, texNdx);
207 const glw::Functions& gl = m_renderCtx.getFunctions(); local
210 gl.enable(GL_BLEND);
211 gl.blendFunc(GL_ONE, GL_ONE);
212 gl.blendEquation(GL_FUNC_ADD);
217 gl.activeTexture(GL_TEXTURE0 + texNdx);
218 gl.bindTexture(GL_TEXTURE_2D, m_textures[texNdx]->getGLTexture())
    [all...]
  /external/deqp/modules/gles3/performance/
es3pTextureCases.cpp 45 using namespace glw; // GL types
224 const glw::Functions& gl = m_renderCtx.getFunctions(); local
227 int samplerLoc = gl.getUniformLocation(program, (string("u_sampler") + de::toString(texNdx)).c_str());
228 gl.uniform1i(samplerLoc, texNdx);
234 const glw::Functions& gl = m_renderCtx.getFunctions(); local
237 gl.enable(GL_BLEND);
238 gl.blendFunc(GL_ONE, GL_ONE);
239 gl.blendEquation(GL_FUNC_ADD);
244 gl.activeTexture(GL_TEXTURE0 + texNdx);
245 gl.bindTexture(GL_TEXTURE_2D, m_textures[texNdx]->getGLTexture())
    [all...]
  /external/deqp/modules/gles31/functional/
es31fInternalFormatQueryTests.cpp 82 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
92 gl.getIntegerv(samplesEnum, &maxSamples);
93 GLU_EXPECT_NO_ERROR(gl.getError(), "get MAX_*_SAMPLES");
106 gl.getInternalformativ(m_texTarget, m_internalFormat, GL_NUM_SAMPLE_COUNTS, 1, &numSampleCounts);
107 GLU_EXPECT_NO_ERROR(gl.getError(), "get GL_NUM_SAMPLE_COUNTS");
127 gl.getInternalformativ(m_texTarget, m_internalFormat, GL_SAMPLES, numSampleCounts, &samples[0]);
128 GLU_EXPECT_NO_ERROR(gl.getError(), "get GL_SAMPLES");
200 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
208 gl.getInternalformativ(GL_TEXTURE_2D_MULTISAMPLE, GL_RGBA8, GL_NUM_SAMPLE_COUNTS, 2, buffer);
209 GLU_EXPECT_NO_ERROR(gl.getError(), "get GL_NUM_SAMPLE_COUNTS")
259 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
    [all...]
  /external/deqp/modules/glshared/
glsFragmentOpUtil.cpp 148 const glw::Functions& gl = context.getFunctions(); local
159 m_positionLoc = gl.getAttribLocation(m_program->getProgram(), "a_position");
160 m_colorLoc = gl.getAttribLocation(m_program->getProgram(), "a_color");
163 m_color1Loc = gl.getAttribLocation(m_program->getProgram(), "a_color1");
glsShaderLibraryCase.cpp 163 const glw::Functions& gl = renderCtx.getFunctions(); local
167 gl.getIntegerv(m_enumName, &value);
168 error = gl.getError();
224 BeforeDrawValidator (const glw::Functions& gl, glw::GLuint target, TargetType targetType);
240 BeforeDrawValidator::BeforeDrawValidator (const glw::Functions& gl, glw::GLuint target, TargetType targetType)
241 : m_gl (gl)
490 static void setUniformValue (const glw::Functions& gl, const std::vector<deUint32>& pipelinePrograms, const std::string& name, const ShaderCase::Value& val, int arrayNdx, tcu::TestLog& log)
497 const int loc = gl.getUniformLocation(pipelinePrograms[programNdx], name.c_str());
508 gl.useProgram(pipelinePrograms[programNdx]);
512 case TYPE_FLOAT: gl.uniform1fv(loc, 1, &val.elements[elemNdx].float32); break
    [all...]
  /frameworks/rs/driver/
rsdGL.h 67 } gl; member in struct:RsdGLRec
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
LayoutCreatorDialog.java 121 GridLayout gl = new GridLayout(2, false); local
122 mStatusComposite.setLayout(gl);
123 gl.marginHeight = gl.marginWidth = 0;
  /cts/tests/tests/graphics/src/android/opengl/cts/
EglConfigGLSurfaceView.java 82 public void onSurfaceCreated(GL10 gl, EGLConfig config) {
97 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
100 public void onDrawFrame(GL10 gl) {
101 gl.glClear(GL10.GL_COLOR_BUFFER_BIT);
102 gl.glColor4f(1.0f, 0, 0, 0);
103 gl.glVertexPointer(3, GL10.GL_FLOAT, 0, mFloatBuffer);
104 gl.glDrawArrays(GL10.GL_TRIANGLES, 0, 9);
111 public void onSurfaceChanged(GL10 gl, int width, int height) {
112 gl.glViewport(0, 0, width, height);
137 public void onSurfaceCreated(GL10 gl, EGLConfig config)
    [all...]
  /external/chromium_org/cc/test/
layer_tree_pixel_test.cc 235 GLES2Interface* gl = context->GetImplementation(); local
238 gl->WaitSyncPointCHROMIUM(texture_mailbox.sync_point());
241 gl->GenTextures(1, &texture_id);
242 gl->BindTexture(GL_TEXTURE_2D, texture_id);
243 gl->TexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
244 gl->TexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
245 gl->TexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
246 gl->TexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
247 gl->ConsumeTextureCHROMIUM(texture_mailbox.target(), texture_mailbox.name());
248 gl->BindTexture(GL_TEXTURE_2D, 0)
297 GLES2Interface* gl = context->GetImplementation(); local
313 GLES2Interface* gl = context->GetImplementation(); local
    [all...]
  /external/chromium_org/cc/trees/
layer_tree_host_unittest_copyrequest.cc 799 gpu::gles2::GLES2Interface* gl = external_context_provider_->ContextGL(); variable
801 gl->GenMailboxCHROMIUM(mailbox.name);
802 sync_point_ = gl->InsertSyncPointCHROMIUM();
    [all...]
  /external/chromium_org/ui/aura/bench/
bench_main.cc 37 #include "ui/gl/gl_surface.h"
142 gpu::gles2::GLES2Interface* gl = context_provider->ContextGL(); local
143 gl->WaitSyncPointCHROMIUM(sync_point);
144 gl->DeleteTextures(1, &texture);
145 gl->ShallowFlushCHROMIUM();
184 gpu::gles2::GLES2Interface* gl = context_provider_->ContextGL(); local
186 gl->GenTextures(1, &texture);
187 gl->BindTexture(GL_TEXTURE_2D, texture);
188 gl->TexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
189 gl->TexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR)
224 gpu::gles2::GLES2Interface* gl = context_provider_->ContextGL(); local
231 gpu::gles2::GLES2Interface* gl = context_provider_->ContextGL(); variable
    [all...]
  /external/deqp/framework/opengl/
gluContextInfo.cpp 166 const glw::Functions& gl = context.getFunctions(); local
170 const char* result = (const char*)gl.getString(GL_EXTENSIONS);
171 GLU_EXPECT_NO_ERROR(gl.getError(), "glGetString(GL_EXTENSIONS) failed");
183 gl.getIntegerv(GL_NUM_EXTENSIONS, &numExtensions);
184 GLU_EXPECT_NO_ERROR(gl.getError(), "glGetIntegerv(GL_NUM_EXTENSIONS) failed");
188 extensions[ndx] = (const char*)gl.getStringi(GL_EXTENSIONS, ndx);
189 GLU_EXPECT_NO_ERROR(gl.getError(), "glGetStringi(GL_EXTENSIONS, ndx) failed");
197 const glw::Functions& gl = context.getFunctions(); local
200 gl.getIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &numFormats);
204 gl.getIntegerv(GL_COMPRESSED_TEXTURE_FORMATS, &formats[0])
    [all...]
gluShaderProgram.cpp 21 * \brief Wrapper for GL program object.
44 const glw::Functions& gl = m_renderCtx.getFunctions(); local
47 m_shader = gl.createShader(getGLShaderType(shaderType));
48 GLU_EXPECT_NO_ERROR(gl.getError(), "glCreateShader()");
54 const glw::Functions& gl = m_renderCtx.getFunctions(); local
55 gl.deleteShader(m_shader);
60 const glw::Functions& gl = m_renderCtx.getFunctions(); local
62 gl.shaderSource(m_shader, numSourceStrings, sourceStrings, lengths);
63 GLU_EXPECT_NO_ERROR(gl.getError(), "glShaderSource()");
75 const glw::Functions& gl = m_renderCtx.getFunctions() local
114 const glw::Functions& gl = renderCtx.getFunctions(); local
124 const glw::Functions& gl = renderCtx.getFunctions(); local
145 const glw::Functions& gl = m_renderCtx.getFunctions(); local
161 const glw::Functions& gl = m_renderCtx.getFunctions(); local
167 const glw::Functions& gl = m_renderCtx.getFunctions(); local
175 const glw::Functions& gl = m_renderCtx.getFunctions(); local
183 const glw::Functions& gl = m_renderCtx.getFunctions(); local
191 const glw::Functions& gl = m_renderCtx.getFunctions(); local
199 const glw::Functions& gl = m_renderCtx.getFunctions(); local
218 const glw::Functions& gl = m_renderCtx.getFunctions(); local
229 const glw::Functions& gl = m_renderCtx.getFunctions(); local
241 const glw::Functions& gl = m_renderCtx.getFunctions(); local
249 const glw::Functions& gl = m_renderCtx.getFunctions(); local
255 const glw::Functions& gl = m_renderCtx.getFunctions(); local
263 const glw::Functions& gl = m_renderCtx.getFunctions(); local
271 const glw::Functions& gl = m_renderCtx.getFunctions(); local
    [all...]
gluTexture.cpp 58 const glw::Functions& gl = context.getFunctions(); local
59 gl.genTextures(1, &m_glTexture);
60 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenTextures() failed");
69 const glw::Functions& gl = context.getFunctions(); local
70 gl.genTextures(1, &m_glTexture);
71 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenTextures() failed");
82 const glw::Functions& gl = m_context.getFunctions(); local
85 gl.bindTexture(GL_TEXTURE_1D, m_glTexture);
86 gl.pixelStorei(GL_UNPACK_ALIGNMENT, computePixelStore(m_refTexture.getFormat()));
87 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed")
112 const glw::Functions& gl = context.getFunctions(); local
124 const glw::Functions& gl = context.getFunctions(); local
136 const glw::Functions& gl = context.getFunctions(); local
163 const glw::Functions& gl = m_context.getFunctions(); local
189 const glw::Functions& gl = m_context.getFunctions(); local
295 const glw::Functions& gl = m_context.getFunctions(); local
323 const glw::Functions& gl = m_context.getFunctions(); local
335 const glw::Functions& gl = m_context.getFunctions(); local
364 const glw::Functions& gl = m_context.getFunctions(); local
393 const glw::Functions& gl = m_context.getFunctions(); local
463 const glw::Functions& gl = m_context.getFunctions(); local
474 const glw::Functions& gl = m_context.getFunctions(); local
487 const glw::Functions& gl = m_context.getFunctions(); local
518 const glw::Functions& gl = m_context.getFunctions(); local
530 const glw::Functions& gl = m_context.getFunctions(); local
543 const glw::Functions& gl = m_context.getFunctions(); local
578 const glw::Functions& gl = m_context.getFunctions(); local
590 const glw::Functions& gl = m_context.getFunctions(); local
603 const glw::Functions& gl = m_context.getFunctions(); local
638 const glw::Functions& gl = m_context.getFunctions(); local
650 const glw::Functions& gl = m_context.getFunctions(); local
663 const glw::Functions& gl = m_context.getFunctions(); local
715 const glw::Functions& gl = m_context.getFunctions(); local
793 const glw::Functions& gl = m_context.getFunctions(); local
803 const glw::Functions& gl = m_context.getFunctions(); local
    [all...]
  /external/deqp/modules/egl/
teglNativeColorMappingTests.cpp 83 deUint32 createGLES2Program (const glw::Functions& gl, TestLog& log)
112 program = gl.createProgram();
113 vertexShader = gl.createShader(GL_VERTEX_SHADER);
114 fragmentShader = gl.createShader(GL_FRAGMENT_SHADER);
116 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to create shaders and program");
118 gl.shaderSource(vertexShader, 1, &vertexShaderSource, DE_NULL);
119 gl.compileShader(vertexShader);
120 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to setup vertex shader");
122 gl.shaderSource(fragmentShader, 1, &fragmentShaderSource, DE_NULL);
123 gl.compileShader(fragmentShader)
501 glw::Functions gl; local
    [all...]
teglSwapBuffersTests.cpp 119 deUint32 createGLES2Program (const glw::Functions& gl, TestLog& log)
147 program = gl.createProgram();
148 vertexShader = gl.createShader(GL_VERTEX_SHADER);
149 fragmentShader = gl.createShader(GL_FRAGMENT_SHADER);
151 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to create shaders and program");
153 gl.shaderSource(vertexShader, 1, &vertexShaderSource, DE_NULL);
154 gl.compileShader(vertexShader);
155 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to setup vertex shader");
157 gl.shaderSource(fragmentShader, 1, &fragmentShaderSource, DE_NULL);
158 gl.compileShader(fragmentShader)
292 glw::Functions gl; local
    [all...]

Completed in 1499 milliseconds

1 2 3 4 5 67 8 91011>>