Home
last modified time | relevance | path

Searched refs:GrGLInterface (Results 1 - 25 of 46) sorted by relevance

12

/third_party/skia/include/gpu/gl/
H A DGrGLAssembleInterface.h8 #include "include/gpu/gl/GrGLInterface.h"
13 * Generic function for creating a GrGLInterface for an either OpenGL or GLES. It calls
16 SK_API sk_sp<const GrGLInterface> GrGLMakeAssembledInterface(void *ctx, GrGLGetProc get);
19 * Generic function for creating a GrGLInterface for an OpenGL (but not GLES) context. It calls
22 SK_API sk_sp<const GrGLInterface> GrGLMakeAssembledGLInterface(void *ctx, GrGLGetProc get);
25 * Generic function for creating a GrGLInterface for an OpenGL ES (but not Open GL) context. It
29 SK_API sk_sp<const GrGLInterface> GrGLMakeAssembledGLESInterface(void *ctx, GrGLGetProc get);
32 * Generic function for creating a GrGLInterface for a WebGL (similar to OpenGL ES) context. It
36 SK_API sk_sp<const GrGLInterface> GrGLMakeAssembledWebGLInterface(void *ctx, GrGLGetProc get);
39 SK_API const GrGLInterface* GrGLAssembleInterfac
[all...]
H A DGrGLInterface.h18 struct GrGLInterface;
33 SK_API sk_sp<const GrGLInterface> GrGLMakeNativeInterface();
35 SK_API const GrGLInterface* GrGLCreateNativeInterface();
39 * GrContext is created it is given a GrGLInterface. The interface's function
43 * GrGLInterface initialized for the correct context. All functions that should
48 struct SK_API GrGLInterface : public SkRefCnt { struct
60 GrGLInterface();
62 // Validates that the GrGLInterface supports its advertised standard. This means the necessary
74 GrGLInterface(const GrGLInterface function
[all...]
/third_party/skia/src/gpu/gl/
H A DGrGLContext.h13 #include "include/gpu/gl/GrGLInterface.h"
66 sk_sp<const GrGLInterface> fInterface;
74 sk_sp<const GrGLInterface> fInterface;
81 * Extension of GrGLContextInfo that also provides access to GrGLInterface.
86 * Creates a GrGLContext from a GrGLInterface and the currently
87 * bound OpenGL context accessible by the GrGLInterface.
89 static std::unique_ptr<GrGLContext> Make(sk_sp<const GrGLInterface>, const GrContextOptions&);
91 const GrGLInterface* glInterface() const { return fInterface.get(); } in glInterface()
H A DGrGLAssembleWebGLInterfaceAutogen.cpp17 sk_sp<const GrGLInterface> GrGLMakeAssembledWebGLInterface(void *ctx, GrGLGetProc get) { in GrGLMakeAssembledWebGLInterface()
45 sk_sp<const GrGLInterface> GrGLMakeAssembledWebGLInterface(void *ctx, GrGLGetProc get) { in GrGLMakeAssembledWebGLInterface()
58 sk_sp<GrGLInterface> interface(new GrGLInterface); in GrGLMakeAssembledWebGLInterface()
59 GrGLInterface::Functions* functions = &interface->fFunctions; in GrGLMakeAssembledWebGLInterface()
H A DGrGLMakeNativeInterface_none.cpp8 #include "include/gpu/gl/GrGLInterface.h"
10 sk_sp<const GrGLInterface> GrGLMakeNativeInterface() { return nullptr; } in GrGLMakeNativeInterface()
12 const GrGLInterface* GrGLCreateNativeInterface() { return nullptr; } in GrGLCreateNativeInterface()
H A DGrGLInterfaceAutogen.cpp13 #include "include/gpu/gl/GrGLInterface.h"
18 GrGLInterface::GrGLInterface() { in GrGLInterface() function in GrGLInterface
41 GrGLenum GrGLInterface::checkError(const char* location, const char* call) const { in checkError()
59 bool GrGLInterface::checkAndResetOOMed() const { in checkAndResetOOMed()
67 void GrGLInterface::suppressErrorLogging() { fSuppressErrorLogging = true; } in suppressErrorLogging()
71 SkDEBUGF("%s:%d GrGLInterface::validate() failed.\n", __FILE__, __LINE__); \
74 bool GrGLInterface::validate() const { in validate()
794 void GrGLInterface::abandon() const { in abandon()
795 const_cast<GrGLInterface*>(thi in abandon()
[all...]
H A DGrGLAssembleInterface.cpp15 sk_sp<const GrGLInterface> GrGLMakeAssembledInterface(void *ctx, GrGLGetProc get) { in GrGLMakeAssembledInterface()
40 const GrGLInterface* GrGLAssembleInterface(void *ctx, GrGLGetProc get) { in GrGLAssembleInterface()
H A DGrGLCaps.h119 const GrGLInterface* glInterface);
500 void init(const GrContextOptions&, const GrGLContextInfo&, const GrGLInterface*);
501 void initGLSL(const GrGLContextInfo&, const GrGLInterface*);
518 const GrGLInterface*,
526 const GrGLInterface*);
530 void initFormatTable(const GrGLContextInfo&, const GrGLInterface*, const FormatWorkarounds&);
531 void setupSampleCounts(const GrGLContextInfo&, const GrGLInterface*);
H A DGrGLAssembleGLESInterfaceAutogen.cpp23 sk_sp<const GrGLInterface> GrGLMakeAssembledGLESInterface(void *ctx, GrGLGetProc get) { in GrGLMakeAssembledGLESInterface()
27 sk_sp<const GrGLInterface> GrGLMakeAssembledGLESInterface(void *ctx, GrGLGetProc get) { in GrGLMakeAssembledGLESInterface()
51 sk_sp<GrGLInterface> interface(new GrGLInterface); in GrGLMakeAssembledGLESInterface()
52 GrGLInterface::Functions* functions = &interface->fFunctions; in GrGLMakeAssembledGLESInterface()
H A DGrGLAssembleGLInterfaceAutogen.cpp23 sk_sp<const GrGLInterface> GrGLMakeAssembledGLInterface(void *ctx, GrGLGetProc get) { in GrGLMakeAssembledGLInterface()
27 sk_sp<const GrGLInterface> GrGLMakeAssembledGLInterface(void *ctx, GrGLGetProc get) { in GrGLMakeAssembledGLInterface()
54 sk_sp<GrGLInterface> interface(new GrGLInterface()); in GrGLMakeAssembledGLInterface()
55 GrGLInterface::Functions* functions = &interface->fFunctions; in GrGLMakeAssembledGLInterface()
/third_party/skia/tools/gpu/gl/
H A DGLTestContext.h11 #include "include/gpu/gl/GrGLInterface.h"
17 * An offscreen OpenGL context. Provides a GrGLInterface struct of function pointers for the context
19 * When SK_GL is not defined the GrGLInterface will always be nullptr.
30 const GrGLInterface* gl() const { return fGLInterface.get(); } in gl()
80 void init(sk_sp<const GrGLInterface>);
88 sk_sp<const GrGLInterface> fOriginalGLInterface;
91 sk_sp<const GrGLInterface> fGLInterface;
H A DGLTestContext.cpp61 const GrGLInterface* gl = ctx->gl(); in MakeIfSupported()
198 void GLTestContext::init(sk_sp<const GrGLInterface> gl) { in init()
246 auto newInterface = sk_make_sp<GrGLInterface>(*fOriginalGLInterface); in overrideVersion()
/third_party/skia/src/gpu/gl/win/
H A DGrGLMakeNativeInterface_win.cpp13 #include "include/gpu/gl/GrGLInterface.h"
21 sk_sp<const GrGLInterface> GrGLMakeNativeInterface() { return nullptr; } in GrGLMakeNativeInterface()
29 sk_sp<const GrGLInterface> GrGLMakeNativeInterface() { in GrGLMakeNativeInterface()
69 const GrGLInterface* GrGLCreateNativeInterface() { return GrGLMakeNativeInterface().release(); } in GrGLCreateNativeInterface()
/third_party/skia/src/gpu/gl/egl/
H A DGrGLMakeNativeInterface_egl.cpp8 #include "include/gpu/gl/GrGLInterface.h"
11 sk_sp<const GrGLInterface> GrGLMakeNativeInterface() { return GrGLMakeEGLInterface(); } in GrGLMakeNativeInterface()
13 const GrGLInterface* GrGLCreateNativeInterface() { return GrGLMakeNativeInterface().release(); } in GrGLCreateNativeInterface()
/third_party/skia/src/gpu/gl/glx/
H A DGrGLMakeNativeInterface_glx.cpp8 #include "include/gpu/gl/GrGLInterface.h"
11 sk_sp<const GrGLInterface> GrGLMakeNativeInterface() { return GrGLMakeGLXInterface(); } in GrGLMakeNativeInterface()
13 const GrGLInterface* GrGLCreateNativeInterface() { return GrGLMakeNativeInterface().release(); } in GrGLCreateNativeInterface()
H A DGrGLMakeGLXInterface.cpp9 #include "include/gpu/gl/GrGLInterface.h"
28 sk_sp<const GrGLInterface> GrGLMakeGLXInterface() { in GrGLMakeGLXInterface()
/third_party/skia/src/gpu/gl/glfw/
H A DGrGLMakeNativeInterface_glfw.cpp10 #include "include/gpu/gl/GrGLInterface.h"
21 sk_sp<const GrGLInterface> GrGLMakeNativeInterface() { in GrGLMakeNativeInterface()
29 const GrGLInterface* GrGLCreateNativeInterface() { return GrGLMakeNativeInterface().release(); } in GrGLCreateNativeInterface()
/third_party/skia/src/gpu/gl/webgl/
H A DGrGLMakeNativeInterface_webgl.cpp8 #include "include/gpu/gl/GrGLInterface.h"
31 sk_sp<const GrGLInterface> GrGLMakeNativeInterface() { in GrGLMakeNativeInterface()
35 const GrGLInterface* GrGLCreateNativeInterface() { return GrGLMakeNativeInterface().release(); } in GrGLCreateNativeInterface()
/third_party/skia/src/gpu/gl/iOS/
H A DGrGLMakeNativeInterface_iOS.cpp10 #include "include/gpu/gl/GrGLInterface.h"
18 sk_sp<const GrGLInterface> GrGLMakeNativeInterface() { in GrGLMakeNativeInterface()
26 const GrGLInterface* GrGLCreateNativeInterface() { return GrGLMakeNativeInterface().release(); }
/third_party/skia/src/gpu/gl/mac/
H A DGrGLMakeNativeInterface_mac.cpp10 #include "include/gpu/gl/GrGLInterface.h"
18 sk_sp<const GrGLInterface> GrGLMakeNativeInterface() { in GrGLMakeNativeInterface()
26 const GrGLInterface* GrGLCreateNativeInterface() { return GrGLMakeNativeInterface().release(); }
/third_party/skia/tools/sk_app/
H A DGLWindowContext.h12 #include "include/gpu/gl/GrGLInterface.h"
37 virtual sk_sp<const GrGLInterface> onInitializeContext() = 0;
47 sk_sp<const GrGLInterface> fBackendContext;
/third_party/skia/tools/sk_app/unix/
H A DGLWindowContext_unix.cpp9 #include "include/gpu/gl/GrGLInterface.h"
37 sk_sp<const GrGLInterface> onInitializeContext() override;
65 sk_sp<const GrGLInterface> GLWindowContext_xlib::onInitializeContext() { in onInitializeContext()
68 sk_sp<const GrGLInterface> interface; in onInitializeContext()
/third_party/skia/tools/sk_app/win/
H A DANGLEWindowContext_win.cpp47 sk_sp<const GrGLInterface> onInitializeContext() override;
66 sk_sp<const GrGLInterface> ANGLEGLWindowContext_win::onInitializeContext() { in onInitializeContext()
122 sk_sp<const GrGLInterface> interface(GrGLMakeAssembledInterface( in onInitializeContext()
H A DGLWindowContext_win.cpp9 #include "include/gpu/gl/GrGLInterface.h"
42 sk_sp<const GrGLInterface> onInitializeContext() override;
66 sk_sp<const GrGLInterface> GLWindowContext_win::onInitializeContext() {
/third_party/skia/tools/sk_app/android/
H A DGLWindowContext_android.cpp11 #include "include/gpu/gl/GrGLInterface.h"
28 sk_sp<const GrGLInterface> onInitializeContext() override;
60 sk_sp<const GrGLInterface> GLWindowContext_android::onInitializeContext() { in onInitializeContext()

Completed in 9 milliseconds

12