Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(379)

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h

Issue 2503453005: Patch the results of queries that return object IDs in the passthrough cmd decoder. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h
index 6c3a5bdc37440d15795ece11cbfa8e58cbfb17ad..3444dd96fea5d99fed21217389b45a39c6c4f0d5 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h
@@ -239,6 +239,14 @@ class GLES2DecoderPassthroughImpl : public GLES2Decoder {
scoped_refptr<ShaderTranslatorInterface> GetTranslator(GLenum type) override;
private:
+ template <typename T>
+ error::Error PatchGetNumericResults(GLenum pname, GLsizei length, T* params);
+ error::Error PatchGetFramebufferAttachmentParameter(GLenum target,
+ GLenum attachment,
+ GLenum pname,
+ GLsizei length,
+ GLint* params);
+
void BuildExtensionsString();
int commands_to_process_;

Powered by Google App Engine
This is Rietveld 408576698