Home
last modified time | relevance | path

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

12

/external/skia/include/gpu/gl/
DGrGLFunctions.h21 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLAttachShaderProc)(GrGLuint program, GrGLuint shader);
22 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBeginQueryProc)(GrGLenum target, GrGLuint id);
23 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBindAttribLocationProc)(GrGLuint program, GrGLuint index…
24 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBindBufferProc)(GrGLenum target, GrGLuint buffer);
25 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBindFramebufferProc)(GrGLenum target, GrGLuint framebuff…
26 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBindRenderbufferProc)(GrGLenum target, GrGLuint renderbu…
27 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBindImageTextureProc)(GrGLuint unit, GrGLuint texture, G…
28 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBindTextureProc)(GrGLenum target, GrGLuint texture);
29 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBindFragDataLocationProc)(GrGLuint program, GrGLuint col…
30 …FUNCTION_TYPE* GrGLBindFragDataLocationIndexedProc)(GrGLuint program, GrGLuint colorNumber, GrGLui…
[all …]
DGrGLTypes.h42 typedef unsigned int GrGLuint; typedef
65 GrGLuint fCount;
66 GrGLuint fInstanceCount;
67 GrGLuint fFirst;
68 GrGLuint fBaseInstance; // Requires EXT_base_instance on ES.
74 GrGLuint fCount;
75 GrGLuint fInstanceCount;
76 GrGLuint fFirstIndex;
77 GrGLuint fBaseVertex;
78 GrGLuint fBaseInstance; // Requires EXT_base_instance on ES.
[all …]
/external/skia/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 bindTexture(GrGLenum target, GrGLuint texture) {} in bindTexture()
28 …virtual GrGLvoid bindFragDataLocation(GrGLuint program, GrGLuint colorNumber, const GrGLchar* name… in bindFragDataLocation()
29 …virtual GrGLvoid bindFragDataLocationIndexed(GrGLuint program, GrGLuint colorNumber, GrGLuint inde… in bindFragDataLocationIndexed()
30 virtual GrGLvoid bindVertexArray(GrGLuint array) {} in bindVertexArray()
[all …]
DGrGLCreateNullInterface.cpp22 GLObject(GrGLuint id) : fID(id) {} in GLObject()
25 GrGLuint id() const { return fID; } in id()
28 GrGLuint fID;
52 T* lookUp(GrGLuint id) { in lookUp()
59 GrGLuint id; in create()
69 id = static_cast<GrGLuint>(fFreeListHead); in create()
83 GrGLuint id = object->id(); in free()
100 Buffer(GrGLuint id) : INHERITED(id), fDataPtr(nullptr), fSize(0), fMapped(false) {} in Buffer()
246 GrGLvoid genBuffers(GrGLsizei n, GrGLuint* ids) override { in genBuffers()
255 GrGLuint id = fBoundBuffers[GetBufferIndex(target)]; in bufferData()
[all …]
DGrGLRenderTarget.h27 GrGLuint fRTFBOID;
29 GrGLuint fTexFBOID;
30 GrGLuint fMSColorRenderbufferID;
45 GrGLuint renderFBOID() const { return fRTFBOID; } in renderFBOID()
47 GrGLuint textureFBOID() const { return fTexFBOID; } in textureFBOID()
95 GrGLuint fRTFBOID;
96 GrGLuint fTexFBOID;
97 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.h79 void bindVertexArray(GrGLuint id) { in bindVertexArray()
85 void notifyVertexArrayDelete(GrGLuint id) { in notifyVertexArrayDelete()
415 GrGLuint fHWProgramID;
423 GrGLuint fTempSrcFBOID;
424 GrGLuint fTempDstFBOID;
426 GrGLuint fStencilClearFBOID;
493 void notifyVertexArrayDelete(GrGLuint id) { in notifyVertexArrayDelete()
500 void setVertexArrayID(GrGLGpu* gpu, GrGLuint arrayID) { in setVertexArrayID()
525 GrGLuint fBoundVertexArrayID;
587 GrGLuint fTextureID;
[all …]
DGrGLPathRange.h37 GrGLuint basePathID,
42 GrGLuint basePathID() const { return fBasePathID; } in basePathID()
58 GrGLuint fBasePathID;
DGrGLPathRendering.h56 void setProgramPathFragmentInputTransform(GrGLuint program, GrGLint location,
65 GrGLuint genPaths(GrGLsizei range);
66 GrGLvoid deletePaths(GrGLuint path, GrGLsizei range);
126 GrGLuint fFirstPreallocatedPathID;
DGrGLProgram.h52 GrGLuint programID() const { return fProgramID; } in programID()
112 GrGLuint programID,
139 GrGLuint fProgramID;
DGrGLBuffer.h27 GrGLuint bufferID() const { return fBufferID; } in bufferID()
59 GrGLuint fBufferID;
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.h51 GrGLuint programId,
53 SkTDArray<GrGLuint>* shaderIds,
57 void bindProgramResourceLocations(GrGLuint programID);
58 bool checkLinkStatus(GrGLuint programID);
59 void resolveProgramResourceLocations(GrGLuint programID);
60 void cleanupProgram(GrGLuint programID, const SkTDArray<GrGLuint>& shaderIDs);
61 void cleanupShaders(const SkTDArray<GrGLuint>& shaderIDs);
64 GrGLProgram* createProgram(GrGLuint programID);
DGrGLProgramBuilder.cpp69 GrGLuint programId, in compileAndAttachShaders()
71 SkTDArray<GrGLuint>* shaderIds, in compileAndAttachShaders()
75 GrGLuint shaderId = GrGLCompileAndAttachShader(gpu->glContext(), in compileAndAttachShaders()
104 GrGLuint programID; in finalize()
118 SkTDArray<GrGLuint> shadersToDelete; in finalize()
188 void GrGLProgramBuilder::bindProgramResourceLocations(GrGLuint programID) { in bindProgramResourceLocations()
214 bool GrGLProgramBuilder::checkLinkStatus(GrGLuint programID) { in checkLinkStatus()
238 void GrGLProgramBuilder::resolveProgramResourceLocations(GrGLuint programID) { in resolveProgramResourceLocations()
257 void GrGLProgramBuilder::cleanupProgram(GrGLuint programID, const SkTDArray<GrGLuint>& shaderIDs) { in cleanupProgram()
262 void GrGLProgramBuilder::cleanupShaders(const SkTDArray<GrGLuint>& shaderIDs) { in cleanupShaders()
[all …]
DGrGLShaderStringBuilder.h17 GrGLuint GrGLCompileAndAttachShader(const GrGLContext& glCtx,
18 GrGLuint programId,
/external/skia/tools/gpu/gl/debug/
DDebugGLTestContext.cpp82 GrGLvoid attachShader(GrGLuint programID, GrGLuint shaderID) override { in attachShader()
94 GrGLvoid bindTexture(GrGLenum target, GrGLuint textureID) override { in bindTexture()
204 GrGLvoid useProgram(GrGLuint programID) override { in useProgram()
212 GrGLvoid bindFramebuffer(GrGLenum target, GrGLuint frameBufferID) override { in bindFramebuffer()
226 GrGLvoid bindRenderbuffer(GrGLenum target, GrGLuint renderBufferID) override { in bindRenderbuffer()
237 GrGLvoid deleteTextures(GrGLsizei n, const GrGLuint* textures) override { in deleteTextures()
292 GrGLvoid deleteFramebuffers(GrGLsizei n, const GrGLuint *frameBuffers) override { in deleteFramebuffers()
317 GrGLvoid deleteRenderbuffers(GrGLsizei n,const GrGLuint *renderBuffers) override { in deleteRenderbuffers()
393 GrGLvoid namedRenderbufferStorage(GrGLuint renderbuffer, GrGLenum GrGLinternalformat, in namedRenderbufferStorage()
398 GrGLvoid namedRenderbufferStorageMultisample(GrGLuint renderbuffer, GrGLsizei samples, in namedRenderbufferStorageMultisample()
[all …]
DGrFakeRefObj.h51 GrGLuint getID() const { return fID; } in getID()
67 GrGLuint fID; // globally unique ID
/external/skia/tools/gpu/gl/
DGLTestContext.cpp111 typedef void (GR_GL_FUNCTION_TYPE* GLGenQueriesProc) (GrGLsizei, GrGLuint*);
112 typedef void (GR_GL_FUNCTION_TYPE* GLDeleteQueriesProc) (GrGLsizei, const GrGLuint*);
113 typedef void (GR_GL_FUNCTION_TYPE* GLBeginQueryProc) (GrGLenum, GrGLuint);
115 typedef void (GR_GL_FUNCTION_TYPE* GLGetQueryObjectuivProc) (GrGLuint, GrGLenum, GrGLuint*);
116 typedef void (GR_GL_FUNCTION_TYPE* GLGetQueryObjectui64vProc) (GrGLuint, GrGLenum, GrGLuint64*);
164 GrGLuint queryID; in onQueueTimerStart()
187 const GrGLuint queryID = static_cast<GrGLuint>(platformTimer); in checkQueryStatus()
191 GrGLuint available = 0; in checkQueryStatus()
208 const GrGLuint queryID = static_cast<GrGLuint>(platformTimer); in getTimeElapsed()
215 const GrGLuint queryID = static_cast<GrGLuint>(platformTimer); in deleteQuery()
[all …]
/external/skia/bench/
DGLBench.cpp68 GrGLuint GLBench::CompileShader(const GrGLContext* context, const char* sksl, GrGLenum type) { in CompileShader()
82 GrGLuint shader; in CompileShader()
105 GrGLuint GLBench::CreateProgram(const GrGLContext* context, const char* vshader, in CreateProgram()
108 GrGLuint vertexShader = CompileShader(context, vshader, GR_GL_VERTEX_SHADER); in CreateProgram()
109 GrGLuint fragmentShader = CompileShader(context, fshader, GR_GL_FRAGMENT_SHADER); in CreateProgram()
111 GrGLuint shaderProgram; in CreateProgram()
131 GrGLuint GLBench::SetupFramebuffer(const GrGLInterface* gl, int screenWidth, int screenHeight) { in SetupFramebuffer()
133 GrGLuint texture; in SetupFramebuffer()
152 GrGLuint framebuffer; in SetupFramebuffer()
DGLInstancedArraysBench.cpp73 GrGLuint setupShader(const GrGLContext*);
92 static const GrGLuint kScreenWidth = 800;
93 static const GrGLuint kScreenHeight = 600;
101 SkTArray<GrGLuint> fBuffers;
102 GrGLuint fProgram;
103 GrGLuint fVAO;
104 GrGLuint fTexture;
109 GrGLuint GLCpuPosInstancedArraysBench::setupShader(const GrGLContext* ctx) { in setupShader()
199 GrGLuint posVBO; in setupInstanceVbo()
209 GrGLuint instanceVBO; in setupInstanceVbo()
[all …]
DGLVertexAttributesBench.cpp43 static const GrGLuint kScreenWidth = 800;
44 static const GrGLuint kScreenHeight = 600;
51 GrGLuint setupShader(const GrGLContext*, uint32_t attribs, uint32_t maxAttribs);
53 GrGLuint fTexture;
54 SkTArray<GrGLuint> fBuffers;
55 GrGLuint fProgram;
56 GrGLuint fVBO;
66 GrGLuint GLVertexAttributesBench::setupShader(const GrGLContext* ctx, uint32_t attribs, in setupShader()
DGLVec4ScalarBench.cpp63 GrGLuint setupShader(const GrGLContext*);
80 static const GrGLuint kScreenWidth = 800;
81 static const GrGLuint kScreenHeight = 600;
88 GrGLuint fVboId;
89 GrGLuint fProgram;
90 GrGLuint fFboTextureId;
95 GrGLuint GLVec4ScalarBench::setupShader(const GrGLContext* ctx) { in setupShader()
DGLBench.h38 static GrGLuint CompileShader(const GrGLContext*, const char* shaderSrc, GrGLenum type);
39 static GrGLuint CreateProgram(const GrGLContext*, const char* vshader, const char* fshader);
40 static GrGLuint SetupFramebuffer(const GrGLInterface*, int screenWidth, int screenHeight);
/external/skia/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp47 GrEGLImage texture2DToEGLImage(GrGLuint texID) const override;
49 GrGLuint eglImageToExternalTexture(GrEGLImage) const override;
219 GrEGLImage EGLGLTestContext::texture2DToEGLImage(GrGLuint texID) const { in texture2DToEGLImage()
235 GrGLuint EGLGLTestContext::eglImageToExternalTexture(GrEGLImage image) const { in eglImageToExternalTexture()
248 GrGLuint texID; in eglImageToExternalTexture()
/external/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp81 GrEGLImage texture2DToEGLImage(GrGLuint texID) const override;
83 GrGLuint eglImageToExternalTexture(GrEGLImage) const override;
261 GrEGLImage ANGLEGLContext::texture2DToEGLImage(GrGLuint texID) const { in texture2DToEGLImage()
281 GrGLuint ANGLEGLContext::eglImageToExternalTexture(GrEGLImage image) const { in eglImageToExternalTexture()
292 GrGLuint texID; in eglImageToExternalTexture()

12