Home
last modified time | relevance | path

Searched refs:GrGLGpu (Results 1 – 25 of 39) sorted by relevance

12

/external/skia/src/gpu/gl/
DGrGLPath.h15 class GrGLGpu; variable
25 static bool InitPathObjectPathDataCheckingDegenerates(GrGLGpu*,
28 static void InitPathObjectPathData(GrGLGpu*,
31 static void InitPathObjectStroke(GrGLGpu* gpu, GrGLuint pathID, const GrStrokeInfo& stroke);
33 static void InitPathObjectEmptyPath(GrGLGpu*, GrGLuint pathID);
36 GrGLPath(GrGLGpu* gpu, const SkPath& path, const GrStrokeInfo& stroke);
DGrGLBufferImpl.h14 class GrGLGpu; variable
38 GrGLBufferImpl(GrGLGpu*, const Desc&, GrGLenum bufferType);
45 void release(GrGLGpu* gpu);
51 void* map(GrGLGpu* gpu);
52 void unmap(GrGLGpu* gpu);
54 bool updateData(GrGLGpu* gpu, const void* src, size_t srcSizeInBytes);
DGrGLGpuProgramCache.cpp25 struct GrGLGpu::ProgramCache::Entry {
33 struct GrGLGpu::ProgramCache::ProgDescLess {
45 GrGLGpu::ProgramCache::ProgramCache(GrGLGpu* gpu) in ProgramCache()
60 GrGLGpu::ProgramCache::~ProgramCache() { in ~ProgramCache()
80 void GrGLGpu::ProgramCache::reset() { in reset()
102 void GrGLGpu::ProgramCache::abandon() { in abandon()
106 int GrGLGpu::ProgramCache::search(const GrProgramDesc& desc) const { in search()
111 GrGLProgram* GrGLGpu::ProgramCache::refProgram(const DrawArgs& args) { in refProgram()
DGrGLRenderTarget.h16 class GrGLGpu; variable
33 static GrGLRenderTarget* CreateWrapped(GrGLGpu*,
78 GrGLRenderTarget(GrGLGpu*, const GrSurfaceDesc&, const IDDesc&, Derived);
91 GrGLRenderTarget(GrGLGpu*, const GrSurfaceDesc&, const IDDesc&, GrGLStencilAttachment*);
93 GrGLGpu* getGLGpu() const;
DGrGLVertexArray.h18 class GrGLGpu; variable
42 void set(GrGLGpu*,
53 void disableUnusedArrays(const GrGLGpu*, uint64_t usedAttribArrayMask);
112 GrGLAttribArrayState* bind(GrGLGpu*);
118 GrGLAttribArrayState* bindWithIndexBuffer(GrGLGpu* gpu, GrGLuint indexBufferID);
DGrGLVertexBuffer.h15 class GrGLGpu; variable
22 GrGLVertexBuffer(GrGLGpu* gpu, const Desc& desc);
38 GrGLGpu* getGpuGL() const { in getGpuGL()
40 return (GrGLGpu*)(this->getGpu()); in getGpuGL()
DGrGLIndexBuffer.h15 class GrGLGpu; variable
22 GrGLIndexBuffer(GrGLGpu* gpu, const Desc& desc);
38 GrGLGpu* getGpuGL() const { in getGpuGL()
40 return (GrGLGpu*)(this->getGpu()); in getGpuGL()
DGrGLTransferBuffer.h15 class GrGLGpu; variable
22 GrGLTransferBuffer(GrGLGpu* gpu, const Desc& desc, GrGLenum type);
38 GrGLGpu* getGpuGL() const { in getGpuGL()
40 return (GrGLGpu*)(this->getGpu()); in getGpuGL()
DGrGLPathRange.cpp14 GrGLPathRange::GrGLPathRange(GrGLGpu* gpu, PathGenerator* pathGenerator, const GrStrokeInfo& stroke) in GrGLPathRange()
23 GrGLPathRange::GrGLPathRange(GrGLGpu* gpu, in GrGLPathRange()
54 GrGLGpu* gpu = static_cast<GrGLGpu*>(this->getGpu()); in onInitPath()
106 static_cast<GrGLGpu*>(this->getGpu())->glPathRendering()->deletePaths(fBasePathID, in onRelease()
DGrGLRenderTarget.cpp15 #define GPUGL static_cast<GrGLGpu*>(this->getGpu())
19 GrGLRenderTarget::GrGLRenderTarget(GrGLGpu* gpu, in GrGLRenderTarget()
29 GrGLRenderTarget::GrGLRenderTarget(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc, in GrGLRenderTarget()
52 GrGLRenderTarget* GrGLRenderTarget::CreateWrapped(GrGLGpu* gpu, in CreateWrapped()
76 GrGLGpu* gpu = this->getGLGpu(); in completeStencilAttachment()
146 GrGLGpu* GrGLRenderTarget::getGLGpu() const { in getGLGpu()
148 return static_cast<GrGLGpu*>(this->getGpu()); in getGLGpu()
DGrGLGpu.cpp111 bool GrGLGpu::BlendCoeffReferencesConstant(GrBlendCoeff coeff) { in BlendCoeffReferencesConstant()
164 GrGpu* GrGLGpu::Create(GrBackendContext backendContext, const GrContextOptions& options, in Create()
178 return new GrGLGpu(glContext, context); in Create()
185 GrGLGpu::GrGLGpu(GrGLContext* ctx, GrContext* context) in GrGLGpu() function in GrGLGpu
237 GrGLGpu::~GrGLGpu() { in ~GrGLGpu()
287 void GrGLGpu::createPLSSetupProgram() { in createPLSSetupProgram()
386 void GrGLGpu::contextAbandoned() { in contextAbandoned()
406 void GrGLGpu::onResetContext(uint32_t resetBits) { in onResetContext()
537 GrTexture* GrGLGpu::onWrapBackendTexture(const GrBackendTextureDesc& desc, in onWrapBackendTexture()
628 GrRenderTarget* GrGLGpu::onWrapBackendRenderTarget(const GrBackendRenderTargetDesc& wrapDesc, in onWrapBackendRenderTarget()
[all …]
DGrGLBufferImpl.cpp19 GrGLBufferImpl::GrGLBufferImpl(GrGLGpu* gpu, const Desc& desc, GrGLenum bufferType) in GrGLBufferImpl()
38 void GrGLBufferImpl::release(GrGLGpu* gpu) { in release()
62 void* GrGLBufferImpl::map(GrGLGpu* gpu) { in map()
76 void GrGLBufferImpl::unmap(GrGLGpu* gpu) { in unmap()
90 bool GrGLBufferImpl::updateData(GrGLGpu* gpu, const void* src, size_t srcSizeInBytes) { in updateData()
DGrGLGpu.h35 class GrGLGpu : public GrGpu {
39 ~GrGLGpu() override;
140 GrGLGpu(GrGLContext* ctx, GrContext* context);
262 ProgramCache(GrGLGpu* gpu);
293 GrGLGpu* fGpu;
447 void setVertexArrayID(GrGLGpu* gpu, GrGLuint arrayID) { in setVertexArrayID()
479 void setVertexBufferID(GrGLGpu* gpu, GrGLuint id) { in setVertexBufferID()
491 void setIndexBufferIDOnDefaultVertexArray(GrGLGpu* gpu, GrGLuint id) { in setIndexBufferIDOnDefaultVertexArray()
507 GrGLAttribArrayState* bindArrayAndBuffersToDraw(GrGLGpu* gpu,
514 GrGLAttribArrayState* bindArrayAndBufferToDraw(GrGLGpu* gpu, GrGLuint vbufferID);
[all …]
DGrGLPathRange.h16 class GrGLGpu; variable
30 GrGLPathRange(GrGLGpu*, PathGenerator*, const GrStrokeInfo&);
37 GrGLPathRange(GrGLGpu*,
DGrGLTexture.h16 class GrGLGpu; variable
35 GrGLTexture(GrGLGpu*, const GrSurfaceDesc&, const IDDesc&);
62 GrGLTexture(GrGLGpu*, const GrSurfaceDesc&, const IDDesc&, Derived);
DGrGLVertexArray.cpp39 void GrGLAttribArrayState::set(GrGLGpu* gpu, in set()
84 void GrGLAttribArrayState::disableUnusedArrays(const GrGLGpu* gpu, uint64_t usedMask) { in disableUnusedArrays()
109 GrGLAttribArrayState* GrGLVertexArray::bind(GrGLGpu* gpu) { in bind()
117 GrGLAttribArrayState* GrGLVertexArray::bindWithIndexBuffer(GrGLGpu* gpu, GrGLuint ibufferID) { in bindWithIndexBuffer()
DGrGLPath.cpp91 inline bool init_path_object_for_general_path(GrGLGpu* gpu, GrGLuint pathID, in init_path_object_for_general_path()
201 bool GrGLPath::InitPathObjectPathDataCheckingDegenerates(GrGLGpu* gpu, GrGLuint pathID, in InitPathObjectPathDataCheckingDegenerates()
206 void GrGLPath::InitPathObjectPathData(GrGLGpu* gpu, in InitPathObjectPathData()
244 void GrGLPath::InitPathObjectStroke(GrGLGpu* gpu, GrGLuint pathID, const GrStrokeInfo& stroke) { in InitPathObjectStroke()
259 void GrGLPath::InitPathObjectEmptyPath(GrGLGpu* gpu, GrGLuint pathID) { in InitPathObjectEmptyPath()
263 GrGLPath::GrGLPath(GrGLGpu* gpu, const SkPath& origSkPath, const GrStrokeInfo& origStroke) in GrGLPath()
328 static_cast<GrGLGpu*>(this->getGpu())->glPathRendering()->deletePaths(fPathID, 1); in onRelease()
DGrGLTexture.cpp12 #define GPUGL static_cast<GrGLGpu*>(this->getGpu())
16 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc) in GrGLTexture()
23 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc, Derived) in GrGLTexture()
DGrGLProgramDataManager.h19 class GrGLGpu; variable
46 GrGLProgramDataManager(GrGLGpu*, GrGLuint programID, const UniformInfoArray&,
102 GrGLGpu* fGpu;
DGrGLPathRendering.h18 class GrGLGpu; variable
32 GrGLPathRendering(GrGLGpu* gpu);
112 GrGLGpu* gpu();
DGrGLStencilAttachment.cpp23 GrGLGpu* gpuGL = (GrGLGpu*) this->getGpu(); in onRelease()
DGrGLTextureRenderTarget.h16 class GrGLGpu; variable
28 GrGLTextureRenderTarget(GrGLGpu* gpu, in GrGLTextureRenderTarget()
DGrGLProgram.h105 GrGLProgram(GrGLGpu*,
137 GrGLGpu* fGpu;
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.h32 static GrGLProgram* CreateProgram(const DrawArgs&, GrGLGpu*);
37 GrGLGpu* gpu() const { return fGpu; } in gpu()
40 GrGLProgramBuilder(GrGLGpu*, const DrawArgs&);
64 GrGLGpu* fGpu;
/external/skia/tests/
DEGLImageTest.cpp22 GrGLGpu* gpu1 = static_cast<GrGLGpu*>(grctx1->getGpu()); in cleanup()
89 GrGLGpu* gpu0 = static_cast<GrGLGpu*>(context0->getGpu()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()

12