/external/skia/include/gpu/gl/ |
D | GrGLFunctions.h | 20 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLActiveTextureProc)(GrGLenum texture); 22 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBeginQueryProc)(GrGLenum target, GrGLuint id); 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); 33 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBlendEquationProc)(GrGLenum mode); 34 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBlendFuncProc)(GrGLenum sfactor, GrGLenum dfactor); 35 …1, GrGLint dstX0, GrGLint dstY0, GrGLint dstX1, GrGLint dstY1, GrGLbitfield mask, GrGLenum filter); 36 … (GR_GL_FUNCTION_TYPE* GrGLBufferDataProc)(GrGLenum target, GrGLsizeiptr size, const GrGLvoid* dat… [all …]
|
D | GrGLTypes.h | 30 typedef unsigned int GrGLenum; typedef 84 typedef void (GR_GL_FUNCTION_TYPE* GRGLDEBUGPROC)(GrGLenum source, 85 GrGLenum type, 87 GrGLenum severity, 110 GrGLenum fTarget;
|
D | SkGLContext.h | 45 GrGLint createTextureRectangle(int width, int height, GrGLenum internalFormat, 46 GrGLenum externalFormat, GrGLenum externalType,
|
/external/skia/src/gpu/gl/ |
D | GrGLNoOpInterface.h | 25 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlendEquation(GrGLenum mode); 27 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlendFunc(GrGLenum sfactor, 28 GrGLenum dfactor); 30 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBufferSubData(GrGLenum target, 51 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLCompressedTexImage2D(GrGLenum target, 53 GrGLenum internalformat, 60 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLCompressedTexSubImage2D(GrGLenum target, 66 GrGLenum format, 70 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLCopyTexSubImage2D(GrGLenum target, 79 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLCullFace(GrGLenum mode); [all …]
|
D | GrGLNoOpInterface.cpp | 61 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlendEquation(GrGLenum mode) { in noOpGLBlendEquation() 64 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlendFunc(GrGLenum sfactor, in noOpGLBlendFunc() 65 GrGLenum dfactor) { in noOpGLBlendFunc() 68 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBufferSubData(GrGLenum target, in noOpGLBufferSubData() 95 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLCompressedTexImage2D(GrGLenum target, in noOpGLCompressedTexImage2D() 97 GrGLenum internalformat, in noOpGLCompressedTexImage2D() 105 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLCompressedTexSubImage2D(GrGLenum target, in noOpGLCompressedTexSubImage2D() 111 GrGLenum format, in noOpGLCompressedTexSubImage2D() 116 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLCopyTexSubImage2D(GrGLenum target, in noOpGLCopyTexSubImage2D() 126 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLCullFace(GrGLenum mode) { in noOpGLCullFace() [all …]
|
D | GrGLCaps.h | 142 GrGLenum* internalFormat, GrGLenum* externalFormat, 143 GrGLenum* externalType) const; 145 bool getCompressedTexImageFormats(GrPixelConfig surfaceConfig, GrGLenum* internalFormat) const; 148 GrGLenum* externalFormat, GrGLenum* externalType) const; 150 bool getRenderbufferFormat(GrPixelConfig config, GrGLenum* internalFormat) const; 318 std::function<void (GrGLenum, GrGLint*)> getIntegerv, 362 ExternalFormatUsage usage, GrGLenum* externalFormat, 363 GrGLenum* externalType) const; 431 GrGLenum fFormat; 432 GrGLenum fType; [all …]
|
D | GrGLCreateNullInterface.cpp | 150 GrGLvoid GR_GL_FUNCTION_TYPE nullGLActiveTexture(GrGLenum texture) {} in nullGLActiveTexture() 152 GrGLvoid GR_GL_FUNCTION_TYPE nullGLBeginQuery(GrGLenum target, GrGLuint id) {} in nullGLBeginQuery() 154 GrGLvoid GR_GL_FUNCTION_TYPE nullGLBindTexture(GrGLenum target, GrGLuint texture) {} in nullGLBindTexture() 165 GrGLvoid GR_GL_FUNCTION_TYPE nullGLGenerateMipmap(GrGLenum target) {} in nullGLGenerateMipmap() 167 GrGLvoid GR_GL_FUNCTION_TYPE nullGLBufferData(GrGLenum target, in nullGLBufferData() 170 GrGLenum usage) { in nullGLBufferData() 192 GrGLvoid GR_GL_FUNCTION_TYPE nullGLPixelStorei(GrGLenum pname, GrGLint param) {} in nullGLPixelStorei() 193 …Pixels(GrGLint x, GrGLint y, GrGLsizei width, GrGLsizei height, GrGLenum format, GrGLenum type, Gr… in nullGLReadPixels() 196 GrGLvoid GR_GL_FUNCTION_TYPE nullGLBindFramebuffer(GrGLenum target, GrGLuint framebuffer) {} in nullGLBindFramebuffer() 197 GrGLvoid GR_GL_FUNCTION_TYPE nullGLBindRenderbuffer(GrGLenum target, GrGLuint renderbuffer) {} in nullGLBindRenderbuffer() [all …]
|
D | SkNullGLContext.cpp | 148 GrGLvoid GR_GL_FUNCTION_TYPE nullGLActiveTexture(GrGLenum texture) {} in nullGLActiveTexture() 150 GrGLvoid GR_GL_FUNCTION_TYPE nullGLBeginQuery(GrGLenum target, GrGLuint id) {} in nullGLBeginQuery() 152 GrGLvoid GR_GL_FUNCTION_TYPE nullGLBindTexture(GrGLenum target, GrGLuint texture) {} in nullGLBindTexture() 163 GrGLvoid GR_GL_FUNCTION_TYPE nullGLGenerateMipmap(GrGLenum target) {} in nullGLGenerateMipmap() 165 GrGLvoid GR_GL_FUNCTION_TYPE nullGLBufferData(GrGLenum target, in nullGLBufferData() 168 GrGLenum usage) { in nullGLBufferData() 196 GrGLvoid GR_GL_FUNCTION_TYPE nullGLPixelStorei(GrGLenum pname, GrGLint param) {} in nullGLPixelStorei() 197 …Pixels(GrGLint x, GrGLint y, GrGLsizei width, GrGLsizei height, GrGLenum format, GrGLenum type, Gr… in nullGLReadPixels() 200 GrGLvoid GR_GL_FUNCTION_TYPE nullGLBindFramebuffer(GrGLenum target, GrGLuint framebuffer) {} in nullGLBindFramebuffer() 201 GrGLvoid GR_GL_FUNCTION_TYPE nullGLBindRenderbuffer(GrGLenum target, GrGLuint renderbuffer) {} in nullGLBindRenderbuffer() [all …]
|
D | GrGLTexture.h | 22 GrGLenum fMinFilter; 23 GrGLenum fMagFilter; 24 GrGLenum fWrapS; 25 GrGLenum fWrapT; 26 GrGLenum fSwizzleRGBA[4]; 55 GrGLenum target() const { return fInfo.fTarget; } in target()
|
D | SkGLContext.cpp | 23 static const GrGLenum GL_SYNC_GPU_COMMANDS_COMPLETE = 0x9117; 24 static const GrGLenum GL_WAIT_FAILED = 0x911d; 29 typedef GLsync (GR_GL_FUNCTION_TYPE* GLFenceSyncProc) (GrGLenum, GrGLbitfield); 30 typedef GrGLenum (GR_GL_FUNCTION_TYPE* GLClientWaitSyncProc) (GLsync, GrGLbitfield, GrGLuint64); 160 GrGLint SkGLContext::createTextureRectangle(int width, int height, GrGLenum internalFormat, in createTextureRectangle() 161 GrGLenum externalFormat, GrGLenum externalType, in createTextureRectangle()
|
D | GrGLBufferImpl.h | 38 GrGLBufferImpl(GrGLGpu*, const Desc&, GrGLenum bufferType); 49 GrGLenum bufferType() const { return fBufferType; } in bufferType() 60 GrGLenum fBufferType; // GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER, e.g.
|
D | GrGLGpu.h | 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); 111 void bufferData(GrGLuint id, GrGLenum type, GrGLBufferImpl::Usage usage, size_t currentSize, 343 GrGLenum target, 357 GrGLenum target, 374 void bindSurfaceFBOForCopy(GrSurface* surface, GrGLenum fboTarget, GrGLIRect* viewport, 378 void unbindTextureFBOForCopy(GrGLenum fboTarget, GrSurface* surface); 588 static int TextureTargetToCopyProgramIdx(GrGLenum target) { in TextureTargetToCopyProgramIdx()
|
D | GrGLPathRendering.cpp | 26 static const GrGLenum gIndexType2GLType[] = { 37 static const GrGLenum gXformType2GLType[] = { 52 static GrGLenum gr_stencil_op_to_gl_path_rendering_fill_mode(GrStencilOp op) { in gr_stencil_op_to_gl_path_rendering_fill_mode() 117 GrGLenum fillMode = gr_stencil_op_to_gl_path_rendering_fill_mode( in onStencilPath() 138 GrGLenum fillMode = gr_stencil_op_to_gl_path_rendering_fill_mode( in onDrawPath() 167 GrGLenum fillMode = in onDrawPaths() 193 GrGLenum genMode, GrGLint components, in setProgramPathFragmentInputTransform()
|
D | GrGLGpu.cpp | 45 static const GrGLenum gXfermodeEquation2Blend[] = { 88 static const GrGLenum gXfermodeCoeff2Blend[] = { 900 static inline GrGLenum check_alloc_error(const GrSurfaceDesc& desc, in check_alloc_error() 910 GrGLenum target, in uploadTexData() 935 GrGLenum internalFormat; in uploadTexData() 937 GrGLenum externalFormat; in uploadTexData() 938 GrGLenum externalType; in uploadTexData() 1015 GrGLenum error = check_alloc_error(desc, this->glInterface()); in uploadTexData() 1048 GrGLenum target, in uploadCompressedTexData() 1082 GrGLenum internalFormat; in uploadCompressedTexData() [all …]
|
D | GrGLPath.cpp | 56 inline GrGLenum join_to_gl_join(SkPaint::Join join) { in join_to_gl_join() 57 static GrGLenum gSkJoinsToGrGLJoins[] = { in join_to_gl_join() 69 inline GrGLenum cap_to_gl_cap(SkPaint::Cap cap) { in cap_to_gl_cap() 70 static GrGLenum gSkCapsToGrGLCaps[] = { in cap_to_gl_cap() 252 GrGLenum join = join_to_gl_join(stroke.getJoin()); in InitPathObjectStroke() 254 GrGLenum cap = cap_to_gl_cap(stroke.getCap()); in InitPathObjectStroke()
|
D | GrGLTransferBuffer.h | 22 GrGLTransferBuffer(GrGLGpu* gpu, const Desc& desc, GrGLenum type); 26 GrGLenum bufferType() const { return fImpl.bufferType(); } in bufferType()
|
D | GrGLStencilAttachment.h | 17 static const GrGLenum kUnknownInternalFormat = ~0U; 20 GrGLenum fInternalFormat;
|
D | GrGLCaps.cpp | 752 std::function<void (GrGLenum, GrGLint*)> getIntegerv, in readPixelsSupported() argument 760 GrGLenum readFormat; in readPixelsSupported() 761 GrGLenum readType; in readPixelsSupported() 1071 static GrGLenum precision_to_gl_float_type(GrSLPrecision p) { in precision_to_gl_float_type() 1084 static GrGLenum shader_type_to_gl_shader(GrShaderType type) { in shader_type_to_gl_shader() 1105 GrGLenum glShader = shader_type_to_gl_shader(shaderType); in initShaderPrecisionTable() 1110 GrGLenum glPrecision = precision_to_gl_float_type(precision); in initShaderPrecisionTable() 1160 GrGLenum* internalFormat, GrGLenum* externalFormat, in getTexImageFormats() 1161 GrGLenum* externalType) const { in getTexImageFormats() 1171 GrGLenum* internalFormat) const { in getCompressedTexImageFormats() [all …]
|
D | GrGLRenderTarget.cpp | 87 GrGLenum status; in completeStencilAttachment() 113 GrGLenum status; in completeStencilAttachment()
|
D | GrGLTransferBuffer.cpp | 12 GrGLTransferBuffer::GrGLTransferBuffer(GrGLGpu* gpu, const Desc& desc, GrGLenum type) in GrGLTransferBuffer()
|
/external/skia/src/gpu/gl/debug/ |
D | GrGLCreateDebugInterface.cpp | 26 GrGLvoid GR_GL_FUNCTION_TYPE debugGLActiveTexture(GrGLenum texture) { in debugGLActiveTexture() 51 GrGLvoid GR_GL_FUNCTION_TYPE debugGLBeginQuery(GrGLenum target, GrGLuint id) { in debugGLBeginQuery() 60 GrGLvoid GR_GL_FUNCTION_TYPE debugGLBindTexture(GrGLenum target, in debugGLBindTexture() 76 GrGLvoid GR_GL_FUNCTION_TYPE debugGLBufferData(GrGLenum target, in debugGLBufferData() 79 GrGLenum usage) { in debugGLBufferData() 108 GrGLvoid GR_GL_FUNCTION_TYPE debugGLPixelStorei(GrGLenum pname, in debugGLPixelStorei() 133 GrGLenum format, in debugGLReadPixels() 134 GrGLenum type, in debugGLReadPixels() 202 GrGLvoid GR_GL_FUNCTION_TYPE debugGLBindFramebuffer(GrGLenum target, in debugGLBindFramebuffer() 218 GrGLvoid GR_GL_FUNCTION_TYPE debugGLBindRenderbuffer(GrGLenum target, GrGLuint renderBufferID) { in debugGLBindRenderbuffer() [all …]
|
D | GrShaderObj.h | 24 void setType(GrGLenum type) { fType = type; } in setType() 25 GrGLenum getType() { return fType; } in getType() 31 GrGLenum fType; // either GR_GL_VERTEX_SHADER or GR_GL_FRAGMENT_SHADER
|
D | GrTextureUnitObj.h | 28 void setNumber(GrGLenum number) { in setNumber() 31 GrGLenum getNumber() const { return fNumber; } in getNumber() 38 GrGLenum fNumber;
|
/external/skia/src/gpu/gl/builders/ |
D | GrGLShaderStringBuilder.h | 18 GrGLenum type,
|
/external/skia/bench/ |
D | GLBench.h | 38 static GrGLuint CompileShader(const GrGLInterface*, const char* shaderSrc, GrGLenum type);
|