Searched refs:glContext (Results 1 - 11 of 11) sorted by relevance

/external/skia/example/
H A DSkiaSDLExample.cpp112 SDL_GLContext glContext = nullptr; local
168 glContext = SDL_GL_CreateContext(window);
169 if (!glContext) {
174 int success = SDL_GL_MakeCurrent(window, glContext);
258 if (glContext) {
259 SDL_GL_DeleteContext(glContext);
/external/webrtc/talk/app/webrtc/objc/
H A DRTCEAGLVideoView.m139 EAGLContext* glContext =
141 if (!glContext) {
142 glContext = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2];
144 _glRenderer = [[RTCOpenGLVideoRenderer alloc] initWithContext:glContext];
148 context:glContext];
/external/webrtc/webrtc/api/objc/
H A DRTCEAGLVideoView.m121 EAGLContext *glContext =
123 if (!glContext) {
124 glContext = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2];
126 _glRenderer = [[RTCOpenGLVideoRenderer alloc] initWithContext:glContext];
130 context:glContext];
/external/skia/tests/
H A DRectangleTextureTest.cpp91 sk_gpu_test::GLTestContext* glContext = ctxInfo.glContext(); local
103 GrGLuint rectTexID = glContext->createTextureRectangle(kWidth, kHeight, GR_GL_RGBA,
140 GR_GL_CALL(glContext->gl(), DeleteTextures(1, &rectTexID));
163 GR_GL_CALL(glContext->gl(), DeleteTextures(1, &rectTexID));
H A DEGLImageTest.cpp47 sk_gpu_test::GLTestContext* glCtx0 = ctxInfo.glContext();
/external/skia/tools/skiaserve/
H A DRequest.cpp77 GrContextFactory::ContextOverrides::kNone).glContext();
80 GrContextFactory::ContextOverrides::kNone).glContext();
84 GrContextFactory::ContextOverrides::kNone).glContext();
/external/skia/tools/gpu/
H A DGrContextFactory.h33 GLTestContext* glContext() const { function in class:sk_gpu_test::ContextInfo
/external/skia/src/gpu/gl/
H A DGrGLRenderTarget.cpp100 if (kChromium_GrGLDriver != gpu->glContext().driver()) {
130 if (kChromium_GrGLDriver != gpu->glContext().driver()) {
H A DGrGLGpu.h46 const GrGLContext& glContext() const { return *fGLContext; } function in class:final
118 return &this->glContext();
H A DGrGLGpu.cpp190 GrGLContext* glContext = GrGLContext::Create(glInterface.get(), options); local
191 if (glContext) {
192 return new GrGLGpu(glContext, context);
260 this->glContext().extensions().print();
2191 if (this->glContext().driver() == kChromium_GrGLDriver) {
2556 if (kChromium_GrGLDriver != this->glContext().driver()) {
/external/skia/src/gpu/gl/builders/
H A DGrGLProgramBuilder.cpp79 GrGLuint shaderId = GrGLCompileAndAttachShader(gpu->glContext(),

Completed in 252 milliseconds