Home
last modified time | relevance | path

Searched refs:GrGLContext (Results 1 – 15 of 15) sorted by relevance

/external/skia/bench/
DGLBench.h18 class GrGLContext; variable
30 const GrGLContext* getGLContext(SkCanvas*);
31 virtual const GrGLContext* onGetGLContext(const GrGLContext* ctx) { return ctx; } in onGetGLContext()
33 virtual void setup(const GrGLContext*)=0;
37 virtual void glDraw(int loops, const GrGLContext*)=0;
DGLInstancedArraysBench.cpp64 const GrGLContext* onGetGLContext(const GrGLContext*) override;
65 void setup(const GrGLContext*) override;
66 void glDraw(int loops, const GrGLContext*) override;
73 GrGLuint setupShader(const GrGLContext*);
109 GrGLuint GLCpuPosInstancedArraysBench::setupShader(const GrGLContext* ctx) { in setupShader()
173 const GrGLContext* GLCpuPosInstancedArraysBench::onGetGLContext(const GrGLContext* ctx) { in onGetGLContext()
305 void GLCpuPosInstancedArraysBench::setup(const GrGLContext* ctx) { in setup()
343 void GLCpuPosInstancedArraysBench::glDraw(int loops, const GrGLContext* ctx) { in glDraw()
DGLBench.cpp14 const GrGLContext* GLBench::getGLContext(SkCanvas* canvas) { in getGLContext()
26 const GrGLContext* ctx = gpu->glContextForTesting(); in getGLContext()
37 const GrGLContext* ctx = this->getGLContext(canvas); in onPreDraw()
46 const GrGLContext* ctx = this->getGLContext(canvas); in onPostDraw()
54 const GrGLContext* ctx = this->getGLContext(canvas); in onDraw()
DGLVec4ScalarBench.cpp57 void setup(const GrGLContext*) override;
58 void glDraw(int loops, const GrGLContext*) override;
63 GrGLuint setupShader(const GrGLContext*);
95 GrGLuint GLVec4ScalarBench::setupShader(const GrGLContext* ctx) { in setupShader()
247 void GLVec4ScalarBench::setup(const GrGLContext* ctx) { in setup()
266 void GLVec4ScalarBench::glDraw(int loops, const GrGLContext* ctx) { in glDraw()
DGLVertexAttributesBench.cpp39 void setup(const GrGLContext*) override;
40 void glDraw(int loops, const GrGLContext*) override;
51 GrGLuint setupShader(const GrGLContext*, uint32_t attribs, uint32_t maxAttribs);
66 GrGLuint GLVertexAttributesBench::setupShader(const GrGLContext* ctx, uint32_t attribs, in setupShader()
157 void GLVertexAttributesBench::setup(const GrGLContext* ctx) { in setup()
211 void GLVertexAttributesBench::glDraw(int loops, const GrGLContext* ctx) { in glDraw()
/external/skia/src/gpu/gl/
DGrGLContext.h69 class GrGLContext : public GrGLContextInfo {
75 static GrGLContext* Create(const GrGLInterface* interface, const GrContextOptions& options);
80 GrGLContext(const ConstructorArgs& args) : INHERITED(args) {} in GrGLContext() function
DGrGLContext.cpp13 GrGLContext* GrGLContext::Create(const GrGLInterface* interface, const GrContextOptions& options) { in Create()
63 return new GrGLContext(args); in Create()
DGrGLGpu.h43 const GrGLContext& glContext() const { return *fGLContext; } in glContext()
114 const GrGLContext* glContextForTesting() const override { in glContextForTesting()
140 GrGLGpu(GrGLContext* ctx, GrContext* context);
380 SkAutoTUnref<GrGLContext> fGLContext;
DGrGLGpu.cpp176 GrGLContext* glContext = GrGLContext::Create(glInterface, options); in Create()
185 GrGLGpu::GrGLGpu(GrGLContext* ctx, GrContext* context) in GrGLGpu()
1118 static bool renderbuffer_storage_msaa(const GrGLContext& ctx, in renderbuffer_storage_msaa()
/external/skia/src/gpu/gl/builders/
DGrGLShaderStringBuilder.h16 GrGLuint GrGLCompileAndAttachShader(const GrGLContext& glCtx,
DGrGLShaderStringBuilder.cpp20 GrGLuint GrGLCompileAndAttachShader(const GrGLContext& glCtx, in GrGLCompileAndAttachShader()
/external/skia/src/gpu/
DGrGpu.h21 class GrGLContext; variable
462 virtual const GrGLContext* glContextForTesting() const { return nullptr; } in glContextForTesting()
/external/skia/gm/
Drectangletexture.cpp65 const GrGLContext* glCtx = gpu->glContextForTesting(); in createRectangleTextureImg()
/external/skia/gyp/
Dgpu.gypi320 '<(skia_src_path)/gpu/gl/GrGLContext.cpp',
321 '<(skia_src_path)/gpu/gl/GrGLContext.h',
/external/skia/
DAndroid.mk497 src/gpu/gl/GrGLContext.cpp \