Home
last modified time | relevance | path

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

1234

/external/skqp/src/gpu/gl/
DGrGLTestInterface.h21 virtual GrGLvoid attachShader(GrGLuint program, GrGLuint shader) {} in attachShader()
22 virtual GrGLvoid beginQuery(GrGLenum target, GrGLuint id) {} in beginQuery()
23 virtual GrGLvoid bindAttribLocation(GrGLuint program, GrGLuint index, const char* name) {} in bindAttribLocation()
24 virtual GrGLvoid bindBuffer(GrGLenum target, GrGLuint buffer) {} in bindBuffer()
25 virtual GrGLvoid bindFramebuffer(GrGLenum target, GrGLuint framebuffer) {} in bindFramebuffer()
26 virtual GrGLvoid bindRenderbuffer(GrGLenum target, GrGLuint renderbuffer) {} in bindRenderbuffer()
27 virtual GrGLvoid bindSampler(GrGLuint unit, GrGLuint sampler) {} in bindSampler()
28 virtual GrGLvoid bindTexture(GrGLenum target, GrGLuint texture) {} in bindTexture()
29 …virtual GrGLvoid bindFragDataLocation(GrGLuint program, GrGLuint colorNumber, const GrGLchar* name… in bindFragDataLocation()
30 …virtual GrGLvoid bindFragDataLocationIndexed(GrGLuint program, GrGLuint colorNumber, GrGLuint inde… in bindFragDataLocationIndexed()
[all …]
DGrGLCreateNullInterface.cpp23 GLObject(GrGLuint id) : fID(id) {} in GLObject()
26 GrGLuint id() const { return fID; } in id()
29 GrGLuint fID;
53 T* lookUp(GrGLuint id) { in lookUp()
60 GrGLuint id; in create()
70 id = static_cast<GrGLuint>(fFreeListHead); in create()
84 GrGLuint id = object->id(); in free()
101 Buffer(GrGLuint id) : INHERITED(id), fDataPtr(nullptr), fSize(0), fMapped(false) {} in Buffer()
247 GrGLvoid genBuffers(GrGLsizei n, GrGLuint* ids) override { in genBuffers()
256 GrGLuint id = fBoundBuffers[GetBufferIndex(target)]; in bufferData()
[all …]
DGrGLRenderTarget.h30 GrGLuint fRTFBOID;
32 GrGLuint fTexFBOID;
33 GrGLuint fMSColorRenderbufferID;
49 GrGLuint renderFBOID() const { return fRTFBOID; } in renderFBOID()
51 GrGLuint textureFBOID() const { return fTexFBOID; } in textureFBOID()
102 GrGLuint fRTFBOID;
103 GrGLuint fTexFBOID;
104 GrGLuint fMSColorRenderbufferID;
DGrGLPath.h26 GrGLuint pathID,
29 GrGLuint pathID,
31 static void InitPathObjectStroke(GrGLGpu*, GrGLuint pathID, const SkStrokeRec&);
33 static void InitPathObjectEmptyPath(GrGLGpu*, GrGLuint pathID);
37 GrGLuint pathID() const { return fPathID; } in pathID()
49 GrGLuint fPathID;
DGrGLStencilAttachment.h18 static const GrGLuint kUnknownBitCount = ~0U;
21 GrGLuint fStencilBits;
22 GrGLuint fTotalBits;
28 GrGLuint fRenderbufferID;
42 GrGLuint renderbufferID() const { in renderbufferID()
62 GrGLuint fRenderbufferID;
DGrGLGpu.h63 void bindVertexArray(GrGLuint id) { in bindVertexArray()
69 void notifyVertexArrayDelete(GrGLuint id) { in notifyVertexArrayDelete()
176 void bindFramebuffer(GrGLenum fboTarget, GrGLuint fboid);
177 void deleteFramebuffer(GrGLuint fboid);
275 void flushProgram(GrGLuint);
428 GrGLuint fHWProgramID;
437 GrGLuint fTempSrcFBOID;
438 GrGLuint fTempDstFBOID;
440 GrGLuint fStencilClearFBOID;
507 void notifyVertexArrayDelete(GrGLuint id) { in notifyVertexArrayDelete()
[all …]
DGrGLPathRendering.h54 void setProgramPathFragmentInputTransform(GrGLuint program, GrGLint location,
63 GrGLuint genPaths(GrGLsizei range);
64 GrGLvoid deletePaths(GrGLuint path, GrGLsizei range);
118 GrGLuint fFirstPreallocatedPathID;
/external/skqp/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.h42 typedef unsigned int GrGLuint; typedef
60 GrGLuint fCount;
61 GrGLuint fInstanceCount;
62 GrGLuint fFirst;
63 GrGLuint fBaseInstance; // Requires EXT_base_instance on ES.
69 GrGLuint fCount;
70 GrGLuint fInstanceCount;
71 GrGLuint fFirstIndex;
72 GrGLuint fBaseVertex;
73 GrGLuint fBaseInstance; // Requires EXT_base_instance on ES.
[all …]
/external/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.h103 typedef unsigned int GrGLuint; typedef
122 GrGLuint fCount;
123 GrGLuint fInstanceCount;
124 GrGLuint fFirst;
125 GrGLuint fBaseInstance; // Requires EXT_base_instance on ES.
132 GrGLuint fCount;
133 GrGLuint fInstanceCount;
134 GrGLuint fFirstIndex;
135 GrGLuint fBaseVertex;
136 GrGLuint fBaseInstance; // Requires EXT_base_instance on ES.
[all …]
/external/skqp/src/gpu/gl/builders/
DGrGLProgramBuilder.h57 GrGLuint programId,
59 SkTDArray<GrGLuint>* shaderIds,
64 GrGLuint programId,
66 SkTDArray<GrGLuint>* shaderIds,
69 void computeCountsAndStrides(GrGLuint programID, const GrPrimitiveProcessor& primProc,
71 void storeShaderInCache(const SkSL::Program::Inputs& inputs, GrGLuint programID,
74 void bindProgramResourceLocations(GrGLuint programID);
75 bool checkLinkStatus(GrGLuint programID);
76 void resolveProgramResourceLocations(GrGLuint programID);
77 void cleanupProgram(GrGLuint programID, const SkTDArray<GrGLuint>& shaderIDs);
[all …]
DGrGLProgramBuilder.cpp86 GrGLuint programId, in compileAndAttachShaders()
88 SkTDArray<GrGLuint>* shaderIds, in compileAndAttachShaders()
92 GrGLuint shaderId = GrGLCompileAndAttachShader(gpu->glContext(), in compileAndAttachShaders()
113 GrGLuint programId, in compileAndAttachShaders()
115 SkTDArray<GrGLuint>* shaderIds, in compileAndAttachShaders()
135 void GrGLProgramBuilder::computeCountsAndStrides(GrGLuint programID, in computeCountsAndStrides()
174 void GrGLProgramBuilder::storeShaderInCache(const SkSL::Program::Inputs& inputs, GrGLuint programID, in storeShaderInCache()
216 GrGLuint programID; in finalize()
238 SkTDArray<GrGLuint> shadersToDelete; in finalize()
385 void GrGLProgramBuilder::bindProgramResourceLocations(GrGLuint programID) { in bindProgramResourceLocations()
[all …]
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.h27 GrGLPrecompiledProgram(GrGLuint programID = 0,
32 GrGLuint fProgramID;
64 GrGLuint programId,
66 SkTDArray<GrGLuint>* shaderIds,
69 void computeCountsAndStrides(GrGLuint programID, const GrPrimitiveProcessor& primProc,
71 void storeShaderInCache(const SkSL::Program::Inputs& inputs, GrGLuint programID,
75 void bindProgramResourceLocations(GrGLuint programID);
76 bool checkLinkStatus(GrGLuint programID, GrContextOptions::ShaderErrorHandler* errorHandler,
78 void resolveProgramResourceLocations(GrGLuint programID, bool force);
81 sk_sp<GrGLProgram> createProgram(GrGLuint programID);
DGrGLProgramBuilder.cpp36 static void cleanup_shaders(GrGLGpu* gpu, const SkTDArray<GrGLuint>& shaderIDs) { in cleanup_shaders()
42 static void cleanup_program(GrGLGpu* gpu, GrGLuint programID, in cleanup_program()
43 const SkTDArray<GrGLuint>& shaderIDs) { in cleanup_program()
95 GrGLuint programId, in compileAndAttachShaders()
97 SkTDArray<GrGLuint>* shaderIds, in compileAndAttachShaders()
100 GrGLuint shaderId = GrGLCompileAndAttachShader(gpu->glContext(), in compileAndAttachShaders()
114 void GrGLProgramBuilder::computeCountsAndStrides(GrGLuint programID, in computeCountsAndStrides()
157 void GrGLProgramBuilder::storeShaderInCache(const SkSL::Program::Inputs& inputs, GrGLuint programID, in storeShaderInCache()
206 GrGLuint programID; in finalize()
236 SkTDArray<GrGLuint> shadersToDelete; in finalize()
[all …]
/external/skia/tools/gpu/gl/
DGLTestContext.cpp62 typedef GrGLvoid(GR_GL_FUNCTION_TYPE* GLGenFencesNVProc) (GrGLsizei, GrGLuint*);
63 typedef GrGLvoid(GR_GL_FUNCTION_TYPE* GLDeleteFencesNVProc) (GrGLsizei, const GrGLuint*);
64 typedef GrGLvoid(GR_GL_FUNCTION_TYPE* GLSetFenceNVProc) (GrGLuint, GrGLenum);
65 typedef GrGLvoid(GR_GL_FUNCTION_TYPE* GLFinishFenceNVProc) (GrGLuint);
129 GrGLuint fence; in insertFence()
141 GrGLuint glFence = static_cast<GrGLuint>(fence); in deleteFence()
167 typedef void (GR_GL_FUNCTION_TYPE* GLGenQueriesProc) (GrGLsizei, GrGLuint*);
168 typedef void (GR_GL_FUNCTION_TYPE* GLDeleteQueriesProc) (GrGLsizei, const GrGLuint*);
169 typedef void (GR_GL_FUNCTION_TYPE* GLBeginQueryProc) (GrGLenum, GrGLuint);
171 typedef void (GR_GL_FUNCTION_TYPE* GLGetQueryObjectuivProc) (GrGLuint, GrGLenum, GrGLuint*);
[all …]
DGLTestContext.h30 virtual GrEGLImage texture2DToEGLImage(GrGLuint /*texID*/) const { return nullptr; } in texture2DToEGLImage() argument
35 GrGLuint createTextureRectangle(int width, int height, GrGLenum internalFormat,
42 virtual GrGLuint eglImageToExternalTexture(GrEGLImage) const { return 0; } in eglImageToExternalTexture()
/external/skqp/tools/gpu/gl/
DGLTestContext.cpp62 typedef GrGLvoid(GR_GL_FUNCTION_TYPE* GLGenFencesNVProc) (GrGLsizei, GrGLuint*);
63 typedef GrGLvoid(GR_GL_FUNCTION_TYPE* GLDeleteFencesNVProc) (GrGLsizei, const GrGLuint*);
64 typedef GrGLvoid(GR_GL_FUNCTION_TYPE* GLSetFenceNVProc) (GrGLuint, GrGLenum);
65 typedef GrGLvoid(GR_GL_FUNCTION_TYPE* GLFinishFenceNVProc) (GrGLuint);
129 GrGLuint fence; in insertFence()
141 GrGLuint glFence = static_cast<GrGLuint>(fence); in deleteFence()
167 typedef void (GR_GL_FUNCTION_TYPE* GLGenQueriesProc) (GrGLsizei, GrGLuint*);
168 typedef void (GR_GL_FUNCTION_TYPE* GLDeleteQueriesProc) (GrGLsizei, const GrGLuint*);
169 typedef void (GR_GL_FUNCTION_TYPE* GLBeginQueryProc) (GrGLenum, GrGLuint);
171 typedef void (GR_GL_FUNCTION_TYPE* GLGetQueryObjectuivProc) (GrGLuint, GrGLenum, GrGLuint*);
[all …]
/external/skia/src/gpu/gl/
DGrGLRenderTarget.h29 GrGLuint fRTFBOID;
31 GrGLuint fTexFBOID;
32 GrGLuint fMSColorRenderbufferID;
45 GrGLuint renderFBOID() const { return fRTFBOID; } in renderFBOID()
47 GrGLuint textureFBOID() const { return fTexFBOID; } in textureFBOID()
96 GrGLuint fRTFBOID;
97 GrGLuint fTexFBOID;
98 GrGLuint fMSColorRenderbufferID;
DGrGLPath.h26 GrGLuint pathID,
29 GrGLuint pathID,
31 static void InitPathObjectStroke(GrGLGpu*, GrGLuint pathID, const SkStrokeRec&);
33 static void InitPathObjectEmptyPath(GrGLGpu*, GrGLuint pathID);
37 GrGLuint pathID() const { return fPathID; } in pathID()
49 GrGLuint fPathID;
DGrGLStencilAttachment.h18 static const GrGLuint kUnknownBitCount = ~0U;
21 GrGLuint fStencilBits;
22 GrGLuint fTotalBits;
28 GrGLuint fRenderbufferID;
42 GrGLuint renderbufferID() const { in renderbufferID()
62 GrGLuint fRenderbufferID;
DGrGLGpu.h60 void bindVertexArray(GrGLuint id) { in bindVertexArray()
66 void notifyVertexArrayDelete(GrGLuint id) { in notifyVertexArrayDelete()
176 void bindFramebuffer(GrGLenum fboTarget, GrGLuint fboid);
177 void deleteFramebuffer(GrGLuint fboid);
246 GrGLuint createTexture2D(SkISize dimensions,
252 GrGLuint createCompressedTexture2D(SkISize dimensions,
295 void flushProgram(GrGLuint);
447 GrGLuint fHWProgramID;
456 GrGLuint fTempSrcFBOID;
457 GrGLuint fTempDstFBOID;
[all …]
DGrGLPathRendering.h54 void setProgramPathFragmentInputTransform(GrGLuint program, GrGLint location,
63 GrGLuint genPaths(GrGLsizei range);
64 GrGLvoid deletePaths(GrGLuint path, GrGLsizei range);
114 GrGLuint fFirstPreallocatedPathID;
DGrGLTexture.h24 GrGLuint fID = 0;
44 GrGLuint textureID() const { return fID; } in textureID()
82 GrGLuint fID;
/external/skqp/src/compute/sk/
DSkImage_Compute.h49 GrGLuint const snap,
66 GrGLuint snap; // fbo

1234