/external/skqp/tools/fiddle/ |
D | egl_context.cpp | 21 std::unique_ptr<sk_gpu_test::GLTestContext>* glContext) { in create_grcontext() argument 23 glContext->reset(sk_gpu_test::CreatePlatformGLTestContext(kGLES_GrGLStandard)); in create_grcontext() 24 if (!glContext) { in create_grcontext() 27 (*glContext)->makeCurrent(); in create_grcontext() 28 sk_sp<GrContext> result = (*glContext)->makeGrContext(GrContextOptions()); in create_grcontext() 30 glContext->reset(); in create_grcontext()
|
D | null_context.cpp | 12 std::unique_ptr<sk_gpu_test::GLTestContext>* glContext) { in create_grcontext() argument
|
D | fiddle_main.h | 95 std::unique_ptr<sk_gpu_test::GLTestContext>* glContext);
|
D | fiddle_main.cpp | 282 std::unique_ptr<sk_gpu_test::GLTestContext> glContext; in main() local 283 sk_sp<GrContext> grContext = create_grcontext(gGLDriverInfo, &glContext); in main()
|
/external/skia/tools/fiddle/ |
D | egl_context.cpp | 21 std::unique_ptr<sk_gpu_test::GLTestContext>* glContext) { in create_grcontext() argument 23 glContext->reset(sk_gpu_test::CreatePlatformGLTestContext(kGLES_GrGLStandard)); in create_grcontext() 24 if (!glContext) { in create_grcontext() 27 (*glContext)->makeCurrent(); in create_grcontext() 28 sk_sp<GrContext> result = (*glContext)->makeGrContext(GrContextOptions()); in create_grcontext() 30 glContext->reset(); in create_grcontext()
|
D | null_context.cpp | 12 std::unique_ptr<sk_gpu_test::GLTestContext>* glContext) { in create_grcontext() argument
|
D | fiddle_main.h | 95 std::unique_ptr<sk_gpu_test::GLTestContext>* glContext);
|
D | fiddle_main.cpp | 282 std::unique_ptr<sk_gpu_test::GLTestContext> glContext; in main() local 283 sk_sp<GrContext> grContext = create_grcontext(gGLDriverInfo, &glContext); in main()
|
/external/skia/example/ |
D | SkiaSDLExample.cpp | 116 SDL_GLContext glContext = nullptr; local 172 glContext = SDL_GL_CreateContext(window); 173 if (!glContext) { 178 int success = SDL_GL_MakeCurrent(window, glContext); 284 if (glContext) { 285 SDL_GL_DeleteContext(glContext);
|
/external/skqp/example/ |
D | SkiaSDLExample.cpp | 116 SDL_GLContext glContext = nullptr; local 172 glContext = SDL_GL_CreateContext(window); 173 if (!glContext) { 178 int success = SDL_GL_MakeCurrent(window, glContext); 284 if (glContext) { 285 SDL_GL_DeleteContext(glContext);
|
/external/skia/tests/ |
D | TextureBindingsResetTest.cpp | 16 #define GL(F) GR_GL_CALL(ctxInfo.glContext()->gl(), F) in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 107 GrEGLImage eglImage = ctxInfo.glContext()->texture2DToEGLImage(info2D.fID); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 110 infoExternal.fID = ctxInfo.glContext()->eglImageToExternalTexture(eglImage); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 128 ctxInfo.glContext()->destroyEGLImage(eglImage); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 134 GrGLuint id = ctxInfo.glContext()->createTextureRectangle(10, 10, GR_GL_RGBA, GR_GL_RGBA, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | RectangleTextureTest.cpp | 97 sk_gpu_test::GLTestContext* glContext = ctxInfo.glContext(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local 111 GrGLuint rectTexID = glContext->createTextureRectangle(kWidth, kHeight, GR_GL_RGBA, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 143 GR_GL_CALL(glContext->gl(), DeleteTextures(1, &rectTexID)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 174 GR_GL_CALL(glContext->gl(), DeleteTextures(1, &rectTexID)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
/external/skqp/tests/ |
D | RectangleTextureTest.cpp | 97 sk_gpu_test::GLTestContext* glContext = ctxInfo.glContext(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local 111 GrGLuint rectTexID = glContext->createTextureRectangle(kWidth, kHeight, GR_GL_RGBA, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 143 GR_GL_CALL(glContext->gl(), DeleteTextures(1, &rectTexID)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 175 GR_GL_CALL(glContext->gl(), DeleteTextures(1, &rectTexID)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
/external/skqp/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.cpp | 92 GrGLuint shaderId = GrGLCompileAndAttachShader(gpu->glContext(), in compileAndAttachShaders() 119 std::unique_ptr<SkSL::Program> program = GrSkSLtoGLSL(gpu()->glContext(), type, in compileAndAttachShaders() 283 std::unique_ptr<SkSL::Program> fs = GrSkSLtoGLSL(gpu()->glContext(), in finalize() 308 std::unique_ptr<SkSL::Program> vs = GrSkSLtoGLSL(gpu()->glContext(), in finalize() 330 gs = GrSkSLtoGLSL(gpu()->glContext(), in finalize() 351 GrGLPrintShader(fGpu->glContext(), in finalize() 359 GrGLPrintShader(fGpu->glContext(), in finalize() 366 GrGLPrintShader(fGpu->glContext(), in finalize()
|
/external/skia/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.cpp | 92 GrGLuint shaderId = GrGLCompileAndAttachShader(gpu->glContext(), in compileAndAttachShaders() 119 std::unique_ptr<SkSL::Program> program = GrSkSLtoGLSL(gpu()->glContext(), type, in compileAndAttachShaders() 338 std::unique_ptr<SkSL::Program> fs = GrSkSLtoGLSL(gpu()->glContext(), in finalize() 365 std::unique_ptr<SkSL::Program> vs = GrSkSLtoGLSL(gpu()->glContext(), in finalize() 394 gs = GrSkSLtoGLSL(gpu()->glContext(), in finalize() 420 GrGLPrintShader(fGpu->glContext(), in finalize() 428 GrGLPrintShader(fGpu->glContext(), in finalize() 435 GrGLPrintShader(fGpu->glContext(), 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/skqp/src/gpu/gl/ |
D | GrGLRenderTarget.cpp | 124 if (kChromium_GrGLDriver != gpu->glContext().driver()) { in completeStencilAttachment() 154 if (kChromium_GrGLDriver != gpu->glContext().driver()) { in completeStencilAttachment()
|
D | GrGLGpu.h | 44 const GrGLContext& glContext() const { return *fGLContext; } in glContext() function 150 const GrGLContext* glContextForTesting() const override { return &this->glContext(); } in glContextForTesting()
|
/external/skia/src/gpu/gl/ |
D | GrGLRenderTarget.cpp | 124 if (kChromium_GrGLDriver != gpu->glContext().driver()) { in completeStencilAttachment() 154 if (kChromium_GrGLDriver != gpu->glContext().driver()) { in completeStencilAttachment()
|
D | GrGLGpu.h | 44 const GrGLContext& glContext() const { return *fGLContext; } in glContext() function 150 const GrGLContext* glContextForTesting() const override { return &this->glContext(); } in glContextForTesting()
|
/external/skia/tools/skiaserve/ |
D | Request.cpp | 54 GrContextFactory::ContextOverrides::kNone).glContext(); in getCanvas() 57 GrContextFactory::ContextOverrides::kNone).glContext(); in getCanvas()
|
/external/skqp/tools/skiaserve/ |
D | Request.cpp | 54 GrContextFactory::ContextOverrides::kNone).glContext(); in getCanvas() 57 GrContextFactory::ContextOverrides::kNone).glContext(); in getCanvas()
|
/external/skqp/tools/gpu/ |
D | GrContextFactory.h | 178 GLTestContext* glContext() const { in glContext() function
|
/external/skia/tools/gpu/ |
D | GrContextFactory.h | 178 GLTestContext* glContext() const { in glContext() function
|