diff options
Diffstat (limited to 'src/gpu/gl/GrGLGpu.h')
-rw-r--r-- | src/gpu/gl/GrGLGpu.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h index 5817b56687..78ae024306 100644 --- a/src/gpu/gl/GrGLGpu.h +++ b/src/gpu/gl/GrGLGpu.h @@ -56,8 +56,6 @@ public: // Used by GrGLProgram to configure OpenGL state. void bindTexture(int unitIdx, const GrSamplerState& samplerState, GrGLTexture* texture); - void bindTexelBuffer(int unitIdx, GrPixelConfig, GrGLBuffer*); - // These functions should be used to bind GL objects. They track the GL state and skip redundant // bindings. Making the equivalent glBind calls directly will confuse the state tracking. void bindVertexArray(GrGLuint id) { @@ -76,9 +74,6 @@ public: // If the caller wishes to bind an index buffer to a specific VAO, it can call glBind directly. GrGLenum bindBuffer(GrBufferType type, const GrBuffer*); - // Called by GrGLBuffer after its buffer object has been destroyed. - void notifyBufferReleased(const GrGLBuffer*); - // The GrGLGpuRTCommandBuffer does not buffer up draws before submitting them to the gpu. // Thus this is the implementation of the draw call for the corresponding passthrough function // on GrGLRTGpuCommandBuffer. @@ -573,21 +568,6 @@ private: GrGLuint fBoundDrawFramebuffer = 0; - struct BufferTexture { - BufferTexture() : fTextureID(0), fKnownBound(false), - fAttachedBufferUniqueID(SK_InvalidUniqueID), - fSwizzle(GrSwizzle::RGBA()) {} - - GrGLuint fTextureID; - bool fKnownBound; - GrPixelConfig fTexelConfig; - GrGpuResource::UniqueID fAttachedBufferUniqueID; - GrSwizzle fSwizzle; - }; - - SkTArray<BufferTexture, true> fHWBufferTextures; - int fHWMaxUsedBufferTextureUnit; - // EXT_raster_multisample. TriState fHWRasterMultisampleEnabled; int fHWNumRasterSamples; |