/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* GrGLBindTextureProc)(GrGLenum target, GrGLuint texture); 28 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBindFragDataLocationProc)(GrGLuint program, GrGLuint col… 29 …FUNCTION_TYPE* GrGLBindFragDataLocationIndexedProc)(GrGLuint program, GrGLuint colorNumber, GrGLui… 30 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBindVertexArrayProc)(GrGLuint array); [all …]
|
D | GrGLTypes.h | 41 typedef unsigned int GrGLuint; typedef 63 GrGLuint fCount; 64 GrGLuint fInstanceCount; 65 GrGLuint fFirst; 66 GrGLuint fBaseInstance; // Requires EXT_base_instance on ES. 72 GrGLuint fCount; 73 GrGLuint fInstanceCount; 74 GrGLuint fFirstIndex; 75 GrGLuint fBaseVertex; 76 GrGLuint fBaseInstance; // Requires EXT_base_instance on ES. [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.h | 74 void bindVertexArray(GrGLuint id) { in bindVertexArray() 77 void bindIndexBufferAndDefaultVertexArray(GrGLuint id) { in bindIndexBufferAndDefaultVertexArray() 80 void bindVertexBuffer(GrGLuint id) { in bindVertexBuffer() 86 void notifyVertexArrayDelete(GrGLuint id) { in notifyVertexArrayDelete() 89 void notifyVertexBufferDelete(GrGLuint id) { in notifyVertexBufferDelete() 92 void notifyIndexBufferDelete(GrGLuint id) { in notifyIndexBufferDelete() 101 void bindBuffer(GrGLuint id, GrGLenum type); 103 void releaseBuffer(GrGLuint id, GrGLenum type); 106 void* mapBuffer(GrGLuint id, GrGLenum type, GrGLBufferImpl::Usage usage, size_t currentSize, 109 void unmapBuffer(GrGLuint id, GrGLenum type, void* mapPtr); [all …]
|
D | GrGLNoOpInterface.h | 16 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBindFragDataLocation(GrGLuint program, 17 GrGLuint colorNumber, 49 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLCompileShader(GrGLuint shader); 85 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDisableVertexAttribArray(GrGLuint index); 112 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnableVertexAttribArray(GrGLuint index); 128 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLLinkProgram(GrGLuint program); 130 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLQueryCounter(GrGLuint id, 140 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLShaderSource(GrGLuint shader, 149 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLStencilFunc(GrGLenum func, GrGLint ref, GrGLuint mask); 154 GrGLuint mask); [all …]
|
D | GrGLCreateNullInterface.cpp | 25 BufferObj(GrGLuint id) : fID(id), fDataPtr(nullptr), fSize(0), fMapped(false) { in BufferObj() 39 GrGLuint id() const { return fID; } in id() 47 GrGLuint fID; 72 BufferObj* lookUp(GrGLuint id) { in lookUp() 79 GrGLuint id; in create() 89 id = static_cast<GrGLuint>(fFreeListHead); in create() 102 GrGLuint id = buffer->id(); in free() 128 GrGLuint fCurrArrayBuffer; 129 GrGLuint fCurrElementArrayBuffer; 130 GrGLuint fCurrProgramID; [all …]
|
D | SkNullGLContext.cpp | 24 BufferObj(GrGLuint id) : fID(id), fDataPtr(nullptr), fSize(0), fMapped(false) {} in BufferObj() 37 GrGLuint id() const { return fID; } in id() 45 GrGLuint fID; 70 BufferObj* lookUp(GrGLuint id) { in lookUp() 77 GrGLuint id; in create() 87 id = static_cast<GrGLuint>(fFreeListHead); in create() 100 GrGLuint id = buffer->id(); in free() 123 GrGLuint fCurrArrayBuffer; 124 GrGLuint fCurrElementArrayBuffer; 125 GrGLuint fCurrPixelPackBuffer; [all …]
|
D | GrGLNoOpInterface.cpp | 50 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBindFragDataLocation(GrGLuint program, in noOpGLBindFragDataLocation() 51 GrGLuint colorNumber, in noOpGLBindFragDataLocation() 92 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLCompileShader(GrGLuint shader) { in noOpGLCompileShader() 135 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDisableVertexAttribArray(GrGLuint index) { in noOpGLDisableVertexAttribArray() 172 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnableVertexAttribArray(GrGLuint index) { in noOpGLEnableVertexAttribArray() 190 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLLinkProgram(GrGLuint program) { in noOpGLLinkProgram() 199 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLQueryCounter(GrGLuint id, GrGLenum target) { in noOpGLQueryCounter() 211 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLShaderSource(GrGLuint shader, in noOpGLShaderSource() 221 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLStencilFunc(GrGLenum func, GrGLint ref, GrGLuint mask) { in noOpGLStencilFunc() 227 GrGLuint mask) { in noOpGLStencilFuncSeparate() [all …]
|
D | GrGLVertexArray.h | 44 GrGLuint vertexBufferID, 62 void notifyVertexBufferDelete(GrGLuint id) { in notifyVertexBufferDelete() 90 GrGLuint fVertexBufferID; 118 GrGLAttribArrayState* bindWithIndexBuffer(GrGLGpu* gpu, GrGLuint indexBufferID); 120 void notifyIndexBufferDelete(GrGLuint bufferID); 122 void notifyVertexBufferDelete(GrGLuint id) { in notifyVertexBufferDelete() 126 GrGLuint arrayID() const { return fID; } in arrayID() 131 GrGLuint fID; 133 GrGLuint fIndexBufferID;
|
D | GrGLRenderTarget.h | 26 GrGLuint fRTFBOID; 27 GrGLuint fTexFBOID; 28 GrGLuint fMSColorRenderbufferID; 45 GrGLuint renderFBOID() const { return fRTFBOID; } in renderFBOID() 47 GrGLuint textureFBOID() const { return fTexFBOID; } in textureFBOID() 102 GrGLuint fRTFBOID; 103 GrGLuint fTexFBOID; 104 GrGLuint fMSColorRenderbufferID;
|
D | GrGLPath.h | 26 GrGLuint pathID, 29 GrGLuint pathID, 31 static void InitPathObjectStroke(GrGLGpu* gpu, GrGLuint pathID, const GrStrokeInfo& stroke); 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; 43 GrGLuint renderbufferID() const { in renderbufferID() 63 GrGLuint fRenderbufferID;
|
D | GrGLPathRendering.h | 54 void setProgramPathFragmentInputTransform(GrGLuint program, GrGLint location, 63 GrGLuint genPaths(GrGLsizei range); 64 GrGLvoid deletePaths(GrGLuint path, GrGLsizei range); 114 GrGLuint fFirstPreallocatedPathID;
|
D | GrGLPathRange.h | 38 GrGLuint basePathID, 43 GrGLuint basePathID() const { return fBasePathID; } in basePathID() 59 GrGLuint fBasePathID;
|
D | GrGLProgram.h | 53 GrGLuint programID() const { return fProgramID; } in programID() 108 GrGLuint programID, 129 GrGLuint fProgramID;
|
/external/skia/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.h | 46 GrGLuint programId, 48 SkTDArray<GrGLuint>* shaderIds); 50 void bindProgramResourceLocations(GrGLuint programID); 51 bool checkLinkStatus(GrGLuint programID); 52 void resolveProgramResourceLocations(GrGLuint programID); 53 void cleanupProgram(GrGLuint programID, const SkTDArray<GrGLuint>& shaderIDs); 54 void cleanupShaders(const SkTDArray<GrGLuint>& shaderIDs); 57 GrGLProgram* createProgram(GrGLuint programID);
|
D | GrGLProgramBuilder.cpp | 105 GrGLuint programId, in compileAndAttachShaders() 107 SkTDArray<GrGLuint>* shaderIds) { in compileAndAttachShaders() 109 GrGLuint shaderId = GrGLCompileAndAttachShader(gpu->glContext(), in compileAndAttachShaders() 128 GrGLuint programID; in finalize() 138 SkTDArray<GrGLuint> shadersToDelete; in finalize() 179 void GrGLProgramBuilder::bindProgramResourceLocations(GrGLuint programID) { in bindProgramResourceLocations() 205 bool GrGLProgramBuilder::checkLinkStatus(GrGLuint programID) { in checkLinkStatus() 229 void GrGLProgramBuilder::resolveProgramResourceLocations(GrGLuint programID) { in resolveProgramResourceLocations() 248 void GrGLProgramBuilder::cleanupProgram(GrGLuint programID, const SkTDArray<GrGLuint>& shaderIDs) { in cleanupProgram() 253 void GrGLProgramBuilder::cleanupShaders(const SkTDArray<GrGLuint>& shaderIDs) { in cleanupShaders() [all …]
|
D | GrGLShaderStringBuilder.h | 16 GrGLuint GrGLCompileAndAttachShader(const GrGLContext& glCtx, 17 GrGLuint programId,
|
D | GrGLShaderStringBuilder.cpp | 20 GrGLuint GrGLCompileAndAttachShader(const GrGLContext& glCtx, in GrGLCompileAndAttachShader() 21 GrGLuint programId, in GrGLCompileAndAttachShader() 29 GrGLuint shaderId; in GrGLCompileAndAttachShader()
|
/external/skia/bench/ |
D | GLBench.cpp | 61 GrGLuint GLBench::CompileShader(const GrGLInterface* gl, const char* shaderSrc, GrGLenum type) { in CompileShader() 62 GrGLuint shader; in CompileShader() 84 GrGLuint GLBench::CreateProgram(const GrGLInterface* gl, const char* vshader, const char* fshader) { in CreateProgram() 86 GrGLuint vertexShader = CompileShader(gl, vshader, GR_GL_VERTEX_SHADER); in CreateProgram() 87 GrGLuint fragmentShader = CompileShader(gl, fshader, GR_GL_FRAGMENT_SHADER); in CreateProgram() 89 GrGLuint shaderProgram; in CreateProgram() 109 GrGLuint GLBench::SetupFramebuffer(const GrGLInterface* gl, int screenWidth, int screenHeight) { in SetupFramebuffer() 111 GrGLuint texture; in SetupFramebuffer() 130 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() 201 GrGLuint posVBO; in setupInstanceVbo() 211 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 GrGLInterface*, const char* shaderSrc, GrGLenum type); 39 static GrGLuint CreateProgram(const GrGLInterface*, const char* vshader, const char* fshader); 40 static GrGLuint SetupFramebuffer(const GrGLInterface*, int screenWidth, int screenHeight);
|
/external/skia/src/gpu/gl/debug/ |
D | GrGLCreateDebugInterface.cpp | 36 GrGLvoid GR_GL_FUNCTION_TYPE debugGLAttachShader(GrGLuint programID, in debugGLAttachShader() 37 GrGLuint shaderID) { in debugGLAttachShader() 51 GrGLvoid GR_GL_FUNCTION_TYPE debugGLBeginQuery(GrGLenum target, GrGLuint id) { in debugGLBeginQuery() 54 GrGLvoid GR_GL_FUNCTION_TYPE debugGLBindAttribLocation(GrGLuint program, in debugGLBindAttribLocation() 55 GrGLuint index, in debugGLBindAttribLocation() 61 GrGLuint textureID) { in debugGLBindTexture() 192 GrGLvoid GR_GL_FUNCTION_TYPE debugGLUseProgram(GrGLuint programID) { in debugGLUseProgram() 203 GrGLuint frameBufferID) { in debugGLBindFramebuffer() 218 GrGLvoid GR_GL_FUNCTION_TYPE debugGLBindRenderbuffer(GrGLenum target, GrGLuint renderBufferID) { in debugGLBindRenderbuffer() 230 GrGLvoid GR_GL_FUNCTION_TYPE debugGLDeleteTextures(GrGLsizei n, const GrGLuint* textures) { in debugGLDeleteTextures() [all …]
|
D | GrDebugGL.h | 49 GrFakeRefObj *findObject(GrGLuint ID, GrObjTypes type); 51 GrGLuint getMaxTextureUnits() const { return kDefaultMaxTextureUnits; } in getMaxTextureUnits() 53 void setCurTextureUnit(GrGLuint curTextureUnit) { fCurTextureUnit = curTextureUnit; } in setCurTextureUnit() 54 GrGLuint getCurTextureUnit() const { return fCurTextureUnit; } in getCurTextureUnit() 130 GrGLuint fCurTextureUnit;
|