/third_party/skia/tools/fiddle/ |
H A D | egl_context.cpp | 22 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 D | fiddle_main.cpp | 263 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 D | VertexArrayMtl.h | 49 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 D | ProgramMtl.h | 148 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 D | mtl_glslang_mtl_utils.h | 44 angle::Result GlslangGetMSL(const gl::Context *glContext,
|
/third_party/skia/tests/ |
H A D | TextureBindingsResetTest.cpp | 19 #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 D | EGLImageTest.cpp | 47 sk_gpu_test::GLTestContext* glCtx0 = ctxInfo.glContext(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
H A D | VkHardwareBufferTest.cpp | 146 fGLCtx = fGLESContextInfo.glContext(); in init()
|
H A D | BackendAllocationTest.cpp | 749 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 D | DisplayGL.cpp | 127 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 D | ProgramPipelineVk.cpp | 54 angle::Result ProgramPipelineVk::link(const gl::Context *glContext, in link() argument 58 ContextVk *contextVk = vk::GetImpl(glContext); in link()
|
H A D | ProgramPipelineVk.h | 42 angle::Result link(const gl::Context *glContext,
|
H A D | ProgramVk.h | 178 angle::Result initDefaultUniformBlocks(const gl::Context *glContext);
|
H A D | ProgramVk.cpp | 309 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 D | Request.cpp | 58 GrContextFactory::ContextOverrides::kNone).glContext(); in getCanvas() 61 GrContextFactory::ContextOverrides::kNone).glContext(); in getCanvas()
|
/third_party/skia/tools/gpu/ |
H A D | GrContextFactory.h | 185 GLTestContext* glContext() const { in glContext() function in sk_gpu_test::ContextInfo
|
/third_party/skia/src/gpu/gl/builders/ |
H A D | GrGLProgramBuilder.cpp | 105 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 D | GrGLGpu.h | 43 const GrGLContext& glContext() const { return *fGLContext; } in glContext() function in final 175 const GrGLContext* glContextForTesting() const override { return &this->glContext(); }
|
H A D | GrGLGpu.cpp | 333 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()
|