/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 | 22 std::unique_ptr<sk_gpu_test::GLTestContext>* glContext) { in create_direct_context() argument 23 glContext->reset(sk_gpu_test::CreatePlatformGLTestContext(kGLES_GrGLStandard)); in create_direct_context() 24 if (!glContext) { in create_direct_context() 27 (*glContext)->makeCurrent(); in create_direct_context() 28 sk_sp<GrDirectContext> result = (*glContext)->makeContext(GrContextOptions()); in create_direct_context() 30 glContext->reset(); in create_direct_context()
|
D | fiddle_main.cpp | 261 std::unique_ptr<sk_gpu_test::GLTestContext> glContext; in main() local 262 sk_sp<GrDirectContext> direct = create_direct_context(gGLDriverInfo, &glContext); in main()
|
/external/angle/src/libANGLE/renderer/metal/ |
D | VertexArrayMtl.h | 49 angle::Result setupDraw(const gl::Context *glContext, 54 angle::Result getIndexBuffer(const gl::Context *glContext, 70 angle::Result syncDirtyAttrib(const gl::Context *glContext, 75 angle::Result convertIndexBuffer(const gl::Context *glContext, 81 angle::Result streamIndexBufferFromClient(const gl::Context *glContext, 89 angle::Result convertIndexBufferGPU(const gl::Context *glContext, 96 angle::Result convertVertexBuffer(const gl::Context *glContext, 110 angle::Result convertVertexBufferGPU(const gl::Context *glContext,
|
D | ProgramMtl.h | 148 angle::Result setupDraw(const gl::Context *glContext, 175 angle::Result initDefaultUniformBlocks(const gl::Context *glContext); 176 angle::Result resizeDefaultUniformBlocksMemory(const gl::Context *glContext, 179 angle::Result loadDefaultUniformBlocksInfo(const gl::Context *glContext, 183 angle::Result updateTextures(const gl::Context *glContext, 215 angle::Result linkImplSpirv(const gl::Context *glContext, 220 angle::Result linkImplDirect(const gl::Context *glContext, 225 angle::Result linkImpl(const gl::Context *glContext, 229 angle::Result linkTranslatedShaders(const gl::Context *glContext,
|
D | VertexArrayMtl.mm | 348 angle::Result VertexArrayMtl::setupDraw(const gl::Context *glContext, 358 ContextMtl *contextMtl = mtl::GetImpl(glContext); 363 const gl::ProgramExecutable *executable = glContext->getState().getProgramExecutable(); 366 const gl::ProgramState &programState = glContext->getState().getProgram()->getState(); 604 angle::Result VertexArrayMtl::syncDirtyAttrib(const gl::Context *glContext, 609 ContextMtl *contextMtl = mtl::GetImpl(glContext); 629 ANGLE_TRY(convertVertexBuffer(glContext, bufferMtl, binding, attribIndex, format)); 703 angle::Result VertexArrayMtl::convertIndexBuffer(const gl::Context *glContext, 720 ContextMtl *contextMtl = mtl::GetImpl(glContext); 721 const gl::State &glState = glContext->getState(); [all …]
|
D | ProgramMtl.mm | 363 angle::Result ProgramMtl::linkImplSpirv(const gl::Context *glContext, 367 ContextMtl *contextMtl = mtl::GetImpl(glContext); 371 ANGLE_TRY(initDefaultUniformBlocks(glContext)); 411 angle::Result ProgramMtl::linkImplDirect(const gl::Context *glContext, 415 ContextMtl *contextMtl = mtl::GetImpl(glContext); 418 ANGLE_TRY(initDefaultUniformBlocks(glContext)); 425 ANGLE_TRY(mtl::GlslangGetMSL(glContext, mState, contextMtl->getCaps(), shaderSources, 442 angle::Result ProgramMtl::linkImpl(const gl::Context *glContext, 449 return linkImplDirect(glContext, resources, infoLog); 453 return linkImplSpirv(glContext, resources, infoLog); [all …]
|
D | mtl_glslang_mtl_utils.h | 43 angle::Result GlslangGetMSL(const gl::Context *glContext,
|
/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/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/skia/tests/ |
D | TextureBindingsResetTest.cpp | 19 #define GL(F) GR_GL_CALL(ctxInfo.glContext()->gl(), F) in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 110 GrEGLImage eglImage = ctxInfo.glContext()->texture2DToEGLImage(info2D.fID); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 113 infoExternal.fID = ctxInfo.glContext()->eglImageToExternalTexture(eglImage); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 131 ctxInfo.glContext()->destroyEGLImage(eglImage); 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/angle/src/libANGLE/renderer/vulkan/ |
D | ProgramPipelineVk.cpp | 55 angle::Result ProgramPipelineVk::link(const gl::Context *glContext, in link() argument 59 ContextVk *contextVk = vk::GetImpl(glContext); in link() 60 const gl::State &glState = glContext->getState(); in link() 119 return mExecutable.createPipelineLayout(glContext, nullptr); in link()
|
D | ProgramPipelineVk.h | 48 angle::Result link(const gl::Context *glContext,
|
/external/angle/src/libANGLE/renderer/gl/ |
D | DisplayGL.cpp | 118 ContextGL *glContext = GetImplAs<ContextGL>(context); in makeCurrent() local 119 glContext->getStateManager()->pauseTransformFeedback(); in makeCurrent()
|
/external/webrtc/sdk/objc/components/renderer/opengl/ |
D | RTCEAGLVideoView.m | 93 EAGLContext *glContext = 95 if (!glContext) { 96 glContext = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2]; 98 if (!glContext) { 102 _glContext = glContext;
|
/external/angle/src/libANGLE/renderer/gl/cgl/ |
D | WindowSurfaceCGL.mm | 83 - (BOOL)canDrawInCGLContext:(CGLContextObj)glContext 103 - (void)drawInCGLContext:(CGLContextObj)glContext 108 CGLSetCurrentContext(glContext); 140 [super drawInCGLContext: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()
|
/external/skqp/tools/skiaserve/ |
D | Request.cpp | 54 GrContextFactory::ContextOverrides::kNone).glContext(); in getCanvas() 57 GrContextFactory::ContextOverrides::kNone).glContext(); in getCanvas()
|
/external/skia/tools/skiaserve/ |
D | Request.cpp | 58 GrContextFactory::ContextOverrides::kNone).glContext(); in getCanvas() 61 GrContextFactory::ContextOverrides::kNone).glContext(); in getCanvas()
|
/external/skqp/tools/gpu/ |
D | GrContextFactory.h | 178 GLTestContext* glContext() const { in glContext() function
|