Home
last modified time | relevance | path

Searched refs:GrGLuint (Results 1 – 25 of 35) sorted by relevance

12

/third_party/skia/include/gpu/gl/
DGrGLFunctions.h22 using GrGLAttachShaderFn = GrGLvoid GR_GL_FUNCTION_TYPE(GrGLuint program, GrGLuint shader);
23 using GrGLBeginQueryFn = GrGLvoid GR_GL_FUNCTION_TYPE(GrGLenum target, GrGLuint id);
24 using GrGLBindAttribLocationFn = GrGLvoid GR_GL_FUNCTION_TYPE(GrGLuint program, GrGLuint index, con…
25 using GrGLBindBufferFn = GrGLvoid GR_GL_FUNCTION_TYPE(GrGLenum target, GrGLuint buffer);
26 using GrGLBindFramebufferFn = GrGLvoid GR_GL_FUNCTION_TYPE(GrGLenum target, GrGLuint framebuffer);
27 using GrGLBindRenderbufferFn = GrGLvoid GR_GL_FUNCTION_TYPE(GrGLenum target, GrGLuint renderbuffer);
28 using GrGLBindTextureFn = GrGLvoid GR_GL_FUNCTION_TYPE(GrGLenum target, GrGLuint texture);
29 using GrGLBindFragDataLocationFn = GrGLvoid GR_GL_FUNCTION_TYPE(GrGLuint program, GrGLuint colorNum…
30 …ataLocationIndexedFn = GrGLvoid GR_GL_FUNCTION_TYPE(GrGLuint program, GrGLuint colorNumber, GrGLui…
31 using GrGLBindSamplerFn = GrGLvoid GR_GL_FUNCTION_TYPE(GrGLuint unit, GrGLuint sampler);
[all …]
DGrGLTypes.h114 typedef unsigned int GrGLuint; typedef
133 GrGLuint fCount;
134 GrGLuint fInstanceCount;
135 GrGLuint fFirst;
136 GrGLuint fBaseInstance; // Requires EXT_base_instance on ES.
143 GrGLuint fCount;
144 GrGLuint fInstanceCount;
145 GrGLuint fFirstIndex;
146 GrGLuint fBaseVertex;
147 GrGLuint fBaseInstance; // Requires EXT_base_instance on ES.
[all …]
/third_party/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.h27 GrGLPrecompiledProgram(GrGLuint programID = 0,
32 GrGLuint fProgramID;
65 GrGLuint programId,
67 SkTDArray<GrGLuint>* shaderIds,
70 void computeCountsAndStrides(GrGLuint programID,
73 void storeShaderInCache(const SkSL::Program::Inputs& inputs, GrGLuint programID,
77 void bindProgramResourceLocations(GrGLuint programID);
78 bool checkLinkStatus(GrGLuint programID, GrContextOptions::ShaderErrorHandler* errorHandler,
80 void resolveProgramResourceLocations(GrGLuint programID, bool force);
83 sk_sp<GrGLProgram> createProgram(GrGLuint programID);
DGrGLProgramBuilder.cpp37 static void cleanup_shaders(GrGLGpu* gpu, const SkTDArray<GrGLuint>& shaderIDs) { in cleanup_shaders()
43 static void cleanup_program(GrGLGpu* gpu, GrGLuint programID, in cleanup_program()
44 const SkTDArray<GrGLuint>& shaderIDs) { in cleanup_program()
100 GrGLuint programId, in compileAndAttachShaders()
102 SkTDArray<GrGLuint>* shaderIds, in compileAndAttachShaders()
105 GrGLuint shaderId = GrGLCompileAndAttachShader(gpu->glContext(), in compileAndAttachShaders()
119 void GrGLProgramBuilder::computeCountsAndStrides(GrGLuint programID, in computeCountsAndStrides()
159 void GrGLProgramBuilder::storeShaderInCache(const SkSL::Program::Inputs& inputs, GrGLuint programID, in storeShaderInCache()
237 GrGLuint programID; in finalize()
265 SkTDArray<GrGLuint> shadersToDelete; in finalize()
[all …]
DGrGLShaderStringBuilder.cpp55 GrGLuint GrGLCompileAndAttachShader(const GrGLContext& glCtx, in GrGLCompileAndAttachShader()
56 GrGLuint programId, in GrGLCompileAndAttachShader()
65 GrGLuint shaderId; in GrGLCompileAndAttachShader()
DGrGLShaderStringBuilder.h24 GrGLuint GrGLCompileAndAttachShader(const GrGLContext& glCtx,
25 GrGLuint programId,
/third_party/skia/tools/gpu/gl/
DGLTestContext.cpp39 typedef void (GR_GL_FUNCTION_TYPE* GLGenQueriesProc) (GrGLsizei, GrGLuint*);
40 typedef void (GR_GL_FUNCTION_TYPE* GLDeleteQueriesProc) (GrGLsizei, const GrGLuint*);
41 typedef void (GR_GL_FUNCTION_TYPE* GLBeginQueryProc) (GrGLenum, GrGLuint);
43 typedef void (GR_GL_FUNCTION_TYPE* GLGetQueryObjectuivProc) (GrGLuint, GrGLenum, GrGLuint*);
44 typedef void (GR_GL_FUNCTION_TYPE* GLGetQueryObjectui64vProc) (GrGLuint, GrGLenum, GrGLuint64*);
98 GrGLuint queryID; in onQueueTimerStart()
121 const GrGLuint queryID = static_cast<GrGLuint>(platformTimer); in checkQueryStatus()
125 GrGLuint available = 0; in checkQueryStatus()
142 const GrGLuint queryID = static_cast<GrGLuint>(platformTimer); in getTimeElapsed()
149 const GrGLuint queryID = static_cast<GrGLuint>(platformTimer); in deleteQuery()
[all …]
DGLTestContext.h33 virtual GrEGLImage texture2DToEGLImage(GrGLuint /*texID*/) const { return nullptr; } in texture2DToEGLImage() argument
41 virtual GrGLuint eglImageToExternalTexture(GrEGLImage) const { return 0; } in eglImageToExternalTexture()
/third_party/skia/src/gpu/gl/
DGrGLRenderTarget.h31 GrGLuint fMultisampleFBOID;
33 GrGLuint fSingleSampleFBOID;
34 GrGLuint fMSColorRenderbufferID;
123 GrGLuint fMultisampleFBOID;
124 GrGLuint fSingleSampleFBOID;
125 GrGLuint fMSColorRenderbufferID;
DGrGLGpu.h57 void bindVertexArray(GrGLuint id) { in bindVertexArray()
63 void notifyVertexArrayDelete(GrGLuint id) { in notifyVertexArrayDelete()
205 void bindFramebuffer(GrGLenum fboTarget, GrGLuint fboid);
206 void deleteFramebuffer(GrGLuint fboid);
213 void flushProgram(GrGLuint);
295 GrGLuint createTexture(SkISize dimensions,
302 GrGLuint createCompressedTexture2D(SkISize dimensions,
546 GrGLuint fHWProgramID;
555 GrGLuint fTempSrcFBOID;
556 GrGLuint fTempDstFBOID;
[all …]
DGrGLAttachment.h29 GrGLuint renderbufferID, in MakeWrappedRenderBuffer()
41 GrGLuint renderbufferID() const { return fRenderbufferID; } in renderbufferID()
54 GrGLuint renderbufferID, in GrGLAttachment()
73 GrGLuint fRenderbufferID;
DGrGLProgram.h56 GrGLuint programID,
78 GrGLuint programID() const { return fProgramID; } in programID()
129 GrGLuint programID,
147 GrGLuint fProgramID;
DGrGLTexture.h24 GrGLuint fID = 0;
44 GrGLuint textureID() const { return fID; } in textureID()
82 GrGLuint fID;
DGrGLBuffer.h27 GrGLuint bufferID() const { return fBufferID; } in bufferID()
60 GrGLuint fBufferID;
DGrGLVertexArray.h117 GrGLuint arrayID() const { return fID; } in arrayID()
122 GrGLuint fID;
DGrGLUniformHandler.h69 void bindUniformLocations(GrGLuint programID, const GrGLCaps& caps);
72 void getUniformLocations(GrGLuint programID, const GrGLCaps& caps, bool force);
DGrGLAttachment.cpp59 GrGLuint rbID = 0; in MakeStencil()
96 GrGLuint rbID = 0; in MakeMSAA()
DGrGLGpu.cpp236 for (GrGLuint sampler : fSamplers) { in ~SamplerObjectCache()
248 GrGLuint s; in bindSampler()
307 GrGLuint fSamplerIDIfKnown = 0;
311 GrGLuint fSamplers[kNumSamplers];
1599 GrGLuint colorID = this->createTexture({kSize, kSize}, format, GR_GL_TEXTURE_2D, in getCompatibleStencilIndex()
1608 GrGLuint fb = 0; in getCompatibleStencilIndex()
1617 GrGLuint sbRBID = 0; in getCompatibleStencilIndex()
1667 static void set_khr_debug_label(GrGLGpu* gpu, const GrGLuint id) { in set_khr_debug_label()
1674 GrGLuint GrGLGpu::createCompressedTexture2D( in createCompressedTexture2D()
1683 GrGLuint id = 0; in createCompressedTexture2D()
[all …]
DGrGLUniformHandler.cpp112 void GrGLUniformHandler::bindUniformLocations(GrGLuint programID, const GrGLCaps& caps) { in bindUniformLocations()
128 void GrGLUniformHandler::getUniformLocations(GrGLuint programID, const GrGLCaps& caps, bool force) { in getUniformLocations()
DGrGLProgram.cpp30 GrGLuint programID, in Make()
62 GrGLuint programID, in GrGLProgram()
DGrGLOpsRenderPass.cpp318 GrGLuint fBaseInstances[kMaxDrawCountPerBatch]; in multiDrawArraysANGLEOrWebGL()
391 GrGLuint fBaseInstances[kMaxDrawCountPerBatch]; in multiDrawElementsANGLEOrWebGL()
/third_party/skia/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp33 GrEGLImage texture2DToEGLImage(GrGLuint texID) const override;
35 GrGLuint eglImageToExternalTexture(GrEGLImage) const override;
234 GrEGLImage EGLGLTestContext::texture2DToEGLImage(GrGLuint texID) const { in texture2DToEGLImage()
252 GrGLuint EGLGLTestContext::eglImageToExternalTexture(GrEGLImage image) const { in eglImageToExternalTexture()
265 GrGLuint texID; in eglImageToExternalTexture()
/third_party/skia/src/gpu/
DGrAHardwareBufferUtils.cpp162 GLTextureHelper(GrGLuint texID, EGLImageKHR image, EGLDisplay display, GrGLuint texTarget) in GLTextureHelper()
175 GrGLuint fTexID;
178 GrGLuint fTexTarget;
232 GrGLuint texID; in make_gl_backend_texture()
239 GrGLuint target = isRenderable ? GR_GL_TEXTURE_2D : GR_GL_TEXTURE_EXTERNAL; in make_gl_backend_texture()
/third_party/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp96 GrEGLImage texture2DToEGLImage(GrGLuint texID) const override;
98 GrGLuint eglImageToExternalTexture(GrEGLImage) const override;
370 GrEGLImage ANGLEGLContext::texture2DToEGLImage(GrGLuint texID) const { in texture2DToEGLImage()
384 GrGLuint ANGLEGLContext::eglImageToExternalTexture(GrEGLImage image) const { in eglImageToExternalTexture()
395 GrGLuint texID; in eglImageToExternalTexture()
/third_party/skia/tests/
DGrGLExtensionsTest.cpp28 const GrGLubyte* simpleGetStringi(GrGLenum name, GrGLuint index) { in simpleGetStringi()

12