Home
last modified time | relevance | path

Searched refs:GLTestContext (Results 1 - 23 of 23) sorted by relevance

/third_party/skia/tools/gpu/gl/
H A DGLTestContext.cpp8 #include "tools/gpu/gl/GLTestContext.h"
18 static std::unique_ptr<GLGpuTimer> MakeIfSupported(const sk_gpu_test::GLTestContext*);
26 GLGpuTimer(bool disjointSupport, const sk_gpu_test::GLTestContext*, const char* ext = "");
58 std::unique_ptr<GLGpuTimer> GLGpuTimer::MakeIfSupported(const sk_gpu_test::GLTestContext* ctx) { in MakeIfSupported()
80 GLGpuTimer::GLGpuTimer(bool disjointSupport, const sk_gpu_test::GLTestContext* ctx, const char* ext) in GLGpuTimer()
159 GLTestContext::GLTestContext() : TestContext() {} in GLTestContext() function in sk_gpu_test::GLTestContext
161 GLTestContext::~GLTestContext() { in ~GLTestContext()
166 bool GLTestContext
[all...]
H A DGLTestContext.h21 class GLTestContext : public TestContext { class
23 ~GLTestContext() override;
54 virtual std::unique_ptr<GLTestContext> makeNew() const { return nullptr; } in makeNew()
75 GLTestContext();
102 * context with which to share display lists. This should be a pointer to an GLTestContext created
106 GLTestContext* CreatePlatformGLTestContext(GrGLStandard forcedGpuAPI,
107 GLTestContext *shareContext = nullptr);
/third_party/skia/tools/gpu/gl/win/
H A DCreatePlatformGLTestContext_win.cpp9 #include "tools/gpu/gl/GLTestContext.h"
15 GLTestContext* CreatePlatformGLTestContext(GrGLStandard, GLTestContext*) { return nullptr; } in CreatePlatformGLTestContext()
36 class WinGLTestContext : public sk_gpu_test::GLTestContext {
157 // Allow the GLTestContext creation to succeed without a GrGLInterface to support
223 GLTestContext* CreatePlatformGLTestContext(GrGLStandard forcedGpuAPI,
224 GLTestContext *shareContext) {
/third_party/skia/tests/
H A DEGLImageTest.cpp21 #include "tools/gpu/gl/GLTestContext.h"
25 using sk_gpu_test::GLTestContext;
27 static void cleanup(GLTestContext* glctx0, in cleanup()
29 GLTestContext* glctx1, in cleanup()
47 sk_gpu_test::GLTestContext* glCtx0 = ctxInfo.glContext(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
60 std::unique_ptr<GLTestContext> glCtx1 = glCtx0->makeNew(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
H A DVkHardwareBufferTest.cpp139 sk_gpu_test::GLTestContext* fGLCtx = nullptr;
H A DBackendAllocationTest.cpp749 sk_gpu_test::GLTestContext* glCtx = ctxInfo.glContext(); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
/third_party/skia/tools/gpu/gl/egl/
H A DCreatePlatformGLTestContext_egl.cpp10 #include "tools/gpu/gl/GLTestContext.h"
28 class EGLGLTestContext : public sk_gpu_test::GLTestContext {
36 std::unique_ptr<sk_gpu_test::GLTestContext> makeNew() const override;
199 // Allow the GLTestContext creation to succeed without a GrGLInterface to support in EGLGLTestContext()
286 std::unique_ptr<sk_gpu_test::GLTestContext> EGLGLTestContext::makeNew() const { in makeNew()
287 std::unique_ptr<sk_gpu_test::GLTestContext> ctx(new EGLGLTestContext(this->gl()->fStandard, in makeNew()
321 GLTestContext *CreatePlatformGLTestContext(GrGLStandard forcedGpuAPI,
322 GLTestContext *shareContext) {
/third_party/skia/tools/gpu/gl/none/
H A DCreatePlatformGLTestContext_none.cpp9 #include "tools/gpu/gl/GLTestContext.h"
12 GLTestContext* CreatePlatformGLTestContext(GrGLStandard forcedGpuAPI, in CreatePlatformGLTestContext()
13 GLTestContext *shareContext) { in CreatePlatformGLTestContext()
/third_party/skia/tools/gpu/gl/angle/
H A DGLTestContext_angle.h11 #include "tools/gpu/gl/GLTestContext.h"
32 /** Creates a GLTestContext backed by ANGLE. */
33 std::unique_ptr<GLTestContext> MakeANGLETestContext(ANGLEBackend, ANGLEContextVersion,
34 GLTestContext* shareContext = nullptr,
H A DGLTestContext_angle.cpp91 class ANGLEGLContext : public sk_gpu_test::GLTestContext {
99 std::unique_ptr<sk_gpu_test::GLTestContext> makeNew() const override;
413 std::unique_ptr<sk_gpu_test::GLTestContext> ANGLEGLContext::makeNew() const { in makeNew()
416 std::unique_ptr<sk_gpu_test::GLTestContext> ctx = in makeNew()
520 std::unique_ptr<GLTestContext> MakeANGLETestContext(ANGLEBackend type, ANGLEContextVersion version,
521 GLTestContext* shareContext, void* display) {
531 std::unique_ptr<GLTestContext> ctx(new ANGLEGLContext(type, version,
/third_party/skia/tools/gpu/gl/command_buffer/
H A DGLTestContext_command_buffer.h12 #include "tools/gpu/gl/GLTestContext.h"
15 class CommandBufferGLTestContext : public GLTestContext {
19 static CommandBufferGLTestContext *Create(int version, GLTestContext* shareContext) { in Create()
/third_party/skia/tools/gpu/
H A DGrContextFactory.h15 #include "tools/gpu/gl/GLTestContext.h"
168 std::unique_ptr<GLTestContext> fSentinelGLContext;
185 GLTestContext* glContext() const { in glContext()
187 return static_cast<GLTestContext*>(fTestContext); in glContext()
H A DGrContextFactory.cpp13 #include "tools/gpu/gl/GLTestContext.h"
172 GLTestContext* glShareContext = primaryContext in getContextInfoInternal()
173 ? static_cast<GLTestContext*>(primaryContext->fTestContext) : nullptr; in getContextInfoInternal()
174 GLTestContext* glCtx; in getContextInfoInternal()
/third_party/skia/tools/gpu/gl/mac/
H A DCreatePlatformGLTestContext_mac.cpp10 #include "tools/gpu/gl/GLTestContext.h"
23 class MacGLTestContext : public sk_gpu_test::GLTestContext {
155 GLTestContext* CreatePlatformGLTestContext(GrGLStandard forcedGpuAPI,
156 GLTestContext* shareContext) {
/third_party/skia/tools/fiddle/
H A Dfiddle_main.h27 class GLTestContext;
94 std::unique_ptr<sk_gpu_test::GLTestContext>*);
H A Dnull_context.cpp12 std::unique_ptr<sk_gpu_test::GLTestContext>*) { in create_direct_context()
H A Degl_context.cpp12 #include "tools/gpu/gl/GLTestContext.h"
22 std::unique_ptr<sk_gpu_test::GLTestContext>* glContext) { in create_direct_context()
H A Dfiddle_main.cpp31 #include "tools/gpu/gl/GLTestContext.h"
263 std::unique_ptr<sk_gpu_test::GLTestContext> glContext; in main()
/third_party/skia/modules/canvaskit/
H A Dgm_bindings.cpp313 // a GLTestContext because it has pure virtual methods that need to be implemented.
314 class WasmWebGlTestContext : public sk_gpu_test::GLTestContext {
323 std::unique_ptr<GLTestContext> makeNew() const override {
324 // This is supposed to create a new GL context in a new GLTestContext.
340 GLTestContext *CreatePlatformGLTestContext(GrGLStandard forcedGpuAPI, in CreatePlatformGLTestContext()
341 GLTestContext *shareContext) { in CreatePlatformGLTestContext()
/third_party/skia/tools/gpu/gl/glx/
H A DCreatePlatformGLTestContext_glx.cpp9 #include "tools/gpu/gl/GLTestContext.h"
54 class GLXGLTestContext : public sk_gpu_test::GLTestContext {
258 // Allow the GLTestContext creation to succeed without a GrGLInterface to support in GLXGLTestContext()
381 GLTestContext *CreatePlatformGLTestContext(GrGLStandard forcedGpuAPI,
382 GLTestContext *shareContext) {
/third_party/skia/dm/
H A DDMGpuTestProcs.cpp18 using sk_gpu_test::GLTestContext;
H A DDM.cpp178 using sk_gpu_test::GLTestContext;
/third_party/skia/tools/skiaserve/
H A DRequest.cpp57 GLTestContext* gl = factory->getContextInfo(GrContextFactory::kGL_ContextType, in getCanvas()

Completed in 20 milliseconds