Closed Bug 1155470 Opened 9 years ago Closed 9 years ago

WebGL2 - Implement Queries

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: u480271, Assigned: u480271)

Details

(Whiteboard: [gfx-noted])

Attachments

(1 file)

Assignee: nobody → dglastonbury
Status: NEW → ASSIGNED
Whiteboard: [gfx-noted]
Attached patch Fix queries.Splinter Review
es3fTransformFeedbackTests exposed problems with queries. Queries are needed
to get the number of transformed primitives.
Attachment #8593724 - Flags: review?(jgilbert)
Comment on attachment 8593724 [details] [diff] [review]
Fix queries.

Review of attachment 8593724 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/canvas/WebGL2ContextQueries.cpp
@@ +23,5 @@
>  static const char*
>  GetQueryTargetEnumString(GLenum target)
>  {
>      switch (target)
>      {

Can we switch this to `switch (foo) {` while we're at it?

@@ +67,5 @@
> +        return mActiveOcclusionQuery;
> +        
> +    case LOCAL_GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN:
> +        return mActiveTransformFeedbackQuery;
> +        

Whitespace!
Attachment #8593724 - Flags: review?(jgilbert) → review+
(In reply to Jeff Gilbert [:jgilbert] from comment #2)
> Can we switch this to `switch (foo) {` while we're at it?

of course.

> Whitespace!

Ooops. (Blames Visual Studio)
https://hg.mozilla.org/mozilla-central/rev/f67a0b282680
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: