Bug 1048719 - [WebGL2] Remove WebGLQueryRefPtr typedef. r=jgilbert

--HG--
extra : rebase_source : 1215509032baa31835844b4ee875e479de7cea2c
extra : source : 293d398b392ca1959d793298327ce2db170e1ca2
This commit is contained in:
Dan Glastonbury 2014-11-26 13:46:49 +10:00
parent 6bd9e548c4
commit ade2a94ac5
2 changed files with 4 additions and 6 deletions

View File

@ -56,7 +56,7 @@ SimulateOcclusionQueryTarget(const gl::GLContext* gl, GLenum target)
return LOCAL_GL_SAMPLES_PASSED;
}
WebGLQueryRefPtr*
WebGLRefPtr<WebGLQuery>*
WebGLContext::GetQueryTargetSlot(GLenum target)
{
switch (target) {

View File

@ -95,8 +95,6 @@ namespace gfx {
class SourceSurface;
}
typedef WebGLRefPtr<WebGLQuery> WebGLQueryRefPtr;
WebGLTexelFormat GetWebGLTexelFormat(TexInternalFormat format);
void AssertUintParamCorrect(gl::GLContext* gl, GLenum pname, GLuint shadow);
@ -901,10 +899,10 @@ private:
// -----------------------------------------------------------------------------
// Queries (WebGL2ContextQueries.cpp)
protected:
WebGLQueryRefPtr* GetQueryTargetSlot(GLenum target);
WebGLRefPtr<WebGLQuery>* GetQueryTargetSlot(GLenum target);
WebGLQueryRefPtr mActiveOcclusionQuery;
WebGLQueryRefPtr mActiveTransformFeedbackQuery;
WebGLRefPtr<WebGLQuery> mActiveOcclusionQuery;
WebGLRefPtr<WebGLQuery> mActiveTransformFeedbackQuery;
// -----------------------------------------------------------------------------
// State and State Requests (WebGLContextState.cpp)