Home
last modified time | relevance | path

Searched refs:GrGLenum (Results 1 – 25 of 37) sorted by relevance

12

/external/skia/include/gpu/gl/
DGrGLFunctions.h20 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 …]
DGrGLTypes.h30 typedef unsigned int GrGLenum; typedef
84 typedef void (GR_GL_FUNCTION_TYPE* GRGLDEBUGPROC)(GrGLenum source,
85 GrGLenum type,
87 GrGLenum severity,
110 GrGLenum fTarget;
DSkGLContext.h45 GrGLint createTextureRectangle(int width, int height, GrGLenum internalFormat,
46 GrGLenum externalFormat, GrGLenum externalType,
/external/skia/src/gpu/gl/
DGrGLNoOpInterface.h25 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 …]
DGrGLNoOpInterface.cpp61 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 …]
DGrGLCaps.h142 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 …]
DGrGLCreateNullInterface.cpp150 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 …]
DSkNullGLContext.cpp148 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 …]
DGrGLTexture.h22 GrGLenum fMinFilter;
23 GrGLenum fMagFilter;
24 GrGLenum fWrapS;
25 GrGLenum fWrapT;
26 GrGLenum fSwizzleRGBA[4];
55 GrGLenum target() const { return fInfo.fTarget; } in target()
DSkGLContext.cpp23 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()
DGrGLBufferImpl.h38 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.
DGrGLGpu.h101 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()
DGrGLPathRendering.cpp26 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()
DGrGLGpu.cpp45 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 …]
DGrGLPath.cpp56 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()
DGrGLTransferBuffer.h22 GrGLTransferBuffer(GrGLGpu* gpu, const Desc& desc, GrGLenum type);
26 GrGLenum bufferType() const { return fImpl.bufferType(); } in bufferType()
DGrGLStencilAttachment.h17 static const GrGLenum kUnknownInternalFormat = ~0U;
20 GrGLenum fInternalFormat;
DGrGLCaps.cpp752 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 …]
DGrGLRenderTarget.cpp87 GrGLenum status; in completeStencilAttachment()
113 GrGLenum status; in completeStencilAttachment()
DGrGLTransferBuffer.cpp12 GrGLTransferBuffer::GrGLTransferBuffer(GrGLGpu* gpu, const Desc& desc, GrGLenum type) in GrGLTransferBuffer()
/external/skia/src/gpu/gl/debug/
DGrGLCreateDebugInterface.cpp26 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 …]
DGrShaderObj.h24 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
DGrTextureUnitObj.h28 void setNumber(GrGLenum number) { in setNumber()
31 GrGLenum getNumber() const { return fNumber; } in getNumber()
38 GrGLenum fNumber;
/external/skia/src/gpu/gl/builders/
DGrGLShaderStringBuilder.h18 GrGLenum type,
/external/skia/bench/
DGLBench.h38 static GrGLuint CompileShader(const GrGLInterface*, const char* shaderSrc, GrGLenum type);

12