Home
last modified time | relevance | path

Searched refs:GrGLInterface (Results 1 – 25 of 66) sorted by relevance

123

/external/skia/bench/
DGLBench.h19 struct GrGLInterface;
35 virtual void teardown(const GrGLInterface*)=0;
38 static GrGLuint CompileShader(const GrGLInterface*, const char* shaderSrc, GrGLenum type);
39 static GrGLuint CreateProgram(const GrGLInterface*, const char* vshader, const char* fshader);
40 static GrGLuint SetupFramebuffer(const GrGLInterface*, int screenWidth, int screenHeight);
41 static void DumpImage(const GrGLInterface* gl, uint32_t screenWidth, uint32_t screenHeight,
DGLInstancedArraysBench.cpp67 void teardown(const GrGLInterface*) override;
70 void setupInstanceVbo(const GrGLInterface*, const SkMatrix*);
71 void setupDoubleVbo(const GrGLInterface*, const SkMatrix*);
72 void setupSingleVbo(const GrGLInterface*, const SkMatrix*);
133 const GrGLInterface* gl = ctx->interface(); in setupShader()
181 void GLCpuPosInstancedArraysBench::setupInstanceVbo(const GrGLInterface* gl, in setupInstanceVbo()
223 void GLCpuPosInstancedArraysBench::setupDoubleVbo(const GrGLInterface* gl, in setupDoubleVbo()
269 void GLCpuPosInstancedArraysBench::setupSingleVbo(const GrGLInterface* gl, in setupSingleVbo()
306 const GrGLInterface* gl = ctx->interface(); in setup()
344 const GrGLInterface* gl = ctx->interface(); in glDraw()
[all …]
DGLVec4ScalarBench.cpp59 void teardown(const GrGLInterface*) override;
62 void setupSingleVbo(const GrGLInterface*, const SkMatrix*);
127 const GrGLInterface* gl = ctx->interface(); in setupShader()
209 void GLVec4ScalarBench::setupSingleVbo(const GrGLInterface* gl, const SkMatrix* viewMatrices) { in setupSingleVbo()
248 const GrGLInterface* gl = ctx->interface(); in setup()
267 const GrGLInterface* gl = ctx->interface(); in glDraw()
282 void GLVec4ScalarBench::teardown(const GrGLInterface* gl) { in teardown()
DGLBench.cpp61 GrGLuint GLBench::CompileShader(const GrGLInterface* gl, const char* shaderSrc, GrGLenum type) { in CompileShader()
84 GrGLuint GLBench::CreateProgram(const GrGLInterface* gl, const char* vshader, const char* fshader) { in CreateProgram()
109 GrGLuint GLBench::SetupFramebuffer(const GrGLInterface* gl, int screenWidth, int screenHeight) { in SetupFramebuffer()
144 void GLBench::DumpImage(const GrGLInterface* gl, uint32_t screenWidth, uint32_t screenHeight, in DumpImage()
DGLVertexAttributesBench.cpp41 void teardown(const GrGLInterface*) override;
117 const GrGLInterface* gl = ctx->interface(); in setupShader()
158 const GrGLInterface* gl = ctx->interface(); in setup()
212 const GrGLInterface* gl = ctx->interface(); in glDraw()
249 void GLVertexAttributesBench::teardown(const GrGLInterface* gl) { in teardown()
/external/skia/include/gpu/gl/
DGrGLInterface.h35 struct GrGLInterface;
37 const GrGLInterface* GrGLDefaultInterface();
44 SK_API const GrGLInterface* GrGLCreateNativeInterface();
50 SK_API const GrGLInterface* GrGLCreateMesaInterface();
57 SK_API const GrGLInterface* GrGLCreateANGLEInterface();
64 SK_API const GrGLInterface* GrGLCreateCommandBufferInterface();
71 const SK_API GrGLInterface* GrGLCreateNullInterface();
77 const GrGLInterface* GrGLCreateDebugInterface();
80 typedef void (*GrGLInterfaceCallbackProc)(const GrGLInterface*);
86 const GrGLInterface* GrGLInterfaceRemoveNVPR(const GrGLInterface*);
[all …]
DSkGLContext.h26 const GrGLInterface* gl() const { return fGL.get(); } in gl()
99 void init(const GrGLInterface*, SkGpuFenceSync* = NULL);
118 SkAutoTUnref<const GrGLInterface> fGL;
/external/skia/src/gpu/gl/
DGrGLUtil.h131 GrGLVersion GrGLGetVersion(const GrGLInterface*);
132 GrGLSLVersion GrGLGetGLSLVersion(const GrGLInterface*);
133 GrGLVendor GrGLGetVendor(const GrGLInterface*);
134 GrGLRenderer GrGLGetRenderer(const GrGLInterface*);
141 void GrGLCheckErr(const GrGLInterface* gl,
145 void GrGLClearErr(const GrGLInterface* gl);
DGrGLContext.h44 const GrGLInterface* fInterface;
56 SkAutoTUnref<const GrGLInterface> fInterface;
75 static GrGLContext* Create(const GrGLInterface* interface, const GrContextOptions& options);
77 const GrGLInterface* interface() const { return fInterface; } in interface()
DGrGLAssembleInterface.h18 const GrGLInterface* GrGLAssembleInterface(void* ctx, GrGLGetProc get);
24 const GrGLInterface* GrGLAssembleGLInterface(void* ctx, GrGLGetProc get);
31 const GrGLInterface* GrGLAssembleGLESInterface(void* ctx, GrGLGetProc get);
DGrGLInterface.cpp17 void GrGLDefaultInterfaceCallback(const GrGLInterface*) {} in GrGLDefaultInterfaceCallback() argument
21 const GrGLInterface* GrGLInterfaceAddTestDebugMarker(const GrGLInterface* interface, in GrGLInterfaceAddTestDebugMarker()
25 GrGLInterface* newInterface = GrGLInterface::NewClone(interface); in GrGLInterfaceAddTestDebugMarker()
38 const GrGLInterface* GrGLInterfaceRemoveNVPR(const GrGLInterface* interface) { in GrGLInterfaceRemoveNVPR()
39 GrGLInterface* newInterface = GrGLInterface::NewClone(interface); in GrGLInterfaceRemoveNVPR()
69 GrGLInterface::GrGLInterface() { in GrGLInterface() function in GrGLInterface
78 GrGLInterface* GrGLInterface::NewClone(const GrGLInterface* interface) { in NewClone()
81 GrGLInterface* clone = new GrGLInterface; in NewClone()
102 bool GrGLInterface::validate() const { in validate()
DGrGLUtil.cpp13 void GrGLClearErr(const GrGLInterface* gl) { in GrGLClearErr()
37 void GrGLCheckErr(const GrGLInterface* gl, in GrGLCheckErr()
303 GrGLVersion GrGLGetVersion(const GrGLInterface* gl) { in GrGLGetVersion()
309 GrGLSLVersion GrGLGetGLSLVersion(const GrGLInterface* gl) { in GrGLGetGLSLVersion()
315 GrGLVendor GrGLGetVendor(const GrGLInterface* gl) { in GrGLGetVendor()
321 GrGLRenderer GrGLGetRenderer(const GrGLInterface* gl) { in GrGLGetRenderer()
DGrGLCaps.h120 const GrGLInterface* glInterface);
365 void init(const GrContextOptions&, const GrGLContextInfo&, const GrGLInterface*);
367 bool hasPathRenderingSupport(const GrGLContextInfo&, const GrGLInterface*);
371 void initFSAASupport(const GrGLContextInfo&, const GrGLInterface*);
375 void initConfigTable(const GrGLContextInfo&, const GrGLInterface* gli, GrGLSLCaps* glslCaps);
378 const GrGLInterface* intf,
DGrGLIRect.h26 void pushToGLViewport(const GrGLInterface* gl) const { in pushToGLViewport()
30 void pushToGLScissor(const GrGLInterface* gl) const { in pushToGLScissor()
34 void setFromGLViewport(const GrGLInterface* gl) { in setFromGLViewport()
DGrGLAssembleInterface.cpp19 const GrGLInterface* GrGLAssembleInterface(void* ctx, GrGLGetProc get) { in GrGLAssembleInterface()
55 const GrGLInterface* GrGLAssembleGLInterface(void* ctx, GrGLGetProc get) { in GrGLAssembleGLInterface()
82 GrGLInterface* interface = new GrGLInterface(); in GrGLAssembleGLInterface()
83 GrGLInterface::Functions* functions = &interface->fFunctions; in GrGLAssembleGLInterface()
515 const GrGLInterface* GrGLAssembleGLESInterface(void* ctx, GrGLGetProc get) { in GrGLAssembleGLESInterface()
539 GrGLInterface* interface = new GrGLInterface; in GrGLAssembleGLESInterface()
540 GrGLInterface::Functions* functions = &interface->fFunctions; in GrGLAssembleGLESInterface()
DSkNullGLContext.cpp383 class NullInterface : public GrGLInterface {
394 static GrGLInterface* create_null_interface(State* state) { in create_null_interface()
395 GrGLInterface* interface = new NullInterface(state); in create_null_interface()
399 GrGLInterface::Functions* functions = &interface->fFunctions; in create_null_interface()
577 static void set_current_context_from_interface(const GrGLInterface* interface) { in set_current_context_from_interface()
593 GrGLInterface* interface = create_null_interface(fState); in SkNullGLContext()
DGrGLDefaultInterface_native.cpp10 const GrGLInterface* GrGLDefaultInterface() { in GrGLDefaultInterface()
DGrGLCreateNativeInterface_none.cpp10 const GrGLInterface* GrGLCreateNativeInterface() { in GrGLCreateNativeInterface()
DGrGLDefaultInterface_none.cpp10 const GrGLInterface* GrGLDefaultInterface() { in GrGLDefaultInterface()
DGrGLGLSL.h22 bool GrGLGetGLSLGeneration(const GrGLInterface* gl, GrGLSLGeneration* generation);
/external/skia/experimental/SkV8Example/
DSkV8Example.h16 class GrGLInterface; variable
47 const GrGLInterface* fCurIntf;
/external/skia/tools/VisualBench/
DVisualBench.h22 struct GrGLInterface;
60 SkAutoTUnref<const GrGLInterface> fInterface;
/external/skia/example/
DHelloWorld.h17 struct GrGLInterface;
67 const GrGLInterface* fInterface;
/external/skia/tests/
DTextureStorageAllocator.cpp52 const GrGLInterface* m_gl;
60 const GrGLInterface* gl = glContext->gl(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
95 const GrGLInterface* gl = glContext->gl(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/include/views/
DSkWindow.h24 struct GrGLInterface;
96 const GrGLInterface* , GrContext* grContext);

123