Lines Matching defs:context
25 * GL context and a GrContext that uses it. The GL/Gr contexts persist until the
31 // The availability of context types is subject to platform and build configuration
34 kGL_ContextType, //! OpenGL context.
35 kGLES_ContextType, //! OpenGL ES context.
36 kANGLE_D3D9_ES2_ContextType, //! ANGLE on Direct3D9 OpenGL ES 2 context.
37 kANGLE_D3D11_ES2_ContextType, //! ANGLE on Direct3D11 OpenGL ES 2 context.
38 kANGLE_D3D11_ES3_ContextType, //! ANGLE on Direct3D11 OpenGL ES 3 context.
39 kANGLE_GL_ES2_ContextType, //! ANGLE on OpenGL OpenGL ES 2 context.
40 kANGLE_GL_ES3_ContextType, //! ANGLE on OpenGL OpenGL ES 3 context.
41 kCommandBuffer_ES2_ContextType, //! Chromium command buffer OpenGL ES 2 context.
42 kCommandBuffer_ES3_ContextType, //! Chromium command buffer OpenGL ES 3 context.
47 kMock_ContextType, //! Mock context that does not draw.
55 * features that will cause context creation to fail if not present.
134 * Get a context initialized with a type of GL context. It also makes the GL context current.
139 * Get a context in the same share group as the passed in GrContext, with the same type and
146 * Get a GrContext initialized with a type of GL context. It also makes the GL context current.
196 GrDirectContext* context,
198 : fType(type), fTestContext(testContext), fContext(context), fOptions(options) {}