Home
last modified time | relevance | path

Searched refs:GrGLint (Results 1 – 18 of 18) sorted by relevance

/external/skia/include/gpu/gl/
DGrGLFunctions.h26 typedef int GrGLint; typedef
56 …litFramebufferProc)(GrGLint srcX0, GrGLint srcY0, GrGLint srcX1, GrGLint srcY1, GrGLint dstX0, GrG…
62 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLClearStencilProc)(GrGLint s);
65 …edTexImage2DProc)(GrGLenum target, GrGLint level, GrGLenum internalformat, GrGLsizei width, GrGLsi…
79 …typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLDrawArraysProc)(GrGLenum mode, GrGLint first, GrGLsizei…
89 …2DProc)(GrGLenum target, GrGLenum attachment, GrGLenum textarget, GrGLuint texture, GrGLint level);
96 …_GL_FUNCTION_TYPE* GrGLGetBufferParameterivProc)(GrGLenum target, GrGLenum pname, GrGLint* params);
98 …rAttachmentParameterivProc)(GrGLenum target, GrGLenum attachment, GrGLenum pname, GrGLint* params);
99 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetIntegervProc)(GrGLenum pname, GrGLint* params);
101 …oid (GR_GL_FUNCTION_TYPE* GrGLGetProgramivProc)(GrGLuint program, GrGLenum pname, GrGLint* params);
[all …]
DSkMesaGLContext.h33 GrGLint fOldWidth;
34 GrGLint fOldHeight;
35 GrGLint fOldFormat;
/external/skia/src/gpu/gl/
DGrGLCreateNullInterface.cpp27 GrGLvoid GR_GL_FUNCTION_TYPE nullGLClearStencil(GrGLint s) {} in nullGLClearStencil()
30 …pressedTexImage2D(GrGLenum target, GrGLint level, GrGLenum internalformat, GrGLsizei width, GrGLsi… in nullGLCompressedTexImage2D()
35 GrGLvoid GR_GL_FUNCTION_TYPE nullGLDrawArrays(GrGLenum mode, GrGLint first, GrGLsizei count) {} in nullGLDrawArrays()
47 GrGLvoid GR_GL_FUNCTION_TYPE nullGLPixelStorei(GrGLenum pname, GrGLint param) {} in nullGLPixelStorei()
50 GrGLvoid GR_GL_FUNCTION_TYPE nullGLReadPixels(GrGLint x, GrGLint y, GrGLsizei width, GrGLsizei heig… in nullGLReadPixels()
51 GrGLvoid GR_GL_FUNCTION_TYPE nullGLScissor(GrGLint x, GrGLint y, GrGLsizei width, GrGLsizei height)… in nullGLScissor()
53 …GLShaderSource(GrGLuint shader, GrGLsizei count, const char* const * str, const GrGLint* length) {} in nullGLShaderSource()
55 …PE nullGLShaderSource(GrGLuint shader, GrGLsizei count, const char** str, const GrGLint* length) {} in nullGLShaderSource()
57 GrGLvoid GR_GL_FUNCTION_TYPE nullGLStencilFunc(GrGLenum func, GrGLint ref, GrGLuint mask) {} in nullGLStencilFunc()
58 GrGLvoid GR_GL_FUNCTION_TYPE nullGLStencilFuncSeparate(GrGLenum face, GrGLenum func, GrGLint ref, G… in nullGLStencilFuncSeparate()
[all …]
DGrGLIRect.h21 GrGLint fLeft;
22 GrGLint fBottom;
35 GR_STATIC_ASSERT(sizeof(GrGLIRect) == 4*sizeof(GrGLint)); in setFromGLViewport()
36 GR_GL_GetIntegerv(gl, GR_GL_VIEWPORT, (GrGLint*) this); in setFromGLViewport()
DGrGLUniformManager.h35 void setSampler(UniformHandle, GrGLint texUnit) const;
74 GrGLint fVSLocation;
75 GrGLint fFSLocation;
DGrGLCaps.cpp90 GrGLint max; in init()
187 GrGLint otherFormat = GR_GL_RGBA; in readPixelsSupported()
188 GrGLint otherType = GR_GL_UNSIGNED_BYTE; in readPixelsSupported()
244 GrGLint count; in initFSAASupport()
DGrGpuGL.cpp18 static const GrGLint GR_INVAL_GLINT = ~0;
207 GrGLint maxTextureUnits; in initCaps()
217 GrGLint numFormats; in initCaps()
219 SkAutoSTMalloc<10, GrGLint> formats(numFormats); in initCaps()
694 GrGLint rowLength = static_cast<GrGLint>(rowBytes / bpp); in uploadTexData()
723 GL_CALL(PixelStorei(GR_GL_UNPACK_ALIGNMENT, static_cast<GrGLint>(bpp))); in uploadTexData()
1061 (GrGLint*)&format->fStencilBits); in get_stencil_rb_sizes()
1065 (GrGLint*)&format->fTotalBits); in get_stencil_rb_sizes()
1367 GrGLint stencilBitCount = rt->getStencilBuffer()->bits(); in clearStencilClip()
1370 GrGLint clipStencilMask = (1 << (stencilBitCount - 1)); in clearStencilClip()
[all …]
DGrGLProgram.cpp401 void print_shader(GrGLint stringCnt, in print_shader()
403 GrGLint* stringLengths) { in print_shader()
429 GrGLint compiled = GR_GL_INIT_ZERO; in compile_shader()
435 GrGLint infoLen = GR_GL_INIT_ZERO; in compile_shader()
855 GrGLint linked = GR_GL_INIT_ZERO; in bindOutputsAttribsAndLinkProgram()
858 GrGLint infoLen = GR_GL_INIT_ZERO; in bindOutputsAttribsAndLinkProgram()
883 GrGLint texUnitIdx = 0; in initSamplerUniforms()
907 GrGLint texUnitIdx = 0; in setData()
DGrGLStencilBuffer.h28 GrGLint rbid, in GrGLStencilBuffer()
DGrGLIndexBuffer.cpp95 GrGLint mapped; in isLocked()
DGrGLVertexBuffer.cpp91 GrGLint mapped; in isLocked()
DGrGLUniformManager.cpp28 void GrGLUniformManager::setSampler(UniformHandle u, GrGLint texUnit) const { in setSampler()
258 GrGLint location; in getUniformLocations()
/external/skia/src/gpu/gl/debug/
DGrGLCreateDebugInterface.cpp22 static const GrGLint kDefaultMaxVertexUniformVectors = 128;
25 static const GrGLint kDefaultMaxFragmentUniformVectors = 16;
28 static const GrGLint kDefaultMaxVertexAttribs = 8;
31 static const GrGLint kDefaultMaxVaryingVectors = 8;
146 GrGLvoid GR_GL_FUNCTION_TYPE debugGLClearStencil(GrGLint s) { in debugGLClearStencil()
159 GrGLint level, in debugGLCompressedTexImage2D()
163 GrGLint border, in debugGLCompressedTexImage2D()
181 GrGLint first, in debugGLDrawArrays()
223 GrGLint param) { in debugGLPixelStorei()
250 GrGLvoid GR_GL_FUNCTION_TYPE debugGLReadPixels(GrGLint x, in debugGLReadPixels()
[all …]
DGrBufferObj.h45 void allocate(GrGLint size, const GrGLchar *dataPtr);
46 GrGLint getSize() const { return fSize; } in getSize()
49 void setUsage(GrGLint usage) { fUsage = usage; } in setUsage()
50 GrGLint getUsage() const { return fUsage; } in getUsage()
60 GrGLint fSize; // size in bytes
61 GrGLint fUsage; // one of: GL_STREAM_DRAW,
DGrDebugGL.h76 void setPackRowLength(GrGLint packRowLength) { in setPackRowLength()
79 GrGLint getPackRowLength() const { return fPackRowLength; } in getPackRowLength()
81 void setUnPackRowLength(GrGLint unPackRowLength) { in setUnPackRowLength()
84 GrGLint getUnPackRowLength() const { return fUnPackRowLength; } in getUnPackRowLength()
116 static const GrGLint kDefaultMaxTextureUnits = 8;
118 GrGLint fPackRowLength;
119 GrGLint fUnPackRowLength;
DGrBufferObj.cpp11 void GrBufferObj::allocate(GrGLint size, const GrGLchar *dataPtr) { in allocate()
/external/skia/bench/
DBenchGpuTimer_gl.cpp52 GrGLint available = 0; in endGpu()
/external/skia/src/gpu/gl/mesa/
DSkMesaGLContext.cpp52 static const GrGLint gBOGUS_SIZE = 16;