/external/skia/tools/gpu/gl/debug/ |
GrShaderObj.h | 24 void setType(GrGLenum type) { fType = type; } 25 GrGLenum getType() { return fType; } 31 GrGLenum fType; // either GR_GL_VERTEX_SHADER or GR_GL_FRAGMENT_SHADER
|
GrTextureUnitObj.h | 28 void setNumber(GrGLenum number) { 31 GrGLenum getNumber() const { return fNumber; } 38 GrGLenum fNumber;
|
DebugGLTestContext.cpp | 75 GrGLvoid activeTexture(GrGLenum texture) override { 94 GrGLvoid bindTexture(GrGLenum target, GrGLuint textureID) override { 106 GrGLvoid bufferData(GrGLenum target, GrGLsizeiptr size, const GrGLvoid* data, 107 GrGLenum usage) override { 122 GrGLvoid pixelStorei(GrGLenum pname, GrGLint param) override { 146 GrGLenum format, 147 GrGLenum type, 212 GrGLvoid bindFramebuffer(GrGLenum target, GrGLuint frameBufferID) override { 226 GrGLvoid bindRenderbuffer(GrGLenum target, GrGLuint renderBufferID) override { 376 GrGLvoid renderbufferStorage(GrGLenum target, GrGLenum internalformat, GrGLsizei width [all...] |
/external/skia/include/gpu/gl/ |
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 framebuffer); 26 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBindRenderbufferProc)(GrGLenum target, GrGLuint renderbuffer); 27 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBindImageTextureProc)(GrGLuint unit, GrGLuint texture, GrGLint level, GrGLboolean layered, GrGLint layer, GrGLenum access, GrGLenum format); 28 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBindTextureProc)(GrGLenum target, GrGLuint texture); 34 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBlendEquationProc)(GrGLenum mode); 35 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLBlendFuncProc)(GrGLenum sfactor, GrGLenum dfactor) [all...] |
GrGLTypes.h | 31 typedef unsigned int GrGLenum; 86 typedef void (GR_GL_FUNCTION_TYPE* GRGLDEBUGPROC)(GrGLenum source, 87 GrGLenum type, 89 GrGLenum severity, 112 GrGLenum fTarget;
|
/external/skia/src/gpu/gl/ |
GrGLTestInterface.h | 20 virtual GrGLvoid activeTexture(GrGLenum texture) {} 22 virtual GrGLvoid beginQuery(GrGLenum target, GrGLuint id) {} 24 virtual GrGLvoid bindBuffer(GrGLenum target, GrGLuint buffer) {} 25 virtual GrGLvoid bindFramebuffer(GrGLenum target, GrGLuint framebuffer) {} 26 virtual GrGLvoid bindRenderbuffer(GrGLenum target, GrGLuint renderbuffer) {} 27 virtual GrGLvoid bindTexture(GrGLenum target, GrGLuint texture) {} 33 virtual GrGLvoid blendEquation(GrGLenum mode) {} 34 virtual GrGLvoid blendFunc(GrGLenum sfactor, GrGLenum dfactor) {} 35 virtual GrGLvoid blitFramebuffer(GrGLint srcX0, GrGLint srcY0, GrGLint srcX1, GrGLint srcY1, GrGLint dstX0, GrGLint dstY0, GrGLint dstX1, GrGLint dstY1, GrGLbitfield mask, GrGLenum filter) { [all...] |
GrGLTexture.h | 21 GrGLenum fMinFilter; 22 GrGLenum fMagFilter; 23 GrGLenum fWrapS; 24 GrGLenum fWrapT; 25 GrGLenum fMaxMipMapLevel; 26 GrGLenum fSwizzleRGBA[4]; 27 GrGLenum fSRGBDecode; 67 GrGLenum target() const { return fInfo.fTarget; }
|
GrGLCaps.h | 148 GrGLenum configSizedInternalFormat(GrPixelConfig config) const { 153 GrGLenum* internalFormat, GrGLenum* externalFormat, 154 GrGLenum* externalType) const; 157 GrGLenum* externalFormat, GrGLenum* externalType) const; 159 bool getRenderbufferFormat(GrPixelConfig config, GrGLenum* internalFormat) const; 162 GrGLenum getImageFormat(GrPixelConfig config) const { 329 std::function<void (GrGLenum, GrGLint*)> getIntegerv, 409 ExternalFormatUsage usage, GrGLenum* externalFormat [all...] |
GrGLCreateNullInterface.cpp | 160 void setAttachment(GrGLenum attachmentPoint, const FramebufferAttachment* attachment) { 242 GrGLenum checkFramebufferStatus(GrGLenum target) override { 253 GrGLvoid bufferData(GrGLenum target, GrGLsizeiptr size, const GrGLvoid* data, 254 GrGLenum usage) override { 266 GrGLuint createShader(GrGLenum type) override { 270 GrGLvoid bindBuffer(GrGLenum target, GrGLuint buffer) override { 305 GrGLvoid bindFramebuffer(GrGLenum target, GrGLuint framebuffer) override { 341 GrGLvoid bindRenderbuffer(GrGLenum target, GrGLuint renderbuffer) override { 369 GrGLvoid renderbufferStorage(GrGLenum target, GrGLenum internalformat, GrGLsizei width [all...] |
GrGLStencilAttachment.h | 17 static const GrGLenum kUnknownInternalFormat = ~0U; 20 GrGLenum fInternalFormat;
|
GrGLBuffer.cpp | 51 inline static GrGLenum gr_to_gl_access_pattern(GrBufferType bufferType, 53 static const GrGLenum drawUsages[] = { 59 static const GrGLenum readUsages[] = { 71 static GrGLenum const* const usageTypes[] = { 104 GrGLenum target = gpu->bindBuffer(fIntendedType, this); 176 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); 185 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); 200 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); 233 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); 258 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this) [all...] |
GrGLBuffer.h | 60 GrGLenum fUsage;
|
GrGLPathRendering.cpp | 26 static const GrGLenum gIndexType2GLType[] = { 37 static const GrGLenum gXformType2GLType[] = { 53 static const GrGLenum gXformType2ComponentCount[] = { 68 static GrGLenum gr_stencil_op_to_gl_path_rendering_fill_mode(GrStencilOp op) { 135 GrGLenum fillMode = 159 GrGLenum fillMode = 192 GrGLenum fillMode = 216 GrGLenum genMode, GrGLint components,
|
GrGLPath.cpp | 56 inline GrGLenum join_to_gl_join(SkPaint::Join join) { 57 static GrGLenum gSkJoinsToGrGLJoins[] = { 69 inline GrGLenum cap_to_gl_cap(SkPaint::Cap cap) { 70 static GrGLenum gSkCapsToGrGLCaps[] = { 261 GrGLenum join = join_to_gl_join(stroke.getJoin()); 263 GrGLenum cap = cap_to_gl_cap(stroke.getCap());
|
GrGLGpu.cpp | 66 static const GrGLenum gXfermodeEquation2Blend[] = { 109 static const GrGLenum gXfermodeCoeff2Blend[] = { 866 GrGLenum internalFormat; 868 GrGLenum externalFormat; 869 GrGLenum externalType; [all...] |
GrGLPathRendering.h | 57 GrGLenum genMode, GrGLint components,
|
GrGLGpu.h | 93 GrGLenum bindBuffer(GrBufferType type, const GrBuffer*); 269 void setTextureSwizzle(int unitIdx, GrGLenum target, const GrGLenum swizzle[]); 381 GrSurfaceOrigin texOrigin, GrGLenum target, UploadType uploadType, int left, 396 void bindSurfaceFBOForPixelOps(GrSurface* surface, GrGLenum fboTarget, GrGLIRect* viewport, 400 void unbindTextureFBOForPixelOps(GrGLenum fboTarget, GrSurface* surface); 538 GrGLenum fGLTarget;
|
GrGLCaps.cpp | [all...] |
/external/skia/src/gpu/gl/builders/ |
GrGLShaderStringBuilder.h | 19 GrGLenum type, 27 void GrGLPrintShader(const GrGLContext&, GrGLenum type, const char** skslStrings, int* lengths,
|
GrGLProgramBuilder.h | 52 GrGLenum type,
|
GrGLShaderStringBuilder.cpp | 49 std::unique_ptr<SkSL::Program> translate_to_glsl(const GrGLContext& context, GrGLenum type, 82 GrGLenum type, 172 void GrGLPrintShader(const GrGLContext& context, GrGLenum type, const char** skslStrings,
|
/external/skia/tools/gpu/gl/ |
GLTestContext.cpp | 28 static constexpr GrGLenum GL_SYNC_GPU_COMMANDS_COMPLETE = 0x9117; 29 static constexpr GrGLenum GL_WAIT_FAILED = 0x911d; 35 typedef GLsync (GR_GL_FUNCTION_TYPE* GLFenceSyncProc) (GrGLenum, GrGLbitfield); 36 typedef GrGLenum (GR_GL_FUNCTION_TYPE* GLClientWaitSyncProc) (GLsync, GrGLbitfield, GrGLuint64); 105 static constexpr GrGLenum GL_QUERY_RESULT = 0x8866; 106 static constexpr GrGLenum GL_QUERY_RESULT_AVAILABLE = 0x8867; 107 static constexpr GrGLenum GL_TIME_ELAPSED = 0x88bf; 108 static constexpr GrGLenum GL_GPU_DISJOINT = 0x8fbb; 110 typedef void (GR_GL_FUNCTION_TYPE* GLGetIntegervProc) (GrGLenum, GrGLint*); 113 typedef void (GR_GL_FUNCTION_TYPE* GLBeginQueryProc) (GrGLenum, GrGLuint) [all...] |
GLTestContext.h | 38 GrGLint createTextureRectangle(int width, int height, GrGLenum internalFormat, 39 GrGLenum externalFormat, GrGLenum externalType,
|
/external/skia/bench/ |
GLBench.h | 38 static GrGLuint CompileShader(const GrGLContext*, const char* shaderSrc, GrGLenum type);
|
/external/skia/tests/ |
GpuSampleLocationsTest.cpp | 157 fFunctions.fGetIntegerv = [&](GrGLenum pname, GrGLint* params) { 167 fFunctions.fGetMultisamplefv = [&](GrGLenum pname, GrGLuint index, GrGLfloat* val) {
|