/external/skia/include/gpu/gl/ |
D | GrGLFunctions.h | 21 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 …]
|
D | GrGLTypes.h | 43 typedef unsigned int GrGLuint; typedef 66 GrGLuint fCount; 67 GrGLuint fInstanceCount; 68 GrGLuint fFirst; 69 GrGLuint fBaseInstance; // Requires EXT_base_instance on ES. 75 GrGLuint fCount; 76 GrGLuint fInstanceCount; 77 GrGLuint fFirstIndex; 78 GrGLuint fBaseVertex; 79 GrGLuint fBaseInstance; // Requires EXT_base_instance on ES. [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLTestInterface.h | 21 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 …]
|
D | GrGLCreateNullInterface.cpp | 22 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 …]
|
D | GrGLRenderTarget.h | 27 GrGLuint fRTFBOID; 29 GrGLuint fTexFBOID; 30 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;
|
D | GrGLPath.h | 26 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;
|
D | GrGLStencilAttachment.h | 18 static const GrGLuint kUnknownBitCount = ~0U; 21 GrGLuint fStencilBits; 22 GrGLuint fTotalBits; 28 GrGLuint fRenderbufferID; 42 GrGLuint renderbufferID() const { in renderbufferID() 62 GrGLuint fRenderbufferID;
|
D | GrGLGpu.h | 80 void bindVertexArray(GrGLuint id) { in bindVertexArray() 86 void notifyVertexArrayDelete(GrGLuint id) { in notifyVertexArrayDelete() 406 GrGLuint fHWProgramID; 414 GrGLuint fTempSrcFBOID; 415 GrGLuint fTempDstFBOID; 417 GrGLuint fStencilClearFBOID; 484 void notifyVertexArrayDelete(GrGLuint id) { in notifyVertexArrayDelete() 491 void setVertexArrayID(GrGLGpu* gpu, GrGLuint arrayID) { in setVertexArrayID() 516 GrGLuint fBoundVertexArrayID; 579 GrGLuint fTextureID; [all …]
|
D | GrGLPathRendering.h | 55 void setProgramPathFragmentInputTransform(GrGLuint program, GrGLint location, 64 GrGLuint genPaths(GrGLsizei range); 65 GrGLvoid deletePaths(GrGLuint path, GrGLsizei range); 125 GrGLuint fFirstPreallocatedPathID;
|
D | GrGLPathRange.h | 37 GrGLuint basePathID, 42 GrGLuint basePathID() const { return fBasePathID; } in basePathID() 58 GrGLuint fBasePathID;
|
D | GrGLProgram.h | 52 GrGLuint programID() const { return fProgramID; } in programID() 112 GrGLuint programID, 136 GrGLuint fProgramID;
|
D | GrGLBuffer.h | 27 GrGLuint bufferID() const { return fBufferID; } in bufferID() 59 GrGLuint fBufferID;
|
/external/skia/tools/gpu/gl/debug/ |
D | DebugGLTestContext.cpp | 82 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 …]
|
D | GrFakeRefObj.h | 51 GrGLuint getID() const { return fID; } in getID() 67 GrGLuint fID; // globally unique ID
|
/external/skia/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.h | 51 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);
|
D | GrGLProgramBuilder.cpp | 73 GrGLuint programId, in compileAndAttachShaders() 75 SkTDArray<GrGLuint>* shaderIds, in compileAndAttachShaders() 79 GrGLuint shaderId = GrGLCompileAndAttachShader(gpu->glContext(), in compileAndAttachShaders() 106 GrGLuint programID; in finalize() 120 SkTDArray<GrGLuint> shadersToDelete; in finalize() 173 void GrGLProgramBuilder::bindProgramResourceLocations(GrGLuint programID) { in bindProgramResourceLocations() 199 bool GrGLProgramBuilder::checkLinkStatus(GrGLuint programID) { in checkLinkStatus() 223 void GrGLProgramBuilder::resolveProgramResourceLocations(GrGLuint programID) { in resolveProgramResourceLocations() 242 void GrGLProgramBuilder::cleanupProgram(GrGLuint programID, const SkTDArray<GrGLuint>& shaderIDs) { in cleanupProgram() 247 void GrGLProgramBuilder::cleanupShaders(const SkTDArray<GrGLuint>& shaderIDs) { in cleanupShaders() [all …]
|
D | GrGLShaderStringBuilder.h | 17 GrGLuint GrGLCompileAndAttachShader(const GrGLContext& glCtx, 18 GrGLuint programId,
|
/external/skia/tools/gpu/gl/ |
D | GLTestContext.cpp | 108 typedef void (GR_GL_FUNCTION_TYPE* GLGenQueriesProc) (GrGLsizei, GrGLuint*); 109 typedef void (GR_GL_FUNCTION_TYPE* GLDeleteQueriesProc) (GrGLsizei, const GrGLuint*); 110 typedef void (GR_GL_FUNCTION_TYPE* GLBeginQueryProc) (GrGLenum, GrGLuint); 112 typedef void (GR_GL_FUNCTION_TYPE* GLGetQueryObjectuivProc) (GrGLuint, GrGLenum, GrGLuint*); 113 typedef void (GR_GL_FUNCTION_TYPE* GLGetQueryObjectui64vProc) (GrGLuint, GrGLenum, GrGLuint64*); 161 GrGLuint queryID; in onQueueTimerStart() 184 const GrGLuint queryID = static_cast<GrGLuint>(platformTimer); in checkQueryStatus() 188 GrGLuint available = 0; in checkQueryStatus() 205 const GrGLuint queryID = static_cast<GrGLuint>(platformTimer); in getTimeElapsed() 212 const GrGLuint queryID = static_cast<GrGLuint>(platformTimer); in deleteQuery() [all …]
|
/external/skia/bench/ |
D | GLBench.cpp | 68 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()
|
D | GLInstancedArraysBench.cpp | 73 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 …]
|
D | GLVertexAttributesBench.cpp | 43 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()
|
D | GLVec4ScalarBench.cpp | 63 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()
|
D | GLBench.h | 38 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/angle/ |
D | GLTestContext_angle.cpp | 82 GrEGLImage texture2DToEGLImage(GrGLuint texID) const override; 84 GrGLuint eglImageToExternalTexture(GrEGLImage) const override; 172 GrEGLImage ANGLEGLContext::texture2DToEGLImage(GrGLuint texID) const { in texture2DToEGLImage() 192 GrGLuint ANGLEGLContext::eglImageToExternalTexture(GrEGLImage image) const { in eglImageToExternalTexture() 203 GrGLuint texID; in eglImageToExternalTexture()
|
/external/skia/tools/gpu/gl/egl/ |
D | CreatePlatformGLTestContext_egl.cpp | 44 GrEGLImage texture2DToEGLImage(GrGLuint texID) const override; 46 GrGLuint eglImageToExternalTexture(GrEGLImage) const override; 216 GrEGLImage EGLGLTestContext::texture2DToEGLImage(GrGLuint texID) const { in texture2DToEGLImage() 232 GrGLuint EGLGLTestContext::eglImageToExternalTexture(GrEGLImage image) const { in eglImageToExternalTexture() 244 GrGLuint texID; in eglImageToExternalTexture()
|