Index: gpu/command_buffer/service/context_state.h |
diff --git a/gpu/command_buffer/service/context_state.h b/gpu/command_buffer/service/context_state.h |
index 050fc0ce0d9641fd19a763a6409fe8d3c3f69dd1..056dd4f6ce9f44c8f66d009fa91713f078e26df7 100644 |
--- a/gpu/command_buffer/service/context_state.h |
+++ b/gpu/command_buffer/service/context_state.h |
@@ -217,7 +217,6 @@ struct GPU_EXPORT ContextState { |
void RestoreVertexAttribArrays( |
const scoped_refptr<VertexAttribManager> attrib_manager) const; |
void RestoreVertexAttribs() const; |
- void RestoreBufferBinding(unsigned int target) const; |
void RestoreBufferBindings() const; |
void RestoreGlobalState(const ContextState* prev_state) const; |
void RestoreProgramSettings(const ContextState* prev_state, |
@@ -310,6 +309,13 @@ struct GPU_EXPORT ContextState { |
PixelStoreParams GetPackParams(); |
PixelStoreParams GetUnpackParams(Dimension dimension); |
+ // If a buffer object is bound to PIXEL_PACK_BUFFER, set all pack parameters |
+ // user values; otherwise, set them to 0. |
+ void UpdatePackParameters() const; |
+ // If a buffer object is bound to PIXEL_UNPACK_BUFFER, set all unpack |
+ // parameters user values; otherwise, set them to 0. |
+ void UpdateUnpackParameters() const; |
+ |
void EnableDisableFramebufferSRGB(bool enable); |
#include "gpu/command_buffer/service/context_state_autogen.h" |
@@ -370,13 +376,6 @@ struct GPU_EXPORT ContextState { |
private: |
void EnableDisable(GLenum pname, bool enable) const; |
- // If a buffer object is bound to PIXEL_PACK_BUFFER, set all pack parameters |
- // user values; otherwise, set them to 0. |
- void UpdatePackParameters() const; |
- // If a buffer object is bound to PIXEL_UNPACK_BUFFER, set all unpack |
- // parameters user values; otherwise, set them to 0. |
- void UpdateUnpackParameters() const; |
- |
void InitStateManual(const ContextState* prev_state) const; |
// EnableDisableFramebufferSRGB is called at very high frequency. Cache the |