Searched refs:gl_ (Results 1 - 25 of 45) sorted by relevance

12

/external/chromium_org/gpu/command_buffer/service/
H A Dgles2_cmd_decoder_unittest_0_autogen.h26 EXPECT_CALL(*gl_, BlendColor(0.0f, 0.0f, 0.0f, 0.0f))
29 EXPECT_CALL(*gl_, BlendEquationSeparate(GL_FUNC_ADD, GL_FUNC_ADD))
32 EXPECT_CALL(*gl_, BlendFuncSeparate(GL_ONE, GL_ZERO, GL_ONE, GL_ZERO))
35 EXPECT_CALL(*gl_, ClearColor(0.0f, 0.0f, 0.0f, 0.0f))
38 EXPECT_CALL(*gl_, ClearDepth(1.0f))
41 EXPECT_CALL(*gl_, ClearStencil(0))
44 EXPECT_CALL(*gl_, ColorMask(true, true, true, true))
47 EXPECT_CALL(*gl_, CullFace(GL_BACK))
50 EXPECT_CALL(*gl_, DepthFunc(GL_LESS))
53 EXPECT_CALL(*gl_, DepthMas
[all...]
H A Dgles2_cmd_decoder_unittest_1.cc48 EXPECT_CALL(*gl_, TexParameteri(
52 EXPECT_CALL(*gl_, TexParameteri(
56 EXPECT_CALL(*gl_, GetError())
98 EXPECT_CALL(*gl_, GetError())
119 EXPECT_CALL(*gl_,
135 EXPECT_CALL(*gl_, GetError())
148 EXPECT_CALL(*gl_, GetError())
182 EXPECT_CALL(*gl_, GetError())
185 EXPECT_CALL(*gl_, GetError())
208 EXPECT_CALL(*gl_,
[all...]
H A Dgles2_cmd_decoder_unittest_base.cc76 EXPECT_CALL(*gl_, VertexAttrib4f(ii, 0.0f, 0.0f, 0.0f, 1.0f))
92 gl_.reset(new StrictMock<MockGLInterface>());
93 ::gfx::GLInterface::SetGLInterface(gl_.get());
114 TestHelper::SetupContextGroupInitExpectations(gl_.get(),
128 EXPECT_CALL(*gl_, EnableVertexAttribArray(0))
137 EXPECT_CALL(*gl_, GenBuffersARB(arraysize(attrib_0_id), _))
141 EXPECT_CALL(*gl_, BindBuffer(GL_ARRAY_BUFFER, kServiceAttrib0BufferId))
144 EXPECT_CALL(*gl_, VertexAttribPointer(0, 1, GL_FLOAT, GL_FALSE, 0, NULL))
147 EXPECT_CALL(*gl_, BindBuffer(GL_ARRAY_BUFFER, 0))
150 EXPECT_CALL(*gl_, GenBuffersAR
[all...]
H A Dvertex_array_manager_unittest.cc32 gl_.reset(new ::testing::StrictMock< ::gfx::MockGLInterface>());
33 ::gfx::GLInterface::SetGLInterface(gl_.get());
41 gl_.reset();
45 scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; member in class:gpu::gles2::VertexArrayManagerTest
74 EXPECT_CALL(*gl_, DeleteVertexArraysOES(1, ::testing::Pointee(kService1Id)))
91 EXPECT_CALL(*gl_, DeleteVertexArraysOES(1, ::testing::Pointee(kService1Id)))
H A Dgles2_cmd_decoder_unittest_1_autogen.h16 EXPECT_CALL(*gl_, AttachShader(kServiceProgramId, kServiceShaderId));
30 EXPECT_CALL(*gl_, BindBuffer(GL_ARRAY_BUFFER, kServiceBufferId));
39 EXPECT_CALL(*gl_, BindBuffer(GL_ARRAY_BUFFER, kNewServiceId));
40 EXPECT_CALL(*gl_, GenBuffersARB(1, _))
51 EXPECT_CALL(*gl_, BindBuffer(_, _)).Times(0);
60 EXPECT_CALL(*gl_, BindFramebufferEXT(GL_FRAMEBUFFER, kServiceFramebufferId));
69 EXPECT_CALL(*gl_, BindFramebufferEXT(GL_FRAMEBUFFER, kNewServiceId));
70 EXPECT_CALL(*gl_, GenFramebuffersEXT(1, _))
81 EXPECT_CALL(*gl_, BindFramebufferEXT(_, _)).Times(0);
90 EXPECT_CALL(*gl_, BindFramebufferEX
[all...]
H A Dgles2_cmd_decoder_unittest_2_autogen.h31 EXPECT_CALL(*gl_, GetVertexAttribiv(_, _, _)).Times(0);
43 EXPECT_CALL(*gl_, GetVertexAttribiv(_, _, _)).Times(0);
59 EXPECT_CALL(*gl_, Hint(GL_GENERATE_MIPMAP_HINT, GL_FASTEST));
68 EXPECT_CALL(*gl_, Hint(_, _)).Times(0);
102 EXPECT_CALL(*gl_, IsEnabled(_)).Times(0);
111 EXPECT_CALL(*gl_, IsEnabled(_)).Times(0);
218 EXPECT_CALL(*gl_, LineWidth(0.5f));
235 EXPECT_CALL(*gl_, LinkProgram(kServiceProgramId));
246 EXPECT_CALL(*gl_, PolygonOffset(1, 2));
266 EXPECT_CALL(*gl_, RenderbufferStorageEX
[all...]
H A Dquery_manager_unittest.cc41 gl_.reset(new ::testing::StrictMock< ::gfx::MockGLInterface>());
42 ::gfx::GLInterface::SetGLInterface(gl_.get());
47 gl_.get(),
60 gl_.reset();
66 EXPECT_CALL(*gl_, GenQueriesARB(1, _))
74 EXPECT_CALL(*gl_, BeginQueryARB(query->target(), service_id))
77 EXPECT_CALL(*gl_, EndQueryARB(query->target()))
85 scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; member in class:gpu::gles2::QueryManagerTest
184 EXPECT_CALL(*gl_, DeleteQueriesARB(1, ::testing::Pointee(kService1Id)))
242 EXPECT_CALL(*gl_,
[all...]
H A Dgles2_cmd_decoder_unittest_2.cc101 EXPECT_CALL(*gl_,
105 EXPECT_CALL(*gl_,
109 EXPECT_CALL(*gl_, GetProgramiv(kServiceProgramId, GL_LINK_STATUS, _))
111 EXPECT_CALL(*gl_,
115 EXPECT_CALL(*gl_, GetProgramiv(kServiceProgramId, GL_ACTIVE_ATTRIBUTES, _))
118 *gl_,
121 EXPECT_CALL(*gl_, GetProgramiv(kServiceProgramId, GL_ACTIVE_UNIFORMS, _))
124 *gl_,
142 EXPECT_CALL(*gl_, LinkProgram(kServiceProgramId))
150 EXPECT_CALL(*gl_,
[all...]
H A Dgles2_cmd_decoder_unittest.cc147 EXPECT_CALL(*gl_, DrawArrays(GL_TRIANGLES, 0, kNumVertices))
160 EXPECT_CALL(*gl_, DrawArrays(_, _, _))
173 EXPECT_CALL(*gl_, DrawArrays(_, _, _))
188 EXPECT_CALL(*gl_, DrawArrays(_, _, _))
206 EXPECT_CALL(*gl_, ActiveTexture(GL_TEXTURE0))
209 EXPECT_CALL(*gl_, BindTexture(
213 EXPECT_CALL(*gl_, DrawArrays(GL_TRIANGLES, 0, kNumVertices))
216 EXPECT_CALL(*gl_, ActiveTexture(GL_TEXTURE0))
219 EXPECT_CALL(*gl_, BindTexture(GL_TEXTURE_2D, kServiceTextureId))
222 EXPECT_CALL(*gl_, ActiveTextur
[all...]
H A Dvertex_attrib_manager_unittest.cc33 gl_.reset(new ::testing::StrictMock< ::gfx::MockGLInterface>());
34 ::gfx::GLInterface::SetGLInterface(gl_.get());
37 EXPECT_CALL(*gl_, VertexAttrib4f(ii, 0.0f, 0.0f, 0.0f, 1.0f))
49 gl_.reset();
53 scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; member in class:gpu::gles2::VertexAttribManagerTest
162 gl_.get(), &error_state, &buffer_manager, buffer, 15, GL_STATIC_DRAW,
167 gl_.get(), &error_state, &buffer_manager, buffer, 16, GL_STATIC_DRAW,
176 gl_.get(), &error_state, &buffer_manager, buffer, 32, GL_STATIC_DRAW,
H A Drenderbuffer_manager_unittest.cc25 gl_.reset(new ::testing::StrictMock<gfx::MockGLInterface>());
26 ::gfx::GLInterface::SetGLInterface(gl_.get());
35 gl_.reset();
39 scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; member in class:gpu::gles2::RenderbufferManagerTestBase
92 EXPECT_CALL(*gl_, DeleteRenderbuffersEXT(1, ::testing::Pointee(kService1Id)))
111 EXPECT_CALL(*gl_, DeleteRenderbuffersEXT(1, ::testing::Pointee(kService1Id)))
159 EXPECT_CALL(*gl_, DeleteRenderbuffersEXT(1, ::testing::Pointee(kService1Id)))
196 EXPECT_CALL(*gl_, DeleteRenderbuffersEXT(1, ::testing::Pointee(kService1Id)))
221 EXPECT_CALL(*gl_, DeleteRenderbuffersEXT(1, ::testing::Pointee(kService1Id)))
289 EXPECT_CALL(*gl_, DeleteRenderbuffersEX
[all...]
/external/chromium_org/gpu/command_buffer/client/
H A Dgles2_trace_implementation.cc12 : gl_(gl) {
H A Dgles2_trace_implementation_impl_autogen.h15 gl_->ActiveTexture(texture);
20 gl_->AttachShader(program, shader);
26 gl_->BindAttribLocation(program, index, name);
31 gl_->BindBuffer(target, buffer);
37 gl_->BindFramebuffer(target, framebuffer);
43 gl_->BindRenderbuffer(target, renderbuffer);
48 gl_->BindTexture(target, texture);
54 gl_->BlendColor(red, green, blue, alpha);
59 gl_->BlendEquation(mode);
65 gl_
[all...]
H A Dgles2_trace_implementation.h27 GLES2Interface* gl_; member in class:gpu::gles2::GLES2TraceImplementation
H A Dgles2_implementation_unittest_autogen.h22 gl_->AttachShader(1, 2);
34 gl_->BindBuffer(GL_ARRAY_BUFFER, 2);
37 gl_->BindBuffer(GL_ARRAY_BUFFER, 2);
48 gl_->BindFramebuffer(GL_FRAMEBUFFER, 2);
51 gl_->BindFramebuffer(GL_FRAMEBUFFER, 2);
62 gl_->BindRenderbuffer(GL_RENDERBUFFER, 2);
65 gl_->BindRenderbuffer(GL_RENDERBUFFER, 2);
76 gl_->BlendColor(1, 2, 3, 4);
87 gl_->BlendEquation(GL_FUNC_SUBTRACT);
98 gl_
[all...]
H A Dgles2_implementation_unittest.cc353 return gl_->query_tracker_->GetQuery(id);
399 gl_.reset(new GLES2Implementation(
405 ASSERT_TRUE(gl_->Initialize(
415 ::testing::Mock::VerifyAndClearExpectations(gl_.get());
458 gl_->share_group()->set_program_info_manager(manager);
467 return gl_->GetError();
471 return gl_->GetBucketContents(bucket_id, data);
478 scoped_ptr<GLES2Implementation> gl_; member in class:gpu::gles2::GLES2ImplementationTest
488 Mock::VerifyAndClear(gl_.get());
493 gl_
[all...]
/external/chromium_org/gpu/command_buffer/tests/
H A Dgl_chromium_framebuffer_multisample_unittest.cc19 gl_.Initialize(GLManager::Options());
23 gl_.Destroy();
26 GLManager gl_; member in class:gpu::GLChromiumFramebufferMultisampleTest
H A Dgl_unittests_android.cc26 gl_.Initialize(GLManager::Options());
30 gl_.Destroy();
33 GLManager gl_; member in class:gpu::GLSurfaceTextureTest
50 gl_.SetSurface(gl_surface.get());
H A Dgl_readback_unittests.cc22 gl_.Initialize(GLManager::Options());
26 gl_.Destroy();
48 GLManager gl_; member in class:gpu::GLReadbackTest
H A Dgl_query_unittests.cc20 gl_.Initialize(GLManager::Options());
24 gl_.Destroy();
27 GLManager gl_; member in class:gpu::QueryTest
H A Dgl_texture_storage_unittests.cc21 gl_.Initialize(options);
22 gl_.MakeCurrent();
41 gl_.Destroy();
44 GLManager gl_; member in class:gpu::TextureStorageTest
H A Dgl_unittests.cc18 gl_.Initialize(GLManager::Options());
22 gl_.Destroy();
25 GLManager gl_; member in class:gpu::GLTest
/external/chromium_org/gpu/config/
H A Dgpu_info_collector_unittest.cc28 gl_.reset(new ::testing::StrictMock< ::gfx::MockGLInterface>());
29 ::gfx::GLInterface::SetGLInterface(gl_.get());
86 EXPECT_CALL(*gl_, GetString(GL_EXTENSIONS))
89 EXPECT_CALL(*gl_, GetString(GL_SHADING_LANGUAGE_VERSION))
92 EXPECT_CALL(*gl_, GetString(GL_VERSION))
95 EXPECT_CALL(*gl_, GetString(GL_VENDOR))
98 EXPECT_CALL(*gl_, GetString(GL_RENDERER))
105 gl_.reset();
110 scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; member in class:gpu::GPUInfoCollectorTest
/external/chromium_org/webkit/common/gpu/
H A Dwebgraphicscontext3d_in_process_command_buffer_impl.cc117 gl_(NULL),
183 gl_ = context_->GetImplementation();
185 if (gl_ && attributes_.noExtensions)
186 gl_->EnableFeatureCHROMIUM("webgl_enable_glsl_webgl_validation");
211 ::gles2::SetGLContext(gl_);
239 gl_->SwapBuffers();
240 gl_->ShallowFlushCHROMIUM();
246 gl_->PostSubBufferCHROMIUM(x, y, width, height);
262 gl_->ResizeCHROMIUM(width, height, scale_factor);
279 return gl_
[all...]
/external/chromium_org/content/common/gpu/client/
H A Dwebgraphicscontext3d_command_buffer_impl.cc104 gl_->glname(); \
109 return gl_->glname(); \
114 gl_->glname(a1); \
119 return gl_->glname(a1); \
124 return gl_->glname(a1) ? true : false; \
129 gl_->glname(a1, a2); \
134 return gl_->glname(a1, a2); \
139 gl_->glname(a1, a2, a3); \
145 gl_->glname(a1, a2, a3, a4); \
151 return gl_
[all...]

Completed in 237 milliseconds

12