2011-11-30 23:05:37 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2011, The Android Open Source Project
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __GLTRACE_FIXUP_H_
|
|
|
|
#define __GLTRACE_FIXUP_H_
|
|
|
|
|
2011-12-16 01:32:05 +00:00
|
|
|
#include <utils/Timers.h>
|
|
|
|
|
2011-12-08 00:00:58 +00:00
|
|
|
#include "gltrace.pb.h"
|
|
|
|
#include "gltrace_context.h"
|
|
|
|
|
2011-11-30 23:05:37 +00:00
|
|
|
namespace android {
|
|
|
|
namespace gltrace {
|
|
|
|
|
2012-02-17 18:55:03 +00:00
|
|
|
void fixupGLMessage(GLTraceContext *curContext, nsecs_t wallStart, nsecs_t wallEnd,
|
|
|
|
nsecs_t threadStart, nsecs_t threadEnd,
|
2012-02-27 20:02:47 +00:00
|
|
|
GLMessage *message, void *pointersToFixup[]);
|
2011-12-14 20:19:56 +00:00
|
|
|
void fixup_addFBContents(GLTraceContext *curContext, GLMessage *message, FBBinding fbToRead);
|
2011-11-30 23:05:37 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|