Home
last modified time | relevance | path

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

/third_party/skia/tools/fiddle/
H A Degl_context.cpp22 std::unique_ptr<sk_gpu_test::GLTestContext>* glContext) { in create_direct_context()
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()
20 create_direct_context( std::ostringstream& driverinfo, std::unique_ptr<sk_gpu_test::GLTestContext>* glContext) create_direct_context() argument
H A Dfiddle_main.cpp263 std::unique_ptr<sk_gpu_test::GLTestContext> glContext; in main() local
264 sk_sp<GrDirectContext> direct = create_direct_context(gGLDriverInfo, &glContext); in main()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
H A DVertexArrayMtl.h49 angle::Result setupDraw(const gl::Context *glContext,
54 angle::Result getIndexBuffer(const gl::Context *glContext,
62 std::vector<DrawCommandRange> getDrawIndices(const gl::Context *glContext,
77 angle::Result syncDirtyAttrib(const gl::Context *glContext,
82 angle::Result convertIndexBuffer(const gl::Context *glContext,
87 angle::Result streamIndexBufferFromClient(const gl::Context *glContext,
94 angle::Result convertIndexBufferGPU(const gl::Context *glContext,
101 angle::Result convertVertexBuffer(const gl::Context *glContext,
115 angle::Result convertVertexBufferGPU(const gl::Context *glContext,
H A DProgramMtl.h148 angle::Result setupDraw(const gl::Context *glContext,
179 angle::Result initDefaultUniformBlocks(const gl::Context *glContext);
180 angle::Result resizeDefaultUniformBlocksMemory(const gl::Context *glContext,
183 angle::Result loadDefaultUniformBlocksInfo(const gl::Context *glContext,
187 angle::Result updateTextures(const gl::Context *glContext,
221 angle::Result linkImplSpirv(const gl::Context *glContext,
226 angle::Result linkImplDirect(const gl::Context *glContext,
231 angle::Result linkImpl(const gl::Context *glContext,
235 angle::Result linkTranslatedShaders(const gl::Context *glContext,
H A Dmtl_glslang_mtl_utils.h44 angle::Result GlslangGetMSL(const gl::Context *glContext,
/third_party/skia/tests/
H A DTextureBindingsResetTest.cpp19 #define GL(F) GR_GL_CALL(ctxInfo.glContext()->gl(), F) in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
111 GrEGLImage eglImage = ctxInfo.glContext()->texture2DToEGLImage(info2D.fID); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
114 infoExternal.fID = ctxInfo.glContext()->eglImageToExternalTexture(eglImage); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
132 ctxInfo.glContext()->destroyEGLImage(eglImage); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
H A DEGLImageTest.cpp47 sk_gpu_test::GLTestContext* glCtx0 = ctxInfo.glContext(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
H A DVkHardwareBufferTest.cpp146 fGLCtx = fGLESContextInfo.glContext(); in init()
H A DBackendAllocationTest.cpp749 sk_gpu_test::GLTestContext* glCtx = ctxInfo.glContext(); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A DDisplayGL.cpp127 ContextGL *glContext = GetImplAs<ContextGL>(context); in makeCurrent() local
128 glContext->getStateManager()->pauseTransformFeedback(); in makeCurrent()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DProgramPipelineVk.cpp54 angle::Result ProgramPipelineVk::link(const gl::Context *glContext, in link() argument
58 ContextVk *contextVk = vk::GetImpl(glContext); in link()
H A DProgramPipelineVk.h42 angle::Result link(const gl::Context *glContext,
H A DProgramVk.h178 angle::Result initDefaultUniformBlocks(const gl::Context *glContext);
H A DProgramVk.cpp309 angle::Result ProgramVk::initDefaultUniformBlocks(const gl::Context *glContext) in initDefaultUniformBlocks() argument
311 ContextVk *contextVk = vk::GetImpl(glContext); in initDefaultUniformBlocks()
/third_party/skia/tools/skiaserve/
H A DRequest.cpp58 GrContextFactory::ContextOverrides::kNone).glContext(); in getCanvas()
61 GrContextFactory::ContextOverrides::kNone).glContext(); in getCanvas()
/third_party/skia/tools/gpu/
H A DGrContextFactory.h185 GLTestContext* glContext() const { in glContext() function in sk_gpu_test::ContextInfo
/third_party/skia/src/gpu/gl/builders/
H A DGrGLProgramBuilder.cpp105 GrGLuint shaderId = GrGLCompileAndAttachShader(gpu->glContext(), in compileAndAttachShaders()
591 if (GrGLuint shaderID = GrGLCompileAndAttachShader(glGpu->glContext(), programID, type, in PrecompileProgram()
/third_party/skia/src/gpu/gl/
H A DGrGLGpu.h43 const GrGLContext& glContext() const { return *fGLContext; } in glContext() function in final
175 const GrGLContext* glContextForTesting() const override { return &this->glContext(); }
H A DGrGLGpu.cpp333 auto glContext = GrGLContext::Make(std::move(interface), options); in Make() local
334 if (!glContext) { in Make()
337 return sk_sp<GrGpu>(new GrGLGpu(std::move(glContext), direct)); in Make()
3867 if (!this->renderbufferStorageMSAA(this->glContext(), sampleCnt, renderBufferFormat, in createTestingOnlyBackendRenderTarget()
3882 if (!this->renderbufferStorageMSAA(this->glContext(), sampleCnt, in createTestingOnlyBackendRenderTarget()

Completed in 20 milliseconds