Searched refs:glContext (Results 1 – 11 of 11) sorted by relevance
/external/skia/example/ |
D | SkiaSDLExample.cpp | 113 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/ |
D | RectangleTextureTest.cpp | 91 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()
|
D | EGLImageTest.cpp | 48 sk_gpu_test::GLTestContext* glCtx0 = ctxInfo.glContext(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
/external/skia/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.cpp | 75 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/ |
D | RTCEAGLVideoView.m | 121 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/ |
D | RTCEAGLVideoView.m | 139 EAGLContext* glContext = 141 if (!glContext) { 142 glContext = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2]; 144 _glRenderer = [[RTCOpenGLVideoRenderer alloc] initWithContext:glContext]; 148 context:glContext];
|
/external/skia/tools/skiaserve/ |
D | Request.cpp | 77 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/ |
D | GrGLRenderTarget.cpp | 102 if (kChromium_GrGLDriver != gpu->glContext().driver()) { in completeStencilAttachment() 132 if (kChromium_GrGLDriver != gpu->glContext().driver()) { in completeStencilAttachment()
|
D | GrGLGpu.h | 45 const GrGLContext& glContext() const { return *fGLContext; } in glContext() function 140 return &this->glContext(); in glContextForTesting()
|
D | GrGLGpu.cpp | 200 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/ |
D | GrContextFactory.h | 187 GLTestContext* glContext() const { in glContext() function
|