/external/skia/include/gpu/gl/ |
D | GrGLFunctions.h | 44 typedef unsigned int GrGLuint; typedef 68 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLAttachShaderProc)(GrGLuint program, GrGLuint shader); 69 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBeginQueryProc)(GrGLenum target, GrGLuint id); 70 …typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBindAttribLocationProc)(GrGLuint program, GrGLuint inde… 71 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBindBufferProc)(GrGLenum target, GrGLuint buffer); 72 …typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBindFramebufferProc)(GrGLenum target, GrGLuint framebuf… 73 …typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBindRenderbufferProc)(GrGLenum target, GrGLuint renderb… 74 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBindTextureProc)(GrGLenum target, GrGLuint texture); 75 …typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBindFragDataLocationProc)(GrGLuint program, GrGLuint co… 76 …FUNCTION_TYPE* GrGLBindFragDataLocationIndexedProc)(GrGLuint program, GrGLuint colorNumber, GrGLui… [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLNameAllocator.cpp | 27 GrGLuint first() const { return fFirst; } in first() 34 GrGLuint end() const { return fEnd; } in end() 42 GrGLuint height() const { return fHeight; } in height() 56 virtual SparseNameRange* SK_WARN_UNUSED_RESULT internalAllocate(GrGLuint* outName) = 0; 73 …virtual SparseNameRange* SK_WARN_UNUSED_RESULT removeLeftmostContiguousRange(GrGLuint* removedCoun… 83 virtual GrGLuint appendNames(GrGLuint count) = 0; 94 virtual GrGLuint prependNames(GrGLuint count) = 0; 109 virtual SparseNameRange* SK_WARN_UNUSED_RESULT free(GrGLuint name) = 0; 117 GrGLuint fFirst; 118 GrGLuint fEnd; [all …]
|
D | GrGLNameAllocator.h | 33 GrGLNameAllocator(GrGLuint firstName, GrGLuint endName); 46 GrGLuint firstName() const { return fFirstName; } in firstName() 54 GrGLuint endName() const { return fEndName; } in endName() 62 GrGLuint allocateName(); 74 void free(GrGLuint name); 81 const GrGLuint fFirstName; 82 const GrGLuint fEndName;
|
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); 101 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnableVertexAttribArray(GrGLuint index); 117 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLLinkProgram(GrGLuint program); 119 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLQueryCounter(GrGLuint id, 129 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLShaderSource(GrGLuint shader, 138 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLStencilFunc(GrGLenum func, GrGLint ref, GrGLuint mask); 143 GrGLuint mask); [all …]
|
D | SkNullGLContext.cpp | 24 BufferObj(GrGLuint id) : fID(id), fDataPtr(NULL), 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 fCurrProgramID; [all …]
|
D | GrGLCreateNullInterface.cpp | 25 BufferObj(GrGLuint id) : fID(id), fDataPtr(NULL), 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 | 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() 159 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnableVertexAttribArray(GrGLuint index) { in noOpGLEnableVertexAttribArray() 177 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLLinkProgram(GrGLuint program) { in noOpGLLinkProgram() 186 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLQueryCounter(GrGLuint id, GrGLenum target) { in noOpGLQueryCounter() 198 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLShaderSource(GrGLuint shader, in noOpGLShaderSource() 208 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLStencilFunc(GrGLenum func, GrGLint ref, GrGLuint mask) { in noOpGLStencilFunc() 214 GrGLuint mask) { in noOpGLStencilFuncSeparate() [all …]
|
D | GrGLRenderTarget.h | 25 GrGLuint fRTFBOID; 26 GrGLuint fTexFBOID; 27 GrGLuint fMSColorRenderbufferID; 40 GrGLuint renderFBOID() const { return fRTFBOID; } in renderFBOID() 42 GrGLuint textureFBOID() const { return fTexFBOID; } in textureFBOID() 76 GrGLuint fRTFBOID; 77 GrGLuint fTexFBOID; 78 GrGLuint fMSColorRenderbufferID;
|
D | GrGLGpu.h | 77 void bindVertexArray(GrGLuint id) { in bindVertexArray() 80 void bindIndexBufferAndDefaultVertexArray(GrGLuint id) { in bindIndexBufferAndDefaultVertexArray() 83 void bindVertexBuffer(GrGLuint id) { in bindVertexBuffer() 89 void notifyVertexArrayDelete(GrGLuint id) { in notifyVertexArrayDelete() 92 void notifyVertexBufferDelete(GrGLuint id) { in notifyVertexBufferDelete() 95 void notifyIndexBufferDelete(GrGLuint id) { in notifyIndexBufferDelete() 285 GrGLuint texID, GrGLRenderTarget::IDDesc*); 292 GrGLuint bindSurfaceAsFBO(GrSurface* surface, GrGLenum fboTarget, GrGLIRect* viewport, 307 GrGLuint fHWProgramID; 315 GrGLuint fTempSrcFBOID; [all …]
|
D | GrGLPathRendering.h | 58 void setProgramPathFragmentInputTransform(GrGLuint program, GrGLint location, 67 GrGLuint genPaths(GrGLsizei range); 68 GrGLvoid deletePaths(GrGLuint path, GrGLsizei range); 85 void stencilThenCoverFillPath(GrGLuint path, GrGLenum fillMode, 86 GrGLuint mask, GrGLenum coverMode); 88 void stencilThenCoverStrokePath(GrGLuint path, GrGLint reference, 89 GrGLuint mask, GrGLenum coverMode); 93 GrGLuint pathBase, GrGLenum fillMode, GrGLuint mask, GrGLenum coverMode, 98 GrGLuint pathBase, GrGLint reference, GrGLuint mask, GrGLenum coverMode,
|
D | GrGLStencilAttachment.h | 18 static const GrGLuint kUnknownBitCount = ~0U; 21 GrGLuint fStencilBits; 22 GrGLuint fTotalBits; 28 GrGLuint fRenderbufferID; 43 GrGLuint renderbufferID() const { in renderbufferID() 61 GrGLuint fRenderbufferID;
|
D | GrGLPathRendering.cpp | 133 const GrGLuint basePathID = this->genPaths(numPaths); in createGlyphs() 155 GrGLuint id = static_cast<const GrGLPath*>(path)->pathID(); in stencilPath() 175 GrGLuint id = static_cast<const GrGLPath*>(path)->pathID(); in drawPath() 202 GrGLuint baseID = static_cast<const GrGLPathRange*>(pathRange)->basePathID(); in drawPaths() 233 void GrGLPathRendering::setProgramPathFragmentInputTransform(GrGLuint program, GrGLint location, in setProgramPathFragmentInputTransform() 280 GrGLuint GrGLPathRendering::genPaths(GrGLsizei range) { in genPaths() 282 GrGLuint name; in genPaths() 289 GrGLuint firstName; in genPaths() 296 GrGLuint name = fPathNameAllocator->allocateName(); in genPaths() 306 void GrGLPathRendering::deletePaths(GrGLuint path, GrGLsizei range) { in deletePaths() [all …]
|
D | GrGLVertexArray.h | 92 void notifyVertexBufferDelete(GrGLuint id) { in notifyVertexBufferDelete() 120 GrGLuint fVertexBufferID; 152 void notifyIndexBufferDelete(GrGLuint bufferID); 154 void notifyVertexBufferDelete(GrGLuint id) { in notifyVertexBufferDelete() 158 GrGLuint arrayID() const { return fID; } in arrayID() 163 GrGLuint fID; 165 GrGLuint fIndexBufferID;
|
D | GrGLPath.h | 26 GrGLuint pathID, 31 GrGLuint pathID() const { return fPathID; } in pathID() 41 GrGLuint fPathID;
|
D | GrGLPathRange.h | 37 GrGLuint basePathID, 42 GrGLuint basePathID() const { return fBasePathID; } in basePathID() 53 GrGLuint fBasePathID;
|
D | GrGLProgram.h | 54 GrGLuint programID() const { return fProgramID; } in programID() 107 GrGLuint programID, 143 GrGLuint fProgramID; 171 GrGLuint programID,
|
D | GrGLTexture.h | 31 GrGLuint fTextureID; 53 GrGLuint textureID() const { return fTextureID; } in textureID() 70 GrGLuint fTextureID;
|
/external/skia/tests/ |
D | NameAllocatorTest.cpp | 16 static const GrGLuint kFirstName = 101; 17 static const GrGLuint kRange = 1013; 33 for (GrGLuint freeCount = 1; freeCount <= kRange; ++freeCount) { in run() 46 bool isAllocated(GrGLuint name) const { in isAllocated() 50 void setAllocated(GrGLuint name, bool allocated) { in setAllocated() 56 GrGLuint name = fAllocator.allocateName(); in allocateAllRemaining() 78 GrGLuint name = fAllocator.allocateName(); in allocateAllRemaining() 86 for (GrGLuint i = 0; i < kRange; ++i) { in allocateAllRemaining() 96 bool freeRandomNames(GrGLuint count) { in freeRandomNames() 102 const GrGLuint seed = (count + fRandomName) / 2; in freeRandomNames() [all …]
|
/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;
|
/external/skia/src/gpu/gl/builders/ |
D | GrGLVertexShaderBuilder.h | 40 void bindVertexAttributes(GrGLuint programID); 41 bool compileAndAttachShaders(GrGLuint programId, SkTDArray<GrGLuint>* shaderIds);
|
D | GrGLProgramBuilder.h | 325 void bindUniformLocations(GrGLuint programID); 326 bool checkLinkStatus(GrGLuint programID); 327 void resolveUniformLocations(GrGLuint programID); 328 void cleanupProgram(GrGLuint programID, const SkTDArray<GrGLuint>& shaderIDs); 329 void cleanupShaders(const SkTDArray<GrGLuint>& shaderIDs); 332 virtual GrGLProgram* createProgram(GrGLuint programID);
|
D | GrGLProgramBuilder.cpp | 34 GrGLProgram* createProgram(GrGLuint programID) override { in createProgram() 400 GrGLuint programID; in finalize() 407 SkTDArray<GrGLuint> shadersToDelete; in finalize() 449 void GrGLProgramBuilder::bindUniformLocations(GrGLuint programID) { in bindUniformLocations() 457 bool GrGLProgramBuilder::checkLinkStatus(GrGLuint programID) { in checkLinkStatus() 481 void GrGLProgramBuilder::resolveUniformLocations(GrGLuint programID) { in resolveUniformLocations() 490 void GrGLProgramBuilder::cleanupProgram(GrGLuint programID, const SkTDArray<GrGLuint>& shaderIDs) { in cleanupProgram() 494 void GrGLProgramBuilder::cleanupShaders(const SkTDArray<GrGLuint>& shaderIDs) { in cleanupShaders() 500 GrGLProgram* GrGLProgramBuilder::createProgram(GrGLuint programID) { in createProgram()
|
D | GrGLShaderStringBuilder.h | 16 GrGLuint GrGLCompileAndAttachShader(const GrGLContext& glCtx, 17 GrGLuint programId,
|
D | GrGLFragmentShaderBuilder.h | 111 bool compileAndAttachShaders(GrGLuint programId, SkTDArray<GrGLuint>* shaderIds); 112 void bindFragmentShaderLocations(GrGLuint programID);
|