Home
last modified time | relevance | path

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

/external/skia/example/
DSkiaSDLExample.cpp113 SDL_GLContext glContext = nullptr; local
169 glContext = SDL_GL_CreateContext(window);
170 if (!glContext) {
175 int success = SDL_GL_MakeCurrent(window, glContext);
257 if (glContext) {
258 SDL_GL_DeleteContext(glContext);
/external/skia/tests/
DRectangleTextureTest.cpp91 sk_gpu_test::GLTestContext* glContext = ctxInfo.glContext(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
105 GrGLuint rectTexID = glContext->createTextureRectangle(kWidth, kHeight, GR_GL_RGBA, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
136 GR_GL_CALL(glContext->gl(), DeleteTextures(1, &rectTexID)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
159 GR_GL_CALL(glContext->gl(), DeleteTextures(1, &rectTexID)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DEGLImageTest.cpp48 sk_gpu_test::GLTestContext* glCtx0 = ctxInfo.glContext(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp75 GrGLuint shaderId = GrGLCompileAndAttachShader(gpu->glContext(), in compileAndAttachShaders()
164 GrGLPrintShader(fGpu->glContext(), GR_GL_VERTEX_SHADER, fVS.fCompilerStrings.begin(), in finalize()
169 GrGLPrintShader(fGpu->glContext(), GR_GL_GEOMETRY_SHADER, in finalize()
174 GrGLPrintShader(fGpu->glContext(), GR_GL_FRAGMENT_SHADER, fFS.fCompilerStrings.begin(), in finalize()
/external/webrtc/webrtc/api/objc/
DRTCEAGLVideoView.m121 EAGLContext *glContext =
123 if (!glContext) {
124 glContext = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2];
126 _glRenderer = [[RTCOpenGLVideoRenderer alloc] initWithContext:glContext];
130 context:glContext];
/external/webrtc/talk/app/webrtc/objc/
DRTCEAGLVideoView.m139 EAGLContext* glContext =
141 if (!glContext) {
142 glContext = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2];
144 _glRenderer = [[RTCOpenGLVideoRenderer alloc] initWithContext:glContext];
148 context:glContext];
/external/skia/tools/skiaserve/
DRequest.cpp77 GrContextFactory::ContextOverrides::kNone).glContext(); in getCanvas()
80 GrContextFactory::ContextOverrides::kNone).glContext(); in getCanvas()
84 GrContextFactory::ContextOverrides::kNone).glContext(); in getCanvas()
/external/skia/src/gpu/gl/
DGrGLRenderTarget.cpp102 if (kChromium_GrGLDriver != gpu->glContext().driver()) { in completeStencilAttachment()
132 if (kChromium_GrGLDriver != gpu->glContext().driver()) { in completeStencilAttachment()
DGrGLGpu.h45 const GrGLContext& glContext() const { return *fGLContext; } in glContext() function
140 return &this->glContext(); in glContextForTesting()
DGrGLGpu.cpp200 GrGLContext* glContext = GrGLContext::Create(glInterface.get(), options); in Create() local
201 if (glContext) { in Create()
202 return new GrGLGpu(glContext, context); in Create()
273 this->glContext().extensions().print(); in GrGLGpu()
2076 if (this->glContext().driver() == kChromium_GrGLDriver) { in readPixelsSupported()
2441 if (kChromium_GrGLDriver != this->glContext().driver()) { in flushRenderTarget()
/external/skia/tools/gpu/
DGrContextFactory.h187 GLTestContext* glContext() const { in glContext() function