/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 …uint 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); 36 …1, GrGLint dstX0, GrGLint dstY0, GrGLint dstX1, GrGLint dstY1, GrGLbitfield mask, GrGLenum filter); [all …]
|
D | GrGLTypes.h | 31 typedef unsigned int GrGLenum; typedef 86 typedef void (GR_GL_FUNCTION_TYPE* GRGLDEBUGPROC)(GrGLenum source, 87 GrGLenum type, 89 GrGLenum severity, 112 GrGLenum fTarget;
|
/external/skia/src/gpu/gl/ |
D | GrGLTestInterface.h | 20 virtual GrGLvoid activeTexture(GrGLenum texture) {} in activeTexture() 22 virtual GrGLvoid beginQuery(GrGLenum target, GrGLuint id) {} in beginQuery() 24 virtual GrGLvoid bindBuffer(GrGLenum target, GrGLuint buffer) {} in bindBuffer() 25 virtual GrGLvoid bindFramebuffer(GrGLenum target, GrGLuint framebuffer) {} in bindFramebuffer() 26 virtual GrGLvoid bindRenderbuffer(GrGLenum target, GrGLuint renderbuffer) {} in bindRenderbuffer() 27 virtual GrGLvoid bindTexture(GrGLenum target, GrGLuint texture) {} in bindTexture() 33 virtual GrGLvoid blendEquation(GrGLenum mode) {} in blendEquation() 34 virtual GrGLvoid blendFunc(GrGLenum sfactor, GrGLenum dfactor) {} in blendFunc() 35 … GrGLint dstX0, GrGLint dstY0, GrGLint dstX1, GrGLint dstY1, GrGLbitfield mask, GrGLenum filter) {} in blitFramebuffer() 36 …virtual GrGLvoid bufferData(GrGLenum target, GrGLsizeiptr size, const GrGLvoid* data, GrGLenum usa… in bufferData() [all …]
|
D | GrGLCreateNullInterface.cpp | 160 void setAttachment(GrGLenum attachmentPoint, const FramebufferAttachment* attachment) { in setAttachment() 242 GrGLenum checkFramebufferStatus(GrGLenum target) override { in checkFramebufferStatus() 253 GrGLvoid bufferData(GrGLenum target, GrGLsizeiptr size, const GrGLvoid* data, in bufferData() 254 GrGLenum usage) override { in bufferData() 266 GrGLuint createShader(GrGLenum type) override { in createShader() 270 GrGLvoid bindBuffer(GrGLenum target, GrGLuint buffer) override { in bindBuffer() 305 GrGLvoid bindFramebuffer(GrGLenum target, GrGLuint framebuffer) override { in bindFramebuffer() 341 GrGLvoid bindRenderbuffer(GrGLenum target, GrGLuint renderbuffer) override { in bindRenderbuffer() 369 GrGLvoid renderbufferStorage(GrGLenum target, GrGLenum internalformat, GrGLsizei width, in renderbufferStorage() 377 GrGLvoid renderbufferStorageMultisample(GrGLenum target, GrGLsizei samples, in renderbufferStorageMultisample() [all …]
|
D | GrGLCaps.h | 148 GrGLenum configSizedInternalFormat(GrPixelConfig config) const { in configSizedInternalFormat() 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 { in getImageFormat() 329 std::function<void (GrGLenum, GrGLint*)> getIntegerv, 409 ExternalFormatUsage usage, GrGLenum* externalFormat, 410 GrGLenum* externalType) const; 488 GrGLenum fFormat; [all …]
|
D | 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; } in target()
|
D | GrGLBuffer.cpp | 51 inline static GrGLenum gr_to_gl_access_pattern(GrBufferType bufferType, in gr_to_gl_access_pattern() 53 static const GrGLenum drawUsages[] = { in gr_to_gl_access_pattern() 59 static const GrGLenum readUsages[] = { in gr_to_gl_access_pattern() 71 static GrGLenum const* const usageTypes[] = { in gr_to_gl_access_pattern() 104 GrGLenum target = gpu->bindBuffer(fIntendedType, this); in GrGLBuffer() 176 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); in onMap() 185 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); in onMap() 200 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); in onMap() 233 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); in onUnmap() 258 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); in onUpdateData()
|
D | 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) { in gr_stencil_op_to_gl_path_rendering_fill_mode() 135 GrGLenum fillMode = in onStencilPath() 159 GrGLenum fillMode = in onDrawPath() 192 GrGLenum fillMode = in onDrawPaths() 216 GrGLenum genMode, GrGLint components, in setProgramPathFragmentInputTransform()
|
D | GrGLGpu.cpp | 66 static const GrGLenum gXfermodeEquation2Blend[] = { 109 static const GrGLenum gXfermodeCoeff2Blend[] = { 866 GrGLenum internalFormat; in onTransferPixels() 868 GrGLenum externalFormat; in onTransferPixels() 869 GrGLenum externalType; in onTransferPixels() 908 GrGLenum target, in allocate_and_populate_texture() 909 GrGLenum internalFormat, in allocate_and_populate_texture() 910 GrGLenum internalFormatForTexStorage, in allocate_and_populate_texture() 911 GrGLenum externalFormat, in allocate_and_populate_texture() 912 GrGLenum externalType, in allocate_and_populate_texture() [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() 261 GrGLenum join = join_to_gl_join(stroke.getJoin()); in InitPathObjectStroke() 263 GrGLenum cap = cap_to_gl_cap(stroke.getCap()); in InitPathObjectStroke()
|
D | GrGLStencilAttachment.h | 17 static const GrGLenum kUnknownInternalFormat = ~0U; 20 GrGLenum fInternalFormat;
|
D | 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;
|
D | GrGLCaps.cpp | 968 std::function<void (GrGLenum, GrGLint*)> getIntegerv, in readPixelsSupported() argument 981 GrGLenum readFormat; in readPixelsSupported() 982 GrGLenum readType; in readPixelsSupported() 1331 static GrGLenum precision_to_gl_float_type(GrSLPrecision p) { in precision_to_gl_float_type() 1345 static GrGLenum shader_type_to_gl_shader(GrShaderType type) { in shader_type_to_gl_shader() 1366 GrGLenum glShader = shader_type_to_gl_shader(shaderType); in initShaderPrecisionTable() 1371 GrGLenum glPrecision = precision_to_gl_float_type(precision); in initShaderPrecisionTable() 1422 GrGLenum* internalFormat, GrGLenum* externalFormat, in getTexImageFormats() 1423 GrGLenum* externalType) const { in getTexImageFormats() 1433 GrGLenum* externalFormat, GrGLenum* externalType) const { in getReadPixelsFormat() [all …]
|
D | GrGLRenderTarget.cpp | 105 GrGLenum status; in completeStencilAttachment() 135 GrGLenum status; in completeStencilAttachment()
|
D | GrGLBuffer.h | 60 GrGLenum fUsage;
|
/external/skia/tools/gpu/gl/debug/ |
D | DebugGLTestContext.cpp | 75 GrGLvoid activeTexture(GrGLenum texture) override { in activeTexture() 94 GrGLvoid bindTexture(GrGLenum target, GrGLuint textureID) override { in bindTexture() 106 GrGLvoid bufferData(GrGLenum target, GrGLsizeiptr size, const GrGLvoid* data, in bufferData() 107 GrGLenum usage) override { in bufferData() 122 GrGLvoid pixelStorei(GrGLenum pname, GrGLint param) override { in pixelStorei() 146 GrGLenum format, in readPixels() 147 GrGLenum type, in readPixels() 212 GrGLvoid bindFramebuffer(GrGLenum target, GrGLuint frameBufferID) override { in bindFramebuffer() 226 GrGLvoid bindRenderbuffer(GrGLenum target, GrGLuint renderBufferID) override { in bindRenderbuffer() 376 GrGLvoid renderbufferStorage(GrGLenum target, GrGLenum internalformat, GrGLsizei width, in renderbufferStorage() [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/tools/gpu/gl/ |
D | 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 …]
|
D | GLTestContext.h | 38 GrGLint createTextureRectangle(int width, int height, GrGLenum internalFormat, 39 GrGLenum externalFormat, GrGLenum externalType,
|
/external/skia/src/gpu/gl/builders/ |
D | GrGLShaderStringBuilder.h | 19 GrGLenum type, 27 void GrGLPrintShader(const GrGLContext&, GrGLenum type, const char** skslStrings, int* lengths,
|
D | GrGLShaderStringBuilder.cpp | 49 std::unique_ptr<SkSL::Program> translate_to_glsl(const GrGLContext& context, GrGLenum type, in translate_to_glsl() 82 GrGLenum type, in GrGLCompileAndAttachShader() 172 void GrGLPrintShader(const GrGLContext& context, GrGLenum type, const char** skslStrings, in GrGLPrintShader()
|
D | GrGLProgramBuilder.h | 52 GrGLenum type,
|
/external/skia/tests/ |
D | GpuSampleLocationsTest.cpp | 157 fFunctions.fGetIntegerv = [&](GrGLenum pname, GrGLint* params) { in GLTestSampleLocationsInterface() 167 fFunctions.fGetMultisamplefv = [&](GrGLenum pname, GrGLuint index, GrGLfloat* val) { in GLTestSampleLocationsInterface()
|
/external/skia/bench/ |
D | GLBench.h | 38 static GrGLuint CompileShader(const GrGLContext*, const char* shaderSrc, GrGLenum type);
|